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
6dc350d2238f0d8090db28edecaef6d2922cd39b
README.md
README.md
![npm version](https://badge.fury.io/js/txt.wav.svg) ![Code Climate](https://codeclimate.com/github/still-life-studios/txt.wav/badges/gpa.svg) some weird text animations the internet deserves. check out the [demos](http://www.stilllife.studio/txtwav?utm_source=github) #### NPM ``` npm install --save txt.wav ``` #...
![npm version](https://badge.fury.io/js/txt.wav.svg) ![Code Climate](https://codeclimate.com/github/still-life-studio/txt.wav/badges/gpa.svg) some weird text animations the internet deserves. check out the [demos](http://www.stilllife.studio/txtwav?utm_source=github) #### NPM ``` npm install --save txt.wav ``` ##...
Correct name references to remove 'studios'
Correct name references to remove 'studios'
Markdown
mit
still-life-studio/txt.wav
markdown
## Code Before: ![npm version](https://badge.fury.io/js/txt.wav.svg) ![Code Climate](https://codeclimate.com/github/still-life-studios/txt.wav/badges/gpa.svg) some weird text animations the internet deserves. check out the [demos](http://www.stilllife.studio/txtwav?utm_source=github) #### NPM ``` npm install --sav...
80a00e6937f94e78d2f6dab80696cc4d71527142
.kitchen.yml
.kitchen.yml
--- driver: name: vagrant synced_folders: - ["ansible/test", "/tmp/test"] platforms: - name: ubuntu-16.04 driver_config: box: ubuntu/xenial64 box_url: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-vagrant.box vm_hostname: ubuntu-xenial forward: ...
--- driver: name: vagrant synced_folders: - ["ansible/test", "/tmp/test"] platforms: - name: ubuntu-16.04 driver_config: box: ubuntu/xenial64 box_url: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-vagrant.box vm_hostname: ubuntu-xenial provision: true...
Set in Test Kitchen to provision from Vagrantfile
Set in Test Kitchen to provision from Vagrantfile
YAML
mit
vitovitolo/cdn,vitovitolo/cdn
yaml
## Code Before: --- driver: name: vagrant synced_folders: - ["ansible/test", "/tmp/test"] platforms: - name: ubuntu-16.04 driver_config: box: ubuntu/xenial64 box_url: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-vagrant.box vm_hostname: ubuntu-xenial ...
d0b2a786ba46a0ca1d34ef5c9fceb7abd6931ab5
kiwi/app/views/questions/show.html.erb
kiwi/app/views/questions/show.html.erb
<div id="question-info" class="container"> <h3><%= @question.title %></h3> <p><%= @question.content%></p> <p>Asked by <%= @question.user.name %> on <%= std_format_date(@question.created_at) %></p> </div> <%= link_to "Edit my question", edit_question_path %> <%= link_to "Delete my question", question_path, method...
<div id="question-info" class="container"> <h3><%= @question.title %></h3> <p><%= @question.content%></p> <p>Asked by <%= @question.user.name %> on <%= std_format_date(@question.created_at) %></p> </div> <% if current_user == @question.user %> <%= link_to "Edit my question", edit_question_path %> <%= link_to...
Hide edit and delete questions links on qeustions/show view from all users except question owner
Hide edit and delete questions links on qeustions/show view from all users except question owner
HTML+ERB
mit
nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow
html+erb
## Code Before: <div id="question-info" class="container"> <h3><%= @question.title %></h3> <p><%= @question.content%></p> <p>Asked by <%= @question.user.name %> on <%= std_format_date(@question.created_at) %></p> </div> <%= link_to "Edit my question", edit_question_path %> <%= link_to "Delete my question", quest...
d10329a397b992bce9c26df095f80ed09bb480f4
examples/index.html
examples/index.html
<!DOCTYPE html> <html> <head> <title>Stencila Project</title> <link rel="stylesheet" type="text/css" href="./stencila.css"> <script type="text/javascript" src="./katex/katex.min.js"></script> <script type="text/javascript" src="./lib/plotly.min.js"></script> <script type="text/javascript" src="./l...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Stencila Project</title> <link rel="stylesheet" type="text/css" href="./stencila.css"> <script type="text/javascript" src="./katex/katex.min.js"></script> <script type="text/javascript" src="./lib/plotly.min.js"></script> <script type...
Add charset="utf-8" instruction to example HTML.
Add charset="utf-8" instruction to example HTML.
HTML
apache-2.0
stencila/stencila,stencila/stencila,stencila/stencila,stencila/stencila,stencila/stencila,stencila/stencila,stencila/stencila
html
## Code Before: <!DOCTYPE html> <html> <head> <title>Stencila Project</title> <link rel="stylesheet" type="text/css" href="./stencila.css"> <script type="text/javascript" src="./katex/katex.min.js"></script> <script type="text/javascript" src="./lib/plotly.min.js"></script> <script type="text/java...
6e941ebcd2ea01b9771c29b612355da7382d4102
app/helpers/events_helper.rb
app/helpers/events_helper.rb
module EventsHelper def date_time_helper(date_time) "#{date_time.strftime('%A, %b %d, %Y')} at #{date_time.strftime('%I:%M %p')}" end def available?(event) event.owner == nil && event.pending end end
module EventsHelper def date_time_helper(date_time) "#{date_time.strftime('%A, %b %d, %Y')} at #{date_time.strftime('%I:%M %p')}" end def available?(event) event.owner == nil && event.pending && event.end_date_time > DateTime.now end end
Adjust logic for showing if an event is still available
Adjust logic for showing if an event is still available
Ruby
mit
sd-pocket-gophers-2017/swappaws,sd-pocket-gophers-2017/swappaws,sd-pocket-gophers-2017/swappaws
ruby
## Code Before: module EventsHelper def date_time_helper(date_time) "#{date_time.strftime('%A, %b %d, %Y')} at #{date_time.strftime('%I:%M %p')}" end def available?(event) event.owner == nil && event.pending end end ## Instruction: Adjust logic for showing if an event is still available ## Code Aft...
bf373cba03e982e39caabe0cb0e287742a53688a
packages/lesswrong/components/sequences/SequencesNavigationLink.jsx
packages/lesswrong/components/sequences/SequencesNavigationLink.jsx
import { Components, registerComponent, withDocument} from 'meteor/vulcan:core'; import { Posts } from '../../lib/collections/posts'; import IconButton from 'material-ui/IconButton' import React from 'react'; import { withRouter } from 'react-router'; const SequencesNavigationLink = ({ slug, document, docu...
import { Components, registerComponent, withDocument} from 'meteor/vulcan:core'; import { Posts } from '../../lib/collections/posts'; import IconButton from 'material-ui/IconButton' import React from 'react'; import { withRouter } from 'react-router'; import { withStyles } from '@material-ui/core/styles'; const styles...
Fix sequences navigation button coloring
Fix sequences navigation button coloring There was a regression introduced by deleting seemingly-unused SCSS, because `SequencesNavigationLink` was dynamically constructing the class names `sequences-navigation-top-left` and `sequences-navigation-top-right`. Additionally, the SCSS that was incorrectly removed containe...
JSX
mit
Discordius/Lesswrong2,Discordius/Lesswrong2,Discordius/Telescope,Discordius/Telescope,Discordius/Telescope,Discordius/Lesswrong2,Discordius/Telescope,Discordius/Lesswrong2
jsx
## Code Before: import { Components, registerComponent, withDocument} from 'meteor/vulcan:core'; import { Posts } from '../../lib/collections/posts'; import IconButton from 'material-ui/IconButton' import React from 'react'; import { withRouter } from 'react-router'; const SequencesNavigationLink = ({ slug, do...
907b2563ca46ae69dd218ff89f202f6c63135544
3rd_party/CMakeLists.txt
3rd_party/CMakeLists.txt
link_directories(${ThirdParty_Install_Dir}/lib) include(ExternalProject_CEREAL.cmake) include(ExternalProject_ACE.cmake) if(BUILD_COX_MAP_VIEWER) include(ExternalProject_Lutefisk3D.cmake) endif() ######################################################################################## # Optional components ############...
link_directories(${ThirdParty_Install_Dir}/lib) include(ExternalProject_CEREAL.cmake) include(ExternalProject_ACE.cmake) if(WIN32) # ERICEDIT: If the OS is Windows: file(COPY ${ThirdParty_Install_Dir}/lib/libACE.dll DESTINATION ${EXECUTABLE_OUTPUT_PATH}) # ERICEDIT: ACE needed for authserver. endif() if(BUILD_COX_...
Move ACE transfer to deeper CMakeList
Move ACE transfer to deeper CMakeList ACE will now be transferred to the output directory immediately after it is included in the project. This should prevent errors.
Text
bsd-3-clause
broxen/Segs,broxen/Segs,nemerle/Segs,broxen/Segs,nemerle/Segs,nemerle/Segs,Segs/Segs,Segs/Segs,Segs/Segs,Segs/Segs,Segs/Segs,broxen/Segs,broxen/Segs,nemerle/Segs,broxen/Segs,Segs/Segs,nemerle/Segs,nemerle/Segs,Segs/Segs,broxen/Segs,nemerle/Segs
text
## Code Before: link_directories(${ThirdParty_Install_Dir}/lib) include(ExternalProject_CEREAL.cmake) include(ExternalProject_ACE.cmake) if(BUILD_COX_MAP_VIEWER) include(ExternalProject_Lutefisk3D.cmake) endif() ######################################################################################## # Optional compone...
bea9a7858497e3e0dcbac8c10a734d15016710d4
SnailTests/UniqueTests.swift
SnailTests/UniqueTests.swift
// Copyright © 2017 Compass. All rights reserved. import Foundation import XCTest @testable import Snail class UniqueTests: XCTestCase { func testVariableChanges() { var events: [String?] = [] let subject = Unique<String?>(nil) subject.asObservable().subscribe( onNext: { strin...
// Copyright © 2017 Compass. All rights reserved. import Foundation import XCTest @testable import Snail class UniqueTests: XCTestCase { func testVariableChanges() { var events: [String?] = [] let subject = Unique<String?>(nil) subject.asObservable().subscribe( onNext: { strin...
Test Unique handles Equatable Arrays.
Test Unique handles Equatable Arrays.
Swift
mit
UrbanCompass/Snail,UrbanCompass/Snail,UrbanCompass/Snail,UrbanCompass/Snail
swift
## Code Before: // Copyright © 2017 Compass. All rights reserved. import Foundation import XCTest @testable import Snail class UniqueTests: XCTestCase { func testVariableChanges() { var events: [String?] = [] let subject = Unique<String?>(nil) subject.asObservable().subscribe( ...
11764092ee043286fd017da940c28df51a4eba00
client/js/directives/fancy-box-directive.js
client/js/directives/fancy-box-directive.js
"use strict"; angular.module("hikeio"). directive("fancybox", ["$rootScope", function($rootScope) { return { link: function (scope, element, attrs) { scope.$on("$routeChangeStart", function () { $.fancybox.close(); }); scope.$on("fancyboxClose", function () { $.fancybox.close(); }); ...
"use strict"; angular.module("hikeio"). directive("fancybox", ["$rootScope", function($rootScope) { return { link: function (scope, element, attrs) { var context = { afterLoad: function(current, previous) { $rootScope.$broadcast("fancyboxLoaded"); }, afterClose: function(current, previou...
Remove fancybox afterLoad / afterClose event on destroy.
Remove fancybox afterLoad / afterClose event on destroy.
JavaScript
mit
zaknelson/hike.io,zaknelson/hike.io,zaknelson/hike.io,zaknelson/hike.io
javascript
## Code Before: "use strict"; angular.module("hikeio"). directive("fancybox", ["$rootScope", function($rootScope) { return { link: function (scope, element, attrs) { scope.$on("$routeChangeStart", function () { $.fancybox.close(); }); scope.$on("fancyboxClose", function () { $.fancybox.clos...
9149cf53879adbe6b8fe098e0efdecfd63cdd679
api/scripts.go
api/scripts.go
package api import "time" type ScriptsRequest struct { Args []string `json:"args,omitempty"` Files map[string]string `json:"files,omitempty"` CallbackURL string `json:"callback_url,omitempty"` } type ScriptsResponse struct { ID string `json:"id"` Script string ...
package api import "time" type ScriptsRequest struct { Args []string `json:"args,omitempty"` Files map[string]string `json:"files,omitempty"` CallbackURL string `json:"callback_url,omitempty"` } type ScriptsResponse struct { ID string `json:"id"` Script ...
Add files to the ScriptResponse
Add files to the ScriptResponse
Go
mit
pressly/qmd
go
## Code Before: package api import "time" type ScriptsRequest struct { Args []string `json:"args,omitempty"` Files map[string]string `json:"files,omitempty"` CallbackURL string `json:"callback_url,omitempty"` } type ScriptsResponse struct { ID string `json:"id"` Scri...
80ea64754169780009e82972ee354fd0f1b21bf6
lib/fathead/cppreference_doc/README.md
lib/fathead/cppreference_doc/README.md
Cppreference fathead plugin =========================== This is a fathead plugin for C++ standard library reference manual hosted at http://en.cppreference.com. Data source ----------- fetch.sh downloads and untars a snapshot of the website, which is available at http://en.cppreference.com/w/Cppreference:Archives. A...
Cppreference Fathead =========================== This is a Fathead for C++ standard library reference manual hosted at http://en.cppreference.com. Data Source ----------- fetch.sh downloads and untars a snapshot of the website, which is available at http://en.cppreference.com/w/Cppreference:Archives. A new snapshot ...
Update the readme file to mention where the parsing script is located
Update the readme file to mention where the parsing script is located
Markdown
apache-2.0
nikhilsingh291/zeroclickinfo-fathead,souravbadami/zeroclickinfo-fathead,thinker3197/zeroclickinfo-fathead,souravbadami/zeroclickinfo-fathead,rasikapohankar/zeroclickinfo-fathead,dankolbrs/zeroclickinfo-fathead,dankolbrs/zeroclickinfo-fathead,thinker3197/zeroclickinfo-fathead,nikhilsingh291/zeroclickinfo-fathead,thinker...
markdown
## Code Before: Cppreference fathead plugin =========================== This is a fathead plugin for C++ standard library reference manual hosted at http://en.cppreference.com. Data source ----------- fetch.sh downloads and untars a snapshot of the website, which is available at http://en.cppreference.com/w/Cpprefer...
0b102e86b552a982f08ae5a3ce1a22a594dd5bae
mbed_lib.json
mbed_lib.json
{ "name": "dataflash", "config": { "binary-size": { "help": "Configure device to use binary address space.", "value": "0" }, "dataflash-size": { "help": "Configure device to use DataFlash address space.", "value": "0" } } }
{ "name": "dataflash", "config": { "SPI_MOSI": "NC", "SPI_MISO": "NC", "SPI_CLK": "NC", "SPI_CS": "NC", "binary-size": { "help": "Configure device to use binary address space.", "value": "0" }, "dataflash-size": { "he...
Add macros for default pin names
Add macros for default pin names
JSON
apache-2.0
kjbracey-arm/mbed,andcor02/mbed-os,betzw/mbed-os,betzw/mbed-os,c1728p9/mbed-os,mbedmicro/mbed,andcor02/mbed-os,andcor02/mbed-os,kjbracey-arm/mbed,andcor02/mbed-os,betzw/mbed-os,c1728p9/mbed-os,betzw/mbed-os,c1728p9/mbed-os,betzw/mbed-os,mbedmicro/mbed,kjbracey-arm/mbed,mbedmicro/mbed,betzw/mbed-os,c1728p9/mbed-os,andco...
json
## Code Before: { "name": "dataflash", "config": { "binary-size": { "help": "Configure device to use binary address space.", "value": "0" }, "dataflash-size": { "help": "Configure device to use DataFlash address space.", "value": "0" ...
e86f85d57c75119237036047b72838c77e5551a4
src/travix/commands/CsCommand.hx
src/travix/commands/CsCommand.hx
package travix.commands; using StringTools; class CsCommand extends Command { override function execute() { if (!Travix.isWindows) if (tryToRun('mono', ['--version']).match(Failure(_, _))) { if(Travix.isLinux) { aptGet('mono-devel'); aptGet('mono-mcs'); } else {...
package travix.commands; class CsCommand extends Command { override function execute() { if (Travix.isMac) { aptGet('mono'); } else if (Travix.isLinux) { // http://www.mono-project.com/download/#download-lin exec('eval', ['sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --re...
Install newer mono version on Linux.
Install newer mono version on Linux. This solves compile-time error "error CS1061: Type `System.Text.StringBuilder' does not contain a definition for `Clear' and no extension method `Clear' of type `System.Text.StringBuilder' could be found. Are you missing an assembly reference?"
Haxe
unlicense
back2dos/travix,back2dos/travix,back2dos/travix
haxe
## Code Before: package travix.commands; using StringTools; class CsCommand extends Command { override function execute() { if (!Travix.isWindows) if (tryToRun('mono', ['--version']).match(Failure(_, _))) { if(Travix.isLinux) { aptGet('mono-devel'); aptGet('mono-mcs'); ...
a4b6a0d42ef0ee83b278d1a11ffd4a9bceded87e
.travis.yml
.travis.yml
language: php php: - 5.6 - hhvm script: - ./tests/lint.sh git: depth: 5
language: php php: - 5.6 - hhvm sudo: false script: - ./tests/lint.sh git: depth: 5
Use the container-based infrastructure on Travis
Use the container-based infrastructure on Travis
YAML
apache-2.0
duncan3dc/twitter,duncan3dc/twitter,duncan3dc/twitter,duncan3dc/twitter
yaml
## Code Before: language: php php: - 5.6 - hhvm script: - ./tests/lint.sh git: depth: 5 ## Instruction: Use the container-based infrastructure on Travis ## Code After: language: php php: - 5.6 - hhvm sudo: false script: - ./tests/lint.sh git: depth: 5
d52aff7693385dbe47a2903dc1d72f0d564427bd
spec/rules_checker_spec.rb
spec/rules_checker_spec.rb
require 'test_helper' require_relative '../lib/sandi_meter/rules_checker' describe SandiMeter::RulesChecker do let(:fail_conditions) do { first_rule: { small_classes_amount: 1, total_classes_amount: 2 }, second_rule: { small_methods_amount: 2, total_methods_amount: 2 }, third_rule: ...
require 'test_helper' require_relative '../lib/sandi_meter/rules_checker' describe SandiMeter::RulesChecker do let(:fail_conditions) do { first_rule: { small_classes_amount: 1, total_classes_amount: 2 }, second_rule: { small_methods_amount: 2, total_methods_amount: 2 }, third_rule: ...
Test case for RulesChecker with 0 controllers
Test case for RulesChecker with 0 controllers
Ruby
mit
jgraber/sandi_meter,jgraber/sandi_meter,makaroni4/sandi_meter,makaroni4/sandi_meter,jgraber/sandi_meter,makaroni4/sandi_meter
ruby
## Code Before: require 'test_helper' require_relative '../lib/sandi_meter/rules_checker' describe SandiMeter::RulesChecker do let(:fail_conditions) do { first_rule: { small_classes_amount: 1, total_classes_amount: 2 }, second_rule: { small_methods_amount: 2, total_methods_amount: 2 }, ...
7170ba00f19d09613f9b7d7577ff507d60ac246c
.travis.yml
.travis.yml
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode - rbx-2 before_script: - export AWS_ACCESS_KEY_ID=foo - export AWS_SECRET_ACCESS_KEY=bar
language: ruby rvm: - 2.0.0 - 2.1.0 - rbx-2 before_script: - export AWS_ACCESS_KEY_ID=foo - export AWS_SECRET_ACCESS_KEY=bar
Remove JRuby and MRI 1.9.3 from Travis config
Remove JRuby and MRI 1.9.3 from Travis config
YAML
mit
yuhei-mukoyama/peddler,yasuhisa1984/peddler,VandyParks/peddler,jack0331/peddler,agerwick/peddler,parallel588/peddler,n8armstrong/peddler
yaml
## Code Before: language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode - rbx-2 before_script: - export AWS_ACCESS_KEY_ID=foo - export AWS_SECRET_ACCESS_KEY=bar ## Instruction: Remove JRuby and MRI 1.9.3 from Travis config ## Code After: language: ruby rvm: - 2.0.0 - 2.1.0 - rbx-2 before_script...
df21abecc49fbc05540218748d47717a81f7872c
dev-tools/idea/.idea/libraries/Solr_example_library.xml
dev-tools/idea/.idea/libraries/Solr_example_library.xml
<component name="libraryTable"> <library name="Solr example library"> <CLASSES> <root url="file://$PROJECT_DIR$/solr/example/lib" /> </CLASSES> <JAVADOC /> <SOURCES /> <jarDirectory url="file://$PROJECT_DIR$/solr/example/lib" recursive="true" /> </library> </component>
<component name="libraryTable"> <library name="Solr example library"> <CLASSES> <root url="file://$PROJECT_DIR$/solr/server/lib" /> </CLASSES> <JAVADOC /> <SOURCES /> <jarDirectory url="file://$PROJECT_DIR$/solr/server/lib" recursive="true" /> </library> </component>
Fix IDEA project settings after move to server.
SOLR-3619: Fix IDEA project settings after move to server. git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@1635833 13f79535-47bb-0310-9956-ffa450edef68
XML
apache-2.0
apache/solr,apache/solr,apache/solr,apache/solr,apache/solr
xml
## Code Before: <component name="libraryTable"> <library name="Solr example library"> <CLASSES> <root url="file://$PROJECT_DIR$/solr/example/lib" /> </CLASSES> <JAVADOC /> <SOURCES /> <jarDirectory url="file://$PROJECT_DIR$/solr/example/lib" recursive="true" /> </library> </component> ## I...
73240f018a14ad53e16f4e6c964b7b6090f574cb
vim/plugin/settings/yadr-search.vim
vim/plugin/settings/yadr-search.vim
" ================ Search Settings ================= set incsearch " Find the next match as we type the search set hlsearch " Hilight searches by default set viminfo='100,f1 " Save up to 100 marks, enable capital marks set ignorecase " Ignore case when searching... set smartcase " ...unless we...
" ================ Search Settings ================= set incsearch " Find the next match as we type the search set hlsearch " Hilight searches by default set viminfo='100,f1 " Save up to 100 marks, enable capital marks set ignorecase " Ignore case when searching... set smartcase " ...unless we...
Revert "Wrapping search. Perl regex while searching. Center search matches and jumps"
Revert "Wrapping search. Perl regex while searching. Center search matches and jumps" This caused strange issues like inability to properly search for ruby instance variables. This reverts commit 88dd66685af2ba85970d5100bb5c1a3135213228.
VimL
bsd-2-clause
neilor/dotfiles,bionix/dotfiles-1,fernandoaleman/yadr,michaeljacobdavis/dotfiles-yadr,aqibmushtaq/dotfiles,qianthinking/dotfiles,ofer987/dotfiles,stinoga/dotfiles-1,swanandp/dotfiles,sztupy/dotfiles,theone4ever/dotfiles,hulajesus/dotfiles,ccll/dotfiles,tigershen23/dotfiles,andreazevedo/mac_dotfiles,Xiaobin0860/dotfiles...
viml
## Code Before: " ================ Search Settings ================= set incsearch " Find the next match as we type the search set hlsearch " Hilight searches by default set viminfo='100,f1 " Save up to 100 marks, enable capital marks set ignorecase " Ignore case when searching... set smartcase ...
24a3133ab914400c16179b12371ae4ea9b886fd9
tools/git/update-dev_tools.sh
tools/git/update-dev_tools.sh
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" source "${SCRIPT_DIR}/../dev_tools/git/subtree-utils.sh" pull tools/dev_tools git@github.com:salilab/developer_tools.git master
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" source "${SCRIPT_DIR}/../dev_tools/git/subtree-utils.sh" pull tools/dev_tools git@github.com:salilab/developer_tools.git master salilab/developer_tools
Add new arguments to subtree-update script.
Add new arguments to subtree-update script.
Shell
apache-2.0
salilab/rmf,salilab/rmf,salilab/rmf,salilab/rmf
shell
## Code Before: SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" source "${SCRIPT_DIR}/../dev_tools/git/subtree-utils.sh" pull tools/dev_tools git@github.com:salilab/developer_tools.git master ## Instruction: Add new arguments to subtree-update script. ## Code After: SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" so...
ea79df2314afc4bf8e2747800120a7d5d005ece7
reviewboard/notifications/templatetags/markdown_email.py
reviewboard/notifications/templatetags/markdown_email.py
from __future__ import unicode_literals import markdown from django import template from django.utils.safestring import mark_safe from djblets.markdown import markdown_unescape register = template.Library() @register.filter def markdown_email_html(text, is_rich_text): if not is_rich_text: return text ...
from __future__ import unicode_literals import markdown from django import template from django.utils.safestring import mark_safe from djblets.markdown import markdown_unescape register = template.Library() @register.filter def markdown_email_html(text, is_rich_text): if not is_rich_text: return text ...
Add a couple missing Markdown extensions for e-mail rendering.
Add a couple missing Markdown extensions for e-mail rendering. The Markdown e-mail rendering code wasn't correctly rendering lists or strings with double-underscores separating words, due to missing a couple of extensions. This adds those missing extensions, bringing some consistency. Testing Done: Tested the e-mail ...
Python
mit
reviewboard/reviewboard,chipx86/reviewboard,chipx86/reviewboard,brennie/reviewboard,reviewboard/reviewboard,reviewboard/reviewboard,chipx86/reviewboard,brennie/reviewboard,brennie/reviewboard,reviewboard/reviewboard,brennie/reviewboard,chipx86/reviewboard
python
## Code Before: from __future__ import unicode_literals import markdown from django import template from django.utils.safestring import mark_safe from djblets.markdown import markdown_unescape register = template.Library() @register.filter def markdown_email_html(text, is_rich_text): if not is_rich_text: ...
db01563beea08dacb8e8ddacf8603623b2014514
Util/Profiler/TokenFinder.php
Util/Profiler/TokenFinder.php
<?php namespace Lexik\Bundle\TranslationBundle\Util\Profiler; use Symfony\Component\HttpKernel\Profiler\Profiler; /** * @author Cédric Girard <c.girard@lexik.fr> */ class TokenFinder { /** * @var Profiler */ private $profiler; /** * @var int */ private $defaultLimit; /** ...
<?php namespace Lexik\Bundle\TranslationBundle\Util\Profiler; use Symfony\Component\HttpKernel\Profiler\Profiler; /** * @author Cédric Girard <c.girard@lexik.fr> */ class TokenFinder { /** * @var Profiler */ private $profiler; /** * @var int */ private $defaultLimit; /** ...
Revert Profiler as optional dependency
Revert Profiler as optional dependency
PHP
mit
lexik/LexikTranslationBundle,lexik/LexikTranslationBundle
php
## Code Before: <?php namespace Lexik\Bundle\TranslationBundle\Util\Profiler; use Symfony\Component\HttpKernel\Profiler\Profiler; /** * @author Cédric Girard <c.girard@lexik.fr> */ class TokenFinder { /** * @var Profiler */ private $profiler; /** * @var int */ private $defaultL...
a66f6322df61e77def496d1b8ec6328714edfb3b
decimate.cfg
decimate.cfg
import decimate.projects from decimate.projects.svn import * from decimate.projects.ant import * from decimate.projects.statuspublishing import * from decimate.projects.otherbuilds import * from decimate.projects.emailnotify import * from decimate.projects.filespublishing import * from decimate.projects.junitpublishin...
import decimate.projects from decimate.projects.svn import * from decimate.projects.ant import * from decimate.projects.statuspublishing import * from decimate.projects.otherbuilds import * from decimate.projects.emailnotify import * from decimate.projects.filespublishing import * from decimate.projects.junitpublishin...
Add 'provides'. Pull out emailAddresses. Consistent quote style.
Add 'provides'. Pull out emailAddresses. Consistent quote style.
INI
apache-2.0
paulcadman/reviki,strr/reviki,ashirley/reviki,CoreFiling/reviki,ashirley/reviki,strr/reviki,paulcadman/reviki,strr/reviki,CoreFiling/reviki,ashirley/reviki,paulcadman/reviki,CoreFiling/reviki,CoreFiling/reviki,strr/reviki,strr/reviki,ashirley/reviki,ashirley/reviki,CoreFiling/reviki,paulcadman/reviki
ini
## Code Before: import decimate.projects from decimate.projects.svn import * from decimate.projects.ant import * from decimate.projects.statuspublishing import * from decimate.projects.otherbuilds import * from decimate.projects.emailnotify import * from decimate.projects.filespublishing import * from decimate.project...
41b3913f48846ece823db5cde9a193bc3bce465b
src/com/namelessmc/NamelessAPI/Notification.java
src/com/namelessmc/NamelessAPI/Notification.java
package com.namelessmc.NamelessAPI; public class Notification { private String message; private String url; private NotificationType type; public Notification(String message, String url, NotificationType type) { this.message = message; this.url = url; this.type = type; } public String getMessage() { ...
package com.namelessmc.NamelessAPI; public class Notification { private final String message; private final String url; private final NotificationType type; public Notification(final String message, final String url, final NotificationType type) { this.message = message; this.url = url; this.type = type; ...
Add fallback "UNKNOWN" notification type
Add fallback "UNKNOWN" notification type
Java
mit
NamelessMC/Nameless-Plugin-API,NamelessMC/Nameless-Java-API
java
## Code Before: package com.namelessmc.NamelessAPI; public class Notification { private String message; private String url; private NotificationType type; public Notification(String message, String url, NotificationType type) { this.message = message; this.url = url; this.type = type; } public String...
7264b416e2970f3eb817ec6a1679cdf15d2f1796
pipelines/infrastructure.yml
pipelines/infrastructure.yml
groups: - name: infrastructure jobs: - deploy-mega-ci-bosh resources: - name: deployments-runtime type: git source: branch: master private_key: {{private_key}} uri: git@github.com:cloudfoundry/deployments-runtime.git - name: mega-test type: git source: branch: master private_key: {{priv...
groups: - name: infrastructure jobs: - deploy-mega-ci-bosh resources: - name: deployments-runtime type: git source: branch: master private_key: {{private_key}} uri: git@github.com:cloudfoundry/deployments-runtime.git - name: mega-test type: git source: branch: master private_key: {{priv...
Update location of bosh password stub
Update location of bosh password stub
YAML
apache-2.0
cloudfoundry/mega-ci,cloudfoundry/mega-ci
yaml
## Code Before: groups: - name: infrastructure jobs: - deploy-mega-ci-bosh resources: - name: deployments-runtime type: git source: branch: master private_key: {{private_key}} uri: git@github.com:cloudfoundry/deployments-runtime.git - name: mega-test type: git source: branch: master pri...
5aa823aeef2ca87e2bef4cc4dac1d5cbd68d729d
scripts/commands/orgs/index.bash
scripts/commands/orgs/index.bash
awscli organizations list-accounts --output table --query "sort_by(Accounts,&Name)[$(auto_filter Name Id Status Email -- $@)].{\"1.Name\":Name,\"2.Id\":Id,\"3.Status\":Status,\"4.Email\":Email}"
awscli organizations list-accounts --output table --query "sort_by(Accounts,&Name)[$(auto_filter Name Id Status Email JoinedMethod JoinedTimestamp -- $@)].{\"1.Name\":Name,\"2.Id\":Id,\"3.Status\":Status,\"4.Email\":Email,\"5.JoinedVia\":JoinedMethod,\"6.Joined\":JoinedTimestamp}"
Add joined data to orgs
Add joined data to orgs
Shell
mit
flomotlik/awsinfo,flomotlik/awsinfo
shell
## Code Before: awscli organizations list-accounts --output table --query "sort_by(Accounts,&Name)[$(auto_filter Name Id Status Email -- $@)].{\"1.Name\":Name,\"2.Id\":Id,\"3.Status\":Status,\"4.Email\":Email}" ## Instruction: Add joined data to orgs ## Code After: awscli organizations list-accounts --output table --q...
6583495d10bf15f68fd861f725bf8073e4b26a33
tests/testthat/kitchen/execution-introspection.graphql
tests/testthat/kitchen/execution-introspection.graphql
query IntrospectionQuery { __schema { queryType { name } mutationType { name } # subscriptionType { name } types { ...FullType } directives { name description args { ...InputValue } locations } } } fragment FullType on __Type { kind name ...
query IntrospectionQuery { __schema { queryType { name } mutationType { name } # subscriptionType { name } types { ...FullType } directives { name description locations args { ...InputValue } } } } fragment FullType on __Type { kind name ...
Update introspection query from graphql-js
Update introspection query from graphql-js
GraphQL
mit
schloerke/graphqlr,schloerke/graphqlr,schloerke/graphqlr
graphql
## Code Before: query IntrospectionQuery { __schema { queryType { name } mutationType { name } # subscriptionType { name } types { ...FullType } directives { name description args { ...InputValue } locations } } } fragment FullType on __Type {...
63bfd706d40c35b14fd852ff1efa8e0eb6237f08
RNTester/js/examples/XHR/XHRExampleAbortController.js
RNTester/js/examples/XHR/XHRExampleAbortController.js
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ 'use strict'; const React = require('react'); const {Alert, Button, View} = require('react-native'); cla...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ 'use strict'; const React = require('react'); const {Alert, Button, View} = require('react-native'); cla...
Move eslint-disable no-undef to a global comment
Move eslint-disable no-undef to a global comment Summary: Switch the only `// eslint-disable no-undef` to defined the global instead so that the new babel-eslint-no-undef compile time check doesn't need to understand inline eslint comments. Changelog: [Internal] Reviewed By: cpojer Differential Revision: D18644590 ...
JavaScript
mit
facebook/react-native,facebook/react-native,hammerandchisel/react-native,arthuralee/react-native,janicduplessis/react-native,facebook/react-native,javache/react-native,exponent/react-native,myntra/react-native,javache/react-native,exponentjs/react-native,facebook/react-native,janicduplessis/react-native,janicduplessis/...
javascript
## Code Before: /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ 'use strict'; const React = require('react'); const {Alert, Button, View} = require('reac...
348ac0b3fd81503e102ef3e955868379abc37a00
_config.yml
_config.yml
title: Lagrange tagline: a minimalist Jekyll theme description: baseurl: #"/Lagrange" url: #"https://lenpaul.github.io" github: url: #"https://lenpaul.github.io/Lagrange" author: name: "Paul Le" email: "l.nguyen.paul@gmail....
title: My Life Unlearned tagline: this is a tagline description: baseurl: #"" url: #"https://lenpaul.github.io" github: url: #"http://elisepotts.github.io" author: name: "Elise Marie Potts" email: "elise.potts@gmail.com" ...
Update config YAML with Elise's info
Update config YAML with Elise's info
YAML
mit
elisepotts/elisepotts.github.io
yaml
## Code Before: title: Lagrange tagline: a minimalist Jekyll theme description: baseurl: #"/Lagrange" url: #"https://lenpaul.github.io" github: url: #"https://lenpaul.github.io/Lagrange" author: name: "Paul Le" email: "l.ng...
3b869aa3f7087f1f538ecaf2aff4bcd33e5c43d5
README.md
README.md
Small project for testing out Spring Boot. It is a webservice which exposes one RESTful resource for getting information about an artist from different sources. The sources used are Music Brainz API, Wikipedia and Cover Art Archive. Its dependencies and build functions are configured using Maven. ## Testing The tests...
| master | develop | | :-------------: |:-------------:| | [![Build Status](https://travis-ci.org/palmithor/springboot-musicapi.svg?branch=master)](https://travis-ci.org/palmithor/springboot-musicapi) | [![Build Status](https://travis-ci.org/palmithor/springboot-musicapi.svg?branch=develop)](h...
Add travis ci build status labels in readme.
Add travis ci build status labels in readme.
Markdown
apache-2.0
palmithor/springboot-musicapi
markdown
## Code Before: Small project for testing out Spring Boot. It is a webservice which exposes one RESTful resource for getting information about an artist from different sources. The sources used are Music Brainz API, Wikipedia and Cover Art Archive. Its dependencies and build functions are configured using Maven. ## T...
d37655aedff0b7ae210e7b7e1aa716cf8f49bde8
README.rst
README.rst
Streamz ======= |Build Status| |Doc Status| |Version Status| Streamz helps you build pipelines to manage continuous streams of data. It is simple to use in simple cases, but also supports complex pipelines that involve branching, joining, flow control, feedback, back pressure, and so on. Optionally, Streamz can also...
Streamz ======= |Build Status| |Doc Status| |Version Status| Streamz helps you build pipelines to manage continuous streams of data. It is simple to use in simple cases, but also supports complex pipelines that involve branching, joining, flow control, feedback, back pressure, and so on. Optionally, Streamz can also...
Update build status image url in readme
Update build status image url in readme The current url doesn't seem to be showing the correct build status. This change fixes that.
reStructuredText
bsd-3-clause
mrocklin/streams
restructuredtext
## Code Before: Streamz ======= |Build Status| |Doc Status| |Version Status| Streamz helps you build pipelines to manage continuous streams of data. It is simple to use in simple cases, but also supports complex pipelines that involve branching, joining, flow control, feedback, back pressure, and so on. Optionally, ...
0b9bed076bac3f942e904a5e8388880af515ced0
api/db/user.js
api/db/user.js
'use strict' module.exports = function (sequelize, DataTypes) { let User = sequelize.define('User', { id: { type: DataTypes.UUID, primaryKey: true, defaultValue: DataTypes.UUIDV4 }, email: { type: DataTypes.STRING, allowNull: false }, password: { type: DataType...
'use strict' module.exports = function (sequelize, DataTypes) { let User = sequelize.define('User', { id: { type: DataTypes.UUID, primaryKey: true, defaultValue: DataTypes.UUIDV4 }, email: { type: DataTypes.STRING, allowNull: false }, password: { type: DataType...
Use literal function for citext array default value, not string
Use literal function for citext array default value, not string
JavaScript
bsd-3-clause
FuelRats/api.fuelrats.com,FuelRats/api.fuelrats.com,FuelRats/api.fuelrats.com
javascript
## Code Before: 'use strict' module.exports = function (sequelize, DataTypes) { let User = sequelize.define('User', { id: { type: DataTypes.UUID, primaryKey: true, defaultValue: DataTypes.UUIDV4 }, email: { type: DataTypes.STRING, allowNull: false }, password: { ...
9a733935a16bf898dcb785316e3a1fc98ac91226
package/src/frontend/media/createMediaPlayer.js
package/src/frontend/media/createMediaPlayer.js
import {browser} from '../browser'; import {VideoPlayer} from '../VideoPlayer'; export const createMediaPlayer = function (options) { options.tagName = options.tagName || 'video'; let isAudio = options.tagName == 'audio'; let playsInline = options.playsInline; let mediaElementTemplate = document.createElement...
import {browser} from '../browser'; import {VideoPlayer} from '../VideoPlayer'; export const createMediaPlayer = function (options) { options.tagName = options.tagName || 'video'; let isAudio = options.tagName == 'audio'; let playsInline = options.playsInline; let mediaElementTemplate = document.createElement...
Remove paged specific options from scrolled media player
Remove paged specific options from scrolled media player * `fullscreenDuringPhonePlayback` is unused legacy. * `useSlimPlayerControlsDuringPhonePlayback` refers to paged widget types.
JavaScript
mit
tf/pageflow,codevise/pageflow,codevise/pageflow,codevise/pageflow,tf/pageflow,tf/pageflow,codevise/pageflow,tf/pageflow
javascript
## Code Before: import {browser} from '../browser'; import {VideoPlayer} from '../VideoPlayer'; export const createMediaPlayer = function (options) { options.tagName = options.tagName || 'video'; let isAudio = options.tagName == 'audio'; let playsInline = options.playsInline; let mediaElementTemplate = docume...
867159d77d883eaa7874634e60befb24a680e9d0
src/entities/CollectionEditor.js
src/entities/CollectionEditor.js
import { Component } from 'substance' import EntityEditor from './EntityEditor' export default class CollectionEditor extends Component { render($$) { let el = $$('div').addClass('sc-collection-editor') let label = this.getLabel(this.props.model.id) let items = this._getItems() el.append( $$('...
import { Component, FontAwesomeIcon } from 'substance' import EntityEditor from './EntityEditor' export default class CollectionEditor extends Component { render($$) { let el = $$('div').addClass('sc-collection-editor') let label = this.getLabel(this.props.model.id) let items = this._getItems() el.a...
Add a new collection item button.
Add a new collection item button.
JavaScript
mit
substance/texture,substance/texture
javascript
## Code Before: import { Component } from 'substance' import EntityEditor from './EntityEditor' export default class CollectionEditor extends Component { render($$) { let el = $$('div').addClass('sc-collection-editor') let label = this.getLabel(this.props.model.id) let items = this._getItems() el.ap...
7eeadd9b97e28260346b87866b212499249f769f
CMakeLists.txt
CMakeLists.txt
cmake_minimum_required (VERSION 2.8) set(PROJECT jdksavdecc-mcu) project(${PROJECT} C CXX) set(CXX11 "OFF") include_directories( "include" "jdksavdecc-c/include" ) file(GLOB PROJECT_SRC "jdksavdecc-c/src/*.c" ) set(PROJECT_INCLUDES_GLOBS "jdksavdecc-c/include/*.h" "jdksavdecc-c/include/*.hpp") set(PROJECT_SRC_GLOB...
cmake_minimum_required (VERSION 2.8) set(PROJECT jdksavdecc-mcu) project(${PROJECT} C CXX) option(CXX11 "C++11 mode" "OFF") include_directories( "include" "jdksavdecc-c/include" ) file(GLOB PROJECT_SRC "jdksavdecc-c/src/*.c" ) set(PROJECT_INCLUDES_GLOBS "jdksavdecc-c/include/*.h" "jdksavdecc-c/include/*.hpp") set(...
Change CXX11 to be an option, default OFF
Change CXX11 to be an option, default OFF
Text
mit
jdkoftinoff/jdksavdecc-mcu,jdkoftinoff/jdksavdecc-mcu,jdkoftinoff/jdksavdecc-mcu,jdkoftinoff/jdksavdecc-mcu
text
## Code Before: cmake_minimum_required (VERSION 2.8) set(PROJECT jdksavdecc-mcu) project(${PROJECT} C CXX) set(CXX11 "OFF") include_directories( "include" "jdksavdecc-c/include" ) file(GLOB PROJECT_SRC "jdksavdecc-c/src/*.c" ) set(PROJECT_INCLUDES_GLOBS "jdksavdecc-c/include/*.h" "jdksavdecc-c/include/*.hpp") set(...
13a236b7837626f00486830e86a816be9c2e0ab4
.travis.yml
.travis.yml
sudo: false services: - docker language: java cache: directories: - $HOME/.m2/repository jdk: - oraclejdk8 before_script: - "HOST_IP=$(ip route show 0.0.0.0/0 | grep -Eo 'via \\S+' | awk '{ print $2 }')" - "docker-compose up -d" script: - "mvn verify -B" after_success: - "mvn jacoco:report covera...
sudo: false services: - docker language: java cache: directories: - $HOME/.m2/repository jdk: - oraclejdk8 before_script: - "docker run -d -v \"$(pwd)/kannel.conf:/etc/kannel/kannel.conf\" -v \"$(pwd)/supervisord.conf:/etc/supervisor/conf.d/supervisord.conf\" --name kannel -p \"12000:12000\" -p \"12001...
Switch to docker from docker-compose to try and fix the build
Switch to docker from docker-compose to try and fix the build
YAML
mit
spapageo/jannel
yaml
## Code Before: sudo: false services: - docker language: java cache: directories: - $HOME/.m2/repository jdk: - oraclejdk8 before_script: - "HOST_IP=$(ip route show 0.0.0.0/0 | grep -Eo 'via \\S+' | awk '{ print $2 }')" - "docker-compose up -d" script: - "mvn verify -B" after_success: - "mvn jaco...
e079314b669aaf3a860639035ef16eeab44076b0
resources/views/partials/footer.blade.php
resources/views/partials/footer.blade.php
<?php /** * Created by PhpStorm. * User: mgrloren * Date: 7/31/15 * Time: 2:55 PM */ ?> <footer> <div class="container"> <div class="row"> <div class="col-sm-6"> <ul class="list-inline"> {{--<li><i class="icon-facebook icon-2x"></i></li>--}} ...
<?php /** * Created by PhpStorm. * User: mgrloren * Date: 7/31/15 * Time: 2:55 PM */ ?> <footer> <div class="container"> <div class="row"> <div class="col-sm-6"> <ul class="list-inline"> {{--<li><i class="icon-facebook icon-2x"></i></li>--}} ...
Add Instagram link to footer
Add Instagram link to footer
PHP
mit
lorenlang/blog,lorenlang/blog,lorenlang/blog
php
## Code Before: <?php /** * Created by PhpStorm. * User: mgrloren * Date: 7/31/15 * Time: 2:55 PM */ ?> <footer> <div class="container"> <div class="row"> <div class="col-sm-6"> <ul class="list-inline"> {{--<li><i class="icon-facebook icon-2x"></i></li>-...
cf4ec8179c319fbe512f25889e58b60f14ba0253
AzureFunctions.Client/app/pipes/sidebar.pipe.ts
AzureFunctions.Client/app/pipes/sidebar.pipe.ts
import {Injectable, Pipe, PipeTransform} from '@angular/core'; import {FunctionInfo} from '../models/function-info'; @Pipe({ name: 'sidebarFilter', pure: false }) @Injectable() export class SideBarFilterPipe implements PipeTransform { transform(items: FunctionInfo[], args: string[] | string): any { ...
import {Injectable, Pipe, PipeTransform} from '@angular/core'; import {FunctionInfo} from '../models/function-info'; @Pipe({ name: 'sidebarFilter', pure: false }) @Injectable() export class SideBarFilterPipe implements PipeTransform { transform(items: FunctionInfo[], args: string[] | string): any { ...
Fix search filter on the sidebar regression
Fix search filter on the sidebar regression
TypeScript
apache-2.0
projectkudu/WebJobsPortal,projectkudu/AzureFunctions,projectkudu/AzureFunctions,agruning/azure-functions-ux,chunye/azure-functions-ux,agruning/azure-functions-ux,chunye/azure-functions-ux,projectkudu/WebJobsPortal,agruning/azure-functions-ux,projectkudu/AzureFunctions,projectkudu/WebJobsPortal,agruning/azure-functions-...
typescript
## Code Before: import {Injectable, Pipe, PipeTransform} from '@angular/core'; import {FunctionInfo} from '../models/function-info'; @Pipe({ name: 'sidebarFilter', pure: false }) @Injectable() export class SideBarFilterPipe implements PipeTransform { transform(items: FunctionInfo[], args: string[] | strin...
4376c2705cb778957968e1d680cffdef4d5d8d4f
lib/mongoid/userstamp/railtie.rb
lib/mongoid/userstamp/railtie.rb
module Mongoid module Userstamp class Railtie < Rails::Railtie # Include Mongoid::Userstamp::User into User class, if not already done config.to_prepare do Mongoid::Userstamp.user_classes.each do |user_class| unless user_class.included_modules.include?(Mongoid::Userstamp::User) user...
module Mongoid module Userstamp class Railtie < Rails::Railtie # Include Mongoid::Userstamp::User into User class, if not already done config.to_prepare do Mongoid::Userstamp.user_classes.each do |user_class| unless user_class.included_modules.include?(Mongoid::Userstamp::User) user...
Use respond_to?(:before_filter) to make it Rails version agnostic
Use respond_to?(:before_filter) to make it Rails version agnostic
Ruby
mit
johnnyshields/mongoid_userstamp
ruby
## Code Before: module Mongoid module Userstamp class Railtie < Rails::Railtie # Include Mongoid::Userstamp::User into User class, if not already done config.to_prepare do Mongoid::Userstamp.user_classes.each do |user_class| unless user_class.included_modules.include?(Mongoid::Userstamp::User...
95d0366a7c5dd6da55d54c0e881f1af23374f601
.github/workflows/maven.yml
.github/workflows/maven.yml
name: Java CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v2 with: java-version: '11' distribution: 'zulu' ...
name: Java CI on: push: branches: [ master ] pull_request: branches: [ master ] workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v2 with: java-version: '11' ...
Allow to trigger the build manually
Allow to trigger the build manually
YAML
apache-2.0
ferstl/pedantic-pom-enforcers
yaml
## Code Before: name: Java CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v2 with: java-version: '11' distr...
1adbba4e910486eec0c9dfb037d313faa99e75ad
app/Repositories/ScheduleRepository.php
app/Repositories/ScheduleRepository.php
<?php namespace App\Repositories; use App\Models\Schedule; use App\Repositories\Contracts\ScheduleRepositoryInterface; class ScheduleRepository extends Repository implements ScheduleRepositoryInterface { public function __construct(Schedule $model) { $this->model = $model; } public function ...
<?php namespace App\Repositories; use App\Models\Schedule; use App\Repositories\Contracts\ScheduleRepositoryInterface; class ScheduleRepository extends Repository implements ScheduleRepositoryInterface { public function __construct(Schedule $model) { $this->model = $model; } public function ...
Load relationships and remove data formatting
Load relationships and remove data formatting
PHP
mit
ShalomPeace/pub-trans-app,ShalomPeace/pub-trans-app
php
## Code Before: <?php namespace App\Repositories; use App\Models\Schedule; use App\Repositories\Contracts\ScheduleRepositoryInterface; class ScheduleRepository extends Repository implements ScheduleRepositoryInterface { public function __construct(Schedule $model) { $this->model = $model; } ...
c86f9e8264819a74f4d884cdda4ea9a70dc4530e
script/docker.sh
script/docker.sh
echo "==> Adding EPEL repo" cat /etc/redhat-release if grep -q -i "release 7" /etc/redhat-release ; then wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm rpm -Uvh epel-release-7*.rpm echo "==> Installing docker" yum install -y docker elif grep -q -i "release 6" /etc/redh...
echo "==> Adding EPEL repo" yum install -y epel-release cat /etc/resolv.conf cat /etc/redhat-release if grep -q -i "release 7" /etc/redhat-release ; then echo "==> Installing docker" yum install -y docker elif grep -q -i "release 6" /etc/redhat-release ; then echo "==> Installing docker" yum install -y...
Streamline installation of epel repo
Streamline installation of epel repo
Shell
apache-2.0
idi-ops/packer-centos,tom--bo/centos,bertvv/centos,bcorner13/centos,kosaki/centos,erikh/centos,ehime/Boxcutter-CentOS,boxcutter/centos,idi-ops/packer-centos,rasputnik/centos,ammonkc/centos-vm,chenpiao/centos,ammonkc/centos-vm,gtirloni/packer-centos-vagrant,ehime/centos,briancline/centos,gtirloni/packer-centos,gtirloni/...
shell
## Code Before: echo "==> Adding EPEL repo" cat /etc/redhat-release if grep -q -i "release 7" /etc/redhat-release ; then wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm rpm -Uvh epel-release-7*.rpm echo "==> Installing docker" yum install -y docker elif grep -q -i "rele...
c03e174527aaf92260445970c3b2947bfb00bcb1
spec/conditionals/case_spec.cr
spec/conditionals/case_spec.cr
require "../spec_helper" describe Crow do it "should convert simple case statements" do crystal = <<-CR value = "foo" case value when "foo" p "yes" when "bar" p "no" else p "hiyaa" end CR flow = <<-JS const value = "foo"; switch (value) { case "foo":...
require "../spec_helper" describe Crow do it "should convert simple case statements" do crystal = <<-CR value = "foo" case value when "foo" p "yes" when "bar" p "no" else p "hiyaa" end CR flow = <<-JS const value = "foo"; switch (value) { case "foo":...
Add spec for missing else in case statement
Add spec for missing else in case statement
Crystal
mit
geppetto-apps/crow
crystal
## Code Before: require "../spec_helper" describe Crow do it "should convert simple case statements" do crystal = <<-CR value = "foo" case value when "foo" p "yes" when "bar" p "no" else p "hiyaa" end CR flow = <<-JS const value = "foo"; switch (value) {...
65f3644a962e0ff13bcfd837b3960c7aa6179ccb
packages/google-oauth/package.js
packages/google-oauth/package.js
Package.describe({ summary: "Google OAuth flow", version: "1.2.6", }); const cordovaPluginGooglePlusURL = // This revision is from the "update-entitlements-plist-files" branch. // This logic can be reverted when/if this PR is merged: // https://github.com/EddyVerbruggen/cordova-plugin-googleplus/pull/366 "...
Package.describe({ summary: "Google OAuth flow", version: "1.3.0", }); Cordova.depends({ "cordova-plugin-googleplus": "8.4.0", }); Package.onUse(api => { api.use("ecmascript"); api.use('oauth2', ['client', 'server']); api.use('oauth', ['client', 'server']); api.use('http', ['server']); api.use('servic...
Stop using our fork of cordova-plugin-googleplus.
Stop using our fork of cordova-plugin-googleplus. The PR that we were waiting on got merged in April 2018: https://github.com/EddyVerbruggen/cordova-plugin-googleplus/pull/366
JavaScript
mit
Hansoft/meteor,Hansoft/meteor,Hansoft/meteor,Hansoft/meteor,Hansoft/meteor,Hansoft/meteor,Hansoft/meteor
javascript
## Code Before: Package.describe({ summary: "Google OAuth flow", version: "1.2.6", }); const cordovaPluginGooglePlusURL = // This revision is from the "update-entitlements-plist-files" branch. // This logic can be reverted when/if this PR is merged: // https://github.com/EddyVerbruggen/cordova-plugin-googlep...
6c696b9ddec9e85df253fddb6228549a24f4f26a
annotations/src/main/java/org/realityforge/arez/annotations/Computed.java
annotations/src/main/java/org/realityforge/arez/annotations/Computed.java
package org.realityforge.arez.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Methods marked with this annotation are computed values within Arez. * * <p>The method should take zero p...
package org.realityforge.arez.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Methods marked with this annotation are computed values within Arez. * * <p>The method should take zero p...
Fix javadocs cross link as Observable is not present locally
Fix javadocs cross link as Observable is not present locally
Java
apache-2.0
realityforge/arez,realityforge/arez,realityforge/arez
java
## Code Before: package org.realityforge.arez.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Methods marked with this annotation are computed values within Arez. * * <p>The method sh...
60afe808e5f561f08e0c66b9f39a6bb8508da304
maven-plugin/src/main/java/sortpom/exception/ExceptionConverter.java
maven-plugin/src/main/java/sortpom/exception/ExceptionConverter.java
package sortpom.exception; import org.apache.maven.plugin.MojoFailureException; /** * Converts internal runtime FailureException in a method to a MojoFailureException in order to give nice output to * the Maven framework */ public class ExceptionConverter { private final Runnable method; private FailureEx...
package sortpom.exception; import org.apache.maven.plugin.MojoFailureException; /** * Converts internal runtime FailureException in a method to a MojoFailureException in order to give nice output to * the Maven framework */ public class ExceptionConverter { private final Runnable method; public ExceptionC...
Raise coverage. Lets see if this can work with JaCoCo
Raise coverage. Lets see if this can work with JaCoCo
Java
bsd-3-clause
Ekryd/sortpom
java
## Code Before: package sortpom.exception; import org.apache.maven.plugin.MojoFailureException; /** * Converts internal runtime FailureException in a method to a MojoFailureException in order to give nice output to * the Maven framework */ public class ExceptionConverter { private final Runnable method; p...
3f90710beee3c098e440b8e6b69302e3d1e1f27e
deploy-requirements.txt
deploy-requirements.txt
akismet == 0.2.0 Django >= 1.2, < 1.3 django-registration == 0.7 docutils >= 0.6, < 0.7 FeedParser >= 4.1, < 5.0 Jinja2 >= 2.4, < 2.5 psycopg2 >= 2.2, < 2.3 Sphinx >= 0.6, < 0.7 Unipath >= 0.2, < 0.3 http://bitbucket.org/ubernostrum/django-contact-form/get/tip.bz2
akismet == 0.2.0 Django >= 1.2, < 1.3 django-registration == 0.7 docutils >= 0.6, < 0.7 FeedParser >= 4.1, < 5.0 Jinja2 >= 2.4, < 2.5 psycopg2 >= 2.2, < 2.3 python-memcached >= 1.45, < 2.0 Sphinx >= 0.6, < 0.7 Unipath >= 0.2, < 0.3 http://bitbucket.org/ubernostrum/django-contact-form/get/tip.bz2
Add python-memcached to the requirements.
Add python-memcached to the requirements.
Text
bsd-3-clause
vxvinh1511/djangoproject.com,vxvinh1511/djangoproject.com,rmoorman/djangoproject.com,relekang/djangoproject.com,hassanabidpk/djangoproject.com,khkaminska/djangoproject.com,xavierdutreilh/djangoproject.com,alawnchen/djangoproject.com,nanuxbe/django,hassanabidpk/djangoproject.com,alawnchen/djangoproject.com,relekang/djan...
text
## Code Before: akismet == 0.2.0 Django >= 1.2, < 1.3 django-registration == 0.7 docutils >= 0.6, < 0.7 FeedParser >= 4.1, < 5.0 Jinja2 >= 2.4, < 2.5 psycopg2 >= 2.2, < 2.3 Sphinx >= 0.6, < 0.7 Unipath >= 0.2, < 0.3 http://bitbucket.org/ubernostrum/django-contact-form/get/tip.bz2 ## Instruction: Add python-memcached ...
a3eb7dc79bf6d4278f06954949efe0e28e1b49c5
Source/Clients/ApiClient.swift
Source/Clients/ApiClient.swift
// // RepositoriesClient.swift // GithubClient // // Created by Eduardo Arenas on 8/5/17. // Copyright © 2017 GameChanger. All rights reserved. // import Foundation import RxSwift public class ApiClient { let decoder = JSONDecoder() private let httpService = HTTPService() private let headers: [String: Cus...
// // RepositoriesClient.swift // GithubClient // // Created by Eduardo Arenas on 8/5/17. // Copyright © 2017 GameChanger. All rights reserved. // import Foundation import RxSwift public class ApiClient { let encoder = JSONEncoder() let decoder = JSONDecoder() private let httpService = HTTPService() pri...
Add patch method taking an Encodable object to the API Client
Add patch method taking an Encodable object to the API Client
Swift
mit
eduarenas/GithubClient
swift
## Code Before: // // RepositoriesClient.swift // GithubClient // // Created by Eduardo Arenas on 8/5/17. // Copyright © 2017 GameChanger. All rights reserved. // import Foundation import RxSwift public class ApiClient { let decoder = JSONDecoder() private let httpService = HTTPService() private let heade...
f11197fd04d7da609b377694d601358d32bf70c2
lib/elixir/mix.exs
lib/elixir/mix.exs
defmodule Elixir.Mixfile do use Mix.Project def project do [app: :elixir, version: System.version, build_per_environment: false, escript: [ embed_elixir: false, main_module: :elixir, emu_args: "%%! -noshell\n" ]] end end
defmodule Elixir.Mixfile do use Mix.Project def project do [app: :elixir, version: System.version, build_per_environment: false] end end
Remove escript from elixir app
Remove escript from elixir app
Elixir
apache-2.0
gfvcastro/elixir,kimshrier/elixir,kimshrier/elixir,gfvcastro/elixir,kelvinst/elixir,lexmag/elixir,pedrosnk/elixir,beedub/elixir,kelvinst/elixir,lexmag/elixir,ggcampinho/elixir,pedrosnk/elixir,ggcampinho/elixir,elixir-lang/elixir,antipax/elixir,joshprice/elixir,michalmuskala/elixir,beedub/elixir,antipax/elixir
elixir
## Code Before: defmodule Elixir.Mixfile do use Mix.Project def project do [app: :elixir, version: System.version, build_per_environment: false, escript: [ embed_elixir: false, main_module: :elixir, emu_args: "%%! -noshell\n" ]] end end ## Instruction: Remove escript fr...
39329d8c76715bb19cd5b03934563734654bed7e
ReactiveCocoa/NSObject+BindingTarget.swift
ReactiveCocoa/NSObject+BindingTarget.swift
import Foundation import ReactiveSwift extension Reactive where Base: NSObject { /// Creates a binding target which uses the lifetime of the object, and weakly /// references the object so that the supplied `action` is triggered only if /// the object has not deinitialized. /// /// - important: The binding target...
import Foundation import ReactiveSwift extension Reactive where Base: NSObject { /// Creates a binding target which uses the lifetime of the object, and weakly /// references the object so that the supplied `action` is triggered only if /// the object has not deinitialized. /// /// - important: The binding target...
Create one `UIScheduler` for each instance of binding target.
Create one `UIScheduler` for each instance of binding target.
Swift
mit
calebd/ReactiveCocoa,walkingsmarts/ReactiveCocoa,walkingsmarts/ReactiveCocoa,ohwutup/ReactiveCocoa,ohwutup/ReactiveCocoa,ohwutup/ReactiveCocoa,calebd/ReactiveCocoa,walkingsmarts/ReactiveCocoa,calebd/ReactiveCocoa
swift
## Code Before: import Foundation import ReactiveSwift extension Reactive where Base: NSObject { /// Creates a binding target which uses the lifetime of the object, and weakly /// references the object so that the supplied `action` is triggered only if /// the object has not deinitialized. /// /// - important: Th...
52310432d6cca88d4aed877b2924500ca4c9913a
.travis.yml
.travis.yml
language: python - "3.2" - "3.4" - "3.5" - "3.6" before_install: - sudo apt-get update -qq - sudo apt-get install -qq python3-pip python3-numpy python3-scipy python3-matplotlib python3-nose - sudo pip3 install codecov rednose nose coverage six toolz nose-parameterized codeclimate-test-report...
language: python - "3.2" - "3.4" - "3.5" - "3.6" before_install: - sudo apt-get update -qq - sudo apt-get install -qq python3-pip python3-numpy python3-scipy python3-matplotlib python3-nose - sudo pip3 install codecov rednose nose coverage six toolz nose-parameterized codeclimate-test-report...
Use codeclimate token as CLI arg rather than as env variable
Use codeclimate token as CLI arg rather than as env variable
YAML
apache-2.0
ulikoehler/UliEngineering
yaml
## Code Before: language: python - "3.2" - "3.4" - "3.5" - "3.6" before_install: - sudo apt-get update -qq - sudo apt-get install -qq python3-pip python3-numpy python3-scipy python3-matplotlib python3-nose - sudo pip3 install codecov rednose nose coverage six toolz nose-parameterized codecli...
fc0cb25c0c9c34b3ce79666f4e9b0550bde35bf6
src/Tab.js
src/Tab.js
import React, { Component, Children, PropTypes } from 'react' export function Tab(props, {activeTab, changeTab}) { const onClick = (e) => { e.preventDefault() changeTab(props.for) } let active = props.for === activeTab if (props.render) { return(props.render({active, changeTab: () => changeTab(pr...
import React, { Component, Children, PropTypes } from 'react' export function Tab(props, {activeTab, changeTab}) { const onClick = (e) => { e.preventDefault() changeTab(props.for) } let active = props.for === activeTab if (props.render) { return(props.render({active, changeTab: () => changeTab(pr...
Use bootstrap4 markup for tabs
Use bootstrap4 markup for tabs
JavaScript
mit
mateomurphy/react-tabbed
javascript
## Code Before: import React, { Component, Children, PropTypes } from 'react' export function Tab(props, {activeTab, changeTab}) { const onClick = (e) => { e.preventDefault() changeTab(props.for) } let active = props.for === activeTab if (props.render) { return(props.render({active, changeTab: ()...
bbc0e376c0af7db58ed011b8dae8541185d98aa3
_layouts/default.html
_layouts/default.html
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> {% include head.html %} <body> <div class="container content"> <div class="masthead"> <h3 class="masthead-title"> <a href="{{ site.baseurl }}" title="Home">{{ site.title }}</a> <small>{{ s...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> {% include head.html %} <body> <div class="container content"> <div class="masthead"> <h3 class="masthead-title"> <a href="{{ site.baseurl }}" title="Home">{{ site.title }}</a> <small>{{ s...
Use <small> for the copyright
Use <small> for the copyright This follows the new semantic meaning of <small> in HTML 5 Quoting the spec: > Small print typically features disclaimers, caveats, legal restrictions, > or copyrights. Small print is also sometimes used for attribution, or > for satisfying licensing requirements.
HTML
mit
iron-coder-challenges/iron-coder-challenges.github.io,izak/izak.github.io,vigneshrdotin/poole,addr/addr.github.io,kamn/kamn.github.io,MobilabSP/poole,anokun7/poole,toanbs/toanbs.github.io,jamj2000/jamj2000.github.io,paperstreet/paperstreet.github.io,JacksonBates/blog,aaewong/poole,coded-aesthetics/blog,angryfrenchguy/a...
html
## Code Before: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> {% include head.html %} <body> <div class="container content"> <div class="masthead"> <h3 class="masthead-title"> <a href="{{ site.baseurl }}" title="Home">{{ site.title }}</a> ...
62d9d3cfb2c9e7ad5406e3f8a785d79a787b3bfe
tests/Kwc/Trl/Table/Root/Master.php
tests/Kwc/Trl/Table/Root/Master.php
<?php class Kwc_Trl_Table_Root_Master extends Kwc_Abstract { public static function getSettings() { $ret = parent::getSettings(); $ret['generators']['table'] = array( 'class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwc_Trl_Table_Table_Component', ...
<?php class Kwc_Trl_Table_Root_Master extends Kwc_Root_TrlRoot_Master_Component { public static function getSettings() { $ret = parent::getSettings(); $ret['generators']['table'] = array( 'class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwc_Trl_Table_Tabl...
Fix setup for table trl test
Fix setup for table trl test
PHP
bsd-2-clause
yacon/koala-framework,kaufmo/koala-framework,Sogl/koala-framework,Ben-Ho/koala-framework,Ben-Ho/koala-framework,darimpulso/koala-framework,nsams/koala-framework,fraxachun/koala-framework,darimpulso/koala-framework,yacon/koala-framework,koala-framework/koala-framework,kaufmo/koala-framework,koala-framework/koala-framewo...
php
## Code Before: <?php class Kwc_Trl_Table_Root_Master extends Kwc_Abstract { public static function getSettings() { $ret = parent::getSettings(); $ret['generators']['table'] = array( 'class' => 'Kwf_Component_Generator_Page_Static', 'component' => 'Kwc_Trl_Table_Table_Com...
6479d9dc301f9e5c32f236d004aa292d27d3b87f
src/main/java/rewbot/minecraft/tutorial/blocks/AdventureBlock.java
src/main/java/rewbot/minecraft/tutorial/blocks/AdventureBlock.java
package rewbot.minecraft.tutorial.blocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import rewbot.minecraft.tutorial.MmaGlobal; /** * Created by ashepherd on 5/12/2016. */ public class AdventureBlock extends Block { ...
package rewbot.minecraft.tutorial.blocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import rewbot.minecraft.tutorial.MmaGlobal; import rewbot.minecr...
Drop random number of topaz stones on topaz ore break
Drop random number of topaz stones on topaz ore break
Java
lgpl-2.1
rewbotV86/minecraft-modding-adventure
java
## Code Before: package rewbot.minecraft.tutorial.blocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import rewbot.minecraft.tutorial.MmaGlobal; /** * Created by ashepherd on 5/12/2016. */ public class AdventureBlock extends Block {...
a3f204ad0b9e90770d0975bd027a7de21a60b054
patches/out_of_process_instance.patch
patches/out_of_process_instance.patch
diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc index af5d1a506fbb..839d5007f7dd 100644 --- a/pdf/out_of_process_instance.cc +++ b/pdf/out_of_process_instance.cc @@ -48,6 +48,7 @@ namespace chrome_pdf { const char kChromePrint[] = "chrome://print/"; const char kChromeExtension[] = "c...
diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc index 1fa0964..06e5ad8 100644 --- a/pdf/out_of_process_instance.cc +++ b/pdf/out_of_process_instance.cc @@ -336,6 +336,7 @@ bool OutOfProcessInstance::Init(uint32_t argc, base::StringPiece document_url_piece(document_url); is_print_previ...
Update patch for Chrome 56
Update patch for Chrome 56
Diff
mit
electron/libchromiumcontent,atom/libchromiumcontent,electron/libchromiumcontent,atom/libchromiumcontent
diff
## Code Before: diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc index af5d1a506fbb..839d5007f7dd 100644 --- a/pdf/out_of_process_instance.cc +++ b/pdf/out_of_process_instance.cc @@ -48,6 +48,7 @@ namespace chrome_pdf { const char kChromePrint[] = "chrome://print/"; const char kChromeExten...
c2cb488550521bf667c159c1a921c37f0d994280
resources/views/partials/editor.blade.php
resources/views/partials/editor.blade.php
<script src="http://cdn.tinymce.com/4/tinymce.min.js"></script> <script> tinymce.init( { selector: ".has_editor", menubar: false, plugins: [ "lists link image textcolor", ], formats: { forecolor: {inline: 'span', classes: 'forecolor', styles:{color: "%value"}} }, textcolor_map: [ "0c0934",...
<script src="http://cdn.tinymce.com/4/tinymce.min.js"></script> <script> tinymce.init( { selector: ".has_editor", menubar: false, plugins: [ "lists link image textcolor paste", ], paste_as_text: true, formats: { forecolor: {inline: 'span', classes: 'forecolor', styles:{color: "%value"}} }, t...
Add paste plugin and set it to remove formatting
Add paste plugin and set it to remove formatting
PHP
mit
saleone/obscuris,saleone/obscuris,saleone/obscuris
php
## Code Before: <script src="http://cdn.tinymce.com/4/tinymce.min.js"></script> <script> tinymce.init( { selector: ".has_editor", menubar: false, plugins: [ "lists link image textcolor", ], formats: { forecolor: {inline: 'span', classes: 'forecolor', styles:{color: "%value"}} }, textcolor_map:...
02f47c024ff6edab4119e1c5fd9d6631020dc9b6
app/controllers/scribbles_controller.rb
app/controllers/scribbles_controller.rb
class ScribblesController < ApplicationController def create if scribble_params['id'] == "" @scribble = Scribble.new(scribble_params) else @scribble = Scribble.find(scribble_params['id']) @scribble.update_attributes(scribble_params) end @scribble.save respond_to do |format| ...
class ScribblesController < ApplicationController def create if scribble_params['id'] != "" @scribble = Scribble.find(scribble_params['id']) else @scribble = Scribble.where({ std_course_id: scribble_params[:std_course_id], scribing_answer_id: scribble_params[:scribing_answer_id] ...
Fix bug -- multiple scribbles was created per user unless user refreshes page after first scribble
Fix bug -- multiple scribbles was created per user unless user refreshes page after first scribble
Ruby
mit
Coursemology/coursemology.org,nnamon/coursemology.org,allenwq/coursemology.org,Coursemology/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,allenwq/coursemology.org,dariusf/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,Coursemology/coursemology.org,allenwq/...
ruby
## Code Before: class ScribblesController < ApplicationController def create if scribble_params['id'] == "" @scribble = Scribble.new(scribble_params) else @scribble = Scribble.find(scribble_params['id']) @scribble.update_attributes(scribble_params) end @scribble.save respond_to...
e1204da909f5f28521cc0370122d8fa5019adfc4
packages/de/desert.yaml
packages/de/desert.yaml
homepage: https://github.com/zjhmale/desert changelog-type: '' hash: a66e1eedefcf1470bb62224731ebb940fb2c266bde796ed0249723141217383a test-bench-deps: base: -any hspec: -any desert: -any maintainer: zjhmale@gmail.com synopsis: a simple build tool for OCaml projects changelog: '' basic-deps: shake: -any bytest...
homepage: https://github.com/zjhmale/desert changelog-type: '' hash: 8f7bd6392dfd5653a7839cc6212fd9d4f732f160f00f01d9ba00020d257befd6 test-bench-deps: base: -any hspec: -any desert: -any maintainer: zjhmale@gmail.com synopsis: a simple build tool for OCaml projects changelog: '' basic-deps: MissingH: -any byt...
Update from Hackage at 2016-08-07T09:40:39+0000
Update from Hackage at 2016-08-07T09:40:39+0000
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/zjhmale/desert changelog-type: '' hash: a66e1eedefcf1470bb62224731ebb940fb2c266bde796ed0249723141217383a test-bench-deps: base: -any hspec: -any desert: -any maintainer: zjhmale@gmail.com synopsis: a simple build tool for OCaml projects changelog: '' basic-deps: shak...
47b2a1127805557ceddd1300e6cc448f4380039e
config/schema/elasticsearch_types/service_standard_report.json
config/schema/elasticsearch_types/service_standard_report.json
{ "fields": [ "assessment_date" ] }
{ "fields": [ "assessment_date", "doing_business_in_the_eu", "employ_eu_citizens", "intellectual_property", "personal_data", "public_sector_procurement", "receiving_eu_funding", "regulations_and_standards", "sector_business_area" ] }
Add business readiness facets to service standard reports
Add business readiness facets to service standard reports
JSON
mit
alphagov/rummager,alphagov/rummager
json
## Code Before: { "fields": [ "assessment_date" ] } ## Instruction: Add business readiness facets to service standard reports ## Code After: { "fields": [ "assessment_date", "doing_business_in_the_eu", "employ_eu_citizens", "intellectual_property", "personal_data", "public_sector_pro...
2d0eb92ece92e8454a66132ccdc00631f0314032
README.md
README.md
**It is** Java library for component testing **It does** orchestrate docker environment **It uses** JUnit and Docker Java Client Tested with docker version 1.11 on Linux ##Building ```bash mvn clean install ``` Requires Java 8 ##Using With maven: ```xml <dependency> <groupId>com.github.pavradev</group...
**It is** Java library for component testing **It does** orchestrate docker environment **It uses** JUnit and [Java Docker Client](https://github.com/docker-java/docker-java) Tested with docker version 1.11 on Linux ##Building ```bash mvn clean install ``` Requires Java 8 ##Using With maven: ```xml <dependenc...
Add link to Java Docker Client
Add link to Java Docker Client
Markdown
apache-2.0
pavradev/dockerbay
markdown
## Code Before: **It is** Java library for component testing **It does** orchestrate docker environment **It uses** JUnit and Docker Java Client Tested with docker version 1.11 on Linux ##Building ```bash mvn clean install ``` Requires Java 8 ##Using With maven: ```xml <dependency> <groupId>com.github...
b6cc3b2f0e97630f6c2b554826758b1aca72cf0f
circle.yml
circle.yml
machine: services: - postgresql - docker dependencies: cache_directories: - "~/docker" override: - docker info # use circleci's docker cache workaround - if [ -e ~/docker/image.tar ]; then echo "Loading image.tar"; docker load -i ~/docker/image.tar || rm ~/docker/image.tar; fi # build...
machine: services: - postgresql - docker dependencies: cache_directories: - "~/docker" override: - docker info # use circleci's docker cache workaround - if [ -e ~/docker/image.tar ]; then echo "Loading image.tar"; docker load -i ~/docker/image.tar || rm ~/docker/image.tar; fi # build...
Store test artifacts for CI processing
Store test artifacts for CI processing
YAML
mpl-2.0
Osmose/normandy,mozilla/normandy,Osmose/normandy,Osmose/normandy,mozilla/normandy,mozilla/normandy,mozilla/normandy,Osmose/normandy
yaml
## Code Before: machine: services: - postgresql - docker dependencies: cache_directories: - "~/docker" override: - docker info # use circleci's docker cache workaround - if [ -e ~/docker/image.tar ]; then echo "Loading image.tar"; docker load -i ~/docker/image.tar || rm ~/docker/image.tar...
ea27ee4064b3c3ec333467951a464d5d80eb8554
lib/assets/stylesheets/schnitzelstyle/_responsive.scss
lib/assets/stylesheets/schnitzelstyle/_responsive.scss
@mixin schnitzel-responsive { @media only screen and (max-width: 640px) { body { padding-bottom: 10px; } // container overrides .container { width: auto; &>header { margin-top: 0 !important; padding: 0 10px; font-size: 100%; .site-title { ...
@mixin schnitzel-responsive { @media only screen and (max-width: 640px) { body { padding-bottom: 10px; } // container overrides .container { width: auto; &>header { margin-top: 0 !important; padding: 0 10px; font-size: 100%; .site-title { ...
Fix headings in responsive mode.
Fix headings in responsive mode.
SCSS
mit
hmans/schnitzelstyle,hmans/schnitzelstyle
scss
## Code Before: @mixin schnitzel-responsive { @media only screen and (max-width: 640px) { body { padding-bottom: 10px; } // container overrides .container { width: auto; &>header { margin-top: 0 !important; padding: 0 10px; font-size: 100%; .site-ti...
72ab36671522ceddcbfc3ab753d25d905815603a
tests/docx/style-map.tests.js
tests/docx/style-map.tests.js
var assert = require("assert"); var JSZip = require("jszip"); var zipfile = require("../../lib/zipfile"); var styleMap = require("../../lib/docx/style-map"); var test = require("../testing").test; describe("zipfile", function() { test('embedded style map can be read after being written', function() { var...
var assert = require("assert"); var JSZip = require("jszip"); var zipfile = require("../../lib/zipfile"); var styleMap = require("../../lib/docx/style-map"); var test = require("../testing").test; describe("zipfile", function() { test('embedded style map can be read after being written', function() { var...
Test that embedded style map is written to separate file
Test that embedded style map is written to separate file
JavaScript
bsd-2-clause
mwilliamson/mammoth.js,mwilliamson/mammoth.js
javascript
## Code Before: var assert = require("assert"); var JSZip = require("jszip"); var zipfile = require("../../lib/zipfile"); var styleMap = require("../../lib/docx/style-map"); var test = require("../testing").test; describe("zipfile", function() { test('embedded style map can be read after being written', function...
c328757a7e2ea87fb6f2cadd425d9eb9885feb35
resources/views/archive/index.blade.php
resources/views/archive/index.blade.php
@extends('layouts.frontend') @section('content') @foreach ($articles as $article) <div class="article" id="article-{{ $article->id }}"> <h1 class="article-title"><a href="#">{{ $article->title }}</a></h1> @if ($article->featured_image) <div class="article-featured-image"> <a href="#"><img src="{{ $a...
@extends('layouts.frontend') @section('content') @foreach ($articles as $article) <div class="article" id="article-{{ $article->id }}"> <h1 class="article-title"><a href="#">{{ $article->title }}</a></h1> @if ($article->featured_image) <div class="article-featured-image"> <a href="#"><img src="{{ $a...
Add timestamp to article meta
Add timestamp to article meta
PHP
mit
mrterryh/LBlog,mrterryh/LBlog
php
## Code Before: @extends('layouts.frontend') @section('content') @foreach ($articles as $article) <div class="article" id="article-{{ $article->id }}"> <h1 class="article-title"><a href="#">{{ $article->title }}</a></h1> @if ($article->featured_image) <div class="article-featured-image"> <a href="#"...
3e113c99f025554a5d7e7143e4e8df1cd4670a5c
grunt/copy.js
grunt/copy.js
var path = require('path'), grunt = require('grunt'); module.exports = { scripts: { files: [{ 'build/js/jquery.min.map': 'client/components/jquery/dist/jquery.min.map' }] }, images: { files: [{ expand: true, cwd: 'client/img', src:...
var path = require('path'), grunt = require('grunt'); module.exports = { scripts: { files: [{ 'build/js/jquery.min.map': 'client/components/jquery/dist/jquery.min.map' }] }, images: { files: [{ expand: true, cwd: 'client/img', src:...
Fix images not included in assets.json
Fix images not included in assets.json
JavaScript
mit
jgable/node-site,jgable/node-site
javascript
## Code Before: var path = require('path'), grunt = require('grunt'); module.exports = { scripts: { files: [{ 'build/js/jquery.min.map': 'client/components/jquery/dist/jquery.min.map' }] }, images: { files: [{ expand: true, cwd: 'client/img', ...
ee6af762a832f2ec3e5416d4095e31bdb4d0ba65
adapters/sinatra_adapter.rb
adapters/sinatra_adapter.rb
require "forwardable" class SinatraAdapter extend Forwardable def initialize(sinatra_app) @sinatra_app = sinatra_app end def success(content) status(200) json_body(content) return_nil_so_sinatra_does_not_double_render end def created(content = "") status(201) json_body(content) ...
require "forwardable" class SinatraAdapter extend Forwardable def initialize(sinatra_app) @sinatra_app = sinatra_app end def params sinatra_app.request.params end def success(content) status(200) json_body(content) return_nil_so_sinatra_does_not_double_render end def created(con...
Remove junk params added by Sinatra
Remove junk params added by Sinatra
Ruby
mit
gds-attic/finder-api,gds-attic/finder-api
ruby
## Code Before: require "forwardable" class SinatraAdapter extend Forwardable def initialize(sinatra_app) @sinatra_app = sinatra_app end def success(content) status(200) json_body(content) return_nil_so_sinatra_does_not_double_render end def created(content = "") status(201) json...
97571cdfdb696d4d8eeb7daeba1f15b5671fe52b
docs/ecs-task-notification.md
docs/ecs-task-notification.md
In ECS scheduler, `hako oneshot` supports multiple methods of detecting task finish. ## ecs:DescribeTasks (default) Use [DescribeTasks](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) API to get the task status. This method can be used without any preparation or configuration, but the ...
In ECS scheduler, `hako oneshot` supports multiple methods of detecting task finish. ## ecs:DescribeTasks (default) Use [DescribeTasks](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) API to get the task status. This method can be used without any preparation or configuration, but the ...
Use Jsonnet format in docs
Use Jsonnet format in docs
Markdown
mit
eagletmt/hako,eagletmt/hako,eagletmt/hako
markdown
## Code Before: In ECS scheduler, `hako oneshot` supports multiple methods of detecting task finish. ## ecs:DescribeTasks (default) Use [DescribeTasks](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) API to get the task status. This method can be used without any preparation or configu...
58754d41c2377de4b615f1a80e31274ee30eada4
db-test/package.json
db-test/package.json
{ "name": "gc-rest", "version": "0.0.1", "description": "manages the geocache database abstraction", "repository": { "type": "git", "url": "http://github.com/foobert/gc.git" }, "scripts": { "start": "node_modules/.bin/coffee --nodejs --harmony index.coffee", "test": "node_modules/.bin/mocha ...
{ "name": "gc-rest", "version": "0.0.1", "description": "manages the geocache database abstraction", "repository": { "type": "git", "url": "http://github.com/foobert/gc.git" }, "scripts": { "start": "node_modules/.bin/coffee index.coffee", "test": "node_modules/.bin/mocha", "dev": "node_...
Add nodemon for automatic reloading
Add nodemon for automatic reloading
JSON
mit
foobert/gc,foobert/gc,foobert/gc,foobert/gc
json
## Code Before: { "name": "gc-rest", "version": "0.0.1", "description": "manages the geocache database abstraction", "repository": { "type": "git", "url": "http://github.com/foobert/gc.git" }, "scripts": { "start": "node_modules/.bin/coffee --nodejs --harmony index.coffee", "test": "node_mod...
03aac9bf413230ffd079bcaf65421a7e3832ad38
nvid-build.sh
nvid-build.sh
KERNELGCCVERSION=$(cat /proc/version | awk '{print $9}' | awk 'BEGIN {FS="."} {print $1"."$2}') NVIDIAINSTALLER='./'$(ls -t | grep NVIDIA | head -1) if [ ! -e $NVIDIAINSTALLER ] then echo 'NVIDIA installer not found!' exit 1 fi if [ ! -e /usr/bin/gcc-$KERNELGCCVERSION ] then echo 'GCC version $KERNELGCCV...
KERNELGCCVERSION=$(cat /proc/version | awk '{print $9}' | awk 'BEGIN {FS="."} {print $1"."$2}') NVIDIAINSTALLER='./'$(ls -t | grep NVIDIA | head -1) # Options NVBLOGOUT= NVBUNINSTALL= NVBSILENT= while getopts lus o do case "$o" in l) NVBLOGOUT='y' ;; u) NVBUNIN...
Add command arguments for logout (-l), silent (-s, accepts everything), uninstall (-u)
Add command arguments for logout (-l), silent (-s, accepts everything), uninstall (-u)
Shell
mit
aleximplode/nvid-build
shell
## Code Before: KERNELGCCVERSION=$(cat /proc/version | awk '{print $9}' | awk 'BEGIN {FS="."} {print $1"."$2}') NVIDIAINSTALLER='./'$(ls -t | grep NVIDIA | head -1) if [ ! -e $NVIDIAINSTALLER ] then echo 'NVIDIA installer not found!' exit 1 fi if [ ! -e /usr/bin/gcc-$KERNELGCCVERSION ] then echo 'GCC ver...
b7500a83ee23d3da0579635cca40a4ead9524a94
src/js/events/SidebarActions.js
src/js/events/SidebarActions.js
import {RequestUtil} from 'mesosphere-shared-reactjs'; import ActionTypes from '../constants/ActionTypes'; import Config from '../config/Config'; var AppDispatcher = require('./AppDispatcher'); module.exports = { open: function () { AppDispatcher.handleSidebarAction({ type: ActionTypes.REQUEST_SIDEBAR_O...
import {RequestUtil} from 'mesosphere-shared-reactjs'; import { REQUEST_SIDEBAR_OPEN, REQUEST_SIDEBAR_CLOSE, REQUEST_CLI_INSTRUCTIONS, REQUEST_VERSIONS_SUCCESS, REQUEST_VERSIONS_ERROR, REQUEST_SIDEBAR_WIDTH_CHANGE } from '../constants/ActionTypes'; import Config from '../config/Config'; var AppDispatcher ...
Fix action type which has incorrectly named ActionType.
Fix action type which has incorrectly named ActionType.
JavaScript
apache-2.0
dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui
javascript
## Code Before: import {RequestUtil} from 'mesosphere-shared-reactjs'; import ActionTypes from '../constants/ActionTypes'; import Config from '../config/Config'; var AppDispatcher = require('./AppDispatcher'); module.exports = { open: function () { AppDispatcher.handleSidebarAction({ type: ActionTypes.R...
25ef2690c4799f10ff9046f3e9d07812b872446a
package.json
package.json
{ "name": "rtp-live-pass", "version": "0.1.3", "description": "Retrieve scan data from your RTP LivePass based resort season pass.", "main": "index.js", "dependencies": { "async": "~0.2.7", "node-uuid": "~1.4.0", "request": "~2.16.6", "underscore": "~1.4.4", "xml": "~0.0.7", "xml2js": ...
{ "name": "rtp-live-pass", "version": "0.1.3", "description": "Retrieve scan data from your RTP LivePass based resort season pass.", "main": "index.js", "dependencies": { "async": "~0.2.7", "node-uuid": "~1.4.0", "request": "~2.16.6", "underscore": "~1.4.4", "xml": "~0.0.7", "xml2js": ...
Update test script to use node_modules/.bin convenience directory.
Update test script to use node_modules/.bin convenience directory.
JSON
bsd-3-clause
jeffstieler/rtp-live-pass
json
## Code Before: { "name": "rtp-live-pass", "version": "0.1.3", "description": "Retrieve scan data from your RTP LivePass based resort season pass.", "main": "index.js", "dependencies": { "async": "~0.2.7", "node-uuid": "~1.4.0", "request": "~2.16.6", "underscore": "~1.4.4", "xml": "~0.0.7"...
44669835d8808a7ee9b96bd8603761ec3731bfd7
field_types/core/tree/tree/checkboxes.haml
field_types/core/tree/tree/checkboxes.haml
- @options[:metadata]["data"]["tree_array"].each do |node| = render_field_id = cell('cortex/field_types/core/tree/checkbox', node: node, form: @options[:form]).(:checkbox)
%h4 = render_label - @options[:metadata]["data"]["tree_array"].each do |node| = render_field_id = cell('cortex/field_types/core/tree/checkbox', node: node, form: @options[:form]).(:checkbox)
Add Label to Categories in Cell
Add Label to Categories in Cell
Haml
apache-2.0
cortex-cms/cortex-plugins-core,cortex-cms/cortex-field_types-core,cortex-cms/cortex-plugins-core,cortex-cms/cortex-field_types-core,cortex-cms/cortex-plugins-core,cortex-cms/cortex-field_types-core
haml
## Code Before: - @options[:metadata]["data"]["tree_array"].each do |node| = render_field_id = cell('cortex/field_types/core/tree/checkbox', node: node, form: @options[:form]).(:checkbox) ## Instruction: Add Label to Categories in Cell ## Code After: %h4 = render_label - @options[:metadata]["data"]["tree_array...
868b6b7611be36f2fd8222bb6e363146aff5439d
travis-ci-requirements.txt
travis-ci-requirements.txt
coverage pygments git+http://github.com/enthought/traits.git#egg=traits git+http://github.com/enthought/traitsui.git@feature/python3#egg=traitsui traits_enaml ; python_version == '2.7' enaml ; python_version == '2.7'
coverage pygments git+http://github.com/enthought/traits.git#egg=traits git+http://github.com/enthought/traitsui.git#egg=traitsui traits_enaml ; python_version == '2.7' enaml ; python_version == '2.7'
Fix regression on traitsui branch used in CI.
Fix regression on traitsui branch used in CI.
Text
bsd-3-clause
geggo/pyface,geggo/pyface
text
## Code Before: coverage pygments git+http://github.com/enthought/traits.git#egg=traits git+http://github.com/enthought/traitsui.git@feature/python3#egg=traitsui traits_enaml ; python_version == '2.7' enaml ; python_version == '2.7' ## Instruction: Fix regression on traitsui branch used in CI. ## Code After: coverage...
30b859c827ed450fbf7a52a18aa92af79c11e5e4
lib/index.js
lib/index.js
'use strict'; var bunyan = require('bunyan'); var config = require('coyno-config'); function createLogger() { var log; if (!!config.log.pretty) { var PrettyStream = require('bunyan-prettystream'); var prettyStdOut = new PrettyStream(); prettyStdOut.pipe(process.stdout); log = bunyan.createLogge...
'use strict'; var bunyan = require('bunyan'); var config = require('coyno-config'); function createLogger() { var log; if (!!config.log.pretty) { var PrettyStream = require('bunyan-prettystream'); var prettyStdOut = new PrettyStream(); prettyStdOut.pipe(process.stdout); log = bunyan.createLogge...
Handle log level correctly for raw logs
Handle log level correctly for raw logs
JavaScript
apache-2.0
blooks/log
javascript
## Code Before: 'use strict'; var bunyan = require('bunyan'); var config = require('coyno-config'); function createLogger() { var log; if (!!config.log.pretty) { var PrettyStream = require('bunyan-prettystream'); var prettyStdOut = new PrettyStream(); prettyStdOut.pipe(process.stdout); log = bu...
cdc75dfc67aa7a546a697f4b48d7893089944ce4
spec/models/backend/ecs/elb_spec.rb
spec/models/backend/ecs/elb_spec.rb
require "rails_helper" describe Backend::Ecs::Elb do let(:service) { create :web_service } describe "#health_check_target" do subject { described_class.new(service).health_check_target } context "when a target is HTTP" do before do service.update!(health_check: {protocol: "http", http_path: ...
require "rails_helper" describe Backend::Ecs::Elb do let(:service) { create :web_service } describe "#health_check_target" do subject { described_class.new(service).health_check_target } # context "when a target is HTTP" do # before do # service.update!(health_check: {protocol: "http", http_pat...
Comment out http health check tests
Comment out http health check tests
Ruby
mit
degica/barcelona,degica/barcelona,degica/barcelona,degica/barcelona,degica/barcelona,degica/barcelona
ruby
## Code Before: require "rails_helper" describe Backend::Ecs::Elb do let(:service) { create :web_service } describe "#health_check_target" do subject { described_class.new(service).health_check_target } context "when a target is HTTP" do before do service.update!(health_check: {protocol: "ht...
dbec6956571c28b921abdbcee24ce8893a62c6e8
README.md
README.md
Paket ===== A package dependency manager for .NET Initial docs can be found at http://fsprojects.github.io/Paket/ [![NuGet Status](http://img.shields.io/nuget/v/Paket.svg?style=flat)](https://www.nuget.org/packages/Paket/) # Build the project * Mono: Run *build.sh* [![Travis build status](https://travis-ci.org/f...
Paket ===== A package dependency manager for .NET Initial docs can be found at http://fsprojects.github.io/Paket/ [![NuGet Status](http://img.shields.io/nuget/v/Paket.svg?style=flat)](https://www.nuget.org/packages/Paket/) # Build the project | | BuildScript | Status of last build | | :------ | :------: | :----...
Use a table for build status
Use a table for build status
Markdown
mit
matthid/Paket,mrinaldi/Paket,simonhdickson/Paket,simonhdickson/Paket,mavnn/Paket,magicmonty/Paket,snowcrazed/Paket,lexarchik/Paket,jonathankarsh/Paket,ovatsus/Paket,vasily-kirichenko/Paket,sergey-tihon/Paket,ascjones/Paket,simonhdickson/Paket,devboy/Paket,konste/Paket,theimowski/Paket,ctaggart/Paket,devboy/Paket,betgen...
markdown
## Code Before: Paket ===== A package dependency manager for .NET Initial docs can be found at http://fsprojects.github.io/Paket/ [![NuGet Status](http://img.shields.io/nuget/v/Paket.svg?style=flat)](https://www.nuget.org/packages/Paket/) # Build the project * Mono: Run *build.sh* [![Travis build status](https:/...
6d788133c0b0610a48a8dcb289f8f5c5e8975593
lib/tasks/ci.rake
lib/tasks/ci.rake
namespace :ci do desc <<-DESC Runs tasks to prepare a CI build on Semaphore. DESC task :setup do cp 'config/email.sample.yml', 'config/email.yml' cp 'config/secrets.sample.yml', 'config/secrets.yml' end end
namespace :ci do desc <<-DESC Runs tasks to prepare a CI build on Semaphore. DESC task :setup do cp 'config/email.sample.yml', 'config/email.yml' cp 'config/secrets.sample.yml', 'config/secrets.yml' mkdir_p 'tmp/cache' end end
Create tmp/cache during CI setup
Create tmp/cache during CI setup
Ruby
mit
quintel/etmoses,quintel/etmoses,quintel/etmoses,quintel/etmoses,quintel/etmoses
ruby
## Code Before: namespace :ci do desc <<-DESC Runs tasks to prepare a CI build on Semaphore. DESC task :setup do cp 'config/email.sample.yml', 'config/email.yml' cp 'config/secrets.sample.yml', 'config/secrets.yml' end end ## Instruction: Create tmp/cache during CI setup ## Code After: namespac...
9f92f1f3e03c362d1e194e648cc35ff8f847a5ee
shard.yml
shard.yml
name: atcoder version: 0.1.0 authors: - Koki Takahashi <hakatasiloving@gmail.com> description: | Implementation of ac-library in Crystal language crystal: 0.33.0 repository: https://github.com/hakatashi/ac-library.cr.git homepage: https://github.com/hakatashi/ac-library.cr documentation: https://github.com/ha...
name: atcoder version: 0.1.0 authors: - Koki Takahashi <hakatasiloving@gmail.com> description: | Implementation of ac-library in Crystal language crystal: 0.33.0 repository: https://github.com/google/ac-library.cr.git homepage: https://github.com/google/ac-library.cr documentation: https://github.com/google/a...
Rename github username with google
Rename github username with google
YAML
apache-2.0
google/ac-library.cr
yaml
## Code Before: name: atcoder version: 0.1.0 authors: - Koki Takahashi <hakatasiloving@gmail.com> description: | Implementation of ac-library in Crystal language crystal: 0.33.0 repository: https://github.com/hakatashi/ac-library.cr.git homepage: https://github.com/hakatashi/ac-library.cr documentation: https...
18825d8d57a99e49f777ef564f2877885d0e5871
contrib/flavor/ngs_pipeline_minimal/r-libs.yaml
contrib/flavor/ngs_pipeline_minimal/r-libs.yaml
--- cranrepo: http://cran.fhcrc.org/ cran: - ggplot2 - gsalib - snow biocrepo: http://bioconductor.org/biocLite.R bioc: - cn.mops - rtracklayer
--- cranrepo: http://cran.fhcrc.org/ cran: - ggplot2 - gsalib - snow biocrepo: http://bioconductor.org/biocLite.R bioc: - cn.mops - rtracklayer - DEXSeq
Add DEXseq to the r libraries installed for the minimal pipeline.
Add DEXseq to the r libraries installed for the minimal pipeline.
YAML
mit
chapmanb/cloudbiolinux,AICIDNN/cloudbiolinux,joemphilips/cloudbiolinux,joemphilips/cloudbiolinux,rchekaluk/cloudbiolinux,AICIDNN/cloudbiolinux,kdaily/cloudbiolinux,averagehat/cloudbiolinux,elkingtonmcb/cloudbiolinux,rchekaluk/cloudbiolinux,kdaily/cloudbiolinux,chapmanb/cloudbiolinux,joemphilips/cloudbiolinux,heuermh/cl...
yaml
## Code Before: --- cranrepo: http://cran.fhcrc.org/ cran: - ggplot2 - gsalib - snow biocrepo: http://bioconductor.org/biocLite.R bioc: - cn.mops - rtracklayer ## Instruction: Add DEXseq to the r libraries installed for the minimal pipeline. ## Code After: --- cranrepo: http://cran.fhcrc.org/ cran: - ggplot2...
83b8f09731705bb13d745c282845c5c2c0963159
docs/index.md
docs/index.md
Welcome to Django Toolkit ========================= Django Toolkit is the set of useful tools we use at LuizaLabs to develop projects using the Django Framework This package includes the utility modules: * [logs](logs) * [middlewares](middlewares) * [shortcuts](shortcuts)
Welcome to Django Toolkit ========================= Django Toolkit is the set of useful tools we use at Luizalabs to develop projects using the [Django web framework][django-website]. This package includes the utility modules: * [logs](logs) * [middlewares](middlewares) * [shortcuts](shortcuts) [django-website]: ht...
Add a link to Django website
Add a link to Django website
Markdown
mit
luizalabs/django-toolkit
markdown
## Code Before: Welcome to Django Toolkit ========================= Django Toolkit is the set of useful tools we use at LuizaLabs to develop projects using the Django Framework This package includes the utility modules: * [logs](logs) * [middlewares](middlewares) * [shortcuts](shortcuts) ## Instruction: Add a link ...
93c834fd3d3d8e4a639985ab2b2c955b37029137
ckanext/opendatani/templates/showcase/snippets/helper.html
ckanext/opendatani/templates/showcase/snippets/helper.html
<div class="module module-narrow module-shallow"> <h2 class="module-heading"> <i class="icon-info-sign"></i> {{ _('What are Showcases?') }} </h2> <div class="module-content"> <p> {% trans %} Showcases are any app, article or report that relate to the published dataset. For example, an an...
<div class="module module-narrow module-shallow"> <h2 class="module-heading"> <i class="icon-info-sign"></i> {{ _('What is a Showcase?') }} </h2> <div class="module-content"> <p> {% trans %} Showcases are any app, article or report that relate to the published dataset. For example, an an...
Add disclaimer sentence on showcase page
Add disclaimer sentence on showcase page
HTML
agpl-3.0
okfn/ckanext-opendatani,okfn/ckanext-opendatani,okfn/ckanext-opendatani,okfn/ckanext-opendatani
html
## Code Before: <div class="module module-narrow module-shallow"> <h2 class="module-heading"> <i class="icon-info-sign"></i> {{ _('What are Showcases?') }} </h2> <div class="module-content"> <p> {% trans %} Showcases are any app, article or report that relate to the published dataset. Fo...
8626be664570b04c4f3f7f45855a606e33e5df60
c3/app/views/helper/whereabouts.scala.html
c3/app/views/helper/whereabouts.scala.html
@(field: play.api.data.Field, opts: Seq[(String, String)], args: (Symbol, Any)*)(implicit lang: play.api.i18n.Lang) @import scala.util.Try @import helper.dates._ @import utils.helpers.SelectOtherTemplate._ @helper.input(field, args ++ Seq('helper -> "e.g. Hospital"): _*) { (id, name, value, htmlArgs) => @views.h...
@(field: play.api.data.Field, opts: Seq[(String, String)], args: (Symbol, Any)*)(implicit lang: play.api.i18n.Lang) @import scala.util.Try @import helper.dates._ @import utils.helpers.SelectOtherTemplate._ @helper.input(field("location"), args ++ Seq('helper -> "e.g. Hospital"): _*) { (id, name, value, htmlArgs) => ...
Fix defect where whereabouts not filled in was not displaying madatory red box around the field
Fix defect where whereabouts not filled in was not displaying madatory red box around the field
HTML
mit
Department-for-Work-and-Pensions/ClaimCapture,Department-for-Work-and-Pensions/ClaimCapture,Department-for-Work-and-Pensions/ClaimCapture
html
## Code Before: @(field: play.api.data.Field, opts: Seq[(String, String)], args: (Symbol, Any)*)(implicit lang: play.api.i18n.Lang) @import scala.util.Try @import helper.dates._ @import utils.helpers.SelectOtherTemplate._ @helper.input(field, args ++ Seq('helper -> "e.g. Hospital"): _*) { (id, name, value, htmlArgs) ...
d85d2805568f8ea3af628aa82192c497e4229981
resources/ec2-subnets.go
resources/ec2-subnets.go
package resources import ( "fmt" "github.com/aws/aws-sdk-go/service/ec2" ) type EC2Subnet struct { svc *ec2.EC2 id *string region *string } func (n *EC2Nuke) ListSubnets() ([]Resource, error) { params := &ec2.DescribeSubnetsInput{} resp, err := n.Service.DescribeSubnets(params) if err != nil { retu...
package resources import "github.com/aws/aws-sdk-go/service/ec2" type EC2Subnet struct { svc *ec2.EC2 id *string region *string } func (n *EC2Nuke) ListSubnets() ([]Resource, error) { params := &ec2.DescribeSubnetsInput{} resp, err := n.Service.DescribeSubnets(params) if err != nil { return nil, err ...
Revert "fixup! CLOUD-1047: Add region to resources"
Revert "fixup! CLOUD-1047: Add region to resources" This reverts commit 05773b07489f247b989f30f866bcba77d9522ac8.
Go
mit
rebuy-de/aws-nuke,rebuy-de/aws-nuke
go
## Code Before: package resources import ( "fmt" "github.com/aws/aws-sdk-go/service/ec2" ) type EC2Subnet struct { svc *ec2.EC2 id *string region *string } func (n *EC2Nuke) ListSubnets() ([]Resource, error) { params := &ec2.DescribeSubnetsInput{} resp, err := n.Service.DescribeSubnets(params) if err...
5b5dcf2405100a9f87dab83babff4488aa57073d
client/client.go
client/client.go
package client import ( "code.google.com/p/go-uuid/uuid" "github.com/dnaeon/gru/minion" ) type Client interface { // Submits a new task to a minion SubmitTask(minion uuid.UUID, task MinionTask) error }
package client import ( "code.google.com/p/go-uuid/uuid" // "github.com/dnaeon/gru/minion" "gru/minion" ) type Client interface { // Submits a new task to a minion SubmitTask(u uuid.UUID, t minion.MinionTask) error }
Use shorter names for the arguments passed to SubmitTask method
Use shorter names for the arguments passed to SubmitTask method
Go
mit
ranjithamca/gru
go
## Code Before: package client import ( "code.google.com/p/go-uuid/uuid" "github.com/dnaeon/gru/minion" ) type Client interface { // Submits a new task to a minion SubmitTask(minion uuid.UUID, task MinionTask) error } ## Instruction: Use shorter names for the arguments passed to SubmitTask method ## Code After...
892457433b74999a6cb01bc4fa73255021820c1a
method-proxy.js
method-proxy.js
var MethodProxy = function(object, queue) { this.init = function(object, queue) { this.object = object; for (var i = 0; i < queue.length; ++i) { this.forward(queue[i]); } }; // payload : ['methodName', arguments*] this.push = this.forward = function(payload) { var methodName = payload.sh...
var MethodProxy = function(object, queue) { this.init = function(object, queue) { this.object = object; for (var i = 0, len = queue.length; i < len; ++i) { this.forward(queue[i]); } }; // payload : ['methodName', arguments*] this.push = this.forward = function(payload) { var methodName =...
Improve efficiency of queue loop
Improve efficiency of queue loop This commit avoids a property lookup on every iteration of the queue-consuming loop by first storing it in a variable, since we don't expect the size of the array to change within the duration of the loop. This will make the initialization slightly more efficient. Change-Id: Ied891fd5...
JavaScript
mit
causes/method-proxy-js
javascript
## Code Before: var MethodProxy = function(object, queue) { this.init = function(object, queue) { this.object = object; for (var i = 0; i < queue.length; ++i) { this.forward(queue[i]); } }; // payload : ['methodName', arguments*] this.push = this.forward = function(payload) { var methodN...
2a9f34aa41ea3416c9e46fb810f4b94b4e1afede
routes.js
routes.js
/** * @file routes.js */ const express = require('express'), storage = require('node-persist') const categorize = require('./middlewares').categorize, validateGroup = require('./middlewares').validateGroup let handlers = require('./middlewares').handlers exports.init = (bot) => { storage.initSync() const...
/** * @file routes.js */ const express = require('express'), storage = require('node-persist') const { validate, isGroup, hasMention, handlers } = require('./middlewares') exports.init = (bot) => { storage.initSync() const uri = '/bot/:id/:name' const middlewares = handlers.map((init) => init(bot)) co...
Add route and use new filter middlewares
Add route and use new filter middlewares
JavaScript
mit
vekat/magic-conch-shell,Vekat/magicConchShell
javascript
## Code Before: /** * @file routes.js */ const express = require('express'), storage = require('node-persist') const categorize = require('./middlewares').categorize, validateGroup = require('./middlewares').validateGroup let handlers = require('./middlewares').handlers exports.init = (bot) => { storage.ini...
a5c76918ec47fd0833487723a1f91fed4a31b4d6
travis/install_prestashop.sh
travis/install_prestashop.sh
echo Clone Prestashop # Clone Prestashop into Build Folder cd $TRAVIS_BUILD_DIR git clone --depth=50 --branch=$PS_VERSION https://github.com/Prestashop/Prestashop.git $TRAVIS_BUILD_DIR ls -al $TRAVIS_BUILD_DIR # PrestaShop configuration cp tests/parameters.yml.travis app/config/parameters.yml
echo Clone Prestashop # Clone Prestashop into Build Folder cd $TRAVIS_BUILD_DIR git clone --depth=50 --branch=$PS_VERSION https://github.com/Prestashop/Prestashop.git $TRAVIS_BUILD_DIR ls -al $TRAVIS_BUILD_DIR # PrestaShop configuration # cp tests/parameters.yml.travis app/config/parameters.yml cp app/config/p...
Upgrade to Splash V2 Standards
WIP: Upgrade to Splash V2 Standards
Shell
mit
SplashSync/Prestashop,SplashSync/Prestashop,SplashSync/Prestashop
shell
## Code Before: echo Clone Prestashop # Clone Prestashop into Build Folder cd $TRAVIS_BUILD_DIR git clone --depth=50 --branch=$PS_VERSION https://github.com/Prestashop/Prestashop.git $TRAVIS_BUILD_DIR ls -al $TRAVIS_BUILD_DIR # PrestaShop configuration cp tests/parameters.yml.travis app/config/parameters.yml ...
921e3fa2079b32a5abb723faf2a568aff4378939
lib/ruboty/brains/google_spreadsheet.rb
lib/ruboty/brains/google_spreadsheet.rb
module Ruboty module Brains class GoogleSpreadsheet < Base env :GOOGLE_CLIENT_ID, "Client ID" env :GOOGLE_CLIENT_SECRET, "Client secret" env :GOOGLE_REDIRECT_URI, "Redirect URI" env :GOOGLE_REFRESH_TOKEN, "Refresh token issued with access token" env :GOOGLE_SPREADSHEET_KEY, "Spreadsh...
module Ruboty module Brains class GoogleSpreadsheet < Base env :GOOGLE_CLIENT_ID, "Client ID" env :GOOGLE_CLIENT_SECRET, "Client secret" env :GOOGLE_REDIRECT_URI, "Redirect URI" env :GOOGLE_REFRESH_TOKEN, "Refresh token issued with access token" env :GOOGLE_SPREADSHEET_KEY, "Spreadsh...
Fix the interval for reauthorization
Fix the interval for reauthorization
Ruby
mit
naoty/ruboty-google_spreadsheet
ruby
## Code Before: module Ruboty module Brains class GoogleSpreadsheet < Base env :GOOGLE_CLIENT_ID, "Client ID" env :GOOGLE_CLIENT_SECRET, "Client secret" env :GOOGLE_REDIRECT_URI, "Redirect URI" env :GOOGLE_REFRESH_TOKEN, "Refresh token issued with access token" env :GOOGLE_SPREADSHEE...
7e24f4424d9b7e5e874035a21a33fdf089151420
tests/ConnectionManagerTest.php
tests/ConnectionManagerTest.php
<?php namespace duxet\Tests\Realtime; use duxet\Realtime\ConnectionManager; use duxet\Realtime\Connections\NullConnection; use Mockery; class ConnectionManagerTest extends TestCase { public function testConnectionName() { $config = ['driver' => 'null']; $manager = $this->getConfigManager($co...
<?php namespace duxet\Tests\Realtime; use duxet\Realtime\ConnectionManager; use duxet\Realtime\Connections\NullConnection; use Mockery; class ConnectionManagerTest extends TestCase { public function testConnectionName() { $config = ['driver' => 'null']; $manager = $this->getConfigManager($co...
Add one more Connection Manager test
Add one more Connection Manager test
PHP
mit
duxet/laravel-realtime
php
## Code Before: <?php namespace duxet\Tests\Realtime; use duxet\Realtime\ConnectionManager; use duxet\Realtime\Connections\NullConnection; use Mockery; class ConnectionManagerTest extends TestCase { public function testConnectionName() { $config = ['driver' => 'null']; $manager = $this->getC...
3f7c8bb47ab1203749e1a805c91a6ead47a215b0
.travis.yml
.travis.yml
language: ruby rvm: - ruby-head - 2.7 - 2.6 - 2.5 - 2.4 - jruby-9.2 before_script: - make install script: - make test matrix: allow_failures: - rvm: ruby-head fast_finish: true deploy: provider: rubygems api_key: $RUBYGEMS_API_KEY gem: smtpapi on: tags: true rvm: '2.4' skip_c...
language: ruby rvm: - ruby-head - 2.7 - 2.6 - 2.5 - 2.4 - jruby-9.2 before_script: - make install script: - make test matrix: allow_failures: - rvm: ruby-head fast_finish: true deploy: provider: rubygems api_key: $RUBYGEMS_API_KEY gem: smtpapi on: tags: true rvm: '2.4' skip_c...
Revert "chore: move encrypted tokens to environment variables"
Revert "chore: move encrypted tokens to environment variables" This reverts part of commit b8fd2a24
YAML
mit
sendgrid/smtpapi-ruby
yaml
## Code Before: language: ruby rvm: - ruby-head - 2.7 - 2.6 - 2.5 - 2.4 - jruby-9.2 before_script: - make install script: - make test matrix: allow_failures: - rvm: ruby-head fast_finish: true deploy: provider: rubygems api_key: $RUBYGEMS_API_KEY gem: smtpapi on: tags: true rvm: ...
19087eae584a2673328076910ee94d8029e9ef0d
lib/services.rb
lib/services.rb
require 'gds_api/publishing_api_v2' module Services def self.publishing_api @publishing_api ||= GdsApi::PublishingApiV2.new(Plek.new.find('publishing-api')) end end
require 'gds_api/publishing_api_v2' module Services def self.publishing_api @publishing_api ||= GdsApi::PublishingApiV2.new( Plek.new.find('publishing-api'), bearer_token: ENV['PUBLISHING_API_BEARER_TOKEN'] || 'example' ) end end
Add bearer_token for publishing API authentication
Add bearer_token for publishing API authentication
Ruby
mit
mikeee/z_archived-calculators,mikeee/z_archived-calculators,mikeee/z_archived-calculators,mikeee/z_archived-calculators
ruby
## Code Before: require 'gds_api/publishing_api_v2' module Services def self.publishing_api @publishing_api ||= GdsApi::PublishingApiV2.new(Plek.new.find('publishing-api')) end end ## Instruction: Add bearer_token for publishing API authentication ## Code After: require 'gds_api/publishing_api_v2' module Se...
4ddebfc36e25837e480c933c2cbc5b63d2533f5b
README.md
README.md
[Get it in the Chrome Web Store!][web-store] Add links in pull requests to successful builds based on the SHA. ## Auto-configuration If a repo hasn't been configured, and you're viewing the README of the repo, the UI Previewer Button can auto-configure itself. To set this up, [see below](#user-content-ui-previewer...
[Get it in the Chrome Web Store!][web-store] Add links in pull requests to successful builds based on the SHA. ## For example The minimal example is this repo itself: with this extension installed, viewing a PR on this repo will add an icon to show the commit in patch format. A better example is, if you [automatic...
Add example and link to blog post
Add example and link to blog post
Markdown
mit
rightscale/ui-previewer-button,rightscale/ui-previewer-button
markdown
## Code Before: [Get it in the Chrome Web Store!][web-store] Add links in pull requests to successful builds based on the SHA. ## Auto-configuration If a repo hasn't been configured, and you're viewing the README of the repo, the UI Previewer Button can auto-configure itself. To set this up, [see below](#user-cont...
1955723258e84e8451a0cdc3851e8cf51e4416c2
js/widget.js
js/widget.js
(function ($) { $(window).load(function(){ var store = window.hologram.store; window.hologram(document.getElementsByClassName('hologram-area')[0], { uploadUrl: Drupal.settings.Hologram.uploadUrl, onComplete: function(result){ var json = JSON.stringify(result); $('#hologram-image-...
(function ($) { $(window).load(function(){ var store = window.hologram.store; window.hologram(document.getElementsByClassName('hologram-area')[0], { uploadUrl: Drupal.settings.Hologram.uploadUrl, onComplete: function(result){ var files = []; result['response'].forEach(function(re...
Allow user remove uploaded image
Allow user remove uploaded image
JavaScript
mit
dollars0427/hologram-widget
javascript
## Code Before: (function ($) { $(window).load(function(){ var store = window.hologram.store; window.hologram(document.getElementsByClassName('hologram-area')[0], { uploadUrl: Drupal.settings.Hologram.uploadUrl, onComplete: function(result){ var json = JSON.stringify(result); $('...
2cd3d64f1f903dc0cb60a9fac13194dce922adef
.github/workflows/test.yml
.github/workflows/test.yml
jobs: build: name: Test Go ${{ matrix.go }} runs-on: ubuntu-20.04 strategy: matrix: go: ['1.17', '1.16'] steps: - uses: actions/checkout@v2 - name: Setup Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go }} - run: go test ./...
on: [push, pull_request] name: Test jobs: test: name: Test Go ${{ matrix.go }} runs-on: ubuntu-20.04 strategy: matrix: go: ['1.17', '1.16'] steps: - uses: actions/checkout@v2 - name: Setup Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go ...
Define event triggers for GH actions
Define event triggers for GH actions
YAML
apache-2.0
russellhaering/goxmldsig,russellhaering/goxmldsig
yaml
## Code Before: jobs: build: name: Test Go ${{ matrix.go }} runs-on: ubuntu-20.04 strategy: matrix: go: ['1.17', '1.16'] steps: - uses: actions/checkout@v2 - name: Setup Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go }} - run: go ...
7a0f2c0587aa9d76ea3ac9387cf2c14e4f168ad4
test/test-util.coffee
test/test-util.coffee
QUnit.test "test unique", (assert) -> input = [5, 6, 7, 5, 5, 6, 7] output = unique(input) expected = [5, 6, 7] assert.deepEqual( output , expected)
QUnit.test "test unique", (assert) -> input = [5, 6, 7, 5, 5, 6, 7] output = unique(input) expected = [5, 6, 7] assert.deepEqual(output , expected, "plain") input = [5, 6, null, 7, 5, 5, 6, 7] output = unique(input) assert.deepEqual(output, expected, "with null") input = [5] outpu...
Add to unique unit tests
Add to unique unit tests
CoffeeScript
mit
kbroman/d3panels,kbroman/d3panels
coffeescript
## Code Before: QUnit.test "test unique", (assert) -> input = [5, 6, 7, 5, 5, 6, 7] output = unique(input) expected = [5, 6, 7] assert.deepEqual( output , expected) ## Instruction: Add to unique unit tests ## Code After: QUnit.test "test unique", (assert) -> input = [5, 6, 7, 5, 5, 6, 7] outp...
f38a954ba98b2a71dda1ed34bcbfb2cc46232423
likeInstagramFeed.js
likeInstagramFeed.js
(function () { 'use strict'; window.scrollTo(0, document.body.scrollHeight); var likeElements = document.querySelectorAll(".coreSpriteHeartOpen"); var likeCount = 0; var nextTime = 1000; function doLike(i) { likeElements[i].click(); } for (var i = 0; i < likeElements.length; i+...
(function () { 'use strict'; window.scrollTo(0, document.body.scrollHeight); var likeElements = document.querySelectorAll(".coreSpriteLikeHeartOpen"); var likeCount = 0; var nextTime = 1000; function doLike(photo) { photo.click(); } likeElements.forEach(photo => { nextT...
Fix instagram script on feed
Fix instagram script on feed
JavaScript
apache-2.0
AxelMonroyX/botLikes
javascript
## Code Before: (function () { 'use strict'; window.scrollTo(0, document.body.scrollHeight); var likeElements = document.querySelectorAll(".coreSpriteHeartOpen"); var likeCount = 0; var nextTime = 1000; function doLike(i) { likeElements[i].click(); } for (var i = 0; i < likeEle...
eb7e61183612f4f9493ad8f133fcf5196b2518bf
www/modules/sample/sample.controller.js
www/modules/sample/sample.controller.js
(function() { 'use strict'; angular.module('Sample') .controller('sampleController', sampleController); sampleController.$inject = ['commonService']; function sampleController(commonService) { var vm = this; /* ======================================== Var ================...
(function() { 'use strict'; angular.module('Sample') .controller('sampleController', sampleController); sampleController.$inject = ['commonService', 'sampleService']; function sampleController(commonService, sampleService) { var vm = this; /* =============================...
Add svc to sample ctrl
Add svc to sample ctrl
JavaScript
mit
tlkiong/angularjs_starting_template,tlkiong/angularjs_starting_template
javascript
## Code Before: (function() { 'use strict'; angular.module('Sample') .controller('sampleController', sampleController); sampleController.$inject = ['commonService']; function sampleController(commonService) { var vm = this; /* ======================================== Var ...
038bc954ed63db6df192de50483f218b037c2438
searchlight/cmd/listener.py
searchlight/cmd/listener.py
from oslo_config import cfg from oslo_service import service as os_service from searchlight import listener from searchlight import service CONF = cfg.CONF CONF.import_group("listener", "searchlight.listener") def main(): service.prepare_service() launcher = os_service.ProcessLauncher(CONF) launcher.l...
from oslo_config import cfg from oslo_service import service as os_service from searchlight import listener from searchlight import service CONF = cfg.CONF CONF.import_group("listener", "searchlight.listener") def main(): service.prepare_service() launcher = os_service.ProcessLauncher(CONF, restart_method...
Enable mutable config in searchlight
Enable mutable config in searchlight New releases of oslo.config support a 'mutable' parameter to Opts. oslo.service provides an option here Icec3e664f3fe72614e373b2938e8dee53cf8bc5e allows services to tell oslo.service they want mutate_config_files to be called by passing a parameter. This commit is to use the same....
Python
apache-2.0
openstack/searchlight,openstack/searchlight,openstack/searchlight
python
## Code Before: from oslo_config import cfg from oslo_service import service as os_service from searchlight import listener from searchlight import service CONF = cfg.CONF CONF.import_group("listener", "searchlight.listener") def main(): service.prepare_service() launcher = os_service.ProcessLauncher(CONF...
5ba4e139ce5199912f0eddde335e3567619fa1d4
README.rst
README.rst
========== twistedcat ========== overview -------- twistedcat/nocat can proxy between any two twisted endpoints be they both client, both server, or client and server endpoints. install ------- you can install twistedcat in your python virtual environment like this:: $ pip install git+https://github.com/d...
========== twistedcat ========== overview -------- twistedcat/nocat can proxy between any two twisted endpoints be they both client, both server, or client and server endpoints. install ------- you can install twistedcat in your python virtual environment like this:: $ pip install git+https://github.com/d...
Add usage and contact info to readme
Add usage and contact info to readme
reStructuredText
mit
david415/twistedcat
restructuredtext
## Code Before: ========== twistedcat ========== overview -------- twistedcat/nocat can proxy between any two twisted endpoints be they both client, both server, or client and server endpoints. install ------- you can install twistedcat in your python virtual environment like this:: $ pip install git+http...
d631dec341d52aa99734671c73e62a24097b6888
hw/top_earlgrey/util/vivado_hook_write_bitstream_pre.tcl
hw/top_earlgrey/util/vivado_hook_write_bitstream_pre.tcl
set workroot [file dirname [info script]] send_msg "Designcheck 1-1" INFO "Checking design" # Ensure the design meets timing set slack_ns [get_property SLACK [get_timing_paths -delay_type min_max]] send_msg "Designcheck 1-2" INFO "Slack is ${slack_ns} ns." if [expr {$slack_ns < 0}] { send_msg "Designcheck 1-3" ER...
set workroot [file dirname [info script]] send_msg "Designcheck 1-1" INFO "Checking design" # Ensure the design meets timing set slack_ns [get_property SLACK [get_timing_paths -delay_type min_max]] send_msg "Designcheck 1-2" INFO "Slack is ${slack_ns} ns." if [expr {$slack_ns < 0}] { send_msg "Designcheck 1-3" ER...
Add timestamp for bitstream identification via USR_ACCESS reg
[fpga] Add timestamp for bitstream identification via USR_ACCESS reg This commit modifies the bitstream generation to add a timestamp in the USR_ACCESS register for later identification. This is useful to find out which bitstream is currently loaded on a running FPGA. Signed-off-by: Pirmin Vogel <386a7fc8e7338ed7899b...
Tcl
apache-2.0
lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan
tcl
## Code Before: set workroot [file dirname [info script]] send_msg "Designcheck 1-1" INFO "Checking design" # Ensure the design meets timing set slack_ns [get_property SLACK [get_timing_paths -delay_type min_max]] send_msg "Designcheck 1-2" INFO "Slack is ${slack_ns} ns." if [expr {$slack_ns < 0}] { send_msg "Des...