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
072a6ebd408a1c701d40ff3ac7408d39ee7ea42d
lib/sunlight.rb
lib/sunlight.rb
require 'rubygems' require 'json' require 'cgi' require 'ym4r/google_maps/geocoding' require 'net/http' include Ym4r::GoogleMaps require "#{File.dirname(__FILE__)}/sunlight/base.rb" Dir["#{File.dirname(__FILE__)}/sunlight/*.rb"].each { |source_file| require source_file }
require 'json' require 'cgi' require 'ym4r/google_maps/geocoding' require 'net/http' include Ym4r::GoogleMaps require "#{File.dirname(__FILE__)}/sunlight/base.rb" Dir["#{File.dirname(__FILE__)}/sunlight/*.rb"].each { |source_file| require source_file }
Remove require 'rubygems' to be a good Ruby citizen.
Remove require 'rubygems' to be a good Ruby citizen.
Ruby
bsd-3-clause
sunlightlabs/ruby-sunlight,loandy/ruby-sunlight,NIFA/ruby-sunlight
ruby
## Code Before: require 'rubygems' require 'json' require 'cgi' require 'ym4r/google_maps/geocoding' require 'net/http' include Ym4r::GoogleMaps require "#{File.dirname(__FILE__)}/sunlight/base.rb" Dir["#{File.dirname(__FILE__)}/sunlight/*.rb"].each { |source_file| require source_file } ## Instruction: Remove require...
721703801654af88e8b5064d1bc65569ce1555cf
thumbnails/engines/__init__.py
thumbnails/engines/__init__.py
def get_current_engine(): return None
from thumbnails.engines.pillow import PillowEngine def get_current_engine(): return PillowEngine()
Set pillow engine as default
Set pillow engine as default
Python
mit
python-thumbnails/python-thumbnails,relekang/python-thumbnails
python
## Code Before: def get_current_engine(): return None ## Instruction: Set pillow engine as default ## Code After: from thumbnails.engines.pillow import PillowEngine def get_current_engine(): return PillowEngine()
cdfd622f4e7017ab1860e1f7420d6f26424a69f1
dashboard_app/extension.py
dashboard_app/extension.py
from lava_server.extension import LavaServerExtension class DashboardExtension(LavaServerExtension): @property def app_name(self): return "dashboard_app" @property def name(self): return "Dashboard" @property def main_view_name(self): return "dashboard_app.views.bund...
from lava_server.extension import LavaServerExtension class DashboardExtension(LavaServerExtension): @property def app_name(self): return "dashboard_app" @property def name(self): return "Dashboard" @property def main_view_name(self): return "dashboard_app.views.bund...
Move support for dataview-specific database from lava-server
Move support for dataview-specific database from lava-server
Python
agpl-3.0
Linaro/lava-server,Linaro/lava-server,Linaro/lava-server,OSSystems/lava-server,OSSystems/lava-server,OSSystems/lava-server,Linaro/lava-server
python
## Code Before: from lava_server.extension import LavaServerExtension class DashboardExtension(LavaServerExtension): @property def app_name(self): return "dashboard_app" @property def name(self): return "Dashboard" @property def main_view_name(self): return "dashboar...
3922c4b0123db8d8b57ec4797514f3f131b5ca2a
app/views/books/show.html.erb
app/views/books/show.html.erb
<section class="single_book wrap"> <div class="cover"><%= book_cover_tag @book, :size => "S" %></div> <div class="title"> <h1><%= @book.title %></h1> <h2>by <%= @book.author %></h2> </div> <p><%= pluralize @book.copies.count, "copy" %></p> <ul class="copies"> <%= render :partial => "copy", :col...
<section class="single_book wrap"> <div class="cover"><%= book_cover_tag @book, :size => "S" %></div> <div class="title"> <h1><%= @book.title %></h1> <h2>by <%= @book.author %></h2> </div> <p><%= pluralize @book.copies.count, "copy" %></p> <ul class="copies"> <%= render :partial => "copy", :col...
Add link to revision history in book actions list
Add link to revision history in book actions list
HTML+ERB
mit
jabley/anthology,jabley/anthology,JordanHatch/anthology,JordanHatch/anthology,jabley/anthology
html+erb
## Code Before: <section class="single_book wrap"> <div class="cover"><%= book_cover_tag @book, :size => "S" %></div> <div class="title"> <h1><%= @book.title %></h1> <h2>by <%= @book.author %></h2> </div> <p><%= pluralize @book.copies.count, "copy" %></p> <ul class="copies"> <%= render :partial...
3c460877f9ad60d48f32259606b4523c4d56c066
src/js/main.js
src/js/main.js
/* * This is the main PebbleJS file. You do not need to modify this file unless * you want to change the way PebbleJS starts, the script it runs or the libraries * it loads. * * By default, this will run app.js */ require('safe'); Pebble.addEventListener('ready', function(e) { // Initialize the Pebble protoco...
/* * This is the main PebbleJS file. You do not need to modify this file unless * you want to change the way PebbleJS starts, the script it runs or the libraries * it loads. * * By default, this will run app.js */ var safe = require('safe'); var util2 = require('util2'); Pebble.addEventListener('ready', functio...
Add moment global usage warning
Add moment global usage warning
JavaScript
mit
effata/pebblejs,ento/pebblejs,jsfi/pebblejs,ishepard/TransmissionTorrent,fletchto99/pebblejs,demophoon/Trimet-Tracker,effata/pebblejs,gwijsman/OpenRemotePebble,fletchto99/pebblejs,effata/pebblejs,daduke/LMSController,pebble/pebblejs,ento/pebblejs,jiangege/pebblejs-project,ishepard/TransmissionTorrent,daduke/LMSControll...
javascript
## Code Before: /* * This is the main PebbleJS file. You do not need to modify this file unless * you want to change the way PebbleJS starts, the script it runs or the libraries * it loads. * * By default, this will run app.js */ require('safe'); Pebble.addEventListener('ready', function(e) { // Initialize th...
ab3b0d54f6f660719649237cedcc9c77789efad9
scripts/sonarqube-scan.cmd
scripts/sonarqube-scan.cmd
mvn clean jacoco:prepare-agent verify jacoco:report -Dmaven.javadoc.failOnError=false -s dev\settings-sonarqube.xml %*
mvn clean jacoco:prepare-agent verify jacoco:report sonar:sonar -Dmaven.javadoc.failOnError=false -s dev\settings-sonarqube.xml %*
Add missing `sonar:sonar` for windows script
Add missing `sonar:sonar` for windows script
Batchfile
apache-2.0
excella-core/excella-core
batchfile
## Code Before: mvn clean jacoco:prepare-agent verify jacoco:report -Dmaven.javadoc.failOnError=false -s dev\settings-sonarqube.xml %* ## Instruction: Add missing `sonar:sonar` for windows script ## Code After: mvn clean jacoco:prepare-agent verify jacoco:report sonar:sonar -Dmaven.javadoc.failOnError=false -s dev\set...
b96a625dc55f45057586dd6576675bf315955f97
README.md
README.md
_ by emilien.ak@gmail.com _
by emilien.ak@gmail.com ### What to talk about with the Gang * **domain name** move asap to jobs.makesense.org * set a 'from:' email * **BM** yes/no? ideas? 'reward based' pay as you want * **MKS app redirect** UX/UI feedback * **branding** * graphic design, improve logo, make something recognizable ...
Prepare meeting with the gang
Prepare meeting with the gang
Markdown
agpl-3.0
Em-AK/makesense_jobs,Em-AK/makesense_jobs,Em-AK/makesense_jobs
markdown
## Code Before: _ by emilien.ak@gmail.com _ ## Instruction: Prepare meeting with the gang ## Code After: by emilien.ak@gmail.com ### What to talk about with the Gang * **domain name** move asap to jobs.makesense.org * set a 'from:' email * **BM** yes/no? ideas? 'reward based' pay as you want * **MKS app ...
3960eb9165af37042539ac16c08e2e45beeb4de7
support/mkdist-osx.sh
support/mkdist-osx.sh
test -f tundra.lua || exit 1 find examples -name tundra-output -exec rm -rf {} \; find examples -name .tundra-\* -exec rm -f {} \; rm -rf build dist mkdir build cd build cmake .. make cd .. TUNDRA_HOME=$PWD build/tundra standalone release macosx-clang mkdir dist mkdir dist/doc cp -r README.md COPYING examples dis...
test -f tundra.lua || exit 1 find examples -name tundra-output -exec rm -rf {} \; find examples -name .tundra-\* -exec rm -f {} \; rm -rf build dist mkdir build cd build cmake .. make cd .. TUNDRA_HOME=$PWD build/tundra standalone release macosx-clang mkdir dist mkdir dist/doc cp -r README.md COPYING examples dis...
Remove vim swap files before packing.
Remove vim swap files before packing.
Shell
mit
bmharper/tundra,deplinenoise/tundra,bmharper/tundra,bmharper/tundra,deplinenoise/tundra,deplinenoise/tundra,bmharper/tundra
shell
## Code Before: test -f tundra.lua || exit 1 find examples -name tundra-output -exec rm -rf {} \; find examples -name .tundra-\* -exec rm -f {} \; rm -rf build dist mkdir build cd build cmake .. make cd .. TUNDRA_HOME=$PWD build/tundra standalone release macosx-clang mkdir dist mkdir dist/doc cp -r README.md COPY...
9ce1af4c9c4858b61e084a0268ba07e002e2ab4c
test/fixtures/reverse/mysql/build/sql/schema.sql
test/fixtures/reverse/mysql/build/sql/schema.sql
DROP TABLE book; DROP VIEW view_book_titles; CREATE TABLE book ( id INTEGER NOT NULL AUTO_INCREMENT COMMENT 'Book Id', title VARCHAR(255) NOT NULL COMMENT 'Book Title', isbn VARCHAR(24) NOT NULL COMMENT 'ISBN Number', price FLOAT COMMENT 'Price of the book.', PRIMARY KEY (id) ) ENGINE=InnoDB COMMEN...
DROP TABLE IF EXISTS book; DROP VIEW IF EXISTS view_book_titles; CREATE TABLE book ( id INTEGER NOT NULL AUTO_INCREMENT COMMENT 'Book Id', title VARCHAR(255) NOT NULL COMMENT 'Book Title', isbn VARCHAR(24) NOT NULL COMMENT 'ISBN Number', price FLOAT COMMENT 'Price of the book.', PRIMARY KEY (id) ) ...
Fix fixtures to avoid error (mysql safe mode)
Fix fixtures to avoid error (mysql safe mode)
SQL
mit
PatidarWeb/Propel,Egston/Propel,mhitza/Propel,rozwell/Propel,propelorm/Propel,halfer/Propel,zachmay/Propel,adrianrusnarczyk/Propel,halfer/Propel,adrianrusnarczyk/Propel,gencer/Propel,gencer/Propel,AriaSystems/Propel,sh0dow/Propel,tbl0605/Propel-pervasive,tbl0605/Propel-pervasive,bjdelange/Propel,propelorm/Propel,bjdela...
sql
## Code Before: DROP TABLE book; DROP VIEW view_book_titles; CREATE TABLE book ( id INTEGER NOT NULL AUTO_INCREMENT COMMENT 'Book Id', title VARCHAR(255) NOT NULL COMMENT 'Book Title', isbn VARCHAR(24) NOT NULL COMMENT 'ISBN Number', price FLOAT COMMENT 'Price of the book.', PRIMARY KEY (id) ) ENGI...
9c5553c1672ae2978f5e71c99dc4ac5ef2d9cb22
syntax_checkers/javascript.vim
syntax_checkers/javascript.vim
"============================================================================ "File: javascript.vim "Description: Syntax checking plugin for syntastic.vim "Maintainer: Martin Grenfell <martin_grenfell at msn dot com> "License: This program is free software. It comes without any warranty, " to th...
"============================================================================ "File: javascript.vim "Description: Syntax checking plugin for syntastic.vim "Maintainer: Martin Grenfell <martin_grenfell at msn dot com> "License: This program is free software. It comes without any warranty, " to th...
Add another jsl warning format
Add another jsl warning format Some warnings don't include the word lint, like the warning from function(x) { var x; }
VimL
apache-2.0
wezhang/vim-setup,wezhang/vim-setup,nikmartin/dotfiles,wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup
viml
## Code Before: "============================================================================ "File: javascript.vim "Description: Syntax checking plugin for syntastic.vim "Maintainer: Martin Grenfell <martin_grenfell at msn dot com> "License: This program is free software. It comes without any warranty, " ...
1ad02b6afee6f3d2096b1e5c4c91ea1d8a1cc3e0
ci/prepare/00_static_analisys.sh
ci/prepare/00_static_analisys.sh
[ "$COVERITY_BUILD" -ne 0 ] || exit 0 ARCHIVE="coverity_tool.tgz" WithMsg "Testing token" test "${COVERITY_SCAN_TOKEN}" && WithMsg "Downloading coverity scan tool" wget https://scan.coverity.com/download/linux64 --post-data "token=${COVERITY_SCAN_TOKEN}&project=koplyarov%2Fjoint" -O "$ARCHIVE" && Verbose tar -xvzf "$...
[ "$COVERITY_BUILD" -ne 0 ] || exit 0 ARCHIVE="coverity_tool.tgz" WithMsg "Testing token" test "${COVERITY_SCAN_TOKEN}" && WithMsg "Downloading coverity scan tool" wget --no-verbose https://scan.coverity.com/download/linux64 --post-data "token=${COVERITY_SCAN_TOKEN}&project=koplyarov%2Fjoint" -O "$ARCHIVE" && Verbose...
Reduce verbosity of wget in CI scripts
Reduce verbosity of wget in CI scripts
Shell
isc
koplyarov/joint,koplyarov/joint,koplyarov/joint,koplyarov/joint,koplyarov/joint,koplyarov/joint
shell
## Code Before: [ "$COVERITY_BUILD" -ne 0 ] || exit 0 ARCHIVE="coverity_tool.tgz" WithMsg "Testing token" test "${COVERITY_SCAN_TOKEN}" && WithMsg "Downloading coverity scan tool" wget https://scan.coverity.com/download/linux64 --post-data "token=${COVERITY_SCAN_TOKEN}&project=koplyarov%2Fjoint" -O "$ARCHIVE" && Verb...
8b4b5705907e1ec5f9dd3148560dc1bf4cd5b9b7
bin/detail/get_nmake_environment.py
bin/detail/get_nmake_environment.py
import detail.util import os import sys def get(arch, vs_version): vs_path_env = 'VS{}0COMNTOOLS'.format(vs_version) vs_path = os.getenv(vs_path_env) if not vs_path: sys.exit( 'Environment variable {} is empty, ' 'looks like Visual Studio {} is not installed'.format( vs_path_env,...
import detail.util import os import sys def get(arch, vs_version): vs_path_env = 'VS{}0COMNTOOLS'.format(vs_version) vs_path = os.getenv(vs_path_env) if not vs_path: sys.exit( 'Environment variable {} is empty, ' 'looks like Visual Studio {} is not installed'.format( vs_path_env,...
Fix vcvarsall_dir for Visual Studio 2017
polly.py: Fix vcvarsall_dir for Visual Studio 2017 [skip ci]
Python
bsd-2-clause
idscan/polly,idscan/polly,ruslo/polly,ruslo/polly
python
## Code Before: import detail.util import os import sys def get(arch, vs_version): vs_path_env = 'VS{}0COMNTOOLS'.format(vs_version) vs_path = os.getenv(vs_path_env) if not vs_path: sys.exit( 'Environment variable {} is empty, ' 'looks like Visual Studio {} is not installed'.format( ...
3787db709c109776585a802f90d01d73c773b43b
README.markdown
README.markdown
[![Build Status](https://secure.travis-ci.org/doctrine/mongodb-odm.png)](http://travis-ci.org/doctrine/mongodb-odm) The Doctrine MongoDB ODM project is a library that provides a PHP object mapping functionality for MongoDB. ## More resources: * [Website](http://www.doctrine-project.org/projects/mongodb_odm) * [Docu...
[![Build Status](https://secure.travis-ci.org/doctrine/mongodb-odm.png)](http://travis-ci.org/doctrine/mongodb-odm) The Doctrine MongoDB ODM project is a library that provides a PHP object mapping functionality for MongoDB. ## More resources: * [Website](http://www.doctrine-project.org/projects/mongodb_odm) * [Docu...
Fix documentation link and add link to API
[Readme] Fix documentation link and add link to API
Markdown
mit
doctrine/mongodb-odm,notrix/mongodb-odm,Briareos/mongodb-odm,stylehub/mongodb-odm,alcaeus/mongodb-odm,lyft/mongodb-odm,marcoleong/mongodb-odm,malarzm/mongodb-odm,Xosofox/mongodb-odm,Soullivaneuh/mongodb-odm,stof/mongodb-odm,Bilge/mongodb-odm,castarco/mongodb-odm,kevinyien/mongodb-odm,stylehub/mongodb-odm,waldihuber/mon...
markdown
## Code Before: [![Build Status](https://secure.travis-ci.org/doctrine/mongodb-odm.png)](http://travis-ci.org/doctrine/mongodb-odm) The Doctrine MongoDB ODM project is a library that provides a PHP object mapping functionality for MongoDB. ## More resources: * [Website](http://www.doctrine-project.org/projects/mong...
331935a5a0b571e1ee51099a2bd3849146dbc438
app/Modules/CommissionModule/AuditTrail/commissionUpdated.latte
app/Modules/CommissionModule/AuditTrail/commissionUpdated.latte
{layout $layout} {var $entityClass = 'PAF\Modules\CommissionModule\Model\Commission'} <div class="card-header" n:block="#card-header"> {include #stamp, 'instant' => $logEvent->instant} <span>{_$logEvent->type, ['actor' => $actor]}</span> </div> <div class="card-body" n:block="#card-body"> {foreach $param...
{layout $layout} {var $entityClass = 'pafCommissions.commission'} <div class="card-header" n:block="#card-header"> {include #stamp, 'instant' => $logEvent->instant} <span>{_$logEvent->type, ['actor' => $actor]}</span> </div> <div class="card-body" n:block="#card-body"> {foreach $parameters['changes'] ?? ...
Fix audit cards for commission entity
Fix audit cards for commission entity
Latte
mit
Thoronir42/paf,Thoronir42/paf,Thoronir42/paf,Thoronir42/paf
latte
## Code Before: {layout $layout} {var $entityClass = 'PAF\Modules\CommissionModule\Model\Commission'} <div class="card-header" n:block="#card-header"> {include #stamp, 'instant' => $logEvent->instant} <span>{_$logEvent->type, ['actor' => $actor]}</span> </div> <div class="card-body" n:block="#card-body"> ...
73c0073e5961a5661fc88d217fafb9805d9466e0
kanban/component/board/directives/boardsDirective.js
kanban/component/board/directives/boardsDirective.js
/** * Created by xubt on 5/26/16. */ kanbanApp.directive('boardBanner', function () { return { restrict: 'E', templateUrl: 'component/board/partials/board-banner.html', replace: true, controller: ['$scope', '$location', 'boardsService', 'localStorageService', function ($scope, $lo...
/** * Created by xubt on 5/26/16. */ kanbanApp.directive('boardBanner', function () { return { restrict: 'E', templateUrl: 'component/board/partials/board-banner.html', replace: true, controller: ['$scope', '$location', 'boardsService', 'localStorageService', function ($scope, $lo...
Load boardsLink from local storage.
Load boardsLink from local storage.
JavaScript
mit
thiki-org/thiki-kanban-web,thiki-org/thiki-kanban-web,thiki-org/thiki-kanban-web
javascript
## Code Before: /** * Created by xubt on 5/26/16. */ kanbanApp.directive('boardBanner', function () { return { restrict: 'E', templateUrl: 'component/board/partials/board-banner.html', replace: true, controller: ['$scope', '$location', 'boardsService', 'localStorageService', funct...
a41c009c5ff7e52416861cf87a908186ee93d2b4
Casks/blender.rb
Casks/blender.rb
cask :v1 => 'blender' do version '2.76' sha256 '542bc7fe9871c5a8f80efd5b9657416eda45d3dbeb455189367303203da695c9' url "https://download.blender.org/release/Blender#{version.to_f}/blender-#{version}-OSX_10.6-x86_64.zip" name 'Blender' homepage 'https://www.blender.org/' license :gpl app 'Blender.app' a...
cask :v1 => 'blender' do version '2.76a' sha256 '37b583d19eb16123065b62a7c05c574d9ebee2ff7497c1180466447ce6dab383' url "https://download.blender.org/release/Blender#{version.to_f}/blender-#{version}-OSX_10.6-x86_64.zip" name 'Blender' homepage 'https://www.blender.org/' license :gpl app 'Blender.app' ...
Upgrade Blender to 2.76a bugfix release
Upgrade Blender to 2.76a bugfix release
Ruby
bsd-2-clause
xight/homebrew-cask,sgnh/homebrew-cask,cprecioso/homebrew-cask,napaxton/homebrew-cask,nrlquaker/homebrew-cask,mjdescy/homebrew-cask,lifepillar/homebrew-cask,Keloran/homebrew-cask,mchlrmrz/homebrew-cask,chuanxd/homebrew-cask,vin047/homebrew-cask,Saklad5/homebrew-cask,antogg/homebrew-cask,asins/homebrew-cask,greg5green/h...
ruby
## Code Before: cask :v1 => 'blender' do version '2.76' sha256 '542bc7fe9871c5a8f80efd5b9657416eda45d3dbeb455189367303203da695c9' url "https://download.blender.org/release/Blender#{version.to_f}/blender-#{version}-OSX_10.6-x86_64.zip" name 'Blender' homepage 'https://www.blender.org/' license :gpl app '...
788eb21606e027f0889c7565de769ce58e39a377
.travis.yml
.travis.yml
language: python cache: directories: - $HOME/.cache/pip - $HOME/.cache/pre-commit python: - "3.6" addons: postgresql: "9.6" apt: packages: - expect-dev # provides unbuffer utility stages: - test jobs: include: - stage: test env: - TESTS=1 ODOO_REPO="odoo/odoo" MAKEPOT...
language: python cache: directories: - $HOME/.cache/pip - $HOME/.cache/pre-commit python: - "3.6" addons: postgresql: "9.6" apt: packages: - expect-dev # provides unbuffer utility stages: - linting - test jobs: include: - stage: linting name: "pre-commit" before_insta...
Exclude fetchmail_incoming_log + fetchmail_notify_error_to_sender_test addon to prevent error in Travis related to OCA/OCB
[FIX] Exclude fetchmail_incoming_log + fetchmail_notify_error_to_sender_test addon to prevent error in Travis related to OCA/OCB
YAML
agpl-3.0
OCA/server-tools,YannickB/server-tools,YannickB/server-tools,OCA/server-tools,OCA/server-tools,YannickB/server-tools
yaml
## Code Before: language: python cache: directories: - $HOME/.cache/pip - $HOME/.cache/pre-commit python: - "3.6" addons: postgresql: "9.6" apt: packages: - expect-dev # provides unbuffer utility stages: - test jobs: include: - stage: test env: - TESTS=1 ODOO_REPO="od...
18c47b4afe28c8afd93ab1bfe0e151a1906702dc
lib/cfi/cfi_blacklist.txt
lib/cfi/cfi_blacklist.txt
fun:*8allocateEjPKv fun:*8allocateEmPKv # std::get_temporary_buffer, likewise (libstdc++, libc++). fun:_ZSt20get_temporary_buffer* fun:_ZNSt3__120get_temporary_buffer* # STL address-of magic (libstdc++, libc++). fun:*__addressof* fun:_ZNSt3__19addressof* # Windows C++ stdlib headers that contain bad unrelated casts....
fun:_ZSt20get_temporary_buffer* fun:_ZNSt3__120get_temporary_buffer* # STL address-of magic (libstdc++, libc++). fun:*__addressof* fun:_ZNSt3__19addressof* # Windows C++ stdlib headers that contain bad unrelated casts. src:*xmemory0 src:*xstddef # std::_Sp_counted_ptr_inplace::_Sp_counted_ptr_inplace() (libstdc++). ...
Move STL allocator blacklist to clang
CFI: Move STL allocator blacklist to clang Summary: The regular expression to match STL allocators can't easily account for C++ mangling compression and fails to match some valid instances of STL allocators. Perform this logic in clang instead. Motivated by crbug.com/751385. Reviewers: pcc, kcc, llvm-commits Review...
Text
apache-2.0
llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt
text
## Code Before: fun:*8allocateEjPKv fun:*8allocateEmPKv # std::get_temporary_buffer, likewise (libstdc++, libc++). fun:_ZSt20get_temporary_buffer* fun:_ZNSt3__120get_temporary_buffer* # STL address-of magic (libstdc++, libc++). fun:*__addressof* fun:_ZNSt3__19addressof* # Windows C++ stdlib headers that contain bad ...
a18dd745d9a67546dcb34bb50b1f0d0e323e2400
README.md
README.md
Slack slapbot
Do you remember that great IRC times when you can just type ``` /slap Josh ``` ..and it will slap him real good! Well why not recreate that joyfull momements again in a modern IRC service Slack! ## Installation * Clone the repo * Run `npm install` * Run `node server.js` Ok, great job, but this is not that useful...
Update Readme to include guide for settings this up
Update Readme to include guide for settings this up
Markdown
mit
spfr/slapbot
markdown
## Code Before: Slack slapbot ## Instruction: Update Readme to include guide for settings this up ## Code After: Do you remember that great IRC times when you can just type ``` /slap Josh ``` ..and it will slap him real good! Well why not recreate that joyfull momements again in a modern IRC service Slack! ## Inst...
d555d334147928a651163aff2c8207aaa88f1e80
src/gui/CMakeLists.txt
src/gui/CMakeLists.txt
include_directories(..) qt5_add_resources(NEOVIM_RCC_SOURCES data.qrc) add_executable(nvim-qt main.cpp shell.cpp input.cpp errorwidget.cpp mainwindow.cpp ${NEOVIM_RCC_SOURCES}) target_link_libraries(nvim-qt Qt5::Network Qt5::Widgets ${MSGPACK_LIBRARIES} neovim-qt) add_executable(nvim-qt-widget main.cpp shell.cpp inpu...
include_directories(..) qt5_add_resources(NEOVIM_RCC_SOURCES data.qrc) add_executable(nvim-qt main.cpp shell.cpp input.cpp errorwidget.cpp mainwindow.cpp ${NEOVIM_RCC_SOURCES}) target_link_libraries(nvim-qt Qt5::Network Qt5::Widgets ${MSGPACK_LIBRARIES} neovim-qt) add_executable(nvim-qt-widget EXCLUDE_FROM_ALL main.c...
Exclude widget gui target test from default build
Exclude widget gui target test from default build - The nvim-qt-widget executable is used to test the shell widget and should not be built by default
Text
isc
ravloony/neovim-qt,ngkaho1234/neovim-qt,ravloony/neovim-qt,equalsraf/neovim-qt,Pireax/neovim-qt,0x90sled/neovim-qt,Pireax/neovim-qt,equalsraf/neovim-qt,equalsraf/neovim-qt,ravloony/neovim-qt,equalsraf/neovim-qt,ngkaho1234/neovim-qt,ngkaho1234/neovim-qt,Pireax/neovim-qt,0x90sled/neovim-qt,0x90sled/neovim-qt
text
## Code Before: include_directories(..) qt5_add_resources(NEOVIM_RCC_SOURCES data.qrc) add_executable(nvim-qt main.cpp shell.cpp input.cpp errorwidget.cpp mainwindow.cpp ${NEOVIM_RCC_SOURCES}) target_link_libraries(nvim-qt Qt5::Network Qt5::Widgets ${MSGPACK_LIBRARIES} neovim-qt) add_executable(nvim-qt-widget main.cp...
fe19f983fb0aa05afc706aecca114ed91c650e07
_includes/rockstar-speakers.html
_includes/rockstar-speakers.html
<!-- Begin Rockstar Speakers Section --> <section id="rockstar-speakers" class="rockstar-speakers image-section parallax" style="background-image: url({{ site.baseurl }}/img/sections-background/{{ site.rockstarSpeakersImage }});"> <div class="overlay solid-overlay"></div> <div class="content-wrapper"> <div class="c...
<!-- Begin Rockstar Speakers Section --> <section id="rockstar-speakers" class="rockstar-speakers image-section parallax" style="background-image: url({{ site.baseurl }}/img/sections-background/{{ site.rockstarSpeakersImage }});"> <div class="overlay solid-overlay"></div> <div class="content-wrapper"> <div class="c...
Call for speakers button added
Call for speakers button added
HTML
mit
swanseacon/swanseacon.github.io,swanseacon/swanseacon.github.io,swanseacon/swanseacon.github.io
html
## Code Before: <!-- Begin Rockstar Speakers Section --> <section id="rockstar-speakers" class="rockstar-speakers image-section parallax" style="background-image: url({{ site.baseurl }}/img/sections-background/{{ site.rockstarSpeakersImage }});"> <div class="overlay solid-overlay"></div> <div class="content-wrapper">...
cd8c61cc609f9d5005b3e009f4c65d1323ec0b26
contrib/flavor/ngs_pipeline_minimal/packages-homebrew.yaml
contrib/flavor/ngs_pipeline_minimal/packages-homebrew.yaml
--- bio_nextgen: alignment: - bwa - bowtie2 - novoalign utilities: - bamtools - bedtools - fastqc - fastx_toolkit - qualimap - sambamba analysis: #- cufflinks - samtools #- tophat variant: - glia - lumpy-sv - tabix - vcflib - vcftools
--- bio_nextgen: alignment: - bwa - bowtie2 - novoalign utilities: - bamtools - bedtools - fastqc - qualimap - sambamba analysis: #- cufflinks - samtools #- tophat variant: - glia - lumpy-sv - tabix - vcflib - vcftools
Drop fastx_toolkit requirement for bcbio-nextgen install
Drop fastx_toolkit requirement for bcbio-nextgen install
YAML
mit
AICIDNN/cloudbiolinux,rchekaluk/cloudbiolinux,AICIDNN/cloudbiolinux,rchekaluk/cloudbiolinux,averagehat/cloudbiolinux,kdaily/cloudbiolinux,elkingtonmcb/cloudbiolinux,joemphilips/cloudbiolinux,heuermh/cloudbiolinux,chapmanb/cloudbiolinux,AICIDNN/cloudbiolinux,averagehat/cloudbiolinux,joemphilips/cloudbiolinux,pjotrp/clou...
yaml
## Code Before: --- bio_nextgen: alignment: - bwa - bowtie2 - novoalign utilities: - bamtools - bedtools - fastqc - fastx_toolkit - qualimap - sambamba analysis: #- cufflinks - samtools #- tophat variant: - glia - lumpy-sv - tabix - vcflib - vc...
2973b664e8c9cf551d5d7277ab4995125be5fad0
python/reference.py
python/reference.py
import os # Current directory # If you call this from the current directory without abspath, # then it will not work since __file__ is a relative path os.path.dirname(os.path.abspath(__file__))
import os # Current directory # If you call this from the current directory without abspath, # then it will not work since __file__ is a relative path os.path.dirname(os.path.abspath(__file__)) # Get all files in a directory # Never use os.walk again def all_sub_files(root): for path, subdirs, files in os.walk(roo...
Add util for not using os.walk
Add util for not using os.walk
Python
mit
brycepg/how-to
python
## Code Before: import os # Current directory # If you call this from the current directory without abspath, # then it will not work since __file__ is a relative path os.path.dirname(os.path.abspath(__file__)) ## Instruction: Add util for not using os.walk ## Code After: import os # Current directory # If you call th...
6c1017541df36b4b8a992404b51a58c95e5a5471
components/related_articles/template.jade
components/related_articles/template.jade
.related-articles for article in articles .related-article a.ra-image.hoverable-image-link( href="/article/#{article.get('slug')}" ) img( src= crop(article.get('thumbnail_image'), { width: 300, height: 225 }) alt= article.get('title') ) .ra-blurb a.ra-author...
.related-articles for article in articles .related-article a.ra-image.hoverable-image-link( href="/article/#{article.get('slug')}" ) img( src= crop(article.get('thumbnail_image'), { width: 300, height: 225 }) alt= article.get('title') ) .ra-blurb a.ra-author...
Use real author in artist/:id/articles
Use real author in artist/:id/articles
Jade
mit
dblock/force,erikdstock/force,damassi/force,eessex/force,yuki24/force,dblock/force,xtina-starr/force,yuki24/force,xtina-starr/force,joeyAghion/force,oxaudo/force,kanaabe/force,oxaudo/force,erikdstock/force,erikdstock/force,damassi/force,cavvia/force-1,mzikherman/force,mzikherman/force,izakp/force,damassi/force,mzikherm...
jade
## Code Before: .related-articles for article in articles .related-article a.ra-image.hoverable-image-link( href="/article/#{article.get('slug')}" ) img( src= crop(article.get('thumbnail_image'), { width: 300, height: 225 }) alt= article.get('title') ) .ra-blurb ...
1998e22e2cdbfda5a4f6d9903b81df616ca66e06
.travis-build-without-test.sh
.travis-build-without-test.sh
ROOT=$TRAVIS_BUILD_DIR/.. # Fail the whole script if any command fails set -e export SHELLOPTS SLUGOWNER=${TRAVIS_REPO_SLUG%/*} # jsr308-langtools if [ -d ../jsr308-langtools ] ; then (cd ../jsr308-langtools && hg pull && hg update) else set +e echo "Running: hg identify https://bitbucket.org/${SLUGOWNE...
ROOT=$TRAVIS_BUILD_DIR/.. # Fail the whole script if any command fails set -e export SHELLOPTS SLUGOWNER=${TRAVIS_REPO_SLUG%/*} if [[ "$SLUGOWNER" == "" ]]; then SLUGOWNER=typetools fi # jsr308-langtools if [ -d ../jsr308-langtools ] ; then (cd ../jsr308-langtools && hg pull && hg update) else set +e ...
Use 'typetools' if TRAVIS_REPO_SLUG is not set.
Use 'typetools' if TRAVIS_REPO_SLUG is not set.
Shell
mit
eisop/annotation-tools,typetools/annotation-tools,eisop/annotation-tools,typetools/annotation-tools,eisop/annotation-tools,typetools/annotation-tools
shell
## Code Before: ROOT=$TRAVIS_BUILD_DIR/.. # Fail the whole script if any command fails set -e export SHELLOPTS SLUGOWNER=${TRAVIS_REPO_SLUG%/*} # jsr308-langtools if [ -d ../jsr308-langtools ] ; then (cd ../jsr308-langtools && hg pull && hg update) else set +e echo "Running: hg identify https://bitbucke...
41ac7e2d85126c2fe5dd16230ed678d72a8d048f
jax/__init__.py
jax/__init__.py
import os os.environ.setdefault('TF_CPP_MIN_LOG_LEVEL', '1') version_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), "version.py") with open(version_file) as f: exec(f.read(), globals()) from jax.api import * import jax.numpy as np # side-effecting import sets up operato...
import os os.environ.setdefault('TF_CPP_MIN_LOG_LEVEL', '1') from jax.version import __version__ from jax.api import * import jax.numpy as np # side-effecting import sets up operator overloads
Use a regular import to add jax.__version__ rather than exec() trickery.
Use a regular import to add jax.__version__ rather than exec() trickery. (The exec() trickery is needed for setup.py, but not for jax/__init__.py.)
Python
apache-2.0
tensorflow/probability,google/jax,google/jax,google/jax,google/jax,tensorflow/probability
python
## Code Before: import os os.environ.setdefault('TF_CPP_MIN_LOG_LEVEL', '1') version_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), "version.py") with open(version_file) as f: exec(f.read(), globals()) from jax.api import * import jax.numpy as np # side-effecting import...
7e356d8f7685cfe9d5d350d1755f638275d78832
packages/stream-dom/karma.conf.js
packages/stream-dom/karma.conf.js
var path = require('path') module.exports = function(config) { config.set({ singleRun: true, files: [ './node_modules/babel-polyfill/browser.js', 'test/index.js', 'test/eventing.js' ], frameworks: [ 'mocha' ], preprocessors: { 'test/index.js': [ 'webpack', 'sourcemap' ]...
var path = require('path') module.exports = function(config) { config.set({ singleRun: true, files: [ 'test/index.js', 'test/eventing.js' ], frameworks: [ 'mocha' ], preprocessors: { 'test/index.js': [ 'webpack', 'sourcemap' ], 'test/eventing.js': [ 'webpack', 'sourcema...
Remove polyfill from unit test
Remove polyfill from unit test
JavaScript
mit
brandonpayton/stream-dom,brandonpayton/stream-dom
javascript
## Code Before: var path = require('path') module.exports = function(config) { config.set({ singleRun: true, files: [ './node_modules/babel-polyfill/browser.js', 'test/index.js', 'test/eventing.js' ], frameworks: [ 'mocha' ], preprocessors: { 'test/index.js': [ 'webpack...
5bb3ae536087e8abe09d145c51861adc808d6434
apps/OboeTester/README.md
apps/OboeTester/README.md
Test Oboe using an Interactive App ## Test Output Test opening, starting, stopping and closing a stream. ## Test Input ## Tap to Tone Latency Measure touch screen latency plus audio output latency. ## Record and Playback Record 10 seconds of audio and play it back.
Test Oboe using an Interactive App. Download the top level oboe repository from GitHub Then use Android Studio to build the app in this folder. ## Test Output Test opening, starting, stopping and closing a stream. ## Test Input Test input streams. Displays current volume ## Tap to Tone Latency Measure touch scr...
Add a line of OboeTester instructions
Add a line of OboeTester instructions
Markdown
apache-2.0
google/oboe,google/oboe,google/oboe,google/oboe,google/oboe,google/oboe
markdown
## Code Before: Test Oboe using an Interactive App ## Test Output Test opening, starting, stopping and closing a stream. ## Test Input ## Tap to Tone Latency Measure touch screen latency plus audio output latency. ## Record and Playback Record 10 seconds of audio and play it back. ## Instruction: Add a line of...
c1269b9b09f002d29f8dca54629eb87d5ba732ff
local-build.sh
local-build.sh
box build mv cdev.phar /usr/local/bin/cdev-local
INSTALL_DIR=~/.cdev ICON_COMPLETE_COLOUR=`tput setaf 2` NO_COLOUR=`tput sgr0` ICON_COMPLETE="${ICON_COMPLETE_COLOUR}\xcf\xbe${NO_COLOUR}" TARGET_RELEASE_PATH="${INSTALL_DIR}/cdev-local.phar" TARGET_RELEASE_KEY_PATH="${INSTALL_DIR}/cdev-local.phar.pubkey" ALIAS='/usr/local/bin/cdev-local' box key:create box build ...
Update local build to use same build methods as a release
Update local build to use same build methods as a release
Shell
mit
garethmidwood/cdev,garethmidwood/cdev
shell
## Code Before: box build mv cdev.phar /usr/local/bin/cdev-local ## Instruction: Update local build to use same build methods as a release ## Code After: INSTALL_DIR=~/.cdev ICON_COMPLETE_COLOUR=`tput setaf 2` NO_COLOUR=`tput sgr0` ICON_COMPLETE="${ICON_COMPLETE_COLOUR}\xcf\xbe${NO_COLOUR}" TARGET_RELEASE_PATH=...
e53f2efa08388b11e48ef381c095dbc903a5a30a
less/forum.less
less/forum.less
.emojionearea.emojionearea-standalone { // Hide the standalone button/display as we only use the picker itself .emojionearea-editor, .emojionearea-button { display: none; } } .ComposerBody-emojioneareaContainer { height: 0; // Same margins as .TextEditor-controls // So the position...
// Hide the standalone button/display as we only use the picker itself .emojionearea.emojionearea-standalone { border: none; .emojionearea-editor, .emojionearea-button { display: none; } } .ComposerBody-emojioneareaContainer { height: 0; // Same margins as .TextEditor-controls // ...
Fix white pixel showing up above "post reply" button
Fix white pixel showing up above "post reply" button
Less
mit
clarkwinkelmann/flarum-ext-emojionearea,clarkwinkelmann/flarum-ext-emojionearea
less
## Code Before: .emojionearea.emojionearea-standalone { // Hide the standalone button/display as we only use the picker itself .emojionearea-editor, .emojionearea-button { display: none; } } .ComposerBody-emojioneareaContainer { height: 0; // Same margins as .TextEditor-controls //...
62c9ed93e35bc1ec8f2fd21b41ce8cada1c6f614
src/java/org/dellroad/stuff/validation/EmailAddress.java
src/java/org/dellroad/stuff/validation/EmailAddress.java
/* * Copyright (C) 2011 Archie L. Cobbs. All rights reserved. * * $Id$ */ package org.dellroad.stuff.validation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target;...
/* * Copyright (C) 2011 Archie L. Cobbs. All rights reserved. * * $Id$ */ package org.dellroad.stuff.validation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target;...
Tweak email address pattern and define the string as a constant.
Tweak email address pattern and define the string as a constant.
Java
apache-2.0
tempbottle/jsimpledb,permazen/permazen,permazen/permazen,permazen/permazen,tempbottle/jsimpledb,archiecobbs/jsimpledb,tempbottle/jsimpledb,archiecobbs/jsimpledb,archiecobbs/jsimpledb
java
## Code Before: /* * Copyright (C) 2011 Archie L. Cobbs. All rights reserved. * * $Id$ */ package org.dellroad.stuff.validation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.an...
f04fe9165c3c8d1427a814758af880a5839add56
.circleci/Dockerfile
.circleci/Dockerfile
FROM ubuntu:17.04 RUN \ apt-get update -qq && \ apt-get install -y --no-install-recommends \ build-essential \ ca-certificates \ curl \ libssl-dev \ libsqlite3-dev \ pkg-config \ sqlite3 RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly ENV PATH=/root/.cargo/bin:$PATH
FROM ubuntu:17.04 RUN \ apt-get update -qq && \ apt-get install -y --no-install-recommends \ build-essential \ ca-certificates \ curl \ libpq-dev \ libsqlite3-dev \ libssl-dev \ pkg-config \ sqlite3 RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly ENV PATH=/root/.cargo...
Add pg support to Rust image
chore: Add pg support to Rust image
unknown
mit
mob-rs/mob
unknown
## Code Before: FROM ubuntu:17.04 RUN \ apt-get update -qq && \ apt-get install -y --no-install-recommends \ build-essential \ ca-certificates \ curl \ libssl-dev \ libsqlite3-dev \ pkg-config \ sqlite3 RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly ENV PATH=/root/.car...
55166bcf59cb394c27007946fd95e7da4efacfed
lpc812-nrf24l01-receiver/firmware/README.md
lpc812-nrf24l01-receiver/firmware/README.md
**Note: a pre-compiled firmware is available for download [here](receiver.hex).** - **GCC for ARM** [https://launchpad.net/gcc-arm-embedded/](https://launchpad.net/gcc-arm-embedded/) - **GNU Make** [https://www.gnu.org/software/make/](https://www.gnu.org/software/make/); Windows executable is available at [http://...
**Note: a pre-compiled firmware is available for download [here](receiver.hex).** - **GCC for ARM** [https://launchpad.net/gcc-arm-embedded/](https://launchpad.net/gcc-arm-embedded/) - **GNU Make** [https://www.gnu.org/software/make/](https://www.gnu.org/software/make/); Windows executable is available at [http://...
Add link to LPC81x ISP tool
Add link to LPC81x ISP tool
Markdown
unlicense
laneboysrc/nrf24l01-rc,laneboysrc/nrf24l01-rc,laneboysrc/nrf24l01-rc
markdown
## Code Before: **Note: a pre-compiled firmware is available for download [here](receiver.hex).** - **GCC for ARM** [https://launchpad.net/gcc-arm-embedded/](https://launchpad.net/gcc-arm-embedded/) - **GNU Make** [https://www.gnu.org/software/make/](https://www.gnu.org/software/make/); Windows executable is avail...
beaca9a888b95e8362a0ee9db080b4cf51e52806
node_modules/oae-core/etherpad/css/etherpad.css
node_modules/oae-core/etherpad/css/etherpad.css
/*! * Copyright 2014 Apereo Foundation (AF) Licensed under the * Educational Community License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may * obtain a copy of the License at * * http://opensource.org/licenses/ECL-2.0 * * Unless required by applicab...
/*! * Copyright 2014 Apereo Foundation (AF) Licensed under the * Educational Community License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may * obtain a copy of the License at * * http://opensource.org/licenses/ECL-2.0 * * Unless required by applicab...
Remove custom styling for empty document message
Remove custom styling for empty document message
CSS
apache-2.0
Orodan/3akai-ux-jitsi-fork,nicolaasmatthijs/3akai-ux,jfederico/3akai-ux,Orodan/3akai-ux,timdegroote/3akai-ux,Coenego/avocet-ui,stuartf/3akai-ux,timdegroote/3akai-ux,simong/3akai-ux,Orodan/3akai-ux-jitsi-fork,nicolaasmatthijs/3akai-ux,mrvisser/3akai-ux,jfederico/3akai-ux,Orodan/3akai-ux-jitsi-fork,nicolaasmatthijs/3akai...
css
## Code Before: /*! * Copyright 2014 Apereo Foundation (AF) Licensed under the * Educational Community License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may * obtain a copy of the License at * * http://opensource.org/licenses/ECL-2.0 * * Unless requ...
a92daf9cd71bd5e2935fbb1662791eac3fab45c8
lib/octopolo/templates/pull_request_body.erb
lib/octopolo/templates/pull_request_body.erb
<%= description %> Deploy Plan ----------- Does Infrastructure need to know anything special about this deploy? If so, keep this section and fill it in. **Otherwise, delete it.** Rollback Plan ------------- **If this pull request requires anything more complex (e.g., rolling back a migration), you MUST update this se...
<%= description %> Deploy Plan ----------- Does Infrastructure need to know anything special about this deploy? If so, keep this section and fill it in. **Otherwise, delete it.** Rollback Plan ------------- **If this pull request requires anything more complex (e.g., rolling back a migration), you MUST update this se...
Update pull request template to include the jira issue urls
Update pull request template to include the jira issue urls
HTML+ERB
mit
sportngin/octopolo,sportngin/octopolo,sportngin/octopolo
html+erb
## Code Before: <%= description %> Deploy Plan ----------- Does Infrastructure need to know anything special about this deploy? If so, keep this section and fill it in. **Otherwise, delete it.** Rollback Plan ------------- **If this pull request requires anything more complex (e.g., rolling back a migration), you MUS...
37a4052294143c19020a9f6f391ad8739f231e61
assets/scss/components/foundation/modal/_modal.scss
assets/scss/components/foundation/modal/_modal.scss
// ============================================================================= // MODAL (CSS) // ============================================================================= .modal { min-height: 240px; } .modal-header-title { text-align: center; } .modal-close { text-decoration: none; } .modal-body .moda...
// ============================================================================= // MODAL (CSS) // ============================================================================= .modal { left: 0; margin: 0 auto; max-height: 90%; max-width: 95%; min-height: 240px; right: 0; top: 50% !importan...
Fix modal layout for small screens
Fix modal layout for small screens
SCSS
mit
ovsokolov/dashconnect-bc,bc-annavu/stencil,caras-ey/BST,PascalZajac/cornerstone,aaronrodier84/flukerfarms,aaronrodier84/rouxbrands,mcampa/cornerstone,aaronrodier84/rouxbrands,PascalZajac/cornerstone,PascalZajac/cornerstone,bigcommerce/stencil,ovsokolov/dashconnect-bc,rho1140/cornerstone,PeteyRev/ud-revamp,aaronrodier84...
scss
## Code Before: // ============================================================================= // MODAL (CSS) // ============================================================================= .modal { min-height: 240px; } .modal-header-title { text-align: center; } .modal-close { text-decoration: none; } ....
69ddd0b9133497be045fa9fe3a82a711985c3d3e
kuulemma/templates/_footer.html
kuulemma/templates/_footer.html
<footer> <div class="container"> <div class="brand"> <img src="{{ url_for('static', filename='images/helsinki-coat-of-arms-black.png') }}" alt="Helsingin vaakuna"> <a href="#">Kerrokantasi</a> </div> <div class="footer-links"> <ul> <li> <a class="navbar-info-link" href="{{ ur...
<footer> <div class="container"> <div class="brand"> <img src="{{ url_for('static', filename='images/helsinki-coat-of-arms-black.png') }}" alt="Helsingin vaakuna"> <a href="{{ url_for('frontpage.index') }}">Kerrokantasi</a> </div> <div class="footer-links"> <ul> <li> <a class...
Fix footer home page link
Fix footer home page link
HTML
agpl-3.0
City-of-Helsinki/kuulemma,fastmonkeys/kuulemma,City-of-Helsinki/kuulemma,City-of-Helsinki/kuulemma,fastmonkeys/kuulemma,fastmonkeys/kuulemma
html
## Code Before: <footer> <div class="container"> <div class="brand"> <img src="{{ url_for('static', filename='images/helsinki-coat-of-arms-black.png') }}" alt="Helsingin vaakuna"> <a href="#">Kerrokantasi</a> </div> <div class="footer-links"> <ul> <li> <a class="navbar-info-l...
25724a77c19828d52cba2b6e682c67f67013590e
django_counter_field/fields.py
django_counter_field/fields.py
from django.db import models class CounterField(models.IntegerField): def __init__(self, *args, **kwargs): kwargs['default'] = kwargs.get('default', 0) super(CounterField, self).__init__(*args, **kwargs) try: from south.modelsinspector import add_introspection_rules except ImportError: pa...
from django.db import models class CounterField(models.IntegerField): """ CounterField wraps the standard django IntegerField. It exists primarily to allow for easy validation of counter fields. The default value of a counter field is 0. """ def __init__(self, *args, **kwargs): kwargs['def...
Fix bug in introspection rule
Fix bug in introspection rule
Python
mit
kajic/django-counter-field
python
## Code Before: from django.db import models class CounterField(models.IntegerField): def __init__(self, *args, **kwargs): kwargs['default'] = kwargs.get('default', 0) super(CounterField, self).__init__(*args, **kwargs) try: from south.modelsinspector import add_introspection_rules except Imp...
c026131558cdfd02d62d6d60bf494e93fd2d5285
test/fixtures/with-config/nuxt.config.js
test/fixtures/with-config/nuxt.config.js
module.exports = { router: { base: '/test/' }, cache: true, plugins: ['~plugins/test.js'], loading: '~components/loading', env: { bool: true, num: 23, string: 'Nuxt.js' } }
module.exports = { router: { base: '/test/' }, cache: true, plugins: ['~plugins/test.js'], loading: '~components/loading', env: { bool: true, num: 23, string: 'Nuxt.js' }, extend (config, options) { config.devtool = 'eval-source-map' } }
Add test for extend option
Add test for extend option
JavaScript
mit
jfroffice/nuxt.js,cj/nuxt.js,jfroffice/nuxt.js,cj/nuxt.js,mgesmundo/nuxt.js,mgesmundo/nuxt.js
javascript
## Code Before: module.exports = { router: { base: '/test/' }, cache: true, plugins: ['~plugins/test.js'], loading: '~components/loading', env: { bool: true, num: 23, string: 'Nuxt.js' } } ## Instruction: Add test for extend option ## Code After: module.exports = { router: { base: ...
777e4faba65618218baad5ff9ecf67a7000288a2
code/etc/adminhtml.xml
code/etc/adminhtml.xml
<?xml version="1.0"?> <config> <acl> <resources> <admin> <children> <system> <children> <config> <children> <algoliasearch translate="title"...
<?xml version="1.0"?> <config> <acl> <resources> <admin> <children> <system> <children> <config> <children> <algoliasearch translate="title"...
Fix ACL Algolia Search title
Fix ACL Algolia Search title
XML
mit
michaelscheel/algoliasearch-magento,michaelscheel/algoliasearch-magento,michaelscheel/algoliasearch-magento,michaelscheel/algoliasearch-magento
xml
## Code Before: <?xml version="1.0"?> <config> <acl> <resources> <admin> <children> <system> <children> <config> <children> <algoliasearch t...
9fd5ee1f16e5a44219ee6fff0d38bd330da966a1
circle.yml
circle.yml
version: 2 executorType: docker containerInfo: - image: golang:1.8 stages: build: workDir: /go/src/github.com/itzg/restify steps: - type: checkout - type: shell command: | go get go install - type: deploy command: | tag=$(git describe --exact-m...
version: 2 executorType: docker containerInfo: - image: golang:1.8 stages: build: workDir: /go/src/github.com/itzg/restify steps: - type: checkout - type: shell command: | go get go install - type: deploy command: | tag=$(git describe --exact-m...
Remove use of old CIRCLE env vars
Remove use of old CIRCLE env vars
YAML
apache-2.0
itzg/restify
yaml
## Code Before: version: 2 executorType: docker containerInfo: - image: golang:1.8 stages: build: workDir: /go/src/github.com/itzg/restify steps: - type: checkout - type: shell command: | go get go install - type: deploy command: | tag=$(git de...
af43e2f29ccf25169cc32fe1c9af36b876a1c11a
tests/KafkaTest/Produce/ProduceTest.php
tests/KafkaTest/Produce/ProduceTest.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ // +--------------------------------------------------------------------------- // | SWAN [ $_SWANBR_SLOGAN_$ ] // +--------------------------------------------------------------------------- // | Copyright $_SWANBR_COPYRIGHT_$ // +-...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ // +--------------------------------------------------------------------------- // | SWAN [ $_SWANBR_SLOGAN_$ ] // +--------------------------------------------------------------------------- // | Copyright $_SWANBR_COPYRIGHT_$ // +-...
Mark empty test as incomplete
Mark empty test as incomplete To make things more explicit.
PHP
apache-2.0
nmred/kafka-php,nmred/kafka-php,weiboad/kafka-php
php
## Code Before: <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ // +--------------------------------------------------------------------------- // | SWAN [ $_SWANBR_SLOGAN_$ ] // +--------------------------------------------------------------------------- // | Copyright $_SWANBR_C...
56b9725cbd96bc462fc09fcce0c12e8a6851d2cd
package.json
package.json
{ "name": "fly-quaint", "version": "0.0.0", "description": "Quaint plugin for Fly.", "license": "MIT", "repository": "https://github.com/MadcapJake/fly-quaint", "main": "lib/index.js", "keywords": [ "fly", "fly-plugin", "quaint" ], "scripts": { "lint": "eslint *.js", "setup": "npm ...
{ "name": "fly-quaint", "version": "0.0.0", "description": "Quaint plugin for Fly.", "license": "MIT", "repository": "https://github.com/MadcapJake/fly-quaint", "main": "lib/index.js", "keywords": [ "fly", "fly-plugin", "quaint" ], "scripts": { "lint": "eslint *.js", "setup": "npm ...
Update `build` script to fly
Update `build` script to fly
JSON
mit
MadcapJake/fly-quaint
json
## Code Before: { "name": "fly-quaint", "version": "0.0.0", "description": "Quaint plugin for Fly.", "license": "MIT", "repository": "https://github.com/MadcapJake/fly-quaint", "main": "lib/index.js", "keywords": [ "fly", "fly-plugin", "quaint" ], "scripts": { "lint": "eslint *.js", ...
4d89dbd4f128b7fb87bd28ab6ddd3887cc0c3ce1
apps/hortonworks/hdp2/centos6/README.md
apps/hortonworks/hdp2/centos6/README.md
Deploy ====== First, build the startup scripts for the instances by running the following command from this directory: ```bash make -s -C scripts/init ``` To deploy Ambari, run the following command from the top-level directory: ```bash src/cloud_launcher.sh --config apps/hortonworks/hdp2/centos6/vm/ambari.py inser...
Deploy ====== First, build the startup scripts for the instances by running the following command from this directory: ```bash make -s -C scripts/init ``` To deploy Ambari, run the following command from the top-level directory: ```bash src/cloud_launcher.sh --config apps/hortonworks/hdp2/centos6/vm/ambari.py inser...
Switch from an SSH tunnel to a SOCKS proxy.
Switch from an SSH tunnel to a SOCKS proxy.
Markdown
apache-2.0
mbrukman/cloud-launcher,mbrukman/cloud-launcher,mbrukman/cloud-launcher,mbrukman/cloud-launcher
markdown
## Code Before: Deploy ====== First, build the startup scripts for the instances by running the following command from this directory: ```bash make -s -C scripts/init ``` To deploy Ambari, run the following command from the top-level directory: ```bash src/cloud_launcher.sh --config apps/hortonworks/hdp2/centos6/vm...
620383bae31caa246a05bd77a1abdb88c2fb7543
iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKDispatchQueue.h
iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKDispatchQueue.h
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. */ #if FB_SONARKIT_ENABLED #pragma once #import <dispatch/dispatch.h> namespace facebook { namespace flipper { class DispatchQ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. */ #if FB_SONARKIT_ENABLED #pragma once #import <dispatch/dispatch.h> namespace facebook { namespace flipper { class DispatchQ...
Add virtual destructor to class with virtual functions but non-virtual destructor
Add virtual destructor to class with virtual functions but non-virtual destructor Reviewed By: jdthomas Differential Revision: D16954508 fbshipit-source-id: 958118843687145c1147ac5beeb2857b21332702
C
mit
facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper
c
## Code Before: /* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. */ #if FB_SONARKIT_ENABLED #pragma once #import <dispatch/dispatch.h> namespace facebook { namespace flipper { ...
68dcac11de3bebdcabaaa4d347bc94053b4baee4
README.md
README.md
This is a simple package for consuming the [Edmunds.com](http://developer.edmunds.com/) API.
This is a simple package for consuming the [Edmunds.com](http://developer.edmunds.com/) API. Install with: `Install-Package EdmundsApiSDK`
Update readme with install information.
Update readme with install information.
Markdown
mit
mnitchie/EdmundsApiSDK
markdown
## Code Before: This is a simple package for consuming the [Edmunds.com](http://developer.edmunds.com/) API. ## Instruction: Update readme with install information. ## Code After: This is a simple package for consuming the [Edmunds.com](http://developer.edmunds.com/) API. Install with: `Install-Package EdmundsApiSDK`
bff030c6b618a8b4ad868fb71775130eb50d5ab4
src/main/java/com/github/aureliano/achmed/os/pkg/IPackageManager.java
src/main/java/com/github/aureliano/achmed/os/pkg/IPackageManager.java
package com.github.aureliano.achmed.os.pkg; import com.github.aureliano.achmed.command.CommandResponse; import com.github.aureliano.achmed.resources.properties.PackageProperties; public interface IPackageManager { public abstract CommandResponse install(); public abstract CommandResponse uninstall(); public a...
package com.github.aureliano.achmed.os.pkg; import com.github.aureliano.achmed.command.CommandResponse; import com.github.aureliano.achmed.resources.properties.PackageProperties; public interface IPackageManager { public abstract CommandResponse install(); public abstract CommandResponse uninstall(); public a...
Add method to check whether package is installed.
Add method to check whether package is installed.
Java
mit
aureliano/achmed
java
## Code Before: package com.github.aureliano.achmed.os.pkg; import com.github.aureliano.achmed.command.CommandResponse; import com.github.aureliano.achmed.resources.properties.PackageProperties; public interface IPackageManager { public abstract CommandResponse install(); public abstract CommandResponse uninstal...
701d18bb45e7f34ed38056fb5172d9286ccc5103
scripts/test.sh
scripts/test.sh
echo "##############" echo "# unit tests #" echo "##############" python -m unittest utils.test_sims || exit 1 echo "#################" echo "# pylint report #" echo "#################" pylint utils *.py exit 0
ls -aR ./ echo "##############" echo "# unit tests #" echo "##############" python -m unittest utils.test_sims || exit 1 echo "#################" echo "# pylint report #" echo "#################" pylint utils *.py exit 0
Add command to print out all files in directory
Add command to print out all files in directory
Shell
mit
wei2912/bce-simulation,wei2912/bce-simulation,wei2912/bce-simulation,wei2912/bce-simulation
shell
## Code Before: echo "##############" echo "# unit tests #" echo "##############" python -m unittest utils.test_sims || exit 1 echo "#################" echo "# pylint report #" echo "#################" pylint utils *.py exit 0 ## Instruction: Add command to print out all files in directory ## Code After: ls -aR...
279cc2c1440a218bcea402132bb6b4f73b99500c
app/overrides/add_product_relation_admin_sub_menu_tab.rb
app/overrides/add_product_relation_admin_sub_menu_tab.rb
Deface::Override.new( virtual_path: 'spree/admin/shared/sub_menu/_product', name: 'add_product_relation_admin_sub_menu_tab', insert_bottom: '[data-hook="admin_product_sub_tabs"]', text: '<%= tab :relation_types, label: Spree::RelationType.model_name.human(count: :many) %>' )
Deface::Override.new( virtual_path: 'spree/admin/shared/sub_menu/_product', name: 'add_product_relation_admin_sub_menu_tab', insert_bottom: '[data-hook="admin_product_sub_tabs"]', text: '<%= tab :relation_types, label: plural_resource_name(Spree::RelationType) %>' )
Fix pluralization of Spree::RelationType model in menu
Fix pluralization of Spree::RelationType model in menu See https://github.com/spree/spree/issues/5842
Ruby
bsd-3-clause
macmm/spree_related_products,macmm/spree_related_products,spree-contrib/spree_related_products,spree-contrib/spree_related_products,macmm/spree_related_products,stevecawdery/spree_related_products,stevecawdery/spree_related_products,stevecawdery/spree_related_products,spree-contrib/spree_related_products
ruby
## Code Before: Deface::Override.new( virtual_path: 'spree/admin/shared/sub_menu/_product', name: 'add_product_relation_admin_sub_menu_tab', insert_bottom: '[data-hook="admin_product_sub_tabs"]', text: '<%= tab :relation_types, label: Spree::RelationType.model_name.human(count: :many) %>' ) ## Instruction: Fix...
7fb32d0117c32c40596af09e148feceb5dc52be5
plugins/inquiry/app/views/inquiry/inquiries/_inquiries.html.haml
plugins/inquiry/app/views/inquiry/inquiries/_inquiries.html.haml
.inquiries-container{data: {update_path: plugin('inquiry').inquiries_path(params.merge(partial:true)), update_interval: 600}} %table.table %thead %tr %th Request for %th Description %th Requester %th Updated %th Status %th.snug %tbody - if @inquiries...
.inquiries-container{data: {update_path: plugin('inquiry').inquiries_path(params.to_unsafe_hash.merge(partial:true)), update_interval: 600}} %table.table %thead %tr %th Request for %th Description %th Requester %th Updated %th Status %th.snug %tbody ...
Fix params merge error for Inquiries
Rails5: Fix params merge error for Inquiries
Haml
apache-2.0
sapcc/elektra,sapcc/elektra,sapcc/elektra,sapcc/elektra
haml
## Code Before: .inquiries-container{data: {update_path: plugin('inquiry').inquiries_path(params.merge(partial:true)), update_interval: 600}} %table.table %thead %tr %th Request for %th Description %th Requester %th Updated %th Status %th.snug %tbody ...
cc58943cdc7ea68a6a538a738f8c7c14d6fbf85a
src/common-declarations.js
src/common-declarations.js
const commonDeclarations = { boxSizing: [ 'border-box' ], display: [ 'block', 'inline-block', 'inline', 'table', 'table-cell', 'none' ], float: [ 'none', 'left', 'right' ], clear: [ 'none', 'left', 'right', 'both' ], textAlign: [ 'left', ...
const commonDeclarations = { boxSizing: [ 'border-box' ], display: [ 'block', 'inline-block', 'inline', 'table', 'table-cell', 'none' ], float: [ 'none', 'left', 'right' ], clear: [ 'none', 'left', 'right', 'both' ], textAlign: [ 'left', ...
Add backgrounds to common declarations
Add backgrounds to common declarations backgroundSize, backgroundRepeat, & backgroundPosition
JavaScript
mit
jxnblk/cxs
javascript
## Code Before: const commonDeclarations = { boxSizing: [ 'border-box' ], display: [ 'block', 'inline-block', 'inline', 'table', 'table-cell', 'none' ], float: [ 'none', 'left', 'right' ], clear: [ 'none', 'left', 'right', 'both' ], textAlign...
d488f14337e8bf0105a3b2bfdf076f48155320bf
test/setup.js
test/setup.js
'use strict' var mkdir = require('mkdirp').sync var rimraf = require('rimraf').sync beforeEach(function () { rimraf(__dirname + '/output/') mkdir(__dirname + '/output/') }) afterEach(function () { rimraf(__dirname + '/output/') })
'use strict' var mkdir = retry(require('mkdirp')) var rimraf = retry(require('rimraf')) beforeEach(function (callback) { rimraf(__dirname + '/output/', function (err) { if (err) return callback(err) mkdir(__dirname + '/output/', callback) }) }) afterEach(function (callback) { rimraf(__dirname + '/output...
Add retry logic to tests
Add retry logic to tests This should make them pass more consistently on windows
JavaScript
bsd-2-clause
ForbesLindesay/npm-fetch
javascript
## Code Before: 'use strict' var mkdir = require('mkdirp').sync var rimraf = require('rimraf').sync beforeEach(function () { rimraf(__dirname + '/output/') mkdir(__dirname + '/output/') }) afterEach(function () { rimraf(__dirname + '/output/') }) ## Instruction: Add retry logic to tests This should make them p...
be748eb2c3059cccf65c885a5916ef81ec188003
lib/validate_as_email/rspec.rb
lib/validate_as_email/rspec.rb
require 'rspec/rails/extensions/active_record/base' # Adds a custom matcher to RSpec to make it easier to make sure your email # column is valid. # # class Person # include ActiveModel::Validations # # validates_as_email :email # # def initialize(attributes = {}) # @attributes = attributes # end...
RSpec::Matchers.define(:have_a_valid_email_address_for) do |column_name| match do |klass| %w( matz@example.com a@b.tld 1@8.8.8.8 ).each do |valid| klass.send("#{column_name}=", valid) klass.should have(0).errors_on(column_name) end %w( word a@ @b ...
Remove one more instance of old requirement
Remove one more instance of old requirement
Ruby
mit
change/validate_as_email
ruby
## Code Before: require 'rspec/rails/extensions/active_record/base' # Adds a custom matcher to RSpec to make it easier to make sure your email # column is valid. # # class Person # include ActiveModel::Validations # # validates_as_email :email # # def initialize(attributes = {}) # @attributes = attr...
b1f166e61664e389a511a15ceab5ca65462c190c
Chart/Renderer/JavaScript.php
Chart/Renderer/JavaScript.php
<?php namespace Outspaced\ChartsiaBundle\Chart\Renderer; use Outspaced\ChartsiaBundle\Chart\Charts; use Outspaced\ChartsiaBundle\Chart\Config; class JavaScript { /** * @param BaseChart $chart * @param \Twig_Environment $engine */ public function renderWithTwig(Charts\BaseChart $chart, \Twig_En...
<?php namespace Outspaced\ChartsiaBundle\Chart\Renderer; use Outspaced\ChartsiaBundle\Chart\Charts; use Outspaced\ChartsiaBundle\Chart\Config; class JavaScript { /** * @param BaseChart $chart * @param \Twig_Environment $engine */ public function renderWithTwig(Charts\BaseChart $chart, \Twig_En...
Put size elements into place for JS renderer
Put size elements into place for JS renderer
PHP
mit
outspaced/chartsia,outspaced/google-chart-maker,outspaced/chartsia,outspaced/google-chart-maker
php
## Code Before: <?php namespace Outspaced\ChartsiaBundle\Chart\Renderer; use Outspaced\ChartsiaBundle\Chart\Charts; use Outspaced\ChartsiaBundle\Chart\Config; class JavaScript { /** * @param BaseChart $chart * @param \Twig_Environment $engine */ public function renderWithTwig(Charts\BaseChart ...
d8f4763a5c6946c3323f2567cb1554244c844c05
test/unit/model/view.coffee
test/unit/model/view.coffee
sinon = require 'sinon' should = require 'should' describe 'Client model: View', -> helper = require '../helper' helper.evalConcatenatedFile 'client/code/model/tool.coffee' helper.evalConcatenatedFile 'client/code/model/view.coffee' describe 'URL', -> beforeEach -> @tool = Cu.Model.Tool.findOrCreate...
sinon = require 'sinon' should = require 'should' describe 'Client model: View', -> helper = require '../helper' helper.evalConcatenatedFile 'client/code/model/tool.coffee' helper.evalConcatenatedFile 'client/code/model/view.coffee' describe 'URL', -> beforeEach -> @tool = Cu.Model.Tool.findOrCreate...
Remove old View test, which can't possibly work as Views don't have their own persistent model on server side
Remove old View test, which can't possibly work as Views don't have their own persistent model on server side
CoffeeScript
agpl-3.0
scraperwiki/custard,scraperwiki/custard,scraperwiki/custard
coffeescript
## Code Before: sinon = require 'sinon' should = require 'should' describe 'Client model: View', -> helper = require '../helper' helper.evalConcatenatedFile 'client/code/model/tool.coffee' helper.evalConcatenatedFile 'client/code/model/view.coffee' describe 'URL', -> beforeEach -> @tool = Cu.Model.T...
08166e2b42acd62bd6572de07fb1525fb8144be3
app/views/quotes/index.html.haml
app/views/quotes/index.html.haml
.anime-discover.anime-show.anime-show-full .row .three.columns = render partial: 'anime/card', locals: {data: [@anime, @watchlist, 'twelve']} .nine.columns .panel.top-bar %h4= title "#{@anime.title} Quotes" %a{"data-reveal-id" => "submit-quote", :href => "#"} %span= "Sub...
.anime-discover.anime-show.anime-show-full .row .three.columns = render partial: 'anime/card', locals: {data: [@anime, @watchlist, 'twelve']} .nine.columns .panel.top-bar %h4= title "#{@anime.title} Quotes" %a{"data-reveal-id" => "submit-quote", :href => "#"} %span= "Sub...
Replace textual quote vote link with full & empty star.
Replace textual quote vote link with full & empty star.
Haml
apache-2.0
Snitzle/hummingbird,NuckChorris/hummingbird,hummingbird-me/hummingbird,paladique/hummingbird,sidaga/hummingbird,NuckChorris/hummingbird,Snitzle/hummingbird,wlads/hummingbird,MiLk/hummingbird,qgustavor/hummingbird,NuckChorris/hummingbird,saintsantos/hummingbird,wlads/hummingbird,erengy/hummingbird,jcoady9/hummingbird,Mi...
haml
## Code Before: .anime-discover.anime-show.anime-show-full .row .three.columns = render partial: 'anime/card', locals: {data: [@anime, @watchlist, 'twelve']} .nine.columns .panel.top-bar %h4= title "#{@anime.title} Quotes" %a{"data-reveal-id" => "submit-quote", :href => "#"} ...
5fe1689a6ae64429d21d8747e39a0ad4dd1fff13
templates/swagged-angular-resources-provider.hbs
templates/swagged-angular-resources-provider.hbs
'use strict'; require('angular'); require('angular-resource'); angular.module('swaggedAngularResources', ['ngResource']) .config(function($resourceProvider) { $resourceProvider.defaults.stripTrailingSlashes = false; }) {{#each resourceOperations}} .{{../angularProviderType}}('{{@key}}{{../angularProviderSuffix}}', ...
angular.module('swaggedAngularResources', ['ngResource']) .config(function($resourceProvider) { $resourceProvider.defaults.stripTrailingSlashes = false; }) {{#each resourceOperations}} .{{../angularProviderType}}('{{@key}}{{../angularProviderSuffix}}', function() { this.$get = function($resource, apiUrl) { retu...
Remove browserify statements from template
Remove browserify statements from template
Handlebars
mit
mchlbrnd/swagged-angular-resources,mchlbrnd/swagged-angular-resources
handlebars
## Code Before: 'use strict'; require('angular'); require('angular-resource'); angular.module('swaggedAngularResources', ['ngResource']) .config(function($resourceProvider) { $resourceProvider.defaults.stripTrailingSlashes = false; }) {{#each resourceOperations}} .{{../angularProviderType}}('{{@key}}{{../angularPro...
3a74d30bbcab64cf528aa0bf3e1c99d12660d0f6
.travis.yml
.travis.yml
sudo: false language: node_js node_js: - '0.10' before_script: - npm install -g grunt-cli - git submodule update --init --recursive deploy: provider: s3 bucket: code.fireboltjs.com skip_cleanup: true local-dir: dist access_key_id: secure: SIFyjgmdTR5BPhOTNp6YydkSvTukSomEnc7v70fkfVI8prJAQ3/cqbCJelC9Z...
sudo: false language: node_js node_js: - '0.10' before_script: - npm install -g grunt-cli deploy: provider: s3 bucket: code.fireboltjs.com skip_cleanup: true local-dir: dist access_key_id: secure: SIFyjgmdTR5BPhOTNp6YydkSvTukSomEnc7v70fkfVI8prJAQ3/cqbCJelC9ZSlbfTcwZjm8g1n4zwis1AdnnUAp27ndpeJozTH6qJN4o...
Remove unnecessary before_script command from Travis config
Remove unnecessary before_script command from Travis config [ci skip]
YAML
mit
woollybogger/code.fireboltjs.com,woollybogger/code.fireboltjs.com
yaml
## Code Before: sudo: false language: node_js node_js: - '0.10' before_script: - npm install -g grunt-cli - git submodule update --init --recursive deploy: provider: s3 bucket: code.fireboltjs.com skip_cleanup: true local-dir: dist access_key_id: secure: SIFyjgmdTR5BPhOTNp6YydkSvTukSomEnc7v70fkfVI8p...
fd14a442ac48c6b9a83fc1e03e8d315581e7e33c
src/components/encodingvariations/encodingvariations.scss
src/components/encodingvariations/encodingvariations.scss
.encoding-variations { .selected-variation { display: flex; flex-direction: column; & > .vl-plotgroup { flex: 0 0 100%; box-sizing: border-box; } } } .encoding-variations .variations { max-width: 300px; width: 300px; flex-shrink: 0.2; flex-grow: 0; overflow-y: scroll; paddi...
.encoding-variations { .selected-variation { display: flex; flex-direction: column; & > .vl-plotgroup { flex: 0 0 100%; box-sizing: border-box; } } } .encoding-variations .variations { max-width: 300px; width: 300px; flex-shrink: 0.2; flex-grow: 0; overflow-y: scroll; paddi...
Fix offset in encoding variations
Fix offset in encoding variations
SCSS
bsd-3-clause
uwdata/voyager,uwdata/voyager,uwdata/voyager
scss
## Code Before: .encoding-variations { .selected-variation { display: flex; flex-direction: column; & > .vl-plotgroup { flex: 0 0 100%; box-sizing: border-box; } } } .encoding-variations .variations { max-width: 300px; width: 300px; flex-shrink: 0.2; flex-grow: 0; overflow-y: ...
385ffd4bee9501add7c6495bbe2dd3896c248751
length_field.go
length_field.go
package sarama import "encoding/binary" // LengthField implements the PushEncoder and PushDecoder interfaces for calculating 4-byte lengths. type lengthField struct { startOffset int } func (l *lengthField) saveOffset(in int) { l.startOffset = in } func (l *lengthField) reserveLength() int { return 4 } func (l ...
package sarama import "encoding/binary" // LengthField implements the PushEncoder and PushDecoder interfaces for calculating 4-byte lengths. type lengthField struct { startOffset int } func (l *lengthField) saveOffset(in int) { l.startOffset = in } func (l *lengthField) reserveLength() int { return 4 } func (l ...
Add support for length fields encoded as varints.
Add support for length fields encoded as varints. Kafka 0.11 encodes Record length as varint.
Go
mit
remerge/sarama,Shopify/sarama,vrischmann/sarama,DataDog/sarama,mailgun/sarama,VividCortex/sarama,mailgun/sarama,vrischmann/sarama,DataDog/sarama,remerge/sarama,VividCortex/sarama,Shopify/sarama
go
## Code Before: package sarama import "encoding/binary" // LengthField implements the PushEncoder and PushDecoder interfaces for calculating 4-byte lengths. type lengthField struct { startOffset int } func (l *lengthField) saveOffset(in int) { l.startOffset = in } func (l *lengthField) reserveLength() int { retu...
e4e6bfea8a66842854b70671bf5f4a4f8e5700c3
turrentine/static/turrentine/css/page_edit.css
turrentine/static/turrentine/css/page_edit.css
label[for=id_content] { display:none; } #id_content { font-family: monospace; width: 60%; min-height: 500px; background: -webkit-linear-gradient(#fff, #eee); font-size:1.3em; } #preview_container { width:37%; height:500px; float:right; margin:0 1em; position:relative; } #live_preview { ...
label[for=id_content] { display:none; } #id_content { font-family: monospace; width: 52%; min-height: 500px; background: -webkit-linear-gradient(#fff, #eee); font-size:1.3em; float:left; } #preview_container { width:45%; height:500px; float:left; margin:0 0 0 1em; position:relative;...
Improve proportions between widths of the content textarea and preview iframe.
Improve proportions between widths of the content textarea and preview iframe.
CSS
bsd-3-clause
af/turrentine,af/turrentine
css
## Code Before: label[for=id_content] { display:none; } #id_content { font-family: monospace; width: 60%; min-height: 500px; background: -webkit-linear-gradient(#fff, #eee); font-size:1.3em; } #preview_container { width:37%; height:500px; float:right; margin:0 1em; position:relative; } ...
d88a1b91bb0213308a3ef0405f2e7703d42e69b9
doc/macbuild_master_setup.txt
doc/macbuild_master_setup.txt
passenger-install-nginx-module ## Changes to nginx configuration ## # Up the maximum size allowed for requests (allows us to POST large log files) client_max_body_size 100M; # Increase the http timeout above 60 seconds; necessary for large uploads client_body_timeout 90; # Transmit all of the .gz files under log_fi...
cd /Users/square curl http://nginx.org/download/nginx-1.2.4.tar.gz | tar xvz # Install the passenger gem into the 1.9.3@kochiku gemset $ cd ~/kochiku/current $ gem install passenger -v 3.0.18 $ which passenger-install-nginx-module # => /Users/square/.rvm/gems/ruby-1.9.3-p194@kochiku/bin/passe...
Update the documentation for upgrading nginx+passenger
Update the documentation for upgrading nginx+passenger
Text
apache-2.0
square/kochiku,square/kochiku,square/kochiku,rudle/kochiku,moshez/kochiku,IoraHealth/kochiku,rudle/kochiku,square/kochiku,moshez/kochiku,moshez/kochiku,rudle/kochiku,rudle/kochiku,IoraHealth/kochiku,IoraHealth/kochiku,moshez/kochiku
text
## Code Before: passenger-install-nginx-module ## Changes to nginx configuration ## # Up the maximum size allowed for requests (allows us to POST large log files) client_max_body_size 100M; # Increase the http timeout above 60 seconds; necessary for large uploads client_body_timeout 90; # Transmit all of the .gz fi...
33130e78840f4215223a573f22d06043c737d130
.travis.yml
.travis.yml
language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "nightly" # currently points to 3.7-dev before_install: - "pip install Cython" - "pip install numpy" install: - "pip install -r requirements-test.txt" script: PYTHONPATH=. py.test --cov after_success: coveralls
language: python matrix: include: - python: "2.7" - python: "3.4" - python: "3.5" - python: "3.6" - python: "3.7" dist: xenial sudo: true before_install: - "pip install Cython" - "pip install numpy" install: - "pip install -r requirements-test.txt" script: PYTHONPATH=...
Add a 3.7 test runner
Add a 3.7 test runner
YAML
bsd-2-clause
cjrh/misu
yaml
## Code Before: language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "nightly" # currently points to 3.7-dev before_install: - "pip install Cython" - "pip install numpy" install: - "pip install -r requirements-test.txt" script: PYTHONPATH=. py.test --cov after_success: coveralls ## ...
fd3b7560e509ef37db4333f7a4c1e98f001608a1
README.md
README.md
This repository contains FIRST Team 422's code for the 2014 season of the FIRST Robotics Challenge. This code is released under the MIT License. The text of this license is available in [LICENSE.txt](LICENSE.txt).
This repository contains FIRST Team 422's code for the 2014 season of the FIRST Robotics Challenge. This code is released under the MIT License. The text of this license is available in [LICENSE.txt](LICENSE.txt). This is another test for a development branch. With multiple commits.
Test branch merging, with multiple commits and a rebase
Test branch merging, with multiple commits and a rebase
Markdown
mit
team422/FRC-14
markdown
## Code Before: This repository contains FIRST Team 422's code for the 2014 season of the FIRST Robotics Challenge. This code is released under the MIT License. The text of this license is available in [LICENSE.txt](LICENSE.txt). ## Instruction: Test branch merging, with multiple commits and a rebase ## Code After: ...
9cf8c84a7d944212b7af58e366d3f11006b1cd1f
db/migrate/20210211115125_migrate_shipment_fees_to_shipments.rb
db/migrate/20210211115125_migrate_shipment_fees_to_shipments.rb
class MigrateShipmentFeesToShipments < ActiveRecord::Migration def up # Shipping fee adjustments currently have the order as the `adjustable` and the shipment as # the `source`. Both `source` and `adjustable` will now be the shipment. The `originator` is # the shipping method, and this is unchanged. S...
class MigrateShipmentFeesToShipments < ActiveRecord::Migration class Spree::Adjustment < ActiveRecord::Base belongs_to :originator, polymorphic: true end def up # Shipping fee adjustments currently have the order as the `adjustable` and the shipment as # the `source`. Both `source` and `adjustable` w...
Add model definition to migration
Add model definition to migration
Ruby
agpl-3.0
mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-h...
ruby
## Code Before: class MigrateShipmentFeesToShipments < ActiveRecord::Migration def up # Shipping fee adjustments currently have the order as the `adjustable` and the shipment as # the `source`. Both `source` and `adjustable` will now be the shipment. The `originator` is # the shipping method, and this is ...
31cb18dabb765d0473e17962fe8eac882ed242d7
lib/simple-queue.js
lib/simple-queue.js
module.exports = SimpleQueue; function SimpleQueue() { var self = this; self.fifo = []; self.executing = false; } SimpleQueue.prototype.push = function (fn) { var self = this; self.fifo.push(fn); self.maybeNext(); }; SimpleQueue.prototype.maybeNext = function () { var self = this; if (!se...
module.exports = SimpleQueue; function SimpleQueue() { var self = this; self.fifo = []; self.executing = false; } SimpleQueue.prototype.push = function (fn) { var self = this; self.fifo.push(fn); self.maybeNext(); }; SimpleQueue.prototype.maybeNext = function () { var self = this; if (!se...
Add next() function to SimpleQueue
Add next() function to SimpleQueue
JavaScript
mit
silveirado/node-ibm_db,jbaxter0810/node-odbc,silveirado/node-ibm_db,gmahomarf/node-odbc,abiliooliveira/node-ibm_db,Akpotohwo/node-ibm_db,jbaxter0810/node-odbc,Papercloud/node-odbc,qpresley/node-ibm_db,Akpotohwo/node-ibm_db,jbaxter0810/node-odbc,gmahomarf/node-odbc,ibmdb/node-ibm_db,strongloop-forks/node-ibm_db,bustta/n...
javascript
## Code Before: module.exports = SimpleQueue; function SimpleQueue() { var self = this; self.fifo = []; self.executing = false; } SimpleQueue.prototype.push = function (fn) { var self = this; self.fifo.push(fn); self.maybeNext(); }; SimpleQueue.prototype.maybeNext = function () { var self = th...
07688d877058ed228ffb776b927138fc2ad1ed8d
addon/index.js
addon/index.js
import Ember from 'ember'; const { RSVP } = Ember; function preloadRecord(record, toPreload) { return preloadAll([record], toPreload).then(() => { return record; }); } function preloadAll(records, toPreload) { switch(Ember.typeOf(toPreload)) { case 'object': const properties = Object.keys(t...
import Ember from 'ember'; const { RSVP } = Ember; function getPromise(object, property) { return RSVP.resolve(Ember.get(object, property)); } function preloadRecord(record, toPreload) { if (!record) { return RSVP.resolve(record); } switch(Ember.typeOf(toPreload)) { case 'string': return getPr...
Refactor preload to handle more cases
Refactor preload to handle more cases
JavaScript
mit
levanto-financial/ember-data-preload,levanto-financial/ember-data-preload
javascript
## Code Before: import Ember from 'ember'; const { RSVP } = Ember; function preloadRecord(record, toPreload) { return preloadAll([record], toPreload).then(() => { return record; }); } function preloadAll(records, toPreload) { switch(Ember.typeOf(toPreload)) { case 'object': const properties...
42783c590b5ad9ea0f844ca2709a1e6a61721432
.github/workflows/main.yml
.github/workflows/main.yml
name: main on: push: branches: [master] pull_request: branches: [master] jobs: build: runs-on: ubuntu-latest strategy: matrix: arch: [x64, arm] target: [lib, exe, daemon, deb] steps: - uses: actions/checkout@v2 - name: Build run: make ${{ matrix.arch...
name: main on: push: branches: [master] pull_request: branches: [master] jobs: build: runs-on: ubuntu-latest strategy: matrix: arch: [x64, arm] target: [lib, exe, daemon, deb] steps: - uses: actions/checkout@v2 - uses: actions/cache@v1 with: ...
Use cache on GitHub Actions
Use cache on GitHub Actions
YAML
mit
yasuyuky/ghteam-auth,yasuyuky/ghteam-auth
yaml
## Code Before: name: main on: push: branches: [master] pull_request: branches: [master] jobs: build: runs-on: ubuntu-latest strategy: matrix: arch: [x64, arm] target: [lib, exe, daemon, deb] steps: - uses: actions/checkout@v2 - name: Build run: make...
73e4f2c333e7b4f02dbb0ec344a3a671ba97cac3
library-examples/read-replace-export-excel.py
library-examples/read-replace-export-excel.py
import shutil from openpyxl import load_workbook, Workbook shutil.copyfile('sample-input-fortest.xlsx','sample-input-fortest-out.xlsx') #point to the file to be read. Intuitive. wb2 = load_workbook('sample-input-fortest.xlsx') #convince your self that sheet names are retireved. sheet_names = wb2.get_sheet_names() p...
import shutil from openpyxl import load_workbook, Workbook #point to the file to be read. Intuitive. wb2 = load_workbook('sample-input-fortest.xlsx') #convince your self that sheet names are retireved. sheet_names = wb2.get_sheet_names() print sheet_names #work book is simply a list of sheets sheet = wb2[sheet_names...
Change so original input does not change.
Change so original input does not change.
Python
apache-2.0
iku000888/Excel_Translation_Helper
python
## Code Before: import shutil from openpyxl import load_workbook, Workbook shutil.copyfile('sample-input-fortest.xlsx','sample-input-fortest-out.xlsx') #point to the file to be read. Intuitive. wb2 = load_workbook('sample-input-fortest.xlsx') #convince your self that sheet names are retireved. sheet_names = wb2.get...
aa2009651c2b3b5f5a2da46d80f122141d099ce7
sass/partials/_forms.scss
sass/partials/_forms.scss
form { } form.feature { padding-top: $spacing; padding-bottom: $spacing * 2; } input[type="text"], input[type="password"] { padding: $spacing / 2; font-size: 150%; border: 2px solid $gray; border-radius: $radius; color: $gray; } input[type="submit"], input[type="button"], button, a.button { display: ...
form { } form.feature { padding-top: $spacing; padding-bottom: $spacing * 2; } input[type="text"], input[type="password"] { padding: $spacing / 2; font: ($font-body-size * 1.75) $font-body; border: 2px solid $gray; border-radius: $radius; color: $gray; } input[type="submit"], input[type="button"], butt...
Fix default font on input elements.
Fix default font on input elements.
SCSS
mit
jadaradix/fyp,jadaradix/fyp
scss
## Code Before: form { } form.feature { padding-top: $spacing; padding-bottom: $spacing * 2; } input[type="text"], input[type="password"] { padding: $spacing / 2; font-size: 150%; border: 2px solid $gray; border-radius: $radius; color: $gray; } input[type="submit"], input[type="button"], button, a.butt...
cf9e3e407abaa93b5ea12eaf0100abee2e2eb537
map.asd
map.asd
(defsystem :map :serial t :description "Octave-like functionality for lisp!" :version "0.1.0" :author "Matt Novenstern <fisxoj@gmail.com>" :components ((:file "package") (:file "conditions") (:module utilities :components ((:file "printing") (:file "missing-functions"))) (:...
(defsystem :map :serial t :description "Octave-like functionality for lisp!" :version "0.1.0" :author "Matt Novenstern <fisxoj@gmail.com>" :components ((:file "package") (:file "conditions") (:module utilities :components ((:file "printing") (:file "missing-functions"))) (:...
Load macros before the functions that use them
Load macros before the functions that use them
Common Lisp
agpl-3.0
fisxoj/map
common-lisp
## Code Before: (defsystem :map :serial t :description "Octave-like functionality for lisp!" :version "0.1.0" :author "Matt Novenstern <fisxoj@gmail.com>" :components ((:file "package") (:file "conditions") (:module utilities :components ((:file "printing") (:file "missing-function...
104109d502e3276d559c99cd7e4c3ec0f5741fa1
lib/oriented/core/transaction.rb
lib/oriented/core/transaction.rb
module Oriented module Core # # Class to encapsulate the transaction for OrientDB # # Currently, if anything fails, it will rollback the connection # and then CLOSE it. This means any existing objects in your # context will be hosed and you'll have to go get them from the db # with a new c...
module Oriented module Core # # Class to encapsulate the transaction for OrientDB # # Currently, if anything fails, it will rollback the connection # and then CLOSE it. This means any existing objects in your # context will be hosed and you'll have to go get them from the db # with a new c...
Remove unnecessary begin/end from Transaction.run
Remove unnecessary begin/end from Transaction.run
Ruby
mit
ruprict/oriented
ruby
## Code Before: module Oriented module Core # # Class to encapsulate the transaction for OrientDB # # Currently, if anything fails, it will rollback the connection # and then CLOSE it. This means any existing objects in your # context will be hosed and you'll have to go get them from the db ...
119415a7a4e6db2848b6e582a192ef309cff660f
README.md
README.md
This is a weather station based on node.js that creates a webpage and graphs from the sensor data. By default, it records data once per minute, and supports CSV exports to excel date/time format. ### Requirements: - Raspberry Pi - node.js - npm Node package requirements are listed in package.json. ### Supports: - TS...
This is a weather station based on node.js that creates a webpage and graphs from the sensor data. Currently, data is recorded once per minute to display in the live data section, and an average is taken every 5 minutes for display on graphs (powered by chart.js) Raw data can be output as CSV (for excel), HTML (for vie...
Update readme with references to PHP and outputs
Update readme with references to PHP and outputs
Markdown
mit
comp500/sensor-reporter,comp500/sensor-reporter
markdown
## Code Before: This is a weather station based on node.js that creates a webpage and graphs from the sensor data. By default, it records data once per minute, and supports CSV exports to excel date/time format. ### Requirements: - Raspberry Pi - node.js - npm Node package requirements are listed in package.json. ##...
2e6cfe56806a7fb07396293568c6c4449dccf188
gifer.js
gifer.js
'use strict'; function init() { // Disable drag + drop event for document. document.addEventListener('dragover', function(event) { event.preventDefault(); return false; }, false); document.addEventListener('drop', function(event) { event.preventDefault(); return false; }, false);...
'use strict'; const videoClip = require('./movie.js'); function bindUI() { // Bind options to videoClip file. } function reset() { // Reset options to values of video file. } function init() { // Disable drag + drop event for document. document.addEventListener('dragover', function(event) { ...
Add functions to be filled later
Add functions to be filled later
JavaScript
mit
mikkkee/gifer-electron,mikkkee/gifer-electron,mikkkee/gifer-electron
javascript
## Code Before: 'use strict'; function init() { // Disable drag + drop event for document. document.addEventListener('dragover', function(event) { event.preventDefault(); return false; }, false); document.addEventListener('drop', function(event) { event.preventDefault(); return false; }, fal...
c3d094074a6c4224efb39489110fe99b491d1108
utils/swift_build_support/swift_build_support/compiler_stage.py
utils/swift_build_support/swift_build_support/compiler_stage.py
class StageArgs(object): def __init__(self, stage, args): self.stage = stage self.args = args def __getattr__(self, key): real_key = '{}{}'.format(key, self.stage.postfix) if not hasattr(self.args, real_key): return None return getattr(self.args, real_key) ...
class StageArgs(object): def __init__(self, stage, args): self.stage = stage self.args = args assert(not isinstance(self.args, StageArgs)) def __getattr__(self, key): real_key = '{}{}'.format(key, self.stage.postfix) if not hasattr(self.args, real_key): retu...
Make sure that StageArgs are never passed a StageArgs as their args.
[build-script] Make sure that StageArgs are never passed a StageArgs as their args. No good reason to do this and simplifies the state space.
Python
apache-2.0
hooman/swift,ahoppen/swift,gregomni/swift,benlangmuir/swift,gregomni/swift,glessard/swift,ahoppen/swift,glessard/swift,hooman/swift,roambotics/swift,apple/swift,rudkx/swift,hooman/swift,ahoppen/swift,xwu/swift,xwu/swift,xwu/swift,JGiola/swift,rudkx/swift,apple/swift,hooman/swift,roambotics/swift,atrick/swift,benlangmui...
python
## Code Before: class StageArgs(object): def __init__(self, stage, args): self.stage = stage self.args = args def __getattr__(self, key): real_key = '{}{}'.format(key, self.stage.postfix) if not hasattr(self.args, real_key): return None return getattr(self.a...
4ae3b77847eeefd07d83f863c6ec71d7fdf750cb
turbustat/tests/test_rfft_to_fft.py
turbustat/tests/test_rfft_to_fft.py
from turbustat.statistics.rfft_to_fft import rfft_to_fft from ._testing_data import dataset1 import numpy as np import numpy.testing as npt from unittest import TestCase class testRFFT(TestCase): """docstring for testRFFT""" def __init__(self): self.dataset1 = dataset1 self.comp_rfft = rff...
import pytest from ..statistics.rfft_to_fft import rfft_to_fft from ._testing_data import dataset1 import numpy as np import numpy.testing as npt def test_rfft_to_rfft(): comp_rfft = rfft_to_fft(dataset1['moment0'][0]) test_rfft = np.abs(np.fft.rfftn(dataset1['moment0'][0])) shape2 = test_rfft.shap...
Fix and update the rfft tests
Fix and update the rfft tests
Python
mit
e-koch/TurbuStat,Astroua/TurbuStat
python
## Code Before: from turbustat.statistics.rfft_to_fft import rfft_to_fft from ._testing_data import dataset1 import numpy as np import numpy.testing as npt from unittest import TestCase class testRFFT(TestCase): """docstring for testRFFT""" def __init__(self): self.dataset1 = dataset1 self...
77e10cc4e9f1dca34b4fc9970cd11406ff2e9fbc
src/Faker/Provider/Computer.php
src/Faker/Provider/Computer.php
<?php namespace Faker\Provider; class Computer extends \Faker\Provider\Base { private static $macAddressDigits = array( "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F" ); /** * @example '32:F1:39:2F:D6:18' */ public static function macAddress()...
<?php namespace Faker\Provider; class Computer extends \Faker\Provider\Base { private static $macAddressDigits = array( "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F" ); /** * @example '32:F1:39:2F:D6:18' */ public static function macAddress()...
Use randomNumber instead of rand for better randomness. Use randomElement for picking elements from the allowed digits to make it possible for both digits of a MAC address block to be the same. Fixed for test failing on PHP 5.3.
Use randomNumber instead of rand for better randomness. Use randomElement for picking elements from the allowed digits to make it possible for both digits of a MAC address block to be the same. Fixed for test failing on PHP 5.3.
PHP
mit
kkiernan/Faker,nikmauro/Faker,guillaumewf3/Faker,d3trax/Faker,brainrepo/Faker,syj610226/Faker,luisbrito/Faker,muya/Faker,pathirana/Faker,xfxf/Faker-PHP,jadb/Faker,mseshachalam/Faker,cenxun/Faker,nalekberov/Faker,cjaoude/Faker,antonsofyan/Faker,drakakisgeo/Faker,selmonal/Faker,vlakoff/Faker,stof/Faker,chrismoulton/Faker...
php
## Code Before: <?php namespace Faker\Provider; class Computer extends \Faker\Provider\Base { private static $macAddressDigits = array( "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F" ); /** * @example '32:F1:39:2F:D6:18' */ public static funct...
8da03723bf34150301f5256547fa1b9420135578
addon/templates/components/md-checkbox.hbs
addon/templates/components/md-checkbox.hbs
{{input type="checkbox" class="materialize-selectable-item-input" checked=isSelected disabled=disabled}} <label class="materialize-selectable-item-label">{{name}}{{yield}}</label> disabled: {{disabled}}
{{input type="checkbox" class="materialize-selectable-item-input" checked=isSelected disabled=disabled}} <label class="materialize-selectable-item-label">{{name}}{{yield}}</label>
Fix leftover "disabled" debug legend on checkbox
Fix leftover "disabled" debug legend on checkbox
Handlebars
mit
mgood/ember-cli-materialize,mdehoog/ember-cli-materialize,seanpdoyle/ember-cli-materialize,hankthetank/ember-cli-materialize,rynam0/ember-cli-materialize,dortort/ember-cli-materialize,sgasser/ember-cli-materialize,tmock12/ember-cli-materialize,mike-north/ember-cli-materialize,bashmach/ember-cli-materialize,sgasser/embe...
handlebars
## Code Before: {{input type="checkbox" class="materialize-selectable-item-input" checked=isSelected disabled=disabled}} <label class="materialize-selectable-item-label">{{name}}{{yield}}</label> disabled: {{disabled}} ## Instruction: Fix leftover "disabled" debug legend on checkbox ## Code After: {{input type="check...
5f24202607afeaa92e1e2145568607f89939ae4a
roles/initrd/provision_initrd/tasks/main.yml
roles/initrd/provision_initrd/tasks/main.yml
--- - name: Update apt cache apt: update_cache=yes - name: Install initrd kernel dependencies apt: name=linux-image-{{ initrd_kernel_version }} - name: Install required packages apt: name="{{ item.package }}={{ item.version }}" with_items: initrd_package_manifest - name: Add hook scripts to copy package bina...
--- - name: Update apt cache apt: update_cache=yes - name: Install initrd kernel dependencies apt: name=linux-image-{{ initrd_kernel_version }} - name: Install linux image extras for physical machine support apt: name=linux-image-extra-{{ initrd_kernel_version }} - name: Install required packages apt: name="...
Add linux-image-extras package to initrd build environment
Add linux-image-extras package to initrd build environment
YAML
apache-2.0
DavidjohnBlodgett/on-imagebuilder,DavidjohnBlodgett/on-imagebuilder
yaml
## Code Before: --- - name: Update apt cache apt: update_cache=yes - name: Install initrd kernel dependencies apt: name=linux-image-{{ initrd_kernel_version }} - name: Install required packages apt: name="{{ item.package }}={{ item.version }}" with_items: initrd_package_manifest - name: Add hook scripts to c...
5882c3475afa44e2ad0923b8af00fe1d73ea3a7e
lib/mongoid-ancestry.rb
lib/mongoid-ancestry.rb
module Mongoid module Ancestry extend ActiveSupport::Concern autoload :ClassMethods, 'mongoid-ancestry/class_methods' autoload :InstanceMethods, 'mongoid-ancestry/instance_methods' autoload :Error, 'mongoid-ancestry/exceptions' included do cattr_accessor :base_class self...
module Mongoid module Ancestry extend ActiveSupport::Concern autoload :ClassMethods, 'mongoid-ancestry/class_methods' autoload :Error, 'mongoid-ancestry/exceptions' included do cattr_accessor :base_class self.base_class = self require 'mongoid-ancestry/instance_...
Include instance methods manually to avoid ActiveSupport::Concern InstanceMethods deprecation notice
Include instance methods manually to avoid ActiveSupport::Concern InstanceMethods deprecation notice
Ruby
mit
WebEnrich/mongoid-ancestry,skyeagle/mongoid-ancestry
ruby
## Code Before: module Mongoid module Ancestry extend ActiveSupport::Concern autoload :ClassMethods, 'mongoid-ancestry/class_methods' autoload :InstanceMethods, 'mongoid-ancestry/instance_methods' autoload :Error, 'mongoid-ancestry/exceptions' included do cattr_accessor :base_...
4835e7991779ace70fa57fbfaa85813843ea76ba
README.md
README.md
Temperature logger for RPi. ## Usage 1. Install requirements: ``` pip install -r requirements.pip ``` 2. Add this to /boot/config.txt: ``` # Enable General Purpose I/O dtoverlay=w1-gpio ``` 3. And something like this to crontab (crontab -e): ``` # Log palju temperatures once a minute */1 * * * * /usr/bin/python /...
Temperature logger for RPi. ## Usage 1. Install requirements: ``` pip install -r requirements.pip ``` 2. Add this to /boot/config.txt: ``` # Enable General Purpose I/O dtoverlay=w1-gpio ``` 3. And something like this to crontab (crontab -e): ``` # Log palju temperatures once a minute */1 * * * * /usr/bin/python /...
Add instructions for wifi connection and disabling desktop on boot.
Add instructions for wifi connection and disabling desktop on boot.
Markdown
mit
jarrrgh/paljumittari,jarrrgh/paljumittari
markdown
## Code Before: Temperature logger for RPi. ## Usage 1. Install requirements: ``` pip install -r requirements.pip ``` 2. Add this to /boot/config.txt: ``` # Enable General Purpose I/O dtoverlay=w1-gpio ``` 3. And something like this to crontab (crontab -e): ``` # Log palju temperatures once a minute */1 * * * * /...
04ca8d97bf792ee48b263984cc09e915daa4aace
jsk_apc2015_common/README.rst
jsk_apc2015_common/README.rst
=================== jsk_2015_apc_common =================== Train classifier with dataset ============================= Get dataset ----------- To get dataset at `here <http://rll.berkeley.edu/amazon_picking_challenge/>`_, and run:: python scripts/download_dataset.py -O berkeley_dataset Process dataset -------...
=================== jsk_2015_apc_common =================== Train classifier with dataset ============================= Get dataset ----------- To get dataset at `here <http://rll.berkeley.edu/amazon_picking_challenge/>`_, and run:: python scripts/download_dataset.py -O berkeley_dataset Process dataset -------...
Add credit for gazebo models
[jsk_2015_apc_common] Add credit for gazebo models
reStructuredText
bsd-3-clause
pazeshun/jsk_apc,pazeshun/jsk_apc,pazeshun/jsk_apc,pazeshun/jsk_apc,pazeshun/jsk_apc
restructuredtext
## Code Before: =================== jsk_2015_apc_common =================== Train classifier with dataset ============================= Get dataset ----------- To get dataset at `here <http://rll.berkeley.edu/amazon_picking_challenge/>`_, and run:: python scripts/download_dataset.py -O berkeley_dataset Process...
72d33ea47458cace13dac920ce2a82e55f83caba
statsmodels/stats/tests/test_outliers_influence.py
statsmodels/stats/tests/test_outliers_influence.py
from numpy.testing import assert_almost_equal from statsmodels.datasets import statecrime, get_rdataset from statsmodels.regression.linear_model import OLS from statsmodels.stats.outliers_influence import reset_ramsey from statsmodels.stats.outliers_influence import variance_inflation_factor from statsmodels.tools imp...
from numpy.testing import assert_almost_equal from statsmodels.datasets import statecrime from statsmodels.regression.linear_model import OLS from statsmodels.stats.outliers_influence import reset_ramsey from statsmodels.stats.outliers_influence import variance_inflation_factor from statsmodels.tools import add_consta...
Add pandas dataframe capability in variance_inflation_factor
ENH: Add pandas dataframe capability in variance_inflation_factor
Python
bsd-3-clause
bashtage/statsmodels,josef-pkt/statsmodels,josef-pkt/statsmodels,bashtage/statsmodels,bashtage/statsmodels,statsmodels/statsmodels,josef-pkt/statsmodels,josef-pkt/statsmodels,statsmodels/statsmodels,statsmodels/statsmodels,statsmodels/statsmodels,josef-pkt/statsmodels,josef-pkt/statsmodels,statsmodels/statsmodels,basht...
python
## Code Before: from numpy.testing import assert_almost_equal from statsmodels.datasets import statecrime, get_rdataset from statsmodels.regression.linear_model import OLS from statsmodels.stats.outliers_influence import reset_ramsey from statsmodels.stats.outliers_influence import variance_inflation_factor from stats...
1eba4c3d6cbff506ed61c17b93db45bbf196b8d8
platforms/ios/framework/TangramMap.h
platforms/ios/framework/TangramMap.h
// // TangramMap.h // TangramMap // // Created by Matt Smollinger on 7/8/16. // // #import <UIKit/UIKit.h> /// Project version number for TangramMap. FOUNDATION_EXPORT double TangramMapVersionNumber; /// Project version string for TangramMap. FOUNDATION_EXPORT const unsigned char TangramMapVersionString[]; // In...
// // TangramMap.h // TangramMap // // Created by Matt Smollinger on 7/8/16. // Updated by Karim Naaji on 2/28/17. // Copyright (c) 2017 Mapzen. All rights reserved. // #import <UIKit/UIKit.h> /// Project version number for TangramMap. FOUNDATION_EXPORT double TangramMapVersionNumber; /// Project version string...
Update umbrella header with public interface
Update umbrella header with public interface
C
mit
quitejonny/tangram-es,cleeus/tangram-es,quitejonny/tangram-es,quitejonny/tangram-es,cleeus/tangram-es,cleeus/tangram-es,cleeus/tangram-es,quitejonny/tangram-es,tangrams/tangram-es,quitejonny/tangram-es,cleeus/tangram-es,tangrams/tangram-es,tangrams/tangram-es,tangrams/tangram-es,tangrams/tangram-es,tangrams/tangram-es,...
c
## Code Before: // // TangramMap.h // TangramMap // // Created by Matt Smollinger on 7/8/16. // // #import <UIKit/UIKit.h> /// Project version number for TangramMap. FOUNDATION_EXPORT double TangramMapVersionNumber; /// Project version string for TangramMap. FOUNDATION_EXPORT const unsigned char TangramMapVersion...
604101ec58d8dd6e6af4aa61c0b2f0d382f89931
doc/source/devref/linuxbridge_agent.rst
doc/source/devref/linuxbridge_agent.rst
L2 Networking with Linux Bridge -------------------------------
=============================== L2 Networking with Linux Bridge =============================== This Agent uses the `Linux Bridge <http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge>`_ to provide L2 connectivity for VM instances running on the compute node to the public network. A graphical illus...
Add documentation for Linux Bridge (previously missing)
Add documentation for Linux Bridge (previously missing) Change-Id: I092b609f43b37ed85d08bc80d1d048b945abe222 Closes-Bug: #1455979
reStructuredText
apache-2.0
huntxu/neutron,noironetworks/neutron,SamYaple/neutron,wolverineav/neutron,mahak/neutron,paninetworks/neutron,silenci/neutron,cisco-openstack/neutron,swdream/neutron,apporc/neutron,javaos74/neutron,mahak/neutron,takeshineshiro/neutron,JianyuWang/neutron,eonpatapon/neutron,watonyweng/neutron,dhanunjaya/neutron,vivekanand...
restructuredtext
## Code Before: L2 Networking with Linux Bridge ------------------------------- ## Instruction: Add documentation for Linux Bridge (previously missing) Change-Id: I092b609f43b37ed85d08bc80d1d048b945abe222 Closes-Bug: #1455979 ## Code After: =============================== L2 Networking with Linux Bridge ============...
83831a3434cdaf0a5ca214dfc4bd7fec65d4ffac
fastai/vision/models/tvm.py
fastai/vision/models/tvm.py
from torchvision.models import ResNet,resnet18,resnet34,resnet50,resnet101,resnet152 from torchvision.models import SqueezeNet,squeezenet1_0,squeezenet1_1 from torchvision.models import densenet121,densenet169,densenet201,densenet161 from torchvision.models import vgg11_bn,vgg13_bn,vgg16_bn,vgg19_bn,alexnet
from torchvision.models import * import types as _t _g = globals() for _k, _v in list(_g.items()): if ( isinstance(_v, _t.ModuleType) and _v.__name__.startswith("torchvision.models") ) or (callable(_v) and _v.__module__ == "torchvision.models._api"): del _g[_k] del _k, _v, _g, _t
Add latest TorchVision models on fastai
Add latest TorchVision models on fastai
Python
apache-2.0
fastai/fastai
python
## Code Before: from torchvision.models import ResNet,resnet18,resnet34,resnet50,resnet101,resnet152 from torchvision.models import SqueezeNet,squeezenet1_0,squeezenet1_1 from torchvision.models import densenet121,densenet169,densenet201,densenet161 from torchvision.models import vgg11_bn,vgg13_bn,vgg16_bn,vgg19_bn,ale...
d8c9ede46ce6e865f68bf56c97e6fc62b3166ef1
spec/client/preprocessors/spec.visualisation_fallback.js
spec/client/preprocessors/spec.visualisation_fallback.js
define([ 'client/preprocessors/visualisation_fallback' ], function (visualisationFallback) { describe('Module actions', function () { var originalModernizr = visualisationFallback.Modernizr; var el; beforeEach(function () { visualisationFallback.Modernizr = {}; el = $('<div class="visualis...
define([ 'client/preprocessors/visualisation_fallback', 'modernizr' ], function (visualisationFallback, Modernizr) { describe('Module actions', function () { var el; beforeEach(function () { el = $('<div class="visualisation-inner" data-src="spec/client/preprocessors/transparent.gif">original conte...
Fix tests for image fallbacks
Fix tests for image fallbacks
JavaScript
mit
alphagov/spotlight,keithiopia/spotlight,tijmenb/spotlight,tijmenb/spotlight,alphagov/spotlight,keithiopia/spotlight,keithiopia/spotlight,tijmenb/spotlight,alphagov/spotlight
javascript
## Code Before: define([ 'client/preprocessors/visualisation_fallback' ], function (visualisationFallback) { describe('Module actions', function () { var originalModernizr = visualisationFallback.Modernizr; var el; beforeEach(function () { visualisationFallback.Modernizr = {}; el = $('<div...
4d04e8726007974e3f1cc5981f579ea6ba2213a7
spec/integration/mince_interface_spec.rb
spec/integration/mince_interface_spec.rb
require_relative '../../lib/hashy_db' require 'mince/shared_examples/interface_example' describe 'Mince Interface with HashyDb' do before do Mince::Config.interface = Mince::HashyDb::Interface end it_behaves_like 'a mince interface' end
require_relative '../../lib/hashy_db' require 'mince/shared_examples/interface_example' describe 'Mince Interface with HashyDb' do before do Mince::Config.interface = Mince::HashyDb::Interface end after do Mince::HashyDb::Interface.clear end it_behaves_like 'a mince interface' end
Clear data store when integration tests finish so that we can run ints and units together
Clear data store when integration tests finish so that we can run ints and units together
Ruby
mit
coffeencoke/hashy_db
ruby
## Code Before: require_relative '../../lib/hashy_db' require 'mince/shared_examples/interface_example' describe 'Mince Interface with HashyDb' do before do Mince::Config.interface = Mince::HashyDb::Interface end it_behaves_like 'a mince interface' end ## Instruction: Clear data store when integration test...
c676bcede639977ebbf23983d90c64ac579e8c8b
_posts/prods/2022-02-13-master-mode7.md
_posts/prods/2022-02-13-master-mode7.md
--- layout: prods_post category: [posts, prods] tags: lovebyte2022 rank: 21st in Oldschool 256b intro title: Master / Mode7 img: mmode7-screenshot.png alt: image-alt authors: VectorEyes team: Bitshifters year: 2022 type: 256 Byte Demo platform: BBC Master download: mmode7.ssd video: https://www.youtube.com/watch?v=-dXd...
--- layout: prods_post category: [posts, prods] tags: lovebyte2022 rank: 21st in Oldschool 256b intro title: Master / Mode7 img: mmode7-screenshot.png alt: image-alt authors: VectorEyes team: Bitshifters year: 2022 type: 256 Byte Demo platform: BBC Master download: mmode7.ssd pouet: https://www.pouet.net/prod.php?which...
Add pouet link for Master / Mode7
Add pouet link for Master / Mode7
Markdown
apache-2.0
bitshifters/bitshifters.github.io,bitshifters/bitshifters.github.io
markdown
## Code Before: --- layout: prods_post category: [posts, prods] tags: lovebyte2022 rank: 21st in Oldschool 256b intro title: Master / Mode7 img: mmode7-screenshot.png alt: image-alt authors: VectorEyes team: Bitshifters year: 2022 type: 256 Byte Demo platform: BBC Master download: mmode7.ssd video: https://www.youtube....
3a4969adc7433f2c459f9d516e30cf64783765e0
wmcore_base/ContainerScripts/pyfutureTest.sh
wmcore_base/ContainerScripts/pyfutureTest.sh
if [ -z "$ghprbPullId" -o -z "$ghprbTargetBranch" ]; then echo "Not all necessary environment variables set: ghprbPullId, ghprbTargetBranch" exit 1 fi source ./env_unittest.sh pushd wmcore_unittest/WMCore export PYTHONPATH=`pwd`/test/python:`pwd`/src/python:${PYTHONPATH} git config remote.origin.url https://git...
if [ -z "$ghprbPullId" -o -z "$ghprbTargetBranch" ]; then echo "Not all necessary environment variables set: ghprbPullId, ghprbTargetBranch" exit 1 fi source ./env_unittest.sh pushd wmcore_unittest/WMCore export PYTHONPATH=`pwd`/test/python:`pwd`/src/python:${PYTHONPATH} git config remote.origin.url https://git...
Add a few stage2 fixers
Add a few stage2 fixers
Shell
apache-2.0
dmwm/Docker,dmwm/Docker
shell
## Code Before: if [ -z "$ghprbPullId" -o -z "$ghprbTargetBranch" ]; then echo "Not all necessary environment variables set: ghprbPullId, ghprbTargetBranch" exit 1 fi source ./env_unittest.sh pushd wmcore_unittest/WMCore export PYTHONPATH=`pwd`/test/python:`pwd`/src/python:${PYTHONPATH} git config remote.origin...
c12db036af5e67d0436dd83011cd9f944fdd6603
metadata/com.icecondor.nest.txt
metadata/com.icecondor.nest.txt
Categories:Navigation License:Apache2 Web Site:https://icecondor.com Source Code:https://github.com/icecondor/android Issue Tracker:https://github.com/icecondor/android/issues Auto Name:IceCondor Summary:Location tracking and sharing Description: Track your location all-day and share the data. . Repo Type:git Repo:ht...
Categories:Navigation License:Apache2 Web Site:https://icecondor.com Source Code:https://github.com/icecondor/android Issue Tracker:https://github.com/icecondor/android/issues Auto Name:IceCondor Summary:Location tracking and sharing Description: Track your location all-day and share the data. . Repo Type:git Repo:ht...
Update CV of IceCondor to 20150301 (20150301)
Update CV of IceCondor to 20150301 (20150301)
Text
agpl-3.0
f-droid/fdroid-data,f-droid/fdroiddata,f-droid/fdroiddata
text
## Code Before: Categories:Navigation License:Apache2 Web Site:https://icecondor.com Source Code:https://github.com/icecondor/android Issue Tracker:https://github.com/icecondor/android/issues Auto Name:IceCondor Summary:Location tracking and sharing Description: Track your location all-day and share the data. . Repo ...
a1315f08bdfc99cb7b32a6156f7c2a33595dcab7
CONTRIBUTING.md
CONTRIBUTING.md
All feature requests and issues should be initially reported in the issues section for this repo. We follow the convention of naming an issue by prefixing its description with the issue type, as in "Feature Request: xxx", "Bug: xxx", or "UI: xxx". Try to use distinct and descriptive subject lines to make issues easie...
If you would like to submit an issue or contribute to any M2X Client Library, please adhere to the contribution guidelines found here: https://github.com/attm2x/m2x-service/blob/master/CONTRIBUTING.md # Creating a new library If you are creating a new client library, please adhere to the guidelines found here: https...
Add link to generic contribution guidelines
Add link to generic contribution guidelines
Markdown
mit
attm2x/m2x-nodejs,skazska/m2x-nodejs
markdown
## Code Before: All feature requests and issues should be initially reported in the issues section for this repo. We follow the convention of naming an issue by prefixing its description with the issue type, as in "Feature Request: xxx", "Bug: xxx", or "UI: xxx". Try to use distinct and descriptive subject lines to m...
2802475f5ff4170cd8f6c6969dce65dc971aa8a6
README.asciidoc
README.asciidoc
= PHP Reflect **PHP Reflect** is a library that adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more. Both were distributed as source code (install via composer) and a PHAR version that bundles all dependencies in a single file. == Install You can either : * ...
= PHP Reflect **PHP Reflect** is a library that adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more. Both were distributed as source code (install via composer) and a PHAR version that bundles all dependencies in a single file. == Requirements PHP 5.5.0 or ab...
Add a note about minimum requirements to install this package
Add a note about minimum requirements to install this package
AsciiDoc
bsd-3-clause
llaville/php-reflect
asciidoc
## Code Before: = PHP Reflect **PHP Reflect** is a library that adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more. Both were distributed as source code (install via composer) and a PHAR version that bundles all dependencies in a single file. == Install You ...
f8fc2fe9ab91cb029a369c23f644d18b4e15815f
.rubocop.yml
.rubocop.yml
AllCops: TargetRubyVersion: 2.2
AllCops: TargetRubyVersion: 2.2 Layout/IndentHeredoc: Enabled: false Metrics/AbcSize: Max: 30 Metrics/BlockLength: Exclude: - 'test/**/*.rb' Metrics/ClassLength: Enabled: false Metrics/MethodLength: Max: 20
Copy the Dimples config for Rubocop.
Copy the Dimples config for Rubocop.
YAML
mit
ivuk/usesthis,waferbaby/usesthis,ivuk/usesthis,waferbaby/usesthis
yaml
## Code Before: AllCops: TargetRubyVersion: 2.2 ## Instruction: Copy the Dimples config for Rubocop. ## Code After: AllCops: TargetRubyVersion: 2.2 Layout/IndentHeredoc: Enabled: false Metrics/AbcSize: Max: 30 Metrics/BlockLength: Exclude: - 'test/**/*.rb' Metrics/ClassLength: Enabled: false Metri...
2f70cc67f581cd40b2617b27cde46730fea79c9c
maven/bnd-indexer-maven-plugin/src/test/resources/integration-test/test/setup.groovy
maven/bnd-indexer-maven-plugin/src/test/resources/integration-test/test/setup.groovy
import java.nio.file.*; Path source = Paths.get("${pluginBasedir}/src/test/resources/integration-test/local-repo/org/objenesis"); Path target = Paths.get("${pluginBuildDirectory}/integration-test/repo/org/objenesis"); target.deleteDir(); source.toFile().eachFileRecurse({ f -> Path s = Paths.get(f.toURI()); ...
import java.nio.file.*; Path source = Paths.get("${pluginBasedir}/src/test/resources/integration-test/local-repo/org/objenesis"); Path target = Paths.get("${pluginBuildDirectory}/integration-test/repo/org/objenesis"); target.deleteDir(); source.toFile().eachFileRecurse({ f -> Path s = Paths.get(f.toURI()); ...
Fix file content comparison to work on azure pipelines
maven: Fix file content comparison to work on azure pipelines Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>
Groovy
apache-2.0
psoreide/bnd,psoreide/bnd,psoreide/bnd
groovy
## Code Before: import java.nio.file.*; Path source = Paths.get("${pluginBasedir}/src/test/resources/integration-test/local-repo/org/objenesis"); Path target = Paths.get("${pluginBuildDirectory}/integration-test/repo/org/objenesis"); target.deleteDir(); source.toFile().eachFileRecurse({ f -> Path s = Paths.get(...
06ed9c838e61135eef85387482209a5fc18176e8
app/assets/stylesheets/darkswarm/variables.css.scss
app/assets/stylesheets/darkswarm/variables.css.scss
@import "foundation/functions"; @import "foundation/components/global"; // Brand guide colours: // International: #81c26e // Australia: #f35746 // Africa: #f35e32 // South Africa: #f9a72b // Norway: #4b83cc // Scandanavia: #0c8bbc // UK: #e6373f $brand-colour: #f27052; // Topbar $topbar-height: rem-calc(64); $topbar...
@import "foundation/functions"; @import "foundation/components/global"; // Brand guide colours: // International: #81c26e // Australia: #f35746 // Africa: #f35e32 // South Africa: #f9a72b // Norway: #4b83cc // Scandanavia: #0c8bbc // UK: #e6373f $brand-colour: #f27052; // Topbar $topbar-height: rem-calc(64); $topbar...
Remove extra left padding from top bar menu items
Remove extra left padding from top bar menu items
SCSS
agpl-3.0
openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfo...
scss
## Code Before: @import "foundation/functions"; @import "foundation/components/global"; // Brand guide colours: // International: #81c26e // Australia: #f35746 // Africa: #f35e32 // South Africa: #f9a72b // Norway: #4b83cc // Scandanavia: #0c8bbc // UK: #e6373f $brand-colour: #f27052; // Topbar $topbar-height: rem-c...
15650cb2b64e3cf42bc0c5339b8491c868e6567f
snake/countries.nim
snake/countries.nim
import unicode when not defined(js): import httpclient, logging, asyncdispatch, json proc getCountryForIP*(ip: string): Future[string] {.async.} = ## Returns a two-letter ISO code specifying the country that the ## IP address belongs to, if the country cannot be determined "" is returned. var client =...
import unicode when not defined(js): import httpclient, logging, asyncdispatch, json proc getCountryForIP*(ip: string): Future[string] {.async.} = ## Returns a two-letter ISO code specifying the country that the ## IP address belongs to, if the country cannot be determined "" is returned. var client =...
Return " " when country code is invalid.
Return " " when country code is invalid.
Nimrod
mit
dom96/snake
nimrod
## Code Before: import unicode when not defined(js): import httpclient, logging, asyncdispatch, json proc getCountryForIP*(ip: string): Future[string] {.async.} = ## Returns a two-letter ISO code specifying the country that the ## IP address belongs to, if the country cannot be determined "" is returned. ...
2bc95d90db15160f9c4869c03f9dadb6cd8d56fa
seleniumbase/config/proxy_list.py
seleniumbase/config/proxy_list.py
PROXY_LIST = { "example1": "159.122.164.163:8080", # (Example) - set your own proxy here "proxy1": None, "proxy2": None, "proxy3": None, "proxy4": None, "proxy5": None, }
PROXY_LIST = { "example1": "159.122.164.163:8080", # (Example) - set your own proxy here "example2": "158.69.138.8:1080", # (Example) - set your own proxy here "proxy1": None, "proxy2": None, "proxy3": None, "proxy4": None, "proxy5": None, }
Add another proxy server example string
Add another proxy server example string
Python
mit
seleniumbase/SeleniumBase,seleniumbase/SeleniumBase,mdmintz/SeleniumBase,seleniumbase/SeleniumBase,seleniumbase/SeleniumBase,mdmintz/SeleniumBase,mdmintz/SeleniumBase,mdmintz/SeleniumBase
python
## Code Before: PROXY_LIST = { "example1": "159.122.164.163:8080", # (Example) - set your own proxy here "proxy1": None, "proxy2": None, "proxy3": None, "proxy4": None, "proxy5": None, } ## Instruction: Add another proxy server example string ## Code After: PROXY_LIST = { "example1": "1...
0c13dcc2658e557f5b21dd57c96a1d7e9f989828
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
- [ ] I checked existing issues (open and closed) for possible duplicates - [ ] I can reproduce the problem on the latest stable version (not nightly!) - [ ] The issue is not about adding entries to the default blacklist ### What is your browser? - [ ] Firefox - [ ] Chrome ### What is your operating system? - [ ] ...
- [ ] I checked existing issues (open and closed) for possible duplicates - [ ] I can reproduce the problem on the latest stable version (not nightly!) - [ ] If you have a problem a specific website: adding the domain to your blacklist does not solve the problem - [ ] The issue is not about adding entries to the defau...
Add entry to checklist to avoid trivial tickets about blacklisting
Add entry to checklist to avoid trivial tickets about blacklisting
Markdown
mit
sblask/firefox-skip-redirect,sblask/firefox-skip-redirect
markdown
## Code Before: - [ ] I checked existing issues (open and closed) for possible duplicates - [ ] I can reproduce the problem on the latest stable version (not nightly!) - [ ] The issue is not about adding entries to the default blacklist ### What is your browser? - [ ] Firefox - [ ] Chrome ### What is your operating...
c2abbec04dd0a0af046dd4912aed8cf8e8a03cd1
setup.cfg
setup.cfg
[metadata] license_file=COPYING [sdist] owner=root group=root [bdist_wheel] universal = 1 [nosetests] with-doctest=true doctest-extension=doctest doctest-options=+IGNORE_EXCEPTION_DETAIL with-coverage=true cover-branches=true cover-package=pskc cover-inclusive=true cover-erase=true cover-html=true cover-html-dir=cov...
[metadata] license_file=COPYING [sdist] owner=root group=root [bdist_wheel] universal = 1 [nosetests] with-doctest=true doctest-extension=doctest doctest-options=+IGNORE_EXCEPTION_DETAIL with-coverage=true cover-branches=true cover-package=pskc cover-inclusive=true cover-erase=true cover-html=true cover-html-dir=cov...
Make the multi-line operator place explicit
Make the multi-line operator place explicit Recent versions of flake8 changed the defaults of the errors to ignore.
INI
lgpl-2.1
arthurdejong/python-pskc
ini
## Code Before: [metadata] license_file=COPYING [sdist] owner=root group=root [bdist_wheel] universal = 1 [nosetests] with-doctest=true doctest-extension=doctest doctest-options=+IGNORE_EXCEPTION_DETAIL with-coverage=true cover-branches=true cover-package=pskc cover-inclusive=true cover-erase=true cover-html=true co...