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
ee93af3d9eacb5661191338edfb7d81ed685bcac
builds/truenas-9.10-releng/freenas.cfg
builds/truenas-9.10-releng/freenas.cfg
GITFNASURL="https://github.com/freenas/freenas-build.git" export GITFNASURL # Branch of the FreeNAS repo to build with # Available (freenas10) GITFNASBRANCH="TN-9.10.1-U2.1" export GITFNASBRANCH # Set location for release to be stored TARGETREL="truenas-9.10-releng" export TARGETREL # This is a 9.10 build, Legacy mi...
GITFNASURL="https://github.com/freenas/freenas-build.git" export GITFNASURL # Branch of the FreeNAS repo to build with # Available (freenas10) GITFNASBRANCH="9.10-STABLE" export GITFNASBRANCH # Set location for release to be stored TARGETREL="truenas-9.10-releng" export TARGETREL # This is a 9.10 build, Legacy middl...
Revert "Revert this change after releasing TrueNAS-9.10.1-U2.1"
Revert "Revert this change after releasing TrueNAS-9.10.1-U2.1" This reverts commit c88efba7a5f05ee19d21bbba55383d7b331d2328.
INI
bsd-2-clause
iXsystems/ixbuild,iXsystems/ix-tests,iXsystems/ix-tests
ini
## Code Before: GITFNASURL="https://github.com/freenas/freenas-build.git" export GITFNASURL # Branch of the FreeNAS repo to build with # Available (freenas10) GITFNASBRANCH="TN-9.10.1-U2.1" export GITFNASBRANCH # Set location for release to be stored TARGETREL="truenas-9.10-releng" export TARGETREL # This is a 9.10 ...
cb89d3e13f63f46ba25c3549ba7d9609f4f5c145
Grid/Column/ActionsColumn.php
Grid/Column/ActionsColumn.php
<?php /* * This file is part of the DataGridBundle. * * (c) Stanislav Turza <sorien@mail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sorien\DataGridBundle\Grid\Column; use Sorien\DataGridBundle\Grid\Action\Row...
<?php /* * This file is part of the DataGridBundle. * * (c) Stanislav Turza <sorien@mail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sorien\DataGridBundle\Grid\Column; use Sorien\DataGridBundle\Grid\Action\Row...
Fix route parameters for a row action
Fix route parameters for a row action
PHP
mit
lashus/APYDataGridBundle,ibuildingsnl/APYDataGridBundle,matthieuauger/APYDataGridBundle,CiscoVE/APYDataGridBundle,rafacouto/APYDataGridBundle,rogamoore/APYDataGridBundle,Abhoryo/APYDataGridBundle,ustrugany/APYDataGridBundle,andreia/APYDataGridBundle,ibuildingsnl/APYDataGridBundle,APY/APYDataGridBundle,lukaszsobieraj/AP...
php
## Code Before: <?php /* * This file is part of the DataGridBundle. * * (c) Stanislav Turza <sorien@mail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sorien\DataGridBundle\Grid\Column; use Sorien\DataGridBundle...
6ec8f078f11623db1215ea548374874191c5dc88
docs/html-jsx.md
docs/html-jsx.md
--- layout: default title: HTML to JSX id: html-jsx --- <div class="jsxCompiler"> <h1>HTML to JSX Compiler</h1> <div id="jsxCompiler"></div> <script src="https://reactjs.github.io/react-magic/htmltojsx.min.js"></script> <script src="js/html-jsx.js"></script> </div>
--- layout: default title: HTML to JSX id: html-jsx --- <div class="jsxCompiler"> <h1>HTML to JSX Compiler</h1> <div id="jsxCompiler"></div> <script src="https://reactcommunity.org/react-magic/htmltojsx.min.js"></script> <script src="js/html-jsx.js"></script> </div>
Change script src for htmltojsx.min.js to referral target to fix https error
Change script src for htmltojsx.min.js to referral target to fix https error
Markdown
bsd-3-clause
kaushik94/react,TheBlasfem/react,TaaKey/react,empyrical/react,mgmcdermott/react,mjackson/react,salzhrani/react,nhunzaker/react,chicoxyzzy/react,rlugojr/react,yangshun/react,mhhegazy/react,reactjs-vn/reactjs_vndev,yungsters/react,krasimir/react,quip/react,chippieTV/react,rricard/react,apaatsio/react,acdlite/react,billfe...
markdown
## Code Before: --- layout: default title: HTML to JSX id: html-jsx --- <div class="jsxCompiler"> <h1>HTML to JSX Compiler</h1> <div id="jsxCompiler"></div> <script src="https://reactjs.github.io/react-magic/htmltojsx.min.js"></script> <script src="js/html-jsx.js"></script> </div> ## Instruction: Change script...
fcb643f589b4168405bfe6d6b85ee9ad0aa29682
tests/cleanup.js
tests/cleanup.js
/** * @author EmmanuelOlaojo * @since 8/13/16 */ module.exports = function(){ return Promise.all([ utils.dropCollection(TEST_COLLECTION_A) , utils.dropCollection(TEST_COLLECTION_B) ]); };
/** * @author EmmanuelOlaojo * @since 8/13/16 */ module.exports = function(){ return Promise.all([ utils.dropCollection(TEST_COLLECTION_A) , utils.dropCollection(TEST_COLLECTION_B) , utils.dropCollection("fs.files") , utils.dropCollection("fs.chunks") ]); };
Drop files collection after tests
Drop files collection after tests
JavaScript
mit
e-oj/Fawn
javascript
## Code Before: /** * @author EmmanuelOlaojo * @since 8/13/16 */ module.exports = function(){ return Promise.all([ utils.dropCollection(TEST_COLLECTION_A) , utils.dropCollection(TEST_COLLECTION_B) ]); }; ## Instruction: Drop files collection after tests ## Code After: /** * @author EmmanuelOlaojo * ...
9c41c296e48fb5f1d18725b822a740e3d4787143
lib/application_responder.rb
lib/application_responder.rb
class ApplicationResponder < ActionController::Responder include Responders::FlashResponder include Responders::HttpCacheResponder # Redirects resources to the collection path (index action) instead # of the resource path (show action) for POST/PUT/DELETE requests. # include Responders::CollectionResponder ...
class ApplicationResponder < ActionController::Responder include Responders::FlashResponder include Responders::HttpCacheResponder end
Remove default comments from ApplicationResponder
Remove default comments from ApplicationResponder
Ruby
agpl-3.0
Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/ope...
ruby
## Code Before: class ApplicationResponder < ActionController::Responder include Responders::FlashResponder include Responders::HttpCacheResponder # Redirects resources to the collection path (index action) instead # of the resource path (show action) for POST/PUT/DELETE requests. # include Responders::Coll...
8c047e20ac4993e31e355a8c969caa06a4a04503
.travis.yml
.travis.yml
language: node_js node_js: - 0.10 git: depth: 10
os: linux dist: focal group: edge arch: arm64-graviton2 virm: vm services: xvfb env: - CHROMIUM=true cache: directories: - $HOME/.m2/repository before_install: - lscpu - sudo apt-get install -y chromium-browser fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf gconf-se...
Use TravisCI to run Wicket's Java & JS tests on ARM64 architecture
Use TravisCI to run Wicket's Java & JS tests on ARM64 architecture
YAML
apache-2.0
apache/wicket,apache/wicket,mosoft521/wicket,mosoft521/wicket,mosoft521/wicket,apache/wicket,mosoft521/wicket,apache/wicket,mosoft521/wicket,apache/wicket
yaml
## Code Before: language: node_js node_js: - 0.10 git: depth: 10 ## Instruction: Use TravisCI to run Wicket's Java & JS tests on ARM64 architecture ## Code After: os: linux dist: focal group: edge arch: arm64-graviton2 virm: vm services: xvfb env: - CHROMIUM=true cache: directories: - $HOME/.m2/reposit...
6749f3be0cd8a8a087918a9e78811b0fbac90787
src/test/scala/IndexResourceSpec.scala
src/test/scala/IndexResourceSpec.scala
package com.bryanjswift.web.resources import org.scalatest.WordSpec import org.scalatest.matchers.ShouldMatchers import scala.collection.mutable.Stack class IndexSpec extends WordSpec with ShouldMatchers { "Index" should { val index = new IndexResource "render Hello from Jersey" in { assert(index.mess...
package com.bryanjswift.web.resources import org.scalatest.WordSpec import org.scalatest.matchers.ShouldMatchers class IndexResourceSpec extends WordSpec with ShouldMatchers { "Index" should { val index = new IndexResource "render Hello from Jersey" in { assert(index.message == "<h1>Hello Bryan, From ...
Remove stack, rename class, and clarify test
Remove stack, rename class, and clarify test
Scala
mit
bryanjswift/bryanjswift.com
scala
## Code Before: package com.bryanjswift.web.resources import org.scalatest.WordSpec import org.scalatest.matchers.ShouldMatchers import scala.collection.mutable.Stack class IndexSpec extends WordSpec with ShouldMatchers { "Index" should { val index = new IndexResource "render Hello from Jersey" in { a...
f5b64b1e8609efd4b53ec84d5d57bf2da7ee332c
Modules/Bridge/VtkGlue/itk-module-init.cmake
Modules/Bridge/VtkGlue/itk-module-init.cmake
find_package(VTK REQUIRED) set(VERSION_MIN "5.9.20110419") if (${VTK_VERSION} VERSION_LESS ${VERSION_MIN}) message(ERROR " VtkGlue requires VTK version ${VERSION_MIN} or newer but the current version is ${VTK_VERSION}") endif() # The VTK DICOMParser and vtkmetaio includes conflict with the ITK # versions. Here we re...
set(VERSION_MIN "5.9.20110419") # Look for VTK find_package(VTK REQUIRED) # Older versions of VTK (VTK 5.5 for example) do not have VTK_VERSION, in this # case it needs to be defined manually if(NOT VTK_VERSION) set(VTK_VERSION "${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}.${VTK_BUILD_VERSION}") endif() if (${VTK_VERSI...
Add VTK_VERSION for older VTK versions
BUG: Add VTK_VERSION for older VTK versions For older VTK's, VTK_VERSION is not defined. It needs to be setup manually. See ITK-3304 Change-Id: I5efec656190e7417c7a2cbfa1b27b8b545261ca0
CMake
apache-2.0
richardbeare/ITK,fbudin69500/ITK,LucHermitte/ITK,spinicist/ITK,blowekamp/ITK,ajjl/ITK,jmerkow/ITK,richardbeare/ITK,hjmjohnson/ITK,LucasGandel/ITK,spinicist/ITK,LucHermitte/ITK,jmerkow/ITK,hjmjohnson/ITK,thewtex/ITK,jmerkow/ITK,biotrump/ITK,blowekamp/ITK,BRAINSia/ITK,malaterre/ITK,PlutoniumHeart/ITK,PlutoniumHeart/ITK,h...
cmake
## Code Before: find_package(VTK REQUIRED) set(VERSION_MIN "5.9.20110419") if (${VTK_VERSION} VERSION_LESS ${VERSION_MIN}) message(ERROR " VtkGlue requires VTK version ${VERSION_MIN} or newer but the current version is ${VTK_VERSION}") endif() # The VTK DICOMParser and vtkmetaio includes conflict with the ITK # vers...
93fea72f1cef8c3b4c83af358f05a162833d7f62
client/views/blog/show.html
client/views/blog/show.html
<template name="blogShow"> <div id="meteor-blog" class="blog-single"> <div class="container"> <div class="row"> <div class="col-md-12"> {{> blogShowBody}} </div> </div> </div> </div> </template> <template name="blogShowBody"> <article class="post"> <h2>{{title}}<...
<template name="blogShow"> <div id="meteor-blog" class="blog-single"> <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> {{> blogShowBody}} </div> </div> </div> </div> </template> <template name="blogShowBody"> <article class="post"> ...
Make default theme more narrow
Make default theme more narrow
HTML
mit
NIKKTTO/meteor-blog,dubvfan87/meteor-blog,DavidSichau/meteor-blog,waitingkuo/meteor-blog,tranc99/meteor-blog-1,hwillson/meteor-blog,SierraGolf/meteor-blog,jmwenda/meteor-blog,Differential/meteor-blog,dj0nes/meteor-blog,hwillson/meteor-blog,NIKKTTO/meteor-blog,johnschult/meteor-blog,discdiver/meteor-blog,dubvfan87/meteo...
html
## Code Before: <template name="blogShow"> <div id="meteor-blog" class="blog-single"> <div class="container"> <div class="row"> <div class="col-md-12"> {{> blogShowBody}} </div> </div> </div> </div> </template> <template name="blogShowBody"> <article class="post"> ...
e625831fa28cc3be4dcec07284f88907bf83cc30
requirements.txt
requirements.txt
Flask==0.10.1 Flask-Cors==2.1.2 pymongo==3.2.2 gevent==1.1.1 # Uncomment below , when 2.0.13 is released See https://github.com/gliderlabs/docker-alpine/issues/158#issuecomment-205401343 # uWSGI==2.0.13 https://github.com/unbit/uwsgi/archive/uwsgi-2.0.zip#egg=uwsgi python-etcd==0.3.2 future==0.15.2 pytz==2016.3 request...
Flask==0.10.1 Flask-Cors==2.1.2 pymongo==3.2.2 gevent==1.1.1 uWSGI==2.0.13.1 python-etcd==0.3.2 future==0.15.2 pytz==2016.3 requests[security]==2.9.1 urllib3==1.15 celery[mongodb]==3.1.23 https://github.com/totem/fleet-py/archive/0.1.6.tar.gz https://github.com/totem/yoda-py/archive/v0.1.8b2.tar.gz https://github.com/...
Fix CoreOS 1010.5 upgrade (uwsgi kernel issue)
Fix CoreOS 1010.5 upgrade (uwsgi kernel issue) Fix CoreOS 1010.5 upgrade (uwsgi kernel issue)
Text
mit
totem/cluster-deployer,totem/cluster-deployer,totem/cluster-deployer
text
## Code Before: Flask==0.10.1 Flask-Cors==2.1.2 pymongo==3.2.2 gevent==1.1.1 # Uncomment below , when 2.0.13 is released See https://github.com/gliderlabs/docker-alpine/issues/158#issuecomment-205401343 # uWSGI==2.0.13 https://github.com/unbit/uwsgi/archive/uwsgi-2.0.zip#egg=uwsgi python-etcd==0.3.2 future==0.15.2 pytz...
a6b4678e5a2ef3b85b9b42349669565b49c10136
example_app_generator/no_active_record/app/models/in_memory/model.rb
example_app_generator/no_active_record/app/models/in_memory/model.rb
require 'active_model' raise "ActiveRecord is defined but should not be!" if defined?(::ActiveRecord) module InMemory module Persistence def all @all_records ||= [] end def count all.length end alias_method :size, :count alias_method :length, :count def create!(attributes =...
require 'active_model' raise "ActiveRecord is defined but should not be!" if defined?(::ActiveRecord) module InMemory module Persistence def all @all_records ||= [] end def count all.length end alias_method :size, :count alias_method :length, :count def last all.last ...
Enhance InMemory::Model in the no AR example app
Enhance InMemory::Model in the no AR example app
Ruby
mit
rspec/rspec-rails,rspec/rspec-rails,rspec/rspec-rails
ruby
## Code Before: require 'active_model' raise "ActiveRecord is defined but should not be!" if defined?(::ActiveRecord) module InMemory module Persistence def all @all_records ||= [] end def count all.length end alias_method :size, :count alias_method :length, :count def crea...
058b32fb65f9c5dbdbba35d3b554be4f4078a335
README.md
README.md
Reactive Streams: AMQP ==== Experimental implementation of [Reactive Streams](http://www.reactive-streams.org) for AMQP based on [RabbitMQ](https://www.rabbitmq.com/) library. Available at Maven Central: libraryDependencies += "io.scalac" % "reactive-rabbit_2.11" % "0.2.0" Examples ---- #### Akka Streams (0.9)...
Reactive Streams: AMQP ==== Experimental implementation of [Reactive Streams](http://www.reactive-streams.org) for AMQP based on [RabbitMQ](https://www.rabbitmq.com/) library. Available at Maven Central: libraryDependencies += "io.scalac" % "reactive-rabbit_2.11" % "0.2.0" Examples ---- #### Akka Streams (0.10...
Update Akka Streams example to version 0.10
Update Akka Streams example to version 0.10
Markdown
apache-2.0
davidwrpayne/reactive-rabbit,ScalaConsultants/reactive-rabbit
markdown
## Code Before: Reactive Streams: AMQP ==== Experimental implementation of [Reactive Streams](http://www.reactive-streams.org) for AMQP based on [RabbitMQ](https://www.rabbitmq.com/) library. Available at Maven Central: libraryDependencies += "io.scalac" % "reactive-rabbit_2.11" % "0.2.0" Examples ---- #### Ak...
8a653894f9ebb2601f13df43c5a6cf41300a512b
lib/electric_sheep/commands/database/mysql_dump.rb
lib/electric_sheep/commands/database/mysql_dump.rb
module ElectricSheep module Commands module Database class MySQLDump include Command include Helpers::ShellSafe register as: "mysql_dump" option :user option :password, secret: true def perform! logger.info "Creating a dump of the \"#{input.basena...
module ElectricSheep module Commands module Database class MySQLDump include Command include Helpers::ShellSafe register as: "mysql_dump" option :user option :password, secret: true def perform! logger.info "Creating a dump of the \"#{input.basena...
Use options instead of arguments
Use options instead of arguments
Ruby
mit
ehartmann/electric_sheep,servebox/electric_sheep,benitoDeLaCasita/electric_sheep,ehartmann/electric_sheep,benitoDeLaCasita/electric_sheep,ehartmann/electric_sheep,servebox/electric_sheep,servebox/electric_sheep
ruby
## Code Before: module ElectricSheep module Commands module Database class MySQLDump include Command include Helpers::ShellSafe register as: "mysql_dump" option :user option :password, secret: true def perform! logger.info "Creating a dump of the ...
a10624147621e9646589d820010140f0b5ea409b
openssl-musl/plan.sh
openssl-musl/plan.sh
source ../openssl/plan.sh pkg_name=openssl-musl pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" pkg_deps=(core/musl core/zlib-musl core/cacerts) do_prepare() { PLAN_CONTEXT=$(abspath $PLAN_CONTEXT/../openssl) _common_prepare dynamic_linker="$(pkg_path_for musl)/lib/ld-musl-x86_64.so.1" LDFLAGS="$L...
source ../openssl/plan.sh pkg_name=openssl-musl pkg_origin=core pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" pkg_description="\ OpenSSL is an open source project that provides a robust, commercial-grade, \ and full-featured toolkit for the Transport Layer Security (TLS) and Secure \ Sockets Layer (SSL)...
Update & modernize Plan style.
[openssl-musl] Update & modernize Plan style. Signed-off-by: Fletcher Nichol <77a0fd9e8048bbacd11af4e957bc6ff03b549f49@nichol.ca>
Shell
apache-2.0
be-plans/be,be-plans/be,be-plans/be,be-plans/be
shell
## Code Before: source ../openssl/plan.sh pkg_name=openssl-musl pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" pkg_deps=(core/musl core/zlib-musl core/cacerts) do_prepare() { PLAN_CONTEXT=$(abspath $PLAN_CONTEXT/../openssl) _common_prepare dynamic_linker="$(pkg_path_for musl)/lib/ld-musl-x86_64.so....
3c6afaa29e1723246355e3646b7c93e5de31a204
app/models/attachment.rb
app/models/attachment.rb
require 'attachable' class Attachment include Mongoid::Document include Mongoid::Timestamps include Attachable field :title field :filename attaches :file def snippet "[InlineAttachment:#{filename}]" end end
require 'attachable' class Attachment include Mongoid::Document include Mongoid::Timestamps include Attachable field :title field :filename attaches :file validates_with SafeHtml def snippet "[InlineAttachment:#{filename}]" end end
Validate Attachments with SafeHtml validator
Validate Attachments with SafeHtml validator
Ruby
mit
dinuksha/Test,alphagov/govuk_content_models,dinuksha/Test
ruby
## Code Before: require 'attachable' class Attachment include Mongoid::Document include Mongoid::Timestamps include Attachable field :title field :filename attaches :file def snippet "[InlineAttachment:#{filename}]" end end ## Instruction: Validate Attachments with SafeHtml validator ## Code Af...
60df4f04aab2f20959f7e74204d59db33133e220
compiler_source/6_actions_perl/template-runtime-code-for-action-get-count-of-words.txt
compiler_source/6_actions_perl/template-runtime-code-for-action-get-count-of-words.txt
template-runtime-code-for-every-action-begin $global_number_of_operands = number-of-operands ; <new_line> runtime-code-check-operand-initialize check-operand-one-is-phrase-name if ( $global_yes_or_no_operand_error == $global_no ) { <new_line> $global_source_text = code-get-or-put-phrase-definition-begin runtime-...
template-runtime-code-for-every-action-begin $global_number_of_operands = number-of-operands ; <new_line> runtime-code-check-operand-initialize check-operand-one-is-phrase-name if ( $global_yes_or_no_operand_error == $global_no ) { <new_line> $global_source_text = code-get-or-put-phrase-definition-begin runtime-...
Switch to "old version" of runtime function
Switch to "old version" of runtime function
Text
artistic-2.0
cpsolver/Dashrep-language,cpsolver/Dashrep-language,cpsolver/Dashrep-language
text
## Code Before: template-runtime-code-for-every-action-begin $global_number_of_operands = number-of-operands ; <new_line> runtime-code-check-operand-initialize check-operand-one-is-phrase-name if ( $global_yes_or_no_operand_error == $global_no ) { <new_line> $global_source_text = code-get-or-put-phrase-definitio...
1987b85ee8a4d7c29fe2d334c8585339568a5b96
gremlin-console/src/main/resources/com/tinkerpop/gremlin/console/plugin/UtilitiesGremlinPluginScript.groovy
gremlin-console/src/main/resources/com/tinkerpop/gremlin/console/plugin/UtilitiesGremlinPluginScript.groovy
/** * @author Daniel Kuppitz (http://thinkaurelius.com) * @author Marko A. Rodriguez (http://markorodriguez.com) */ clock = { int loops = 100, Closure closure -> closure.call() // warmup (1..loops).collect { t = System.nanoTime() closure.call() ((System.nanoTime() - t) * 0.000001) ...
/** * @author Daniel Kuppitz (http://thinkaurelius.com) * @author Marko A. Rodriguez (http://markorodriguez.com) * @author Stephen Mallette (http://stephen.genoprime.com) */ clock = { int loops = 100, Closure closure -> closure.call() // warmup (1..loops).collect { t = System.nanoTime() cl...
Add describeGraph utility function to plugin.
Add describeGraph utility function to plugin.
Groovy
apache-2.0
rmagen/incubator-tinkerpop,dalaro/incubator-tinkerpop,Lab41/tinkerpop3,velo/incubator-tinkerpop,n-tran/incubator-tinkerpop,BrynCooke/incubator-tinkerpop,RussellSpitzer/incubator-tinkerpop,gdelafosse/incubator-tinkerpop,artem-aliev/tinkerpop,jorgebay/tinkerpop,jorgebay/tinkerpop,apache/incubator-tinkerpop,krlohnes/tinke...
groovy
## Code Before: /** * @author Daniel Kuppitz (http://thinkaurelius.com) * @author Marko A. Rodriguez (http://markorodriguez.com) */ clock = { int loops = 100, Closure closure -> closure.call() // warmup (1..loops).collect { t = System.nanoTime() closure.call() ((System.nanoTime() - ...
bc9d6c12e4d8732facdb7198adc0359705612773
my-swot/eng.md
my-swot/eng.md
<permalink>eng</permalink> <month>7</month> <year>2021</year> # My personal SWOT in one of the assignatures by professor Daniel Holt (@DanielTHolt) SWOT, or Strength, Weaknesses, Opportunities and Threats is a tool generally used by companies to asses themselves and their competitors. A SWOT helps potential cre...
<permalink>eng</permalink> <month>7</month> <year>2021</year> # My personal SWOT I started the Innovation MBA about one month ago at the University Of Louisville in Kentucky. The innovation [MBA is the ranked #25 in the U.S. by the Princeton Review](https://business.louisville.edu/academics-programs/graduate-programs...
Add MBA info and add quote
Add MBA info and add quote
Markdown
mit
adelriosantiago/adelriosantiago-blog
markdown
## Code Before: <permalink>eng</permalink> <month>7</month> <year>2021</year> # My personal SWOT in one of the assignatures by professor Daniel Holt (@DanielTHolt) SWOT, or Strength, Weaknesses, Opportunities and Threats is a tool generally used by companies to asses themselves and their competitors. A SWOT hel...
64d8427a7b970ec3243179044870ddcf23dc2f09
README.md
README.md
<img src="https://github.com/Larpon/QtFirebase/blob/master/logo.png" align="right"/> # QtFirebaseExample Example Qt app for the QtFirebase project # Quick start 1. Clone the example app and the [QtFirebase](https://github.com/Larpon/QtFirebase) project * **Clone example project** ``` cd /path/to/proje...
<img src="https://github.com/Larpon/QtFirebase/blob/master/docs/img/logo.png" align="right"/> # QtFirebaseExample Example Qt app for the QtFirebase project # Quick start 1. Clone the example app and the [QtFirebase](https://github.com/Larpon/QtFirebase) project * **Clone example project** ``` cd /path...
Update references to moved files in QtFirebase project
Update references to moved files in QtFirebase project
Markdown
mit
Larpon/QtFirebaseExample,Larpon/QtFirebaseExample
markdown
## Code Before: <img src="https://github.com/Larpon/QtFirebase/blob/master/logo.png" align="right"/> # QtFirebaseExample Example Qt app for the QtFirebase project # Quick start 1. Clone the example app and the [QtFirebase](https://github.com/Larpon/QtFirebase) project * **Clone example project** ``` c...
0714442631fe28747a0a3de606cf1d290e4bc305
spec.hs
spec.hs
-- | Unit test for PassphraseGenerator functions. import Test.Hspec import qualified Data.Map.Strict as Map import PassphraseGenerator filetext :: String filetext = "aaa\t1900\t2\naaa\t1950\t3\nbbb\t1950\t5\nbbb_VERB\t1980\t9" y :: Int y = 1950 main :: IO() main = hspec $ do describe "countDescending" $ do i...
-- | Unit test for PassphraseGenerator functions. import Test.Hspec import qualified Data.Map.Strict as Map import PassphraseGenerator filetext :: String filetext = "aaa\t1900\t2\naaa\t1950\t3\nAAA\t1951\t7\nbbb\t1950\t5\nbbb_VERB\t1980\t9" y :: Int y = 1950 main :: IO() main = hspec $ do describe "countDescendi...
Test recently-added case-folding behavior of mostFrequent.hs
Test recently-added case-folding behavior of mostFrequent.hs
Haskell
mit
JohnL4/PassphraseGenerator
haskell
## Code Before: -- | Unit test for PassphraseGenerator functions. import Test.Hspec import qualified Data.Map.Strict as Map import PassphraseGenerator filetext :: String filetext = "aaa\t1900\t2\naaa\t1950\t3\nbbb\t1950\t5\nbbb_VERB\t1980\t9" y :: Int y = 1950 main :: IO() main = hspec $ do describe "countDescen...
0d6a8f3978188f3e343c364806e0bb6e6ac1e643
tests/qtcore/qmetaobject_test.py
tests/qtcore/qmetaobject_test.py
'''Tests for static methos conflicts with class methods''' import unittest from PySide.QtCore import * class Foo(QFile): pass class qmetaobject_test(unittest.TestCase): def test_QMetaObject(self): qobj = QObject() qobj_metaobj = qobj.metaObject() self.assertEqual(qobj_metaobj.className...
'''Tests for static methos conflicts with class methods''' import unittest from PySide.QtCore import * class Foo(QFile): pass class qmetaobject_test(unittest.TestCase): def test_QMetaObject(self): qobj = QObject() qobj_metaobj = qobj.metaObject() self.assertEqual(qobj_metaobj.className...
Fix qmentaobject test to work with dynamic metaobject.
Fix qmentaobject test to work with dynamic metaobject.
Python
lgpl-2.1
M4rtinK/pyside-android,pankajp/pyside,enthought/pyside,PySide/PySide,qtproject/pyside-pyside,PySide/PySide,gbaty/pyside2,enthought/pyside,RobinD42/pyside,enthought/pyside,PySide/PySide,BadSingleton/pyside2,M4rtinK/pyside-android,BadSingleton/pyside2,qtproject/pyside-pyside,BadSingleton/pyside2,RobinD42/pyside,pankajp/p...
python
## Code Before: '''Tests for static methos conflicts with class methods''' import unittest from PySide.QtCore import * class Foo(QFile): pass class qmetaobject_test(unittest.TestCase): def test_QMetaObject(self): qobj = QObject() qobj_metaobj = qobj.metaObject() self.assertEqual(qobj_m...
770206d1ace546b13a3fc4bac949486f860e4197
lib/node/request.js
lib/node/request.js
'use strict'; var request = require('request'), undef; module.exports = function(options) { // Prepare options options.method = options.method.toUpperCase(); options.uri = options.uri.toString(); // Do we have any callback, or is this a fire-and-forgot request? var hasCallback = !!options.on...
'use strict'; var request = require('request'); module.exports = function(options) { // Prepare options options.method = options.method.toUpperCase(); options.uri = options.uri.toString(); // Do we have any callback, or is this a fire-and-forgot request? var hasCallback = !!options.onComplete; ...
Use 'undefined' instead of setting an undefined variable
Use 'undefined' instead of setting an undefined variable
JavaScript
mit
rexxars/imboclient-js,imbo/imboclient-js,rexxars/imboclient-js,rexxars/imboclient-js,imbo/imboclient-js,imbo/imboclient-js
javascript
## Code Before: 'use strict'; var request = require('request'), undef; module.exports = function(options) { // Prepare options options.method = options.method.toUpperCase(); options.uri = options.uri.toString(); // Do we have any callback, or is this a fire-and-forgot request? var hasCallbac...
affaf334028599fe2db06de986976d1dca8f0e8a
app/assets/javascripts/user_form.js
app/assets/javascripts/user_form.js
$(document).ready(function() { const $form = $('.edit_user'); $form.on('submit', function(event) { let url = $form.attr('action'); let method = $form.attr('method'); let data = $form.serialize(); $.ajax({ url: url, method: method, data: data, dataType: "json" }) .s...
$(document).ready(function() { $("#profile").on('submit', '.edit-user', function(event) { const $form = $('.edit-user'); let url = $form.attr('action'); let method = $form.attr('method'); let data = $form.serialize(); $.ajax({ url: url, method: method, data: data, dataTyp...
Fix ajax for user update modal
Fix ajax for user update modal
JavaScript
mit
AliasHendrickson/progress,AliasHendrickson/progress,AliasHendrickson/progress
javascript
## Code Before: $(document).ready(function() { const $form = $('.edit_user'); $form.on('submit', function(event) { let url = $form.attr('action'); let method = $form.attr('method'); let data = $form.serialize(); $.ajax({ url: url, method: method, data: data, dataType: "jso...
f9465e5c7c3f4c77e3eabbee88e76585a22cc0eb
roles/common/tasks/setup.yml
roles/common/tasks/setup.yml
--- - name: create user(s) action: user name=ansible - name: setup authorized key(s) action: authorized_key user=ansible key='$FILE(roles/common/files/id_rsa.pub)' - name: create admin group action: group name=admin - name: write the admin sudoers file action: template src=templates/sudoers/admin dest=/etc/s...
--- - name: create user(s) action: user name=ansible - name: setup authorized key(s) action: authorized_key user=ansible key='$FILE(roles/common/files/id_rsa.pub)' - name: create admin group action: group name=admin - name: write the admin sudoers file action: template src=templates/sudoers/admin dest=/etc/s...
Extend the case for sudoesw
Extend the case for sudoesw
YAML
mit
BrianAker/server-install,BrianAker/server-install
yaml
## Code Before: --- - name: create user(s) action: user name=ansible - name: setup authorized key(s) action: authorized_key user=ansible key='$FILE(roles/common/files/id_rsa.pub)' - name: create admin group action: group name=admin - name: write the admin sudoers file action: template src=templates/sudoers/a...
98ca748996fe462cedf284ad91a74bdd30eb81f3
mopidy/__init__.py
mopidy/__init__.py
from __future__ import absolute_import, unicode_literals import platform import sys import textwrap import warnings if not (2, 7) <= sys.version_info < (3,): sys.exit( 'ERROR: Mopidy requires Python 2.7, but found %s.' % platform.python_version()) try: import gobject # noqa except ImportEr...
from __future__ import absolute_import, print_function, unicode_literals import platform import sys import textwrap import warnings if not (2, 7) <= sys.version_info < (3,): sys.exit( 'ERROR: Mopidy requires Python 2.7, but found %s.' % platform.python_version()) try: import gobject # noqa...
Use print function instead of print statement
py3: Use print function instead of print statement
Python
apache-2.0
jcass77/mopidy,ZenithDK/mopidy,SuperStarPL/mopidy,vrs01/mopidy,jcass77/mopidy,diandiankan/mopidy,dbrgn/mopidy,SuperStarPL/mopidy,mokieyue/mopidy,rawdlite/mopidy,jcass77/mopidy,jmarsik/mopidy,mopidy/mopidy,bencevans/mopidy,mopidy/mopidy,diandiankan/mopidy,jmarsik/mopidy,vrs01/mopidy,mokieyue/mopidy,kingosticks/mopidy,Su...
python
## Code Before: from __future__ import absolute_import, unicode_literals import platform import sys import textwrap import warnings if not (2, 7) <= sys.version_info < (3,): sys.exit( 'ERROR: Mopidy requires Python 2.7, but found %s.' % platform.python_version()) try: import gobject # noqa...
319291236024d61bba36ccf648ca72c8e3ab0b52
Doc/texinputs/boilerplate.tex
Doc/texinputs/boilerplate.tex
\author{Guido van Rossum\\ Fred L. Drake, Jr., editor} \authoraddress{ BeOpen PythonLabs\\ E-mail: \email{python-docs@python.org} } \date{September 26, 2000} % XXX update before release! \release{2.0b2} % software release, not documentation \setshortversion{2.0} % major.minor only for Python
\author{Guido van Rossum\\ Fred L. Drake, Jr., editor} \authoraddress{ BeOpen PythonLabs\\ E-mail: \email{python-docs@python.org} } \date{October 9, 2000} % XXX update before release! \release{2.0c1} % software release, not documentation \setshortversion{2.0} % major.minor only for software
Update for next planned release.
Update for next planned release.
TeX
mit
sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator
tex
## Code Before: \author{Guido van Rossum\\ Fred L. Drake, Jr., editor} \authoraddress{ BeOpen PythonLabs\\ E-mail: \email{python-docs@python.org} } \date{September 26, 2000} % XXX update before release! \release{2.0b2} % software release, not documentation \setshortversion{2.0} % major.minor only for Python ...
248b9dca6782da9f2703031f672f88fb3c484a3a
README.md
README.md
Generates lightcurve JSON files and Ouroboros manifest for Planet Hunters. Example usage: ``` docker run -it -v /data/:/data/ zooniverse/planet-hunters-importer ./generate.py /data/metadata.csv docker run -it -v /data/:/data/ zooniverse/planet-hunters-importer ./generate-manifest.py ```
Generates lightcurve JSON files and Ouroboros manifest for Planet Hunters. Example usage: ``` docker run -it --rm -v /data/:/data/ zooniverse/planet-hunters-importer ./generate.py /data/metadata.csv docker run -it --rm -v /data/:/data/ zooniverse/planet-hunters-importer ./generate-manifest.py ```
Add --rm to example usage
Add --rm to example usage
Markdown
apache-2.0
zooniverse/planet-hunters-importer,zooniverse/planet-hunters-importer,zooniverse/planet-hunters-importer
markdown
## Code Before: Generates lightcurve JSON files and Ouroboros manifest for Planet Hunters. Example usage: ``` docker run -it -v /data/:/data/ zooniverse/planet-hunters-importer ./generate.py /data/metadata.csv docker run -it -v /data/:/data/ zooniverse/planet-hunters-importer ./generate-manifest.py ``` ## Instructi...
e04af44c29e7f83965a1a1a266e60d9b5820c9e1
Search/Searchable.swift
Search/Searchable.swift
// // Searchable.swift // Search // // Created by David Haynes on 16/03/2016. // Copyright © 2016 Ordnance Survey. All rights reserved. // import Fetch import OSTransformation /** * Searchable protocol */ public protocol Searchable { /** Find the text specified - parameter query: The text to ...
// // Searchable.swift // Search // // Created by David Haynes on 16/03/2016. // Copyright © 2016 Ordnance Survey. All rights reserved. // import Fetch import OSTransformation /** * Searchable protocol */ public protocol Searchable { /** Find the text specified - parameter query: The text t...
Add bounding box search method to protocol
Add bounding box search method to protocol
Swift
apache-2.0
OrdnanceSurvey/search-swift,OrdnanceSurvey/search-swift
swift
## Code Before: // // Searchable.swift // Search // // Created by David Haynes on 16/03/2016. // Copyright © 2016 Ordnance Survey. All rights reserved. // import Fetch import OSTransformation /** * Searchable protocol */ public protocol Searchable { /** Find the text specified - parameter query: ...
3abba3bd7a6cd1e1e27fe5603cd3351b563037ce
config/sidekiq.yml
config/sidekiq.yml
--- :logfile: ./log/sidekiq.log :queues: - [mailers, 3] - [default, 2] - [claims, 2] - [stats_reports, 1] - [convert_document, 1] development: :verbose: true :concurrency: 5 production: :verbose: true :concurrency: 10
--- :logfile: ./log/sidekiq.log :queues: - [convert_document, 3] - [mailers, 3] - [default, 2] - [claims, 2] - [stats_reports, 1] development: :verbose: true :concurrency: 5 production: :verbose: true :concurrency: 10
Increase priority of convert document job
Increase priority of convert document job
YAML
mit
ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments
yaml
## Code Before: --- :logfile: ./log/sidekiq.log :queues: - [mailers, 3] - [default, 2] - [claims, 2] - [stats_reports, 1] - [convert_document, 1] development: :verbose: true :concurrency: 5 production: :verbose: true :concurrency: 10 ## Instruction: Increase priority of convert document job ## Code ...
6a158a110266c40428b485688275981be08eefe6
src/app/users/user-profile-short.component.html
src/app/users/user-profile-short.component.html
<header class="hero-background"> <h2 i18n class="internal-header" (click)="showId=!(showId)">Your Profile</h2> <span *ngIf="showId">My ID is: {{(auth | async)?.uid}} </span> </header> <main class="main-content"> <md-card class="profile-card"> <p i18n *ngIf="user">What's your name?</p> <form *ngIf="user" ...
<header class="hero-background"> <h2 i18n class="internal-header" (click)="showId=!(showId)">Your Profile</h2> <span *ngIf="showId">My ID is: {{(auth | async)?.uid}} </span> </header> <main class="main-content"> <md-card class="profile-card"> <p i18n *ngIf="user">Let's get started setting up your profil...
Clarify new user welcome message
Clarify new user welcome message
HTML
mit
StephenFluin/ames,StephenFluin/ames,StephenFluin/ames
html
## Code Before: <header class="hero-background"> <h2 i18n class="internal-header" (click)="showId=!(showId)">Your Profile</h2> <span *ngIf="showId">My ID is: {{(auth | async)?.uid}} </span> </header> <main class="main-content"> <md-card class="profile-card"> <p i18n *ngIf="user">What's your name?</p> <fo...
80fa0df141371e5b929726e9eabef959adcfed28
schemas/userSchema.js
schemas/userSchema.js
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var userSchema = new Schema({ githubId: Number, name: String, avatar_url: String, projects: Array }); module.exports = mongoose.model('User', userSchema);
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var userSchema = new Schema({ githubId: Number, name: String, avatar_url: String, isDeveloper: Boolean, projects: Array }); module.exports = mongoose.model('User', userSchema);
Add developer flag to user schema
Add developer flag to user schema
JavaScript
apache-2.0
with-regard/regard-website-api
javascript
## Code Before: var mongoose = require('mongoose'); var Schema = mongoose.Schema; var userSchema = new Schema({ githubId: Number, name: String, avatar_url: String, projects: Array }); module.exports = mongoose.model('User', userSchema); ## Instruction: Add developer flag to user schema ## Code After: var mon...
3dcb417477615e3fd34ec5d3a311541eead7371c
Resources/views/Conversation/list.html.twig
Resources/views/Conversation/list.html.twig
{% extends 'FDPrivateMessageBundle::layout.html.twig' %} {% trans_default_domain 'FDPrivateMessageBundle' %} {% block fd_private_message_content %} <ul> {% for conversation in conversations %} <li> <a href="{{ url('fdpm_show_conversation', {'conversation': conversation.id}) }}">{{ conversation.subject }}<...
{% extends 'FDPrivateMessageBundle::layout.html.twig' %} {% trans_default_domain 'FDPrivateMessageBundle' %} {% block fd_private_message_content %} <a href="{{ url('fdpm_new_conversation') }}">{{ 'conversation.create.new' | trans }}</a> <ul> {% for conversation in conversations %} <li> <a href="{{ url('f...
Add link to start new conversation
Add link to start new conversation
Twig
mit
lobodol/FireDIY-PrivateMessageBundle,lobodol/FireDIY-PrivateMessageBundle
twig
## Code Before: {% extends 'FDPrivateMessageBundle::layout.html.twig' %} {% trans_default_domain 'FDPrivateMessageBundle' %} {% block fd_private_message_content %} <ul> {% for conversation in conversations %} <li> <a href="{{ url('fdpm_show_conversation', {'conversation': conversation.id}) }}">{{ conversa...
ee9097b481a075f2040d741ff91ba054dafdc166
app.js
app.js
/* This file is generated and updated by Sencha Cmd. You can edit this file as needed for your application, but these edits will have to be merged by Sencha Cmd when upgrading. */ // DO NOT DELETE - this directive is required for Sencha Cmd packages to work. //@require @packageOverrides Ext.useShims = tru...
/* This file is generated and updated by Sencha Cmd. You can edit this file as needed for your application, but these edits will have to be merged by Sencha Cmd when upgrading. */ // DO NOT DELETE - this directive is required for Sencha Cmd packages to work. //@require @packageOverrides Ext.useShims = tru...
Add comment how to use static demo track during development.
Add comment how to use static demo track during development.
JavaScript
apache-2.0
NLeSC/eEcology-Annotation-UI,NLeSC/eEcology-Annotation-UI,NLeSC/eEcology-Annotation-UI
javascript
## Code Before: /* This file is generated and updated by Sencha Cmd. You can edit this file as needed for your application, but these edits will have to be merged by Sencha Cmd when upgrading. */ // DO NOT DELETE - this directive is required for Sencha Cmd packages to work. //@require @packageOverrides Ex...
4a167edba49ce6d6e903e959f9d65eb7d35a1fbd
.github/workflows/publish.yml
.github/workflows/publish.yml
name: Publish on: push: branches: [ master ] paths: - '**.md' - '**.yml' - '**.swift' jobs: publish: if: "!contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title, github.event.pull_request.body), '[skip ci]')" runs-on: macos-latest steps: ...
name: Publish on: push: branches: [ master ] paths: - '**.md' - '**.yml' - '**.swift' - 'Content/**' jobs: publish: if: "!contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title, github.event.pull_request.body), '[skip ci]')" runs-on: macos-...
Deploy on all content changes
Deploy on all content changes
YAML
mit
iotize/iotize.github.io
yaml
## Code Before: name: Publish on: push: branches: [ master ] paths: - '**.md' - '**.yml' - '**.swift' jobs: publish: if: "!contains(format('{0} {1} {2}', github.event.head_commit.message, github.event.pull_request.title, github.event.pull_request.body), '[skip ci]')" runs-on: macos-lat...
bbebd3c1ea4b4e8a76caf9d0a53e77c07d3b957d
app/views/pages/post/post.scala.html
app/views/pages/post/post.scala.html
@import partials.messageWithComments @(post: Post) @main("Post") { @messageWithComments(post.getThread) }
@import partials.messageWithComments @(post: Post) @main("Post") { <p><a class="uk-link-reset uk-text-large" href="@groups.routes.Group.get(post.getGroup.getId)"><span data-uk-icon="icon: link; ratio: 1.5"></span> Go to Group</a></p> @messageWithComments(post.getThread) }
Add "Go to Group" link in Post page
Add "Go to Group" link in Post page
HTML
agpl-3.0
m4tx/arroch,m4tx/arroch
html
## Code Before: @import partials.messageWithComments @(post: Post) @main("Post") { @messageWithComments(post.getThread) } ## Instruction: Add "Go to Group" link in Post page ## Code After: @import partials.messageWithComments @(post: Post) @main("Post") { <p><a class="uk-link-reset uk-text-large" href="@g...
c8844298e7f8b891449edc31ff299b644e75a1e3
README.md
README.md
json [![Build Status](https://travis-ci.org/timt/naive-json.png?branch=master)](https://travis-ci.org/timt/naive-json) ---- A really simple json parser library implemented in scala with no dependencies Requirements ------------ * [scala](http://www.scala-lang.org) 2.10.4 Usage ----- Add the following lines to you...
json [![Build Status](https://travis-ci.org/timt/naive-json.png?branch=master)](https://travis-ci.org/timt/naive-json) [ ![Download](https://api.bintray.com/packages/timt/repo/naive-json/images/download.png) ](https://bintray.com/timt/repo/naive-json/_latestVersion) ---- A really simple json parser library implement...
Add link to download latest published version
Add link to download latest published version
Markdown
apache-2.0
timt/naive-json
markdown
## Code Before: json [![Build Status](https://travis-ci.org/timt/naive-json.png?branch=master)](https://travis-ci.org/timt/naive-json) ---- A really simple json parser library implemented in scala with no dependencies Requirements ------------ * [scala](http://www.scala-lang.org) 2.10.4 Usage ----- Add the follow...
605a3eefd5130c45b8faba14a252373bdf94de7c
_output/code_event_listeners/_metadata.json
_output/code_event_listeners/_metadata.json
{ "entity_pre_save_SV-UserMentionsImprovements-Listener_usergroupEntityPreSave.json": { "hash": "21a2f35cdc4c84f27b1333a1403dea74" }, "entity_structure_SV-UserMentionsImprovements-Listener_usergroupEntityStructure.json": { "hash": "f9e62abd2f33c8023b6bdf4fd81a6621" }, "entity_structu...
{ "entity_pre_save_SV-UserMentionsImprovements-Listener_usergroupEntityPreSave.json": { "hash": "21a2f35cdc4c84f27b1333a1403dea74" }, "entity_structure_SV-UserMentionsImprovements-Listener_userEntityStructure.json": { "hash": "75abe2c187d47a0350476fb3b24a914e" }, "entity_structure_SV...
Use single finder query for fetching usergroup members.
Use single finder query for fetching usergroup members.
JSON
mit
liamwli/XenForo2-UserMentionsImprovements,liamwli/XenForo2-UserMentionsImprovements
json
## Code Before: { "entity_pre_save_SV-UserMentionsImprovements-Listener_usergroupEntityPreSave.json": { "hash": "21a2f35cdc4c84f27b1333a1403dea74" }, "entity_structure_SV-UserMentionsImprovements-Listener_usergroupEntityStructure.json": { "hash": "f9e62abd2f33c8023b6bdf4fd81a6621" }, ...
502b56c879b18db34cb3c067e2adca021762c3b9
Cargo.toml
Cargo.toml
[package] name = "antimony" version = "0.0.0" homepage = "https://antimony.rs" authors = ["Mohammed Makhlouf <msmakhlouf@gmail.com>","Mohammad Samir <me@msamir.me>"] keywords = ["stream-processing","distributed", "real-time","drpc"] repository = "https://github.com/antimonyproject/antimony" documentation = "https://doc...
[package] name = "antimony" version = "0.0.1" homepage = "https://antimony.rs" authors = ["Mohammed Makhlouf <msmakhlouf@gmail.com>","Mohammad Samir <me@msamir.me>"] keywords = ["stream-processing","distributed", "real-time","drpc"] repository = "https://github.com/antimonyproject/antimony" documentation = "https://doc...
Change to version 0.0.1 & change description
Change to version 0.0.1 & change description
TOML
mit
antimonyproject/antimony
toml
## Code Before: [package] name = "antimony" version = "0.0.0" homepage = "https://antimony.rs" authors = ["Mohammed Makhlouf <msmakhlouf@gmail.com>","Mohammad Samir <me@msamir.me>"] keywords = ["stream-processing","distributed", "real-time","drpc"] repository = "https://github.com/antimonyproject/antimony" documentatio...
8963e3adee2e8857f49aa911869fab378e91ddd3
app/controllers/recipe_controller.rb
app/controllers/recipe_controller.rb
require 'rakuten_web_service' class RecipeController < ApplicationController def index RakutenWebService.configure do |c| c.application_id = ENV["APPID"] c.affiliate_id = ENV["AFID"] end @large_categories = RakutenWebService::Recipe.large_categories @menus = RakutenWebService::Recipe.ra...
require 'rakuten_web_service' class RecipeController < ApplicationController def pickup rakuten_api @menus = RakutenWebService::Recipe.ranking(15) end # Test Page def index rakuten_api @large_categories = RakutenWebService::Recipe.large_categories @menus = RakutenWebService::Recipe.ra...
Add API call for pickup
Add API call for pickup
Ruby
mit
terra-yucco/ruthenium,terra-yucco/ruthenium,terra-yucco/ruthenium
ruby
## Code Before: require 'rakuten_web_service' class RecipeController < ApplicationController def index RakutenWebService.configure do |c| c.application_id = ENV["APPID"] c.affiliate_id = ENV["AFID"] end @large_categories = RakutenWebService::Recipe.large_categories @menus = RakutenWebSe...
583ea6c1a234ab9d484b1e80e7f567d9a5d2fb71
shopify/resources/image.py
shopify/resources/image.py
from ..base import ShopifyResource import base64 import re class Image(ShopifyResource): _prefix_source = "/admin/products/$product_id/" def __getattr__(self, name): if name in ["pico", "icon", "thumb", "small", "compact", "medium", "large", "grande", "original"]: return re.sub(r"/(.*)\.(...
from ..base import ShopifyResource from ..resources import Metafield from six.moves import urllib import base64 import re class Image(ShopifyResource): _prefix_source = "/admin/products/$product_id/" def __getattr__(self, name): if name in ["pico", "icon", "thumb", "small", "compact", "medium", "larg...
Add `metafields()` method to `Image` resource.
Add `metafields()` method to `Image` resource.
Python
mit
asiviero/shopify_python_api,SmileyJames/shopify_python_api,Shopify/shopify_python_api,metric-collective/shopify_python_api,gavinballard/shopify_python_api,ifnull/shopify_python_api
python
## Code Before: from ..base import ShopifyResource import base64 import re class Image(ShopifyResource): _prefix_source = "/admin/products/$product_id/" def __getattr__(self, name): if name in ["pico", "icon", "thumb", "small", "compact", "medium", "large", "grande", "original"]: return r...
74c3ed0cfbfe917b6c386211fc64ff4925fdc036
lib/mix/test/mix/tasks/clean_test.exs
lib/mix/test/mix/tasks/clean_test.exs
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.CleanTest do use MixTest.Case test "compile a project without mixfile" do in_fixture "no_mixfile", fn -> Mix.Tasks.Compile.run [] assert File.regular?("ebin/Elixir.A.beam") Mix.Tasks.Clean.run [] refute File.regular...
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.CleanTest do use MixTest.Case defmodule DepsApp do def project do [ app: :sample, version: "0.1.0", deps: [ { :tidy, "0.1.0", path: "elixir-lang/tidy" } ] ] end end test "compi...
Test mix clean with the --all flag.
Test mix clean with the --all flag.
Elixir
apache-2.0
beedub/elixir,kimshrier/elixir,pedrosnk/elixir,gfvcastro/elixir,antipax/elixir,gfvcastro/elixir,kelvinst/elixir,joshprice/elixir,antipax/elixir,lexmag/elixir,ggcampinho/elixir,elixir-lang/elixir,beedub/elixir,kelvinst/elixir,pedrosnk/elixir,ggcampinho/elixir,michalmuskala/elixir,kimshrier/elixir,lexmag/elixir
elixir
## Code Before: Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.CleanTest do use MixTest.Case test "compile a project without mixfile" do in_fixture "no_mixfile", fn -> Mix.Tasks.Compile.run [] assert File.regular?("ebin/Elixir.A.beam") Mix.Tasks.Clean.run [] ref...
e4681ab97c4e281ed29d49fbecaeeb03da315619
spec/unit/concurrent/synchronized_sorted_set_spec.rb
spec/unit/concurrent/synchronized_sorted_set_spec.rb
require "spec_helper" require "bunny/concurrent/synchronized_sorted_set" describe Bunny::Concurrent::SynchronizedSortedSet do it "synchronizes common operations needed by Bunny" do subject.length.should == 0 10.times do Thread.new do subject << 1 subject << 1 subject << 2 ...
require "spec_helper" require "bunny/concurrent/synchronized_sorted_set" describe Bunny::Concurrent::SynchronizedSortedSet do it "synchronizes common operations needed by Bunny" do s = described_class.new s.length.should == 0 10.times do Thread.new do s << 1 s << 1 s << 2 ...
Fix race conditions in this trivial unit test. Headdesk.
Fix race conditions in this trivial unit test. Headdesk.
Ruby
mit
teodor-pripoae/bunny,gferguson-gd/bunny,pressrelations/bunny,wconrad/bunny,bartj3/bunny,gferguson-gd/bunny,jafrog/bunny,bartj3/bunny,wconrad/bunny,pressrelations/bunny,0xfaded/bunny,jafrog/bunny,0xfaded/bunny,teodor-pripoae/bunny
ruby
## Code Before: require "spec_helper" require "bunny/concurrent/synchronized_sorted_set" describe Bunny::Concurrent::SynchronizedSortedSet do it "synchronizes common operations needed by Bunny" do subject.length.should == 0 10.times do Thread.new do subject << 1 subject << 1 su...
ca89111eebd62fb8bf80fcb8308ecd83088af41e
app/views/public/files/_list.blade.php
app/views/public/files/_list.blade.php
@if(count($files)) <div class="row"> @foreach($files as $file) <div class="col-sm-3 col-md-2 col-xs-4"> <a href="{{ '/'.$file->path.'/'.$file->filename }}" class="thumbnail fancybox" rel="gallery"> <img src="{{ Croppa::url('/'.$file->path.'/'.$file->filename, 310, 310) }}" alt="{{ $file->alt_attribute }}"> ...
@if(count($files)) @foreach(array_chunk($files->all(), 4) as $row) <div class="row"> @foreach($row as $file) <div class="col-xs-3"> <a href="{{ '/'.$file->path.'/'.$file->filename }}" class="thumbnail fancybox" rel="gallery"> <img src="{{ Croppa::url('/'.$file->path.'/'.$file->filename, 310, 310) }}" ...
Use of array_chunk for rows of images
Use of array_chunk for rows of images
PHP
mit
yaoshanliang/TypiCMS,sachintaware/TypiCMS,yaoshanliang/TypiCMS,yaoshanliang/TypiCMS,sachintaware/TypiCMS,sdebacker/TypiCMS,sdebacker/TypiCMS,elk1997/TypiCMS,sachintaware/TypiCMS,omusico/TypiCMS,omusico/TypiCMS,sdebacker/TypiCMS,elk1997/TypiCMS,omusico/TypiCMS
php
## Code Before: @if(count($files)) <div class="row"> @foreach($files as $file) <div class="col-sm-3 col-md-2 col-xs-4"> <a href="{{ '/'.$file->path.'/'.$file->filename }}" class="thumbnail fancybox" rel="gallery"> <img src="{{ Croppa::url('/'.$file->path.'/'.$file->filename, 310, 310) }}" alt="{{ $file->alt...
83948474fe20d9d6b45fe5a9ce03b9dfaa7f28bd
mirrit/web/templates/index.html
mirrit/web/templates/index.html
{% extends "base.html" %} {% block body_content %} {% if g.user %} hi {{ g.user.username }}! {% if not g.user.github_access_token %} <p>Auth with <a href="{{ url_for('github_auth') }}">GitHub</a></p> {% else %} <h3>github repos</h3> <ul> {% for repo in github_repos %} <li><a href="{{ repo.url }}">{{ repo.full...
{% extends "base.html" %} {% block body_content %} {% if g.user %} hi {{ g.user.username }}! {% if not g.user.github_access_token %} <p>Auth with <a href="{{ url_for('github_auth') }}">GitHub</a></p> {% else %} <h3>github repos</h3> <ul> {% for repo in github_repos %} <li><a href="{{ repo.url }}">{{ repo.full...
Add track/untrack buttons besides repos
Add track/untrack buttons besides repos
HTML
bsd-3-clause
1stvamp/mirrit
html
## Code Before: {% extends "base.html" %} {% block body_content %} {% if g.user %} hi {{ g.user.username }}! {% if not g.user.github_access_token %} <p>Auth with <a href="{{ url_for('github_auth') }}">GitHub</a></p> {% else %} <h3>github repos</h3> <ul> {% for repo in github_repos %} <li><a href="{{ repo.url ...
7a936665eff8a6a8f6889334ad2238cbfcded18b
member.py
member.py
import requests from credentials import label_id from gmailauth import refresh access_token = refresh() headers = {'Authorization': ('Bearer ' + access_token)} def list_messages(headers): params = {'labelIds': label_id, 'q': 'newer_than:3d'} r = requests.get('https://www.googleapis.com/gmail/v1/users...
import requests from base64 import urlsafe_b64decode from credentials import label_id, url1, url2 from gmailauth import refresh # access_token = refresh() headers = {'Authorization': ('Bearer ' + access_token)} def list_messages(headers): params = {'labelIds': label_id, 'q': 'newer_than:2d'} r = requ...
Return the order details URL from email body.
Return the order details URL from email body. There is currently no Agile API method that will return the order details for an activity so the URL from the email must be used in conjunction with a web scraper to get the relevant details.
Python
mit
deadlyraptor/reels
python
## Code Before: import requests from credentials import label_id from gmailauth import refresh access_token = refresh() headers = {'Authorization': ('Bearer ' + access_token)} def list_messages(headers): params = {'labelIds': label_id, 'q': 'newer_than:3d'} r = requests.get('https://www.googleapis.co...
deaea4fc28155e1854c7ab5257127b31d8f1fb2b
app/models/chouette/timeband.rb
app/models/chouette/timeband.rb
module Chouette class TimebandValidator < ActiveModel::Validator def validate(record) if record.end_time <= record.start_time record.errors[:end_time] << I18n.t('activerecord.errors.models.timeband.start_must_be_before_end') end end end class Timeband < Chouette::TridentActiveRecord ...
module Chouette class TimebandValidator < ActiveModel::Validator def validate(record) if record.end_time <= record.start_time record.errors[:end_time] << I18n.t('activerecord.errors.models.timeband.start_must_be_before_end') end end end class Timeband < Chouette::TridentActiveRecord ...
Add default order for Timebands
Add default order for Timebands
Ruby
mit
afimb/ninoxe,afimb/ninoxe,afimb/ninoxe
ruby
## Code Before: module Chouette class TimebandValidator < ActiveModel::Validator def validate(record) if record.end_time <= record.start_time record.errors[:end_time] << I18n.t('activerecord.errors.models.timeband.start_must_be_before_end') end end end class Timeband < Chouette::Trid...
2829d090861b23edf73b109b5ea5bfb765120d09
css/main.css
css/main.css
body { margin: 60px auto; width: 70%; } nav ul, footer ul { font-family:'Helvetica', 'Arial', 'Sans-Serif'; padding: 0px; list-style: none; font-weight: bold; font-size: .9em; color: red; } nav ul li, footer ul li { display: inline; margin-right: 20px; } a { text-decoration: ...
body { margin: 60px auto; width: 70%; } nav ul, footer ul { font-family:'Helvetica', 'Arial', 'Sans-Serif'; padding: 0px; list-style: none; font-weight: bold; font-size: .9em; color: red; } nav ul li, footer ul li { display: inline; margin-right: 20px; } a { text-decoration: ...
Add horizontal divider between posts
Add horizontal divider between posts
CSS
mit
yviedev/yviedev.github.io,yviedev/yviedev.github.io,yviedev/yviedev.github.io,yviedev/yviedev.github.io
css
## Code Before: body { margin: 60px auto; width: 70%; } nav ul, footer ul { font-family:'Helvetica', 'Arial', 'Sans-Serif'; padding: 0px; list-style: none; font-weight: bold; font-size: .9em; color: red; } nav ul li, footer ul li { display: inline; margin-right: 20px; } a { t...
551ab867bb88315683d972cecd31b3d22b16712c
tox.ini
tox.ini
[tox] envlist = py35,docs [testenv] deps = --no-deps --requirement {toxinidir}/requirements-dev.txt commands = paver test_all [testenv:docs] basepython = python commands = paver doc_html [flake8] exclude = docs/*,venv/*
[tox] envlist = py35,docs [testenv] deps = --no-deps --requirement {toxinidir}/requirements-dev.txt commands = paver test_all [testenv:docs] basepython = python commands = paver doc_html [flake8] exclude = docs/*,venv/*,pavement.py
Exclude pavement.py from style checks.
Exclude pavement.py from style checks.
INI
mit
abalkin/tz
ini
## Code Before: [tox] envlist = py35,docs [testenv] deps = --no-deps --requirement {toxinidir}/requirements-dev.txt commands = paver test_all [testenv:docs] basepython = python commands = paver doc_html [flake8] exclude = docs/*,venv/* ## Instruction: Exclude pavement.py from style checks. ## Code ...
962d817864dfe0808d7ba530239a8eeb4071b1a5
.vscode/extensions.json
.vscode/extensions.json
{ // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp // List of extensions which should be recommended for users of this workspace., "recommendations": [ "dbaeumer.vscode-eslint", ...
{ // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp // List of extensions which should be recommended for users of this workspace., "recommendations": [ "dbaeumer.vscode-eslint", ...
Add dotenv vscode extension to recommendations
Add dotenv vscode extension to recommendations
JSON
mit
AzureAD/microsoft-authentication-library-for-js,AzureAD/microsoft-authentication-library-for-js,AzureAD/microsoft-authentication-library-for-js,AzureAD/microsoft-authentication-library-for-js,AzureAD/microsoft-authentication-library-for-js,AzureAD/microsoft-authentication-library-for-js,AzureAD/microsoft-authentication...
json
## Code Before: { // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp // List of extensions which should be recommended for users of this workspace., "recommendations": [ "dbaeumer.vscod...
5f46a311c8b26ab6379657bb741804f8a348fa82
README.md
README.md
Tips and notes I find useful for me
Tips and notes I find useful for me ## License [![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/)
Add Creative Commons license logo
Add Creative Commons license logo
Markdown
cc0-1.0
erictleung/programming-notes,erictleung/programming-notes,erictleung/programming-notes,erictleung/programming-notes,erictleung/programming-notes,erictleung/programming-notes,erictleung/programming-notes,erictleung/programming-notes,erictleung/programming-notes
markdown
## Code Before: Tips and notes I find useful for me ## Instruction: Add Creative Commons license logo ## Code After: Tips and notes I find useful for me ## License [![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/)
882a77236113c62a94982086482a583514965e1f
common-functions.sh
common-functions.sh
set -eu # Escape code esc=$(echo -en "\033") info="${esc}[0;33m" normal=$(echo -en "${esc}[m\017") java -version 2>&1 | grep -q '"9' || (echo "**** Fix your PATH! ****" && java -version && exit 1) runTree() { if [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] ; then cmd //c "tree /f /a $1" else ...
set -eu # Escape code esc=$(echo -en "\033") info="${esc}[0;33m" normal=$(echo -en "${esc}[m\017") java -version 2>&1 | grep -q '"9' || (echo "**** Fix your PATH! ****" && java -version && exit 1) javac -version 2>&1 | grep -q '9' || (echo "**** Fix your PATH! Cannot find command 'javac' (version 9) ****" && javac ...
Update the script that adds javac version checking
Update the script that adds javac version checking
Shell
cc0-1.0
neomatrix369/jdk9-jigsaw,AdoptOpenJDK/jdk9-jigsaw,AdoptOpenJDK/jdk9-jigsaw,AdoptOpenJDK/jdk9-jigsaw,neomatrix369/jdk9-jigsaw,neomatrix369/jdk9-jigsaw
shell
## Code Before: set -eu # Escape code esc=$(echo -en "\033") info="${esc}[0;33m" normal=$(echo -en "${esc}[m\017") java -version 2>&1 | grep -q '"9' || (echo "**** Fix your PATH! ****" && java -version && exit 1) runTree() { if [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]] ; then cmd //c "tree /f ...
d3b4fd52d0fcd61e4dbdb5ba30d1030a4e04198b
src/components/VmDisks/style.css
src/components/VmDisks/style.css
.disks-ul { list-style-type: none; display: inline; } .smaller { font-size: 75%; }
.disks-ul { list-style-type: none; display: inline; padding: 0; } .smaller { font-size: 75%; }
Remove padding in disks list in VmDetail
Remove padding in disks list in VmDetail
CSS
apache-2.0
matobet/ovirt-ui-components,matobet/ovirt-ui-components
css
## Code Before: .disks-ul { list-style-type: none; display: inline; } .smaller { font-size: 75%; } ## Instruction: Remove padding in disks list in VmDetail ## Code After: .disks-ul { list-style-type: none; display: inline; padding: 0; } .smaller { font-size: 75%; }
139e6acc19040d89f304875c533513c9651f2906
budget_proj/budget_app/filters.py
budget_proj/budget_app/filters.py
from django.db.models import CharField from django_filters import rest_framework as filters from . import models class DefaultFilterMeta: """ Set our default Filter configurations to DRY up the FilterSet Meta classes. """ # Let us filter by all fields except id exclude = ('id',) # We prefer ca...
from django.db.models import CharField from django_filters import rest_framework as filters from . import models class CustomFilterBase(filters.FilterSet): """ Extends Filterset to populate help_text from the associated model field. Works with swagger but not the builtin docs. """ @classmethod ...
Upgrade Filters fields to use docs from model fields
Upgrade Filters fields to use docs from model fields
Python
mit
jimtyhurst/team-budget,hackoregon/team-budget,hackoregon/team-budget,hackoregon/team-budget,jimtyhurst/team-budget,jimtyhurst/team-budget
python
## Code Before: from django.db.models import CharField from django_filters import rest_framework as filters from . import models class DefaultFilterMeta: """ Set our default Filter configurations to DRY up the FilterSet Meta classes. """ # Let us filter by all fields except id exclude = ('id',) ...
28607d4d8237d0b7b536b9e5ab95a1fc8bd5abf0
index.html
index.html
--- layout: default title: Civic Hacking in Burlington, VT --- <header id="overview" class="code-for-btv"> <h1>Code for BTV</h1> <h2>A Code for America Brigade</h2> <p>Join over 50 developers, technology integrators, designers and hackers of all types in building and maintaining <a href="#projects">civic so...
--- layout: default title: Civic Hacking in Burlington, VT --- <header id="overview" class="code-for-btv"> <h1>Code for BTV</h1> <h2>A Code for America Brigade</h2> <p>Join over 50 developers, technology integrators, designers and hackers of all types in building and maintaining <a href="#projects">civic so...
Remove sections about upcoming event.
Remove sections about upcoming event.
HTML
bsd-3-clause
nfloersch/codeforbtv.github.com,nfloersch/codeforbtv.github.com,nfloersch/codeforbtv.github.com
html
## Code Before: --- layout: default title: Civic Hacking in Burlington, VT --- <header id="overview" class="code-for-btv"> <h1>Code for BTV</h1> <h2>A Code for America Brigade</h2> <p>Join over 50 developers, technology integrators, designers and hackers of all types in building and maintaining <a href="#pr...
6a4331e829b79f6551f700572c94cac955ffae75
indexer.ini
indexer.ini
[program:indexer] directory=/var/index-service command=/var/index-service/venv/bin/python index_service.py stdout_logfile=/var/log/indexer-stdout.log autostart=true autorestart=true startretries=3
[program:indexer] directory=/var/index-service command=/var/index-service/venv/bin/python index_service.py stdout_logfile=/var/log/indexer-stdout.log stderr_logfile=/var/log/indexer-stderr.log autostart=true autorestart=true startretries=3
Make sure that all errors generated by the service is logged.
Make sure that all errors generated by the service is logged.
INI
mit
microserv/index-service
ini
## Code Before: [program:indexer] directory=/var/index-service command=/var/index-service/venv/bin/python index_service.py stdout_logfile=/var/log/indexer-stdout.log autostart=true autorestart=true startretries=3 ## Instruction: Make sure that all errors generated by the service is logged. ## Code After: [program:ind...
8fc9bb7f764a3b1eae032d93c48d31e69c7068d9
notifier/templates/digest-email.txt
notifier/templates/digest-email.txt
* {{ title }} * {{ description }} --- Hi {{ user.name }}, You have {{thread_count}} discussion thread{% if thread_count > 1 %}s{% endif %} with updates {% if course_count > 1 %}across{% else %}in{% endif %} {{course_names}}. The most recent highlights are shown below. As a reminder, you can turn off all discussion ...
* {{ title }} * {{ description }} --- Hi {{ user.name }}, You have {{thread_count}} discussion thread{% if thread_count > 1 %}s{% endif %} with updates {% if course_count > 1 %}across{% else %}in{% endif %} {{course_names}}. The most recent highlights are shown below. As a reminder, you can turn off all discussion ...
Update plaintext email template to match HTML
Update plaintext email template to match HTML
Text
agpl-3.0
edx/notifier,Stanford-Online/notifier,EDUlib/notifier,edx/notifier,EDUlib/notifier,Stanford-Online/notifier,nttks/notifier
text
## Code Before: * {{ title }} * {{ description }} --- Hi {{ user.name }}, You have {{thread_count}} discussion thread{% if thread_count > 1 %}s{% endif %} with updates {% if course_count > 1 %}across{% else %}in{% endif %} {{course_names}}. The most recent highlights are shown below. As a reminder, you can turn off...
c6bc46466f1e3789c91e6b8eabab772cac42710f
postgres-docker/update_common.sh
postgres-docker/update_common.sh
curl -o common.sh https://raw.githubusercontent.com/sclorg/postgresql-container/master/9.4/root/usr/share/container-scripts/postgresql/common.sh && patch common.sh < multiple_dbs.patch
curl -o common.sh https://raw.githubusercontent.com/sclorg/postgresql-container/master/9.4/root/usr/share/container-scripts/postgresql/common.sh && patch < multiple_dbs.patch
Remove specifing of file to patch
[Postgres] Remove specifing of file to patch
Shell
apache-2.0
jpopelka/fabric8-analytics-common,jpopelka/fabric8-analytics-common,tisnik/fabric8-analytics-common,tisnik/fabric8-analytics-common,jpopelka/fabric8-analytics-common,tisnik/fabric8-analytics-common
shell
## Code Before: curl -o common.sh https://raw.githubusercontent.com/sclorg/postgresql-container/master/9.4/root/usr/share/container-scripts/postgresql/common.sh && patch common.sh < multiple_dbs.patch ## Instruction: [Postgres] Remove specifing of file to patch ## Code After: curl -o common.sh https://raw.githubuser...
925706f9e892eb1fbdf4e08a954acb193886bb70
tasks/browser_extension.js
tasks/browser_extension.js
/* * grunt-browser-extension * https://github.com/addmitriev/grunt-browser-extension * * Copyright (c) 2015 Aleksey Dmitriev * Licensed under the MIT license. */ 'use strict'; var util = require('util'); var path = require('path'); var fs = require('fs-extra'); module.exports = function (grunt) { var Brows...
/* * grunt-browser-extension * https://github.com/addmitriev/grunt-browser-extension * * Copyright (c) 2015 Aleksey Dmitriev * Licensed under the MIT license. */ 'use strict'; var util = require('util'); var path = require('path'); var fs = require('fs-extra'); module.exports = function (grunt) { var Brows...
Check config and show what required options not exists
Check config and show what required options not exists
JavaScript
mit
Tuguusl/grunt-browser-extension,Tuguusl/grunt-browser-extension
javascript
## Code Before: /* * grunt-browser-extension * https://github.com/addmitriev/grunt-browser-extension * * Copyright (c) 2015 Aleksey Dmitriev * Licensed under the MIT license. */ 'use strict'; var util = require('util'); var path = require('path'); var fs = require('fs-extra'); module.exports = function (grunt)...
f34a5d682832749dbf0011d162bf4c7c18892b45
zerver/apps.py
zerver/apps.py
import logging from typing import Any, Dict from django.apps import AppConfig from django.conf import settings from django.core.cache import cache from django.db.models.signals import post_migrate def flush_cache(sender: AppConfig, **kwargs: Any) -> None: logging.info("Clearing memcached cache after migrations")...
import logging from typing import Any, Dict from django.apps import AppConfig from django.conf import settings from django.core.cache import cache from django.db.models.signals import post_migrate def flush_cache(sender: AppConfig, **kwargs: Any) -> None: logging.info("Clearing memcached cache after migrations")...
Document the weird unused import for signal registration.
signals: Document the weird unused import for signal registration.
Python
apache-2.0
timabbott/zulip,tommyip/zulip,zulip/zulip,andersk/zulip,andersk/zulip,eeshangarg/zulip,kou/zulip,eeshangarg/zulip,eeshangarg/zulip,showell/zulip,brainwane/zulip,andersk/zulip,rishig/zulip,synicalsyntax/zulip,andersk/zulip,tommyip/zulip,hackerkid/zulip,kou/zulip,zulip/zulip,showell/zulip,eeshangarg/zulip,shubhamdhama/zu...
python
## Code Before: import logging from typing import Any, Dict from django.apps import AppConfig from django.conf import settings from django.core.cache import cache from django.db.models.signals import post_migrate def flush_cache(sender: AppConfig, **kwargs: Any) -> None: logging.info("Clearing memcached cache af...
9cb1d45196b7e36055396fd6e2c661cb8dce5eb6
docs/source/releases.rst
docs/source/releases.rst
====================== Release Notes ====================== v0.1 ------- * TODO
====================== Release Notes ====================== Release 0.2 ----------- * Brings in dynd as a required dependency for in-memory data. Release 0.1 ----------- * Initial preview release
Add some minimal release notes
Add some minimal release notes
reStructuredText
bsd-3-clause
xlhtc007/blaze,mwiebe/blaze,ContinuumIO/blaze,ChinaQuants/blaze,nkhuyu/blaze,cowlicks/blaze,FrancescAlted/blaze,maxalbert/blaze,caseyclements/blaze,jcrist/blaze,mwiebe/blaze,aterrel/blaze,AbhiAgarwal/blaze,ContinuumIO/blaze,nkhuyu/blaze,maxalbert/blaze,AbhiAgarwal/blaze,cpcloud/blaze,markflorisson/blaze-core,dwillmer/b...
restructuredtext
## Code Before: ====================== Release Notes ====================== v0.1 ------- * TODO ## Instruction: Add some minimal release notes ## Code After: ====================== Release Notes ====================== Release 0.2 ----------- * Brings in dynd as a required dependency for in-memory data. Releas...
478d731771bf7889d944ccc175fec0bdadaed57e
includes/ThanksLogFormatter.php
includes/ThanksLogFormatter.php
<?php /** * This class formats log entries for thanks */ class ThanksLogFormatter extends LogFormatter { /** * @inheritDoc * @suppress SecurityCheck-DoubleEscaped Problem with makeUserLink, see T201565 */ protected function getMessageParameters() { $params = parent::getMessageParameters(); // Convert targ...
<?php /** * This class formats log entries for thanks */ class ThanksLogFormatter extends LogFormatter { /** * @inheritDoc */ protected function getMessageParameters() { $params = parent::getMessageParameters(); // Convert target from a pageLink to a userLink since the target is // actually a user, not a ...
Remove unneccessary @suppress after phan-taint-check-plugin upgrade
Remove unneccessary @suppress after phan-taint-check-plugin upgrade Bug: T201565 Change-Id: Ib35e55e5bebbb7dc6ca8ef4f08b519ec2065037b
PHP
mit
wikimedia/mediawiki-extensions-Thanks,wikimedia/mediawiki-extensions-Thanks,wikimedia/mediawiki-extensions-Thanks
php
## Code Before: <?php /** * This class formats log entries for thanks */ class ThanksLogFormatter extends LogFormatter { /** * @inheritDoc * @suppress SecurityCheck-DoubleEscaped Problem with makeUserLink, see T201565 */ protected function getMessageParameters() { $params = parent::getMessageParameters(); ...
8c1899b772a1083ce739e237990652b73b41a48d
src/apps/investment-projects/constants.js
src/apps/investment-projects/constants.js
const { concat } = require('lodash') const currentYear = (new Date()).getFullYear() const GLOBAL_NAV_ITEM = { path: '/investment-projects', label: 'Investment projects', permissions: [ 'investment.read_associated_investmentproject', 'investment.read_all_investmentproject', ], order: 5, } const LOCA...
const { concat } = require('lodash') const GLOBAL_NAV_ITEM = { path: '/investment-projects', label: 'Investment projects', permissions: [ 'investment.read_associated_investmentproject', 'investment.read_all_investmentproject', ], order: 5, } const LOCAL_NAV = [ { path: 'details', label: 'P...
Remove preset date filters in investment collection
Remove preset date filters in investment collection
JavaScript
mit
uktrade/data-hub-frontend,uktrade/data-hub-frontend,uktrade/data-hub-fe-beta2,uktrade/data-hub-fe-beta2,uktrade/data-hub-frontend
javascript
## Code Before: const { concat } = require('lodash') const currentYear = (new Date()).getFullYear() const GLOBAL_NAV_ITEM = { path: '/investment-projects', label: 'Investment projects', permissions: [ 'investment.read_associated_investmentproject', 'investment.read_all_investmentproject', ], order: ...
e724792e0958efb4ccba0fbd91ae8759b0bc539a
test/tc_send_incremental.rb
test/tc_send_incremental.rb
require 'stringio' require 'common/send_incrementally' module TestIncrementalSend def test_send file = "data/noyes/noyes.flac" to_server = StringIO.new 'wb' from_server = StringIO.new 'dummy result' result = send_incremental_features file, to_server, from_server raw_data = to_server.string ass...
require 'stringio' require 'common/send_incrementally' module TestIncrementalSend def test_send file = "data/noyes/noyes.flac" to_server = StringIO.new 'wb' from_server = StringIO.new 'dummy result' result = send_incremental_features file, to_server, from_server, 16, 8000 raw_data = to_server.stri...
Send test now reflects additional parameters to incremental send.
Send test now reflects additional parameters to incremental send.
Ruby
bsd-2-clause
talkhouse/noyes,talkhouse/noyes,talkhouse/noyes
ruby
## Code Before: require 'stringio' require 'common/send_incrementally' module TestIncrementalSend def test_send file = "data/noyes/noyes.flac" to_server = StringIO.new 'wb' from_server = StringIO.new 'dummy result' result = send_incremental_features file, to_server, from_server raw_data = to_serve...
fa7172a5e3231e738d85df3baba130fdec7497d1
derrida/outwork/views.py
derrida/outwork/views.py
from django.views.generic import ListView from haystack.query import SearchQuerySet from haystack.inputs import Clean from derrida.outwork.models import Outwork class OutworkListView(ListView): model = Outwork template_name = 'outwork/outwork_list.html' paginate_by = 16 def get_queryset(self): ...
from django.views.generic import ListView from haystack.query import SearchQuerySet from haystack.inputs import Clean, Raw from derrida.outwork.models import Outwork class OutworkListView(ListView): model = Outwork template_name = 'outwork/outwork_list.html' paginate_by = 16 def get_queryset(self): ...
Fix outwork list view to properly filter on published=true in Solr
Fix outwork list view to properly filter on published=true in Solr
Python
apache-2.0
Princeton-CDH/derrida-django,Princeton-CDH/derrida-django,Princeton-CDH/derrida-django,Princeton-CDH/derrida-django
python
## Code Before: from django.views.generic import ListView from haystack.query import SearchQuerySet from haystack.inputs import Clean from derrida.outwork.models import Outwork class OutworkListView(ListView): model = Outwork template_name = 'outwork/outwork_list.html' paginate_by = 16 def get_query...
cdf68537202f35f2bb42c33088d33f18820169f0
app/assets/javascripts/lib/router.coffee
app/assets/javascripts/lib/router.coffee
class @Router extends Backbone.Router routes: "demand/:sidebar(/:slide)" : "demand" "costs/:sidebar(/:slide)" : "costs" "overview/:sidebar(/:slide)": "overview" "supply/:sidebar(/:slide)" : "supply" "flexibility/:sidebar(/:slide)" : "flexibility" "data/:sidebar(/:slide)" : "data" "report"...
class @Router extends Backbone.Router routes: "report" : "report" ":tab/:sidebar(/:slide)" : "load_slides" "" : "load_default_slides" report: => # pass load_slides: (tab, sidebar, slide) -> url = "/scenario/#{_.compact([tab, sidebar, slide]).join('/')}" $.ajax url: url da...
Remove redudant routes to support the new "overview" section
Remove redudant routes to support the new "overview" section
CoffeeScript
mit
quintel/etmodel,quintel/etmodel,quintel/etmodel,quintel/etmodel
coffeescript
## Code Before: class @Router extends Backbone.Router routes: "demand/:sidebar(/:slide)" : "demand" "costs/:sidebar(/:slide)" : "costs" "overview/:sidebar(/:slide)": "overview" "supply/:sidebar(/:slide)" : "supply" "flexibility/:sidebar(/:slide)" : "flexibility" "data/:sidebar(/:slide)" : "da...
c538b138137b3be1563e64756cf5e8dc4977282a
metadata/me.ccrama.redditslide.txt
metadata/me.ccrama.redditslide.txt
Categories:Reading,Internet License:GPLv3 Web Site:https://github.com/ccrama/Slide/blob/HEAD/README.md Source Code:https://github.com/ccrama/Slide Issue Tracker:https://github.com/ccrama/Slide/issues Changelog:https://github.com/ccrama/Slide/blob/HEAD/CHANGELOG.md Name:Slide Summary:Companion app for reddit Descriptio...
Categories:Reading,Internet License:GPLv3 Web Site:https://github.com/ccrama/Slide/blob/HEAD/README.md Source Code:https://github.com/ccrama/Slide Issue Tracker:https://github.com/ccrama/Slide/issues Changelog:https://github.com/ccrama/Slide/blob/HEAD/CHANGELOG.md Name:Slide Summary:Companion app for reddit Descriptio...
Update Slide to 5.3 (175)
Update Slide to 5.3 (175)
Text
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata,f-droid/fdroid-data
text
## Code Before: Categories:Reading,Internet License:GPLv3 Web Site:https://github.com/ccrama/Slide/blob/HEAD/README.md Source Code:https://github.com/ccrama/Slide Issue Tracker:https://github.com/ccrama/Slide/issues Changelog:https://github.com/ccrama/Slide/blob/HEAD/CHANGELOG.md Name:Slide Summary:Companion app for r...
197e27200e8d22a0d912dfceda846bb1ea6a402d
src/main/scala/modules/counter/guice/modules/CounterModule.scala
src/main/scala/modules/counter/guice/modules/CounterModule.scala
package modules.counter.guice.modules import akka.actor.{ActorRef, ActorSystem} import com.google.inject.name.Named import com.google.inject.{AbstractModule, Provides, Singleton} import core.services.persistence.PersistenceCleanup import modules.counter.services.count.CounterPersistentActor import net.codingwell.scala...
package modules.counter.guice.modules import akka.actor.{ActorRef, ActorSystem} import com.google.inject.Provides import com.google.inject.name.Named import modules.counter.repositories.{CounterRepo, CounterRepoImpl} import modules.counter.services.count.CounterActor import net.codingwell.scalaguice.ScalaModule impor...
Add bind of 'CounterRepo' to implementation
Add bind of 'CounterRepo' to implementation
Scala
mit
sysgears/apollo-universal-starter-kit,sysgears/apollo-universal-starter-kit,sysgears/apollo-fullstack-starter-kit,sysgears/apollo-universal-starter-kit,sysgears/apollo-universal-starter-kit
scala
## Code Before: package modules.counter.guice.modules import akka.actor.{ActorRef, ActorSystem} import com.google.inject.name.Named import com.google.inject.{AbstractModule, Provides, Singleton} import core.services.persistence.PersistenceCleanup import modules.counter.services.count.CounterPersistentActor import net....
d6216cf52503ade30db3beb54ba2ebfb3b94312f
.stickler.yml
.stickler.yml
linters: flake8: python: 3 max-line-length: 79 select: C,E,F,W,B,B950 ignore: E203, E501, W503 black: config: ./pyproject.toml fixer: true fixers: enable: true
linters: flake8: python: 3 max-line-length: 79 select: C,E,F,W,B,B950 ignore: E203, E501, W503 per-file-ignores: __init__.py:F401 black: config: ./pyproject.toml fixer: true fixers: enable: true
Change config file to ignore unused imports in __init__.py
Change config file to ignore unused imports in __init__.py
YAML
mit
wind-python/windpowerlib
yaml
## Code Before: linters: flake8: python: 3 max-line-length: 79 select: C,E,F,W,B,B950 ignore: E203, E501, W503 black: config: ./pyproject.toml fixer: true fixers: enable: true ## Instruction: Change config file to ignore unused imports in __init__.py ## Code After: lin...
2cdbe0ca000ec0c5389b9a82015a2319877481f3
app.json
app.json
{ "name": "Webhook Slackbot", "description": "A Slackbot that listens to a channel and sends the full message as a webhook", "repository": "https://github.com/brett-hobbs/webhook-slackbot", "success_url": "/", "env": { "SLACK_TOKEN": { "description": "Slack bot RTM API token", "required": true...
{ "name": "Webhook Slackbot", "description": "A Slackbot that listens to a channel and sends the full message as a webhook", "repository": "https://github.com/brett-hobbs/webhook-slackbot", "success_url": "/", "env": { "SLACK_TOKEN": { "description": "Slack bot RTM API token", "required": true...
Add information about env variables
Add information about env variables
JSON
mit
brett-hobbs/webhook-slackbot
json
## Code Before: { "name": "Webhook Slackbot", "description": "A Slackbot that listens to a channel and sends the full message as a webhook", "repository": "https://github.com/brett-hobbs/webhook-slackbot", "success_url": "/", "env": { "SLACK_TOKEN": { "description": "Slack bot RTM API token", ...
8b3b7a09aa57d39b836d1f66e6ec760d804c0903
.github/workflows/release.yml
.github/workflows/release.yml
name: "Automated releases" on: pull_request_review: schedule: # "At 00:00 on Sunday" (https://crontab.guru/once-a-week) - cron: "0 0 * * 0" jobs: release: runs-on: ubuntu-latest steps: - uses: simple-icons/release-action@master with: repo-token: "${{ secrets.GITHUB_TOKEN }}"
name: "Automated releases" on: pull_request_review: types: [submitted] schedule: # "At 00:00 on Sunday" (https://crontab.guru/once-a-week) - cron: "0 0 * * 0" jobs: release: runs-on: ubuntu-latest steps: - uses: simple-icons/release-action@master with: repo-token: "${{ secre...
Reduce number of PR review GH Actions runs
Reduce number of PR review GH Actions runs
YAML
cc0-1.0
simple-icons/simple-icons,danleech/simpleicons.org,danleech/simple-icons,danleech/simpleicons.org,simple-icons/simple-icons
yaml
## Code Before: name: "Automated releases" on: pull_request_review: schedule: # "At 00:00 on Sunday" (https://crontab.guru/once-a-week) - cron: "0 0 * * 0" jobs: release: runs-on: ubuntu-latest steps: - uses: simple-icons/release-action@master with: repo-token: "${{ secrets.GITH...
7a9dbd45a221a1ce1b4405965de891e21bd2362c
robots.txt
robots.txt
User-agent: * Disallow: /morfy/ Disallow: /plugins/ Disallow: /config/
User-agent: * Disallow: /morfy/ Disallow: /plugins/ Disallow: /config/ Disallow: /vendor/
Add /vendor/ folder to Disallow
Add /vendor/ folder to Disallow
Text
mit
morfy-cms/morfy,fansoro/fansoro
text
## Code Before: User-agent: * Disallow: /morfy/ Disallow: /plugins/ Disallow: /config/ ## Instruction: Add /vendor/ folder to Disallow ## Code After: User-agent: * Disallow: /morfy/ Disallow: /plugins/ Disallow: /config/ Disallow: /vendor/
f33c03e6b3dc9f44fb6c028792b527359b3eaf5a
backend/app/assets/stylesheets/spree/backend/sections/_log_entries.scss
backend/app/assets/stylesheets/spree/backend/sections/_log_entries.scss
.log_entry { &.success { background: lighten($color-primary, 15); td h4 { color: darken($body-color, 25); i { color: $color-2; } } } &.fail { background: lighten($color-red, 25); td h4 { color: lighten($body-color, 50); i { color: $color-5; } } } }
.log_entry { &.success { background: lighten($color-primary, 15); td h4 { color: darken($body-color, 25); i { color: $color-primary; } } } &.fail { background: lighten($color-red, 25); td h4 { color: lighten($body-color, 50); i { color: $color-r...
Fix indentation on a scss partial
Fix indentation on a scss partial
SCSS
bsd-3-clause
pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus
scss
## Code Before: .log_entry { &.success { background: lighten($color-primary, 15); td h4 { color: darken($body-color, 25); i { color: $color-2; } } } &.fail { background: lighten($color-red, 25); td h4 { color: lighten($body-color, 50); i { color: $color-5; ...
f8ca82f9a6790ca823a59fa6e436b85251d263ed
requirements.txt
requirements.txt
Flask==0.8 Flask-SQLAlchemy==0.16 Flask-Script==0.3.3 Jinja2==2.6 SQLAlchemy==0.7.7 Werkzeug==0.8.3 amqplib==1.0.2 anyjson==0.3.1 argparse==1.2.1 kombu==2.1.8 lxml==2.3.4 python-dateutil==1.5 wsgiref==0.1.2 ckan ckanclient pika==0.9.13 supervisor foxpath>=0.99.15 psycopg2 unicodecsv openpyxl Flask-Login==0.1.3 flask-pr...
Flask==0.8 Flask-SQLAlchemy==0.16 Flask-Script==0.3.3 Jinja2==2.6 SQLAlchemy==1.0.8 Werkzeug==0.8.3 amqplib==1.0.2 anyjson==0.3.1 argparse==1.2.1 kombu==2.1.8 lxml==2.3.4 python-dateutil==1.5 wsgiref==0.1.2 ckan ckanclient pika==0.9.13 supervisor foxpath>=0.99.15 psycopg2 unicodecsv openpyxl Flask-Login==0.1.3 flask-pr...
Upgrade & pin SQLAlchemy and SQLAlchemy-Utils
Upgrade & pin SQLAlchemy and SQLAlchemy-Utils
Text
agpl-3.0
pwyf/IATI-Data-Quality,pwyf/IATI-Data-Quality,pwyf/IATI-Data-Quality,pwyf/IATI-Data-Quality
text
## Code Before: Flask==0.8 Flask-SQLAlchemy==0.16 Flask-Script==0.3.3 Jinja2==2.6 SQLAlchemy==0.7.7 Werkzeug==0.8.3 amqplib==1.0.2 anyjson==0.3.1 argparse==1.2.1 kombu==2.1.8 lxml==2.3.4 python-dateutil==1.5 wsgiref==0.1.2 ckan ckanclient pika==0.9.13 supervisor foxpath>=0.99.15 psycopg2 unicodecsv openpyxl Flask-Login...
2fec85efc5e87251dccde698b844e5d4f0580a0b
README.md
README.md
Keep your git repos organized
**gitdir** is a system that helps you keep your git repositories organized. It is *not* a git workflow, and works with different (but not all) workflows. Gitdir is the successor to [hubdir](https://github.com/fenhl/hubdir), generalized to allow working with repositories that are not hosted on github. This is gitdir ve...
Add readme, migrated from hubdir
Add readme, migrated from hubdir
Markdown
mit
fenhl/gitdir
markdown
## Code Before: Keep your git repos organized ## Instruction: Add readme, migrated from hubdir ## Code After: **gitdir** is a system that helps you keep your git repositories organized. It is *not* a git workflow, and works with different (but not all) workflows. Gitdir is the successor to [hubdir](https://github.com...
1c302f4d57e540d4b12366db77548ca94bf89a61
www/loglook.css
www/loglook.css
/* CSS almost completely taken from T-M at www.moronic-works.co.uk with same adaptions and additions*/ tr:nth-child(odd) { background: #EEE; } tr:nth-child(even) { background: #DDD; } td { max-width: 900px; } .log { border-collapse: collapse; font-family: monospace; font-size: 14px; } .user { font-weight: bold;...
/* CSS almost completely taken from T-M at www.moronic-works.co.uk with same adaptions and additions*/ tr:nth-child(odd) { background: #EEE; } tr:nth-child(even) { background: #DDD; } td { max-width: 900px; } .log { border-collapse: collapse; font-family: monospace; font-size: 14px; } .user { font-weight: bold;...
Make timestamp anchors stand out less
Make timestamp anchors stand out less
CSS
mit
Heufneutje/RE_HeufyBot,Heufneutje/RE_HeufyBot
css
## Code Before: /* CSS almost completely taken from T-M at www.moronic-works.co.uk with same adaptions and additions*/ tr:nth-child(odd) { background: #EEE; } tr:nth-child(even) { background: #DDD; } td { max-width: 900px; } .log { border-collapse: collapse; font-family: monospace; font-size: 14px; } .user { fo...
d185407ac4caf5648ef4c12eab83fec81c307407
tests/test_trackable.py
tests/test_trackable.py
import pytest from utils import authenticate, logout pytestmark = pytest.mark.trackable() def test_trackable_flag(app, client): e = 'matt@lp.com' authenticate(client, email=e) logout(client) authenticate(client, email=e) with app.app_context(): user = app.security.datastore.find_user(e...
import pytest from utils import authenticate, logout pytestmark = pytest.mark.trackable() def test_trackable_flag(app, client): e = 'matt@lp.com' authenticate(client, email=e) logout(client) authenticate(client, email=e, headers={'X-Forwarded-For': '127.0.0.1'}) with app.app_context(): ...
Add mock X-Forwarded-For header in trackable tests
Add mock X-Forwarded-For header in trackable tests
Python
mit
pawl/flask-security,reustle/flask-security,jonafato/flask-security,asmodehn/flask-security,quokkaproject/flask-security,LeonhardPrintz/flask-security-fork,dommert/flask-security,LeonhardPrintz/flask-security-fork,fuhrysteve/flask-security,CodeSolid/flask-security,simright/flask-security,inveniosoftware/flask-security-f...
python
## Code Before: import pytest from utils import authenticate, logout pytestmark = pytest.mark.trackable() def test_trackable_flag(app, client): e = 'matt@lp.com' authenticate(client, email=e) logout(client) authenticate(client, email=e) with app.app_context(): user = app.security.datas...
7f71436ba8d4c879a945d4ba7d88a71f2dbe0a43
apps/crbug/bg.js
apps/crbug/bg.js
var qb; function launch() { if ( ! qb ) qb = QBug.create(); qb.launchBrowser(); // qb.launchBrowser('chromium'); } if ( chrome.app.runtime ) { ajsonp = (function() { var factory = OAuthXhrFactory.create({ authAgent: ChromeAuthAgent.create({}), responseType: "json" }); return function(ur...
var qb; function launch() { if ( ! qb ) qb = QBug.create(); qb.launchBrowser(); // qb.launchBrowser('chromium'); } if ( chrome.app.runtime ) { ajsonp = (function() { var factory = OAuthXhrFactory.create({ authAgent: ChromeAuthAgent.create({}), responseType: "json" }); return function(ur...
Add optional payload to ajsonp
Add optional payload to ajsonp
JavaScript
apache-2.0
osric-the-knight/foam,shepheb/foam,jacksonic/foam,shepheb/foam,foam-framework/foam,osric-the-knight/foam,jacksonic/foam,osric-the-knight/foam,foam-framework/foam,mdittmer/foam,mdittmer/foam,mdittmer/foam,shepheb/foam,jlhughes/foam,jlhughes/foam,jlhughes/foam,foam-framework/foam,jacksonic/foam,foam-framework/foam,mdittm...
javascript
## Code Before: var qb; function launch() { if ( ! qb ) qb = QBug.create(); qb.launchBrowser(); // qb.launchBrowser('chromium'); } if ( chrome.app.runtime ) { ajsonp = (function() { var factory = OAuthXhrFactory.create({ authAgent: ChromeAuthAgent.create({}), responseType: "json" }); re...
f623f37aeda0eb538f7fa71585c3f250d7ea83c5
metadata/org.tasks.txt
metadata/org.tasks.txt
Categories:Office License:GPLv3 Web Site:https://github.com/abaker/tasks Source Code:https://github.com/abaker/tasks Issue Tracker:https://github.com/abaker/tasks/issues Donate:https://pledgie.com/campaigns/24281 FlattrID:2308341 Auto Name:Tasks Summary:Fork of Astrid Tasks & To-Do List Description: This app is built ...
Categories:Office License:GPLv3 Web Site:https://github.com/abaker/tasks Source Code:https://github.com/abaker/tasks Issue Tracker:https://github.com/abaker/tasks/issues Donate:https://pledgie.com/campaigns/24281 FlattrID:2308341 Auto Name:Tasks Summary:Fork of Astrid Tasks & To-Do List Description: This app is built ...
Update Tasks to 4.6.17 (332)
Update Tasks to 4.6.17 (332)
Text
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata,f-droid/fdroid-data
text
## Code Before: Categories:Office License:GPLv3 Web Site:https://github.com/abaker/tasks Source Code:https://github.com/abaker/tasks Issue Tracker:https://github.com/abaker/tasks/issues Donate:https://pledgie.com/campaigns/24281 FlattrID:2308341 Auto Name:Tasks Summary:Fork of Astrid Tasks & To-Do List Description: Th...
67facc744dac98c6ced4e7b32ab253e2fb16b42e
CHANGELOG.md
CHANGELOG.md
First version of the OpenVeo project including the following features : - An HTTP Server with a basic front and backends - Connection to a MongoDB database to be used by plugins - A plugin manager to load plugins while starting the application - Internationalization
This version mainly includes corrections to be able to launch the application from outside its root directory or errors relative to Linux platforms. - Correct JavaScript error when starting the OpenVeo server on Linux relative to defaultController.js - Correct issues while launching the OpenVeo server from outside it...
Update change logs for version 0.0.2
Update change logs for version 0.0.2
Markdown
agpl-3.0
veo-labs/openveo-core,veo-labs/openveo-core,veo-labs/openveo-core
markdown
## Code Before: First version of the OpenVeo project including the following features : - An HTTP Server with a basic front and backends - Connection to a MongoDB database to be used by plugins - A plugin manager to load plugins while starting the application - Internationalization ## Instruction: Update change logs f...
04fcf7d4e4cb0abefd4f6bd4ab0c1b034d43c111
dbcollection/__init__.py
dbcollection/__init__.py
#from dbcollection import manager, utils # get version from ._version import __version__ # load API methods from .manager import load, download, process, add, remove, config_cache, query, info
#from dbcollection import manager, utils # get version from ._version import __version__ # load API methods from .manager import ( load, download, process, add, remove, config_cache, query, info)
Improve visually how methods are Imported
Improve visually how methods are Imported
Python
mit
farrajota/dbcollection,dbcollection/dbcollection
python
## Code Before: #from dbcollection import manager, utils # get version from ._version import __version__ # load API methods from .manager import load, download, process, add, remove, config_cache, query, info ## Instruction: Improve visually how methods are Imported ## Code After: #from dbcollection import mana...
265ec93cd2cb59badc8f95c26144905e73d91095
assets/src/InheritingClass.java
assets/src/InheritingClass.java
package THE_PACKAGE; import org.jruby.Ruby; import org.jruby.javasupport.util.RuntimeHelpers; import org.jruby.runtime.builtin.IRubyObject; import org.jruby.javasupport.JavaUtil; import org.jruby.exceptions.RaiseException; import org.ruboto.Script; public class THE_RUBOTO_CLASS THE_ACTION THE_ANDROID_CLASS { privat...
package THE_PACKAGE; import org.jruby.Ruby; import org.jruby.javasupport.util.RuntimeHelpers; import org.jruby.runtime.builtin.IRubyObject; import org.jruby.javasupport.JavaUtil; import org.jruby.exceptions.RaiseException; import org.ruboto.Script; public class THE_RUBOTO_CLASS THE_ACTION THE_ANDROID_CLASS { privat...
Add place to put constructors
Add place to put constructors
Java
mit
baberthal/ruboto,Jodell88/ruboto,lucasallan/ruboto,lucasallan/ruboto,ruboto/ruboto,Jodell88/ruboto,ruboto/ruboto,Jodell88/ruboto,lucasallan/ruboto,ruboto/ruboto,baberthal/ruboto,baberthal/ruboto
java
## Code Before: package THE_PACKAGE; import org.jruby.Ruby; import org.jruby.javasupport.util.RuntimeHelpers; import org.jruby.runtime.builtin.IRubyObject; import org.jruby.javasupport.JavaUtil; import org.jruby.exceptions.RaiseException; import org.ruboto.Script; public class THE_RUBOTO_CLASS THE_ACTION THE_ANDROID_...
d490b948e8363144decc5cd8b01df0d2748b90e3
fuzzers/075-pins/generate.tcl
fuzzers/075-pins/generate.tcl
create_project -force -part $::env(XRAY_PART) design design set_property design_mode PinPlanning [current_fileset] open_io_design -name io_1 set fp [open $::env(XRAY_PART)_package_pins.csv w] puts $fp "pin,site,tile" foreach pin [get_package_pins] { set site [get_sites -quiet -of_object $pin] if { $site == "" ...
create_project -force -part $::env(XRAY_PART) design design set_property design_mode PinPlanning [current_fileset] open_io_design -name io_1 set fp [open $::env(XRAY_PART)_package_pins.csv w] puts $fp "pin,site,tile,pin_function" foreach pin [get_package_pins] { set site [get_sites -quiet -of_object $pin] if {...
Add pin functions column to package pins output.
Add pin functions column to package pins output. This is required to know which pin is a PUDC pin, which requires special handling. Signed-off-by: Keith Rothman <1bc19627a439baf17510dc2d0b2d250c96d445a5@users.noreply.github.com>
Tcl
isc
SymbiFlow/prjxray,SymbiFlow/prjxray,SymbiFlow/prjxray,SymbiFlow/prjxray,SymbiFlow/prjxray
tcl
## Code Before: create_project -force -part $::env(XRAY_PART) design design set_property design_mode PinPlanning [current_fileset] open_io_design -name io_1 set fp [open $::env(XRAY_PART)_package_pins.csv w] puts $fp "pin,site,tile" foreach pin [get_package_pins] { set site [get_sites -quiet -of_object $pin] i...
4e323f80fc309e3ae68557a43e38fc2ac1397f8b
README.md
README.md
[![Build Status](https://travis-ci.org/msgehard/go-exercism.png?branch=master)](https://travis-ci.org/msgehard/go-exercism) Goals =========== Provide non-Ruby developers an easy way to work with [exercism.io](http://exercism.io). This tool is under heavy development. If you want something more stable to access exerc...
[![Build Status](https://travis-ci.org/msgehard/go-exercism.png?branch=master)](https://travis-ci.org/msgehard/go-exercism) Goals =========== Provide non-Ruby developers an easy way to work with [exercism.io](http://exercism.io). This tool is under heavy development. If you want something more stable to access exerc...
Add instructions on how to build all binaries.
Add instructions on how to build all binaries.
Markdown
mit
yeah-right/cli,exercism/cli,arvidsaur/cli,zabawaba99/cli,Tonkpils/cli,arvidsaur/cli,yeah-right/cli,neslom/cli,Tonkpils/cli,yeah-right/cli,zabawaba99/cli,Tonkpils/cli,neslom/cli,neslom/cli,lcowell/cli,exercism/cli,arvidsaur/cli,lcowell/cli,zabawaba99/cli,lcowell/cli
markdown
## Code Before: [![Build Status](https://travis-ci.org/msgehard/go-exercism.png?branch=master)](https://travis-ci.org/msgehard/go-exercism) Goals =========== Provide non-Ruby developers an easy way to work with [exercism.io](http://exercism.io). This tool is under heavy development. If you want something more stable...
6cd213a6d70af30e166181879edd04eb8aab0da8
src/app/app.routes.js
src/app/app.routes.js
export default function(appModule) { appModule.config(function($stateProvider, $locationProvider) { 'ngInject'; $stateProvider .state({ name: 'stopwatch', url: '/stopwatch', component: 'atStopwatch' }) .state({ name: 'timer', url: '/timer', co...
export default function(appModule) { appModule.config(function( $stateProvider, $locationProvider, $urlRouterProvider ) { 'ngInject'; $stateProvider .state({ name: 'stopwatch', url: '/stopwatch', component: 'atStopwatch' }) .state({ name: 'timer...
Make stopwatch the default route
Make stopwatch the default route
JavaScript
mit
JavierPDev/AudioTime,JavierPDev/AudioTime
javascript
## Code Before: export default function(appModule) { appModule.config(function($stateProvider, $locationProvider) { 'ngInject'; $stateProvider .state({ name: 'stopwatch', url: '/stopwatch', component: 'atStopwatch' }) .state({ name: 'timer', url: '/ti...
23e3197f15d13445defe6ec7cfb4f08484089068
tests/test_scripts/test_simulate_data.py
tests/test_scripts/test_simulate_data.py
import json import numpy as np from click.testing import CliRunner from fastimgproto.scripts.simulate_data import cli as sim_cli def test_simulate_data(): runner = CliRunner() with runner.isolated_filesystem(): output_filename = 'simdata.npz' result = runner.invoke(sim_cli, ...
import json import numpy as np from click.testing import CliRunner from fastimgproto.scripts.simulate_data import cli as sim_cli def test_simulate_data(): runner = CliRunner() with runner.isolated_filesystem(): output_filename = 'simdata.npz' result = runner.invoke(sim_cli, ...
Use few nsteps for testing sim-script
Use few nsteps for testing sim-script
Python
apache-2.0
SKA-ScienceDataProcessor/FastImaging-Python,SKA-ScienceDataProcessor/FastImaging-Python
python
## Code Before: import json import numpy as np from click.testing import CliRunner from fastimgproto.scripts.simulate_data import cli as sim_cli def test_simulate_data(): runner = CliRunner() with runner.isolated_filesystem(): output_filename = 'simdata.npz' result = runner.invoke(sim_cli, ...
e996e560c1d40460980e6e5f1970c30c330e2dad
ngrinder-controller/src/test/resources/applicationContext.xml
ngrinder-controller/src/test/resources/applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation=" http://www.springframework...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation=" http://www.springframework...
Add unit test for controller
[NGRINDER-68] Add unit test for controller add spring task configuration.
XML
apache-2.0
SRCB-CloudPart/ngrinder,GwonGisoo/ngrinder,naver/ngrinder,naver/ngrinder,chengaomin/ngrinder,SRCB-CloudPart/ngrinder,nanpa83/ngrinder,SRCB-CloudPart/ngrinder,ropik/ngrinder,SRCB-CloudPart/ngrinder,GwonGisoo/ngrinder,GwonGisoo/ngrinder,songeunwoo/ngrinder,ropik/ngrinder,chengaomin/ngrinder,songeunwoo/ngrinder,bwahn/ngri...
xml
## Code Before: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation=" http://www...
27813fa58438e3aa11fbddf0a9b02dcf2a93b755
app/scss/calllog.scss
app/scss/calllog.scss
.tabs-striped.tabs-positive .tab-item .badge { opacity: 1; } .call-log-list { .item { h2 { width: 50%; display: inline-block; } span { float: right; } &.not-seen { span { animation: notify-pulse 1.75s inf...
.tabs-striped.tabs-positive .tab-item .badge { opacity: 1; } @keyframes not-read-pulse { 0% { color: #ef473a;} 50% { color: black; } 100% { color: #ef473a; } } .call-log-list { .item { h2 { width: 50%; display: inline-block; } span { ...
Make unanswered calls pulse from red to black instead of changing opacity
Make unanswered calls pulse from red to black instead of changing opacity
SCSS
mit
learning-layers/sardroid,learning-layers/sardroid,learning-layers/sardroid
scss
## Code Before: .tabs-striped.tabs-positive .tab-item .badge { opacity: 1; } .call-log-list { .item { h2 { width: 50%; display: inline-block; } span { float: right; } &.not-seen { span { animation: notify...
283557d1b8097b866cb7122b20ee167847c1683d
src/main/java/me/rkfg/xmpp/bot/plugins/StdinPlugin.java
src/main/java/me/rkfg/xmpp/bot/plugins/StdinPlugin.java
package me.rkfg.xmpp.bot.plugins; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.regex.Matcher; import java.util.regex.Pattern; import me.rkfg.xmpp.bot.Main; import org.jivesoftware.smack.packet.Message; public class StdinPlugin implements MessagePlugin...
package me.rkfg.xmpp.bot.plugins; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.regex.Matcher; import java.util.regex.Pattern; import me.rkfg.xmpp.bot.Main; import org.jivesoftware.smack.packet.Message; public class StdinPlugin implements MessagePlugin...
Stop the stdin thread if stdin get detached or not connected.
Stop the stdin thread if stdin get detached or not connected.
Java
agpl-3.0
rkfg/jbot,rkfg/jbot,Kona-chan/jbot,neexee/jbot
java
## Code Before: package me.rkfg.xmpp.bot.plugins; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.regex.Matcher; import java.util.regex.Pattern; import me.rkfg.xmpp.bot.Main; import org.jivesoftware.smack.packet.Message; public class StdinPlugin implemen...
62cf7b3dd4339e013086070d5b9d631fde0be027
source/gloperate/source/stages/ColorGradientPreparationStage.cpp
source/gloperate/source/stages/ColorGradientPreparationStage.cpp
namespace gloperate { ColorGradientPreparationStage::ColorGradientPreparationStage() { addInput("gradients", gradients); addInput("pixmapSize", pixmapSize); addOutput("names", names); addOutput("pixmaps", pixmaps); } ColorGradientPreparationStage::~ColorGradientPreparationStage() { } void ColorGrad...
namespace gloperate { ColorGradientPreparationStage::ColorGradientPreparationStage() { addInput("gradients", gradients); addInput("pixmapSize", pixmapSize); addOutput("names", names); addOutput("pixmaps", pixmaps); } ColorGradientPreparationStage::~ColorGradientPreparationStage() { } void ColorGrad...
Use designated interface of the color gradient preparation tool in the color gradient preparation stage
Use designated interface of the color gradient preparation tool in the color gradient preparation stage
C++
mit
j-o/gloperate,p-otto/gloperate,cginternals/gloperate,lanice/gloperate,j-o/gloperate,hpicgs/gloperate,p-otto/gloperate,p-otto/gloperate,Beta-Alf/gloperate,p-otto/gloperate,lanice/gloperate,Beta-Alf/gloperate,Beta-Alf/gloperate,lanice/gloperate,cginternals/gloperate,hpicgs/gloperate,Beta-Alf/gloperate,j-o/gloperate,hpicg...
c++
## Code Before: namespace gloperate { ColorGradientPreparationStage::ColorGradientPreparationStage() { addInput("gradients", gradients); addInput("pixmapSize", pixmapSize); addOutput("names", names); addOutput("pixmaps", pixmaps); } ColorGradientPreparationStage::~ColorGradientPreparationStage() { }...
9f95cbb14b1c7e55ac610e500718b570858c6932
proto/certmon/messages.go
proto/certmon/messages.go
package certmon const ( CertTypeSSH = 0 CertTypeX509 = 1 ) // Format of certificate notifications (server -> client): // certType: 32 bit uint (big-endian) // certLength: 64 bit uint (big-endian) // certData: sequence of bytes // Client sends no data.
package certmon const ( ConnectString = "200 Connected to keymaster certmon service" HttpPath = "/certmon" CertTypeSSH = 0 CertTypeX509 = 1 ) // Format of certificate notifications (server -> client): // certType: 32 bit uint (big-endian) // certLength: 64 bit uint (big-endian) // certData: sequence of...
Add ConnectString and HttpPath constants to proto/certmon package.
Add ConnectString and HttpPath constants to proto/certmon package.
Go
apache-2.0
rgooch/keymaster,rgooch/keymaster,Symantec/keymaster,Symantec/keymaster,rgooch/keymaster,Symantec/keymaster
go
## Code Before: package certmon const ( CertTypeSSH = 0 CertTypeX509 = 1 ) // Format of certificate notifications (server -> client): // certType: 32 bit uint (big-endian) // certLength: 64 bit uint (big-endian) // certData: sequence of bytes // Client sends no data. ## Instruction: Add ConnectString and Htt...
210fd5dcb6b5473857ed2c42a6971672f826303a
scripts/delete-aem-stacks.sh
scripts/delete-aem-stacks.sh
set -o nounset set -o errexit if [ "$#" -le 1 ] || [ "$#" -gt 2 ]; then echo 'Usage: ./delete-aem-stacks.sh <stack_prefix> [config_path]' exit 1 fi stack_prefix=$1 config_path=$2 delete_single_stack() { ./scripts/delete-stack.sh "$1" "$stack_prefix" "$config_path" } delete_multi_stacks() { for stack in $1 ...
set -o nounset set -o errexit if [ "$#" -le 1 ] || [ "$#" -gt 2 ]; then echo 'Usage: ./delete-aem-stacks.sh <stack_prefix> [config_path]' exit 1 fi stack_prefix=$1 config_path=$2 delete_single_stack() { ./scripts/delete-stack.sh "$1" "$stack_prefix" "$config_path" } delete_multi_stacks() { for stack in $1 ...
Add roles deletion on delete-aem set.
Add roles deletion on delete-aem set.
Shell
apache-2.0
shinesolutions/aem-aws-stack-builder,shinesolutions/aem-aws-stack-builder
shell
## Code Before: set -o nounset set -o errexit if [ "$#" -le 1 ] || [ "$#" -gt 2 ]; then echo 'Usage: ./delete-aem-stacks.sh <stack_prefix> [config_path]' exit 1 fi stack_prefix=$1 config_path=$2 delete_single_stack() { ./scripts/delete-stack.sh "$1" "$stack_prefix" "$config_path" } delete_multi_stacks() { f...
9442100fe4f596a5bb3efbefa92cacef918f6e89
src/main/java/fr/insee/eno/exception/Utils.java
src/main/java/fr/insee/eno/exception/Utils.java
package fr.insee.eno.exception; import net.sf.saxon.trans.XPathException; public class Utils { public static String getErrorLocation(String styleSheet, Exception e){ String errorMessage=""; try{ int line = ((XPathException) e).getLocator().getLineNumber(); int column = ((X...
package fr.insee.eno.exception; import net.sf.saxon.trans.XPathException; public class Utils { public static String getErrorLocation(String styleSheet, Exception e){ String errorMessage=""; try{ String location = ((XPathException) e).getLocationAsString(); errorMessage += ...
Improve utils function for xslt exception
Improve utils function for xslt exception
Java
mit
InseeFr/Eno,InseeFr/Eno
java
## Code Before: package fr.insee.eno.exception; import net.sf.saxon.trans.XPathException; public class Utils { public static String getErrorLocation(String styleSheet, Exception e){ String errorMessage=""; try{ int line = ((XPathException) e).getLocator().getLineNumber(); ...
5039130fc0818ea29ad22710797aee889d5560fc
src/components/gene/index.tsx
src/components/gene/index.tsx
import * as React from "react" import * as Relay from "react-relay" interface Props extends RelayProps, React.HTMLProps<GeneContents> { gene: any } export class GeneContents extends React.Component<Props, null> { render() { return ( <div> {this.props.gene.name} {this.props.gene.mode} ...
import * as React from "react" import * as Relay from "react-relay" import Artworks from "../artwork_grid" import ArtistRow from "./artist_row" const PageSize = 10 interface Props extends RelayProps, React.HTMLProps<GeneContents> { gene: any } export class GeneContents extends React.Component<Props, null> { re...
Add ArtistRow to GeneContents view
Add ArtistRow to GeneContents view
TypeScript
mit
xtina-starr/reaction,artsy/reaction-force,artsy/reaction,xtina-starr/reaction,craigspaeth/reaction,xtina-starr/reaction,artsy/reaction,artsy/reaction-force,craigspaeth/reaction,craigspaeth/reaction,xtina-starr/reaction,artsy/reaction
typescript
## Code Before: import * as React from "react" import * as Relay from "react-relay" interface Props extends RelayProps, React.HTMLProps<GeneContents> { gene: any } export class GeneContents extends React.Component<Props, null> { render() { return ( <div> {this.props.gene.name} {this.pro...
58d7e13353f5203a56ab12b4f7e69cfc9730e8a0
examples/app/sw.js
examples/app/sw.js
importScripts('/streaming-dot.min.js'); const ASSETS = [ '/header.partial.html', '/footer.partial.html', '/index.dot.html' ]; self.oninstall = event => event.waitUntil( caches.open('static') .then(cache => cache.addAll(ASSETS)) .then(_ => self.skipWaiting()) ); self.onactivate = event => event.waitUn...
importScripts('/streaming-dot.min.js'); const ASSETS = [ '/header.partial.html', '/footer.partial.html', '/index.dot.html' ]; self.oninstall = event => event.waitUntil( caches.open('static') .then(cache => cache.addAll(ASSETS)) .then(_ => self.skipWaiting()) ); self.onactivate = event => event.waitUn...
Adjust ServiceWorker for polyfill demo
Adjust ServiceWorker for polyfill demo
JavaScript
apache-2.0
surma/streaming-dot,surma/streaming-dot
javascript
## Code Before: importScripts('/streaming-dot.min.js'); const ASSETS = [ '/header.partial.html', '/footer.partial.html', '/index.dot.html' ]; self.oninstall = event => event.waitUntil( caches.open('static') .then(cache => cache.addAll(ASSETS)) .then(_ => self.skipWaiting()) ); self.onactivate = event...
0d327e6c6d48a4cdf4d42da8d1cfdab0272a5e66
sh/clean.sh
sh/clean.sh
rm -rf src/public/style/min rm -rf src/public/scripts/min
rm -rf src/public/style/min echo "Removed minified style files." rm -rf src/public/scripts/min echo "Removed minified script files."
Add notification when minified files are removed.
Add notification when minified files are removed.
Shell
mit
adamheins/adamheins.com,adamheins/personal-website,adamheins/personal-website,adamheins/personal-website,adamheins/adamheins.com
shell
## Code Before: rm -rf src/public/style/min rm -rf src/public/scripts/min ## Instruction: Add notification when minified files are removed. ## Code After: rm -rf src/public/style/min echo "Removed minified style files." rm -rf src/public/scripts/min echo "Removed minified script files."
99116afa64d98e872844db774f67842429321715
README.md
README.md
======= Traveler stores VLACS' users in our datomic database and provides a user interface to search users and change passwords. ## Artifact * Releases are published to Clojars Latest Artifact: ``` [org.vlacs/traveler "0.2.0"] ``` ## Copyright and License Created by [Mike George](http://mikegeorge.org) Copyrigh...
======= ''' This branch is not stable ''' Traveler stores VLACS' users in our datomic database and provides a user interface to search users and change passwords. ## Artifact * Releases are published to Clojars Latest Artifact: ``` [org.vlacs/traveler "0.2.0"] ``` ## Copyright and License Created by [Mike Georg...
Update readme badges and disclaimer
Update readme badges and disclaimer
Markdown
epl-1.0
vlacs/traveler
markdown
## Code Before: ======= Traveler stores VLACS' users in our datomic database and provides a user interface to search users and change passwords. ## Artifact * Releases are published to Clojars Latest Artifact: ``` [org.vlacs/traveler "0.2.0"] ``` ## Copyright and License Created by [Mike George](http://mikegeorg...
935043dda123a030130571a2a4bb45b2b13f145c
addons/website_quote/__manifest__.py
addons/website_quote/__manifest__.py
{ 'name': 'Online Proposals', 'category': 'Website', 'summary': 'Sales', 'website': 'https://www.odoo.com/page/quote-builder', 'version': '1.0', 'description': "", 'depends': ['website', 'sale_management', 'mail', 'payment', 'website_mail', 'sale_payment'], 'data': [ 'data/websit...
{ 'name': 'Online Proposals', 'category': 'Website', 'summary': 'Sales', 'website': 'https://www.odoo.com/page/quote-builder', 'version': '1.0', 'description': "", 'depends': ['website', 'sale_management', 'mail', 'payment', 'website_mail'], 'data': [ 'data/website_quote_data.xml...
Revert "[FIX] website_quote: make 'Pay & Confirm' work without website_sale"
Revert "[FIX] website_quote: make 'Pay & Confirm' work without website_sale" No dependency change in stable version This reverts commit 65a589eb54a1421baa71074701bea2873a83c75f.
Python
agpl-3.0
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo
python
## Code Before: { 'name': 'Online Proposals', 'category': 'Website', 'summary': 'Sales', 'website': 'https://www.odoo.com/page/quote-builder', 'version': '1.0', 'description': "", 'depends': ['website', 'sale_management', 'mail', 'payment', 'website_mail', 'sale_payment'], 'data': [ ...
91b7f48ed70322997c041f720a712f54fbc55214
data-pages.json
data-pages.json
--- layout: null --- {% assign posts_processed = site.posts | where:"layout","page" %} {"nodes":[ {% for post in posts_processed %} { "title": "{{ post.title }}", "page-url": "{{ post.page-url }}", "users": "{% for user in post.users %}{{ user }}{% unless forloop.last %}, {% endunless ...
--- layout: null --- {% assign posts_processed = site.posts | where:"layout","page" %} {"nodes":[ {% for post in posts_processed %} { "title": "{{ post.title }}", "page-url": "{{ post.page-url }}", "users": "{% for user in post.users %}{{ user }}{% unless forloop.last %}, {% endunless ...
Integrate fixed positioning for pages
Integrate fixed positioning for pages
JSON
mit
khawkins98/EBI-Adaptive-content-model,khawkins98/EBI-Adaptive-content-model
json
## Code Before: --- layout: null --- {% assign posts_processed = site.posts | where:"layout","page" %} {"nodes":[ {% for post in posts_processed %} { "title": "{{ post.title }}", "page-url": "{{ post.page-url }}", "users": "{% for user in post.users %}{{ user }}{% unless forloop.last %...
8ade2d53f6d7a212eba0ded8894d801d800fb956
util/docker/web/sftpgo/sftpgo.json
util/docker/web/sftpgo/sftpgo.json
{ "common": { "idle_timeout": 15, "upload_mode": 2, "setstat_mode": 1, "actions": { "execute_on": [ "upload", "pre-delete", "rename" ], "hook": "/usr/local/bin/azuracast_sftp_event" } }, ...
{ "common": { "idle_timeout": 15, "upload_mode": 2, "setstat_mode": 1, "actions": { "execute_on": [ "upload", "pre-delete", "rename" ], "hook": "/usr/local/bin/azuracast_sftp_event" }, ...
Enable SFTPGo's built-in "defender" service.
Enable SFTPGo's built-in "defender" service.
JSON
agpl-3.0
AzuraCast/AzuraCast,AzuraCast/AzuraCast,AzuraCast/AzuraCast,AzuraCast/AzuraCast
json
## Code Before: { "common": { "idle_timeout": 15, "upload_mode": 2, "setstat_mode": 1, "actions": { "execute_on": [ "upload", "pre-delete", "rename" ], "hook": "/usr/local/bin/azuracast_sftp_event" ...
d10344dce7d012de2d434cd205fb0f179e34113c
packages/syft/src/syft/core/tensor/types.py
packages/syft/src/syft/core/tensor/types.py
from .passthrough import AcceptableSimpleType # type: ignore from .passthrough import PassthroughTensor # type: ignore from .passthrough import SupportedChainType # type: ignore
from .passthrough import AcceptableSimpleType # type: ignore # NOQA from .passthrough import PassthroughTensor # type: ignore # NOQA from .passthrough import SupportedChainType # type: ignore # NOQA
Fix flake8 warning by adding flake annotation
Fix flake8 warning by adding flake annotation
Python
apache-2.0
OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft
python
## Code Before: from .passthrough import AcceptableSimpleType # type: ignore from .passthrough import PassthroughTensor # type: ignore from .passthrough import SupportedChainType # type: ignore ## Instruction: Fix flake8 warning by adding flake annotation ## Code After: from .passthrough import AcceptableSimpleTyp...