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
04f8b9705699d7844b5f0c8be5f0004059f9ce37
src/Datagrid/DatagridInterface.php
src/Datagrid/DatagridInterface.php
<?php namespace Wanjee\Shuwee\AdminBundle\Datagrid; use Symfony\Component\HttpFoundation\Request; interface DatagridInterface { // add field // get fields // add filter // get filters /** * @param \Symfony\Component\HttpFoundation\Request $request */ public function setRequest(Requ...
<?php namespace Wanjee\Shuwee\AdminBundle\Datagrid; use Symfony\Component\HttpFoundation\Request; interface DatagridInterface { // Todo define scope... }
Remove useless defined method from interface, it will not be used
Remove useless defined method from interface, it will not be used
PHP
mit
wanjee/ShuweeAdminBundle,wanjee/ShuweeAdminBundle
php
## Code Before: <?php namespace Wanjee\Shuwee\AdminBundle\Datagrid; use Symfony\Component\HttpFoundation\Request; interface DatagridInterface { // add field // get fields // add filter // get filters /** * @param \Symfony\Component\HttpFoundation\Request $request */ public function...
42b49e673242c4be5ce903ee5a204e85a6df75e9
recipes/graphviz/bld.bat
recipes/graphviz/bld.bat
REM remove unneeded librar stubs rd /S /Q %SRC_DIR%\include rd /S /Q %SRC_DIR%\lib rd /S /Q %SRC_DIR%\share\man if errorlevel 1 exit 1 mkdir %SRC_DIR%\share\doc\graphviz move %SRC_DIR%\share\graphviz\doc %SRC_DIR%\share\doc\graphviz if errorlevel 1 exit 1 move %SRC_DIR%\bin %SRC_DIR%\graphviz if errorlevel 1 exit 1 ...
REM remove unneeded librar stubs rd /S /Q %SRC_DIR%\include rd /S /Q %SRC_DIR%\lib rd /S /Q %SRC_DIR%\share\man if errorlevel 1 exit 1 mkdir %SRC_DIR%\share\doc\graphviz move %SRC_DIR%\share\graphviz\doc %SRC_DIR%\share\doc\graphviz if errorlevel 1 exit 1 move %SRC_DIR%\bin %SRC_DIR%\graphviz if errorlevel 1 exit 1 ...
Fix bat links on Windows
Fix bat links on Windows
Batchfile
bsd-3-clause
cpaulik/staged-recipes,chrisburr/staged-recipes,grlee77/staged-recipes,valgur/staged-recipes,guillochon/staged-recipes,NOAA-ORR-ERD/staged-recipes,tylere/staged-recipes,jjhelmus/staged-recipes,asmeurer/staged-recipes,patricksnape/staged-recipes,JohnGreeley/staged-recipes,larray-project/staged-recipes,patricksnape/stage...
batchfile
## Code Before: REM remove unneeded librar stubs rd /S /Q %SRC_DIR%\include rd /S /Q %SRC_DIR%\lib rd /S /Q %SRC_DIR%\share\man if errorlevel 1 exit 1 mkdir %SRC_DIR%\share\doc\graphviz move %SRC_DIR%\share\graphviz\doc %SRC_DIR%\share\doc\graphviz if errorlevel 1 exit 1 move %SRC_DIR%\bin %SRC_DIR%\graphviz if error...
a646a211d9a173420a9a6bf76e9c589eb192a5d4
_documentation/user/pages/index.md
_documentation/user/pages/index.md
--- title: Documentation docpath: / --- ## Player - [Flags](/documentation/flags/) - [Slash Commands](/documentation/slash_commands/) ## Developer - Compiling on: - [Windows](/documentation/developer/compiling/windows) - [Linux](/documentation/developer/compiling/linux) - [macOS](/documentation/developer/comp...
--- title: Documentation docpath: / --- ## Player - [Flags]({{ url(pages['Flags']) }}) - [Slash Commands]({{ url(pages['Slash Commands']) }}) ## Developer - Compiling on: - [Windows](/documentation/developer/compiling/windows) - [Linux](/documentation/developer/compiling/linux) - [macOS](/documentation/develo...
Update URLs in docs landing page
Update URLs in docs landing page
Markdown
mit
BZFlag-Dev/bzflag.org,BZFlag-Dev/bzflag.org,BZFlag-Dev/bzflag.org
markdown
## Code Before: --- title: Documentation docpath: / --- ## Player - [Flags](/documentation/flags/) - [Slash Commands](/documentation/slash_commands/) ## Developer - Compiling on: - [Windows](/documentation/developer/compiling/windows) - [Linux](/documentation/developer/compiling/linux) - [macOS](/documentatio...
fbd991f6d77ca1e4ab510b67d17dc0daaaf30a59
source/env.4.sh
source/env.4.sh
export ARK_EXT=~/dev/src/ark-plugins # Global Ark themes directory. export ARK_THEMES=~/dev/src/ark-themes
export ARK_THEMES=~/dev/src/ark-themes
Disable global Ark extensions directory
Disable global Ark extensions directory
Shell
unlicense
dmulholland/dotfiles,dmulholland/dotfiles
shell
## Code Before: export ARK_EXT=~/dev/src/ark-plugins # Global Ark themes directory. export ARK_THEMES=~/dev/src/ark-themes ## Instruction: Disable global Ark extensions directory ## Code After: export ARK_THEMES=~/dev/src/ark-themes
004a0d0577ba3b72e6fc640dc46e3799f986bbe9
_data/navigation.yml
_data/navigation.yml
main: - title: "Conference Registration" url: /registration side: - title: "Home" url: / - title: Calls url: /cfp children: - title: "for Papers" url: /cfp - title: "for Workshops" url: /cfw - title: "for Challenges" url: /cfc - title: Confe...
main: - title: "Conference Program" url: /program side: - title: "Home" url: / - title: Calls url: /cfp children: - title: "for Papers" url: /cfp - title: "for Workshops" url: /cfw - title: "for Challenges" url: /cfc - title: Conference ...
Change header to Conference Program (a bit late since it's already the last day of the conference)
Change header to Conference Program (a bit late since it's already the last day of the conference)
YAML
mit
AndrewChenUoA/AVSS2018,AndrewChenUoA/AVSS2018,AndrewChenUoA/AVSS2018
yaml
## Code Before: main: - title: "Conference Registration" url: /registration side: - title: "Home" url: / - title: Calls url: /cfp children: - title: "for Papers" url: /cfp - title: "for Workshops" url: /cfw - title: "for Challenges" url: /cfc ...
6fc3bd8206268bf97a078c127d3dad053ea775ff
package.js
package.js
Package.describe({ name: 'klaussner:svelte', version: '0.0.1', summary: 'Use the magical disappearing UI framework in Meteor', git: 'https://github.com/klaussner/svelte' }); Package.registerBuildPlugin({ name: 'svelte-compiler', use: ['caching-compiler@1.1.9', 'babel-compiler@6.13.0'], sources: [ 'pl...
Package.describe({ name: 'klaussner:svelte', version: '0.0.1', summary: 'Use the magical disappearing UI framework in Meteor', git: 'https://github.com/klaussner/meteor-svelte.git' }); Package.registerBuildPlugin({ name: 'svelte-compiler', use: ['caching-compiler@1.1.9', 'babel-compiler@6.13.0'], sources...
Fix link to Git repository
Fix link to Git repository
JavaScript
mit
meteor-svelte/meteor-svelte
javascript
## Code Before: Package.describe({ name: 'klaussner:svelte', version: '0.0.1', summary: 'Use the magical disappearing UI framework in Meteor', git: 'https://github.com/klaussner/svelte' }); Package.registerBuildPlugin({ name: 'svelte-compiler', use: ['caching-compiler@1.1.9', 'babel-compiler@6.13.0'], so...
b09cde54b0d1b5f59ee5e5d0324c75b9abbf5c47
.circleci/config.yml
.circleci/config.yml
version: 2 jobs: build-macos: macos: xcode: "9.0" steps: - checkout - run: 'git submodule update --init --recursive' - run: 'yarn' - run: 'yarn run client-build-osx' - store_artifacts: path: ./build/prod-client-build/osx64-package.zip - store_artifacts: ...
version: 2 jobs: build-macos: macos: xcode: "9.0" steps: - checkout - run: 'git submodule update --init --recursive' - run: 'yarn' - run: 'yarn run client-build-osx' - store_artifacts: path: ./build/prod-client-build/osx64-package.zip - store_artifacts: ...
Change so circleci only builds when we push to client-build branch.
Change so circleci only builds when we push to client-build branch.
YAML
mit
gamejolt/gamejolt,gamejolt/gamejolt,gamejolt/gamejolt,gamejolt/gamejolt
yaml
## Code Before: version: 2 jobs: build-macos: macos: xcode: "9.0" steps: - checkout - run: 'git submodule update --init --recursive' - run: 'yarn' - run: 'yarn run client-build-osx' - store_artifacts: path: ./build/prod-client-build/osx64-package.zip - store...
a09491de1278db810c31280405c923c30337deb0
scanblog/scanning/management/commands/fixuploadperms.py
scanblog/scanning/management/commands/fixuploadperms.py
import os from django.core.management.base import BaseCommand from django.conf import settings class Command(BaseCommand): args = '' help = "Set all permissions in the uploads directory for deploy." def handle(self, *args, **kwargs): for dirname in (os.path.join(settings.MEDIA_ROOT, settings.UPLO...
import os from django.core.management.base import BaseCommand from django.conf import settings class Command(BaseCommand): args = '' help = "Set all permissions in the uploads directory for deploy." def handle(self, *args, **kwargs): for dirname in (os.path.join(settings.MEDIA_ROOT, settings.UPLO...
Change order of permission changes
Change order of permission changes
Python
agpl-3.0
yourcelf/btb,yourcelf/btb,flexpeace/btb,yourcelf/btb,flexpeace/btb,flexpeace/btb,flexpeace/btb,yourcelf/btb,flexpeace/btb,yourcelf/btb
python
## Code Before: import os from django.core.management.base import BaseCommand from django.conf import settings class Command(BaseCommand): args = '' help = "Set all permissions in the uploads directory for deploy." def handle(self, *args, **kwargs): for dirname in (os.path.join(settings.MEDIA_ROO...
acc81d89d5f37f2ab9d326720a7710ce417eed70
.travis.yml
.travis.yml
language: cpp compiler: - gcc - clang before_install: - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && sudo apt-get install -y llvm-3.4 llvm-3.4-dev; fi - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install llvm && brew link --force llvm; fi env: - LANG="en_CA.UTF-8" os: - linu...
language: cpp compiler: - gcc - clang before_install: - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && sudo apt-get install -y llvm-3.4 llvm-3.4-dev; fi - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install llvm && brew link --force llvm; fi env: - LANG="en_CA.UTF-8" os: - linu...
Fix CMake to use build directory
Fix CMake to use build directory
YAML
bsd-3-clause
RandomInsano/erstat
yaml
## Code Before: language: cpp compiler: - gcc - clang before_install: - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && sudo apt-get install -y llvm-3.4 llvm-3.4-dev; fi - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install llvm && brew link --force llvm; fi env: - LANG="en_CA.UTF-...
1b15c45ed3cb0b2cf73f75df80cdacb28387a13a
.travis.yml
.travis.yml
language: go go: - 1.4 - tip
language: go go: - release - tip deploy: provider: releases api_key: secure: "MmTHxUHULtl0rLISydkYzLejeaHowMv0HW3T5QWfLNr2lU8LbQjQagcz8obSVxTSxbpSBLgGtS4acWaVW+EoEMTzpl+CBF3Ez9Op1FW3dq3m5b6Rpbko09F8qqt2W9MTLVXwDO6ccxLjxpIoyWbcF/hGdwwmR40Bz/pwjwC3AmI=" file: "4d" skip_cleanup: true on: tags: true
Update Travis config to deploy releases to GH
Update Travis config to deploy releases to GH
YAML
mit
qjcg/4d
yaml
## Code Before: language: go go: - 1.4 - tip ## Instruction: Update Travis config to deploy releases to GH ## Code After: language: go go: - release - tip deploy: provider: releases api_key: secure: "MmTHxUHULtl0rLISydkYzLejeaHowMv0HW3T5QWfLNr2lU8LbQjQagcz8obSVxTSxbpSBLgGtS4acWaVW+EoEMTzpl+CBF3Ez9Op1F...
a9c1dba5daf791f081325eed2a58491737f398b2
README.rst
README.rst
gir-dylan ========= These are Dylan bindings for the `gobject-introspection`_ library (`reference documentation`_). To build them, you will need to build and install the gobject-introspection library first. You will also need OpenDylan 2012.1 or later. This project also contains ``gir-generate-c-ffi`` which takes th...
gir-dylan ========= These are Dylan bindings for the `gobject-introspection`_ library (`reference documentation`_). To build them, you will need to build and install the gobject-introspection library first. You will also need OpenDylan 2012.1 or later. This project also contains ``gir-generate-c-ffi`` which takes th...
Add note about how to find the binding metadata.
Add note about how to find the binding metadata.
reStructuredText
mit
dylan-foundry/gir-dylan
restructuredtext
## Code Before: gir-dylan ========= These are Dylan bindings for the `gobject-introspection`_ library (`reference documentation`_). To build them, you will need to build and install the gobject-introspection library first. You will also need OpenDylan 2012.1 or later. This project also contains ``gir-generate-c-ffi`...
2e0aceb21ed9f0b17b754b93792481759da8b480
requirements/base.txt
requirements/base.txt
wheel==0.33.6 # Frontend django-bootstrap-breadcrumbs==0.9.1 # Resources Pillow==6.2.1 yattag==1.12.2 tinycss==0.4 # Markdown verto==0.10.0 python-markdown-math==0.6 # Search django-haystack==2.8.1 Whoosh==2.7.4 django-widget-tweaks==1.4.5 # YAML Loading PyYAML==5.2 # System tools tqdm==4.40.2 # XML Parsing lxml...
wheel==0.33.6 # Frontend django-bootstrap-breadcrumbs==0.9.1 # Resources Pillow==6.2.1 yattag==1.12.2 tinycss==0.4 # Markdown verto==0.10.0 python-markdown-math==0.6 # Search django-haystack==2.8.1 Whoosh==2.7.4 django-widget-tweaks==1.4.5 # YAML Loading PyYAML==5.2 # System tools tqdm==4.40.2 # XML Parsing lxml...
Add missing 'requests' dependency to requirements files
Add missing 'requests' dependency to requirements files
Text
mit
uccser/cs-unplugged,uccser/cs-unplugged,uccser/cs-unplugged,uccser/cs-unplugged
text
## Code Before: wheel==0.33.6 # Frontend django-bootstrap-breadcrumbs==0.9.1 # Resources Pillow==6.2.1 yattag==1.12.2 tinycss==0.4 # Markdown verto==0.10.0 python-markdown-math==0.6 # Search django-haystack==2.8.1 Whoosh==2.7.4 django-widget-tweaks==1.4.5 # YAML Loading PyYAML==5.2 # System tools tqdm==4.40.2 # ...
3173fdc6f70f1d3b784b1b53c5d83fdb04ba4003
README.md
README.md
> Real World Rails applications and their open source codebases for developers to learn from https://eliotsykes.com/real-world-rails ## Adding a Real World Rails app Given a GitHub repo for a Rails app `githubuser/foo`: ```bash # Inside real-world-rails root: git submodule add git@github.com:githubuser/foo.git ap...
> Real World Rails applications and their open source codebases for developers to learn from https://eliotsykes.com/real-world-rails ## Adding a Real World Rails app Given a GitHub repo for a Rails app `githubuser/foo`: ```bash # Inside real-world-rails root: git submodule add -b master git@github.com:githubuser/...
Update instructions to add app as submodule that tracks master
Update instructions to add app as submodule that tracks master
Markdown
mit
eliotsykes/real-world-rails,bmb330/real-world-rails,alphabetum/real-world-rails,giangnguyennet/real-world-rails
markdown
## Code Before: > Real World Rails applications and their open source codebases for developers to learn from https://eliotsykes.com/real-world-rails ## Adding a Real World Rails app Given a GitHub repo for a Rails app `githubuser/foo`: ```bash # Inside real-world-rails root: git submodule add git@github.com:githu...
e96bdba890bd88e3304a0eedb37822ee2b7a419e
test/src/ilb2.js
test/src/ilb2.js
function openDemo (browser) { browser.url("http://localhost:8080/docs/index.html") } module.exports = { "Open demo page" : function (browser) { openDemo(browser); browser.assert.elementPresent("#main_content") .end(); }, "Open lightbox page" : function (browser) { ...
function openDemo (browser) { browser.url("http://localhost:8080/docs/index.html") } module.exports = { "Open demo page" : function (browser) { openDemo(browser); browser.assert.elementPresent("#main_content") .end(); }, "Open lightbox page" : function (browser) { ...
Add tests for dynamic add and manual trigger
Add tests for dynamic add and manual trigger
JavaScript
mit
rejas/imagelightbox
javascript
## Code Before: function openDemo (browser) { browser.url("http://localhost:8080/docs/index.html") } module.exports = { "Open demo page" : function (browser) { openDemo(browser); browser.assert.elementPresent("#main_content") .end(); }, "Open lightbox page" : function (bro...
82238353aca3aa08e6967aa20c26541666d5234b
js/src/forum/addSubscriptionFilter.js
js/src/forum/addSubscriptionFilter.js
import { extend } from 'flarum/extend'; import LinkButton from 'flarum/components/LinkButton'; import IndexPage from 'flarum/components/IndexPage'; import DiscussionList from 'flarum/components/DiscussionList'; export default function addSubscriptionFilter() { extend(IndexPage.prototype, 'navItems', function(items) ...
import { extend } from 'flarum/extend'; import LinkButton from 'flarum/components/LinkButton'; import IndexPage from 'flarum/components/IndexPage'; import DiscussionListState from 'flarum/states/DiscussionListState'; export default function addSubscriptionFilter() { extend(IndexPage.prototype, 'navItems', function(i...
Fix extension to work with latest state changes
Fix extension to work with latest state changes Refs flarum/core#2150.
JavaScript
mit
flarum/flarum-ext-subscriptions,flarum/flarum-ext-subscriptions,flarum/flarum-ext-subscriptions
javascript
## Code Before: import { extend } from 'flarum/extend'; import LinkButton from 'flarum/components/LinkButton'; import IndexPage from 'flarum/components/IndexPage'; import DiscussionList from 'flarum/components/DiscussionList'; export default function addSubscriptionFilter() { extend(IndexPage.prototype, 'navItems', ...
a06b97a5d39d63f59f930134c1a2f0038ea8191c
cookbooks/imagery/templates/default/index.html.erb
cookbooks/imagery/templates/default/index.html.erb
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title><%= @title %></title> <link rel="stylesheet" href="imagery.css" type="text/css" media="all" /> <link rel="stylesheet" h...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title><%= @title %></title> <link rel="stylesheet" href="imagery.css" type="text/css" media="all" /> <link rel="stylesheet" h...
Add CSS to not print leaflet-control
Add CSS to not print leaflet-control
HTML+ERB
apache-2.0
gravitystorm/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,openstreetmap/chef,Firefishy/chef,Firefishy/chef,openstreetmap/chef,Firefishy/chef,gravitystorm/chef,zerebubuth/openstreetmap-c...
html+erb
## Code Before: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title><%= @title %></title> <link rel="stylesheet" href="imagery.css" type="text/css" media="all" /> <link re...
cdda64dd6c5efd1eeb7cc14ad674534fc8961f16
README.md
README.md
This repository has two XCode projects * An OS X Bonjour server that can send/recieve data * An iOS Bonjour client that can send/recieve data You'll need Xcode 8.2 or greater PS... I wrote this as proof of concept & to learn Swift years ago. If you're going to use it in production, use it as a reference and rewrite...
This repository has two XCode projects * An OS X Bonjour server that can send/recieve data * An iOS Bonjour client that can send/recieve data You'll need Xcode 10.1 with Swift 4 or greater PS... I wrote this as proof of concept & to learn Swift years ago. If you're going to use it in production, use it as a referen...
Update for Xcode 10.1 & Swift 4
Update for Xcode 10.1 & Swift 4
Markdown
mit
jameszaghini/bonjour-demo-osx-to-ios
markdown
## Code Before: This repository has two XCode projects * An OS X Bonjour server that can send/recieve data * An iOS Bonjour client that can send/recieve data You'll need Xcode 8.2 or greater PS... I wrote this as proof of concept & to learn Swift years ago. If you're going to use it in production, use it as a refer...
3525ebd0dbe89521bc38459792c34510aecde6a8
README.rst
README.rst
Lipsum ====== Lipsum is a convenient way to add filler text to your Java application. Example Usage ------------- Randomly select a Lorem Ipsum paragraph:: String paragraph = Lipsum.lorem().paragraph(new Random().nextLong()); Include a Lorem Ipsum paragraph in a StringTemplate group file:: import "org/codeswarm...
Lipsum ====== Lipsum is a convenient way to add filler text to your Java application. Example Usage ------------- Randomly select a Lorem Ipsum paragraph:: String paragraph = Lipsum.lorem().paragraph(new Random().nextLong()); Include a Lorem Ipsum paragraph in a StringTemplate group file:: import "org/codeswarm...
Add link to the 1.0 release at search.maven.org
Add link to the 1.0 release at search.maven.org
reStructuredText
apache-2.0
chris-martin/lipsum
restructuredtext
## Code Before: Lipsum ====== Lipsum is a convenient way to add filler text to your Java application. Example Usage ------------- Randomly select a Lorem Ipsum paragraph:: String paragraph = Lipsum.lorem().paragraph(new Random().nextLong()); Include a Lorem Ipsum paragraph in a StringTemplate group file:: impor...
b745e3358e0a09aca21f6e49855f2c8e0fce6e6d
src/app/parts/header/header.component.sass
src/app/parts/header/header.component.sass
.aae-header display: -webkit-flex display: flex -webkit-justify-content: space-between justify-content: space-between position: fixed top: 0 left: 0 right: 0 padding: 10px 10px 15px 10px height: 36px background-color: rgba(255,255,255,0.9) @media (max-width: 1023px) .wide display: none ...
section display: -webkit-flex display: flex -webkit-justify-content: space-between justify-content: space-between position: fixed top: 0 left: 0 right: 0 padding: 10px 27px 15px 10px height: 36px background-color: rgba(255,255,255,0.9) @media (max-width: 1023px) .wide display: none .na...
Set correct padding in header
Set correct padding in header
Sass
mit
KeJSaR/artezian-info-web,KeJSaR/artezian-info-web,KeJSaR/artezian-info-web,KeJSaR/artezian-info-web
sass
## Code Before: .aae-header display: -webkit-flex display: flex -webkit-justify-content: space-between justify-content: space-between position: fixed top: 0 left: 0 right: 0 padding: 10px 10px 15px 10px height: 36px background-color: rgba(255,255,255,0.9) @media (max-width: 1023px) .wide di...
d4af259a91b814d7e6d6d83de368a3b0ff61ecb8
.travis.yml
.travis.yml
language: d sudo: false dist: focal matrix: include: - d: dmd-nightly - d: dmd-2.093.1 - d: ldc-1.23.0 allow_failures: - d: dmd-nightly addons: apt: packages: - ninja-build install: - gem install bundler - bundle install - dub fetch unit-threaded --version=0.7.21 - dub fetch u...
language: d sudo: false dist: focal matrix: include: - d: dmd-nightly - d: dmd-2.093.1 allow_failures: - d: dmd-nightly addons: apt: packages: - ninja-build install: - gem install bundler - bundle install - dub fetch unit-threaded --version=0.7.21 - dub fetch unit-threaded --versi...
Remove ldc from the matrix since it doesn't work anyway
Remove ldc from the matrix since it doesn't work anyway
YAML
bsd-3-clause
atilaneves/reggae,atilaneves/reggae,atilaneves/reggae,atilaneves/reggae,atilaneves/reggae
yaml
## Code Before: language: d sudo: false dist: focal matrix: include: - d: dmd-nightly - d: dmd-2.093.1 - d: ldc-1.23.0 allow_failures: - d: dmd-nightly addons: apt: packages: - ninja-build install: - gem install bundler - bundle install - dub fetch unit-threaded --version=0.7.21...
46395b2c1215ceb118305dd444b77e7f783596a6
app/Providers/AuthServiceProvider.php
app/Providers/AuthServiceProvider.php
<?php namespace App\Providers; use App\User; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Gate; use Illuminate\Support\ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function r...
<?php namespace App\Providers; use App\User; use Illuminate\Support\Facades\Gate; use Illuminate\Support\ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { // } ...
Resolve class via app property
Resolve class via app property
PHP
mit
jaesung2061/anvel,jaesung2061/anvel,jaesung2061/anvel
php
## Code Before: <?php namespace App\Providers; use App\User; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Gate; use Illuminate\Support\ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ p...
a511acb1667042c5cd3e02d59a2d9787f1141e42
ext/java/org/msgpack/jruby/MessagePackLibrary.java
ext/java/org/msgpack/jruby/MessagePackLibrary.java
package org.msgpack.jruby; import java.io.IOException; import org.jruby.Ruby; import org.jruby.RubyModule; import org.jruby.RubyClass; import org.jruby.RubyString; import org.jruby.RubyHash; import org.jruby.runtime.load.Library; import org.jruby.runtime.builtin.IRubyObject; import org.jruby.runtime.ThreadContext; i...
package org.msgpack.jruby; import org.jruby.Ruby; import org.jruby.RubyModule; import org.jruby.RubyClass; import org.jruby.RubyString; import org.jruby.RubyHash; import org.jruby.runtime.load.Library; import org.jruby.runtime.builtin.IRubyObject; import org.jruby.runtime.ThreadContext; import org.jruby.anno.JRubyMod...
Remove IOException from MessagePack signatures
Remove IOException from MessagePack signatures
Java
apache-2.0
msgpack/msgpack-ruby,okkez/msgpack-ruby,nurse/msgpack-ruby,cosmo0920/msgpack-ruby,kou/msgpack-ruby,cosmo0920/msgpack-ruby,larskanis/msgpack-ruby,ojundt/msgpack-ruby,larskanis/msgpack-ruby,kou/msgpack-ruby,nurse/msgpack-ruby,cosmo0920/msgpack-ruby,nurse/msgpack-ruby,larskanis/msgpack-ruby,msgpack/msgpack-ruby,okkez/msgp...
java
## Code Before: package org.msgpack.jruby; import java.io.IOException; import org.jruby.Ruby; import org.jruby.RubyModule; import org.jruby.RubyClass; import org.jruby.RubyString; import org.jruby.RubyHash; import org.jruby.runtime.load.Library; import org.jruby.runtime.builtin.IRubyObject; import org.jruby.runtime....
93194313e49dbac570567f93f9817f073a4f42f7
main.html
main.html
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>title</title> <link rel="stylesheet" href="stylesheet.css" type="text/css"> </head> <body> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script> </body> </html>
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>PvP Informer</title> <link rel="stylesheet" href="stylesheet.css" type="text/css"> </head> <body> <h1>Welcome to PvP Informer!</h1> <TABLE BORDER="3" CELLSPACING="1" CELLPADDING="1"> <CAPTION>Toon Info</CAPTION> <TR> <TD ALIGN = "cent...
Add basic tables to report stats
Add basic tables to report stats
HTML
mit
bajunio/pvp_player_informer
html
## Code Before: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>title</title> <link rel="stylesheet" href="stylesheet.css" type="text/css"> </head> <body> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script> </body> </html> ## Instruction: Ad...
3343252dc4ac07c50d53de60bb7f364cdb49c970
docs/basic-http-auth/README.md
docs/basic-http-auth/README.md
Remote **CIKit** host is Nginx based web server which protects web-traffic using basic HTTP authentication. You will [set the credentials for it during server provisioning](../../scripts/provision.yml#L41-57). Besides, you can set the list of IP addresses which will be whitelisted for authentication omitting. [Add IP...
Remote **CIKit** host is Nginx based web server which protects web-traffic using basic HTTP authentication. You can configure the credentials for in different ways: using `.env-config.yml`, passing `--http-auth-user=admin --http-auth-pass=password` options to `cikit` utility or leaving everything as is, and get passwo...
Fix docs for basic HTTP auth
[CIKit] Fix docs for basic HTTP auth
Markdown
apache-2.0
BR0kEN-/cikit,BR0kEN-/cikit,BR0kEN-/cikit,BR0kEN-/cikit,BR0kEN-/cikit
markdown
## Code Before: Remote **CIKit** host is Nginx based web server which protects web-traffic using basic HTTP authentication. You will [set the credentials for it during server provisioning](../../scripts/provision.yml#L41-57). Besides, you can set the list of IP addresses which will be whitelisted for authentication o...
67c671260858cc2c3d3041188cebda63cac1c4eb
prequ/__init__.py
prequ/__init__.py
import pkg_resources try: __version__ = pkg_resources.get_distribution(__name__).version except pkg_resources.DistributionNotFound: __version__ = None
import pkg_resources try: __version__ = pkg_resources.get_distribution(__name__).version except pkg_resources.DistributionNotFound: # pragma: no cover __version__ = None
Add "no cover" pragma to version setting code
Add "no cover" pragma to version setting code
Python
bsd-2-clause
suutari-ai/prequ,suutari/prequ,suutari/prequ
python
## Code Before: import pkg_resources try: __version__ = pkg_resources.get_distribution(__name__).version except pkg_resources.DistributionNotFound: __version__ = None ## Instruction: Add "no cover" pragma to version setting code ## Code After: import pkg_resources try: __version__ = pkg_resources.get_di...
48451cda2fa15ccc73fc67872cb88c96db35e7c7
_includes/map.html
_includes/map.html
{% assign location = site.data.locations[page.location] %} <h4>Location</h4> {{ location.name }}{% if defined?(location.room) %} , Raumnummer: {{ location.room }} {% endif %} <br> {{ location.address }} <br> {{ location.postcode }} <div id="map" style="width: 400px; height: 400px"></div> <script> var map = L.m...
{% assign location = site.data.locations[page.location] %} {% if defined?(location) %} <h4>Location</h4> {{ location.name }}{% if defined?(location.room) %} , Raumnummer: {{ location.room }} {% endif %} <br> {{ location.address }} <br> {{ location.postcode }} <div id="map" style="width: 400px; height: 400px"></div>...
Exclude location view if no location is defined
Exclude location view if no location is defined
HTML
mit
fhopf/jugka-site,jugka/jugka-site,jugka/jugka-site,jugka/jugka-site,jugka/jugka,fhopf/jugka-site,jugka/jugka,jugka/jugka,fhopf/jugka-site
html
## Code Before: {% assign location = site.data.locations[page.location] %} <h4>Location</h4> {{ location.name }}{% if defined?(location.room) %} , Raumnummer: {{ location.room }} {% endif %} <br> {{ location.address }} <br> {{ location.postcode }} <div id="map" style="width: 400px; height: 400px"></div> <script> ...
4268f10eb8fb0935fd7e2e777aa4e0de4d30ab97
DependencyInjection/Configuration.php
DependencyInjection/Configuration.php
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\AdminBundle\DependencyInjection; use Symfony\Compon...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\AdminBundle\DependencyInjection; use Symfony\Compon...
Remove usage of deprecated "Symfony\Component\Config\Definition\Builder\TreeBuilder::root()"
Remove usage of deprecated "Symfony\Component\Config\Definition\Builder\TreeBuilder::root()"
PHP
mit
Sylius/SyliusAdminBundle,Sylius/SyliusAdminBundle
php
## Code Before: <?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\AdminBundle\DependencyInjection; us...
f0a44dece5739a4108d3b27821f4c86ab992033c
website/static/css/quick-project-search-plugin.css
website/static/css/quick-project-search-plugin.css
.outline-row { border-top: 2px solid #333333; border-bottom: 2px solid #333333 } .left-col-outline { border-left: 2px solid #333333 } .right-col-outline { border-right: 2px solid #333333 } button { -webkit-appearance: none; outline: none; border: 0; background: transparent; } .load-...
.node-styling { background-color: #fcfcfc; border: 1px solid #cccccc; } button { -webkit-appearance: none; outline: none; border: 0; background: transparent; } .load-nodes { font-size: 2em; }
Add very light gray to node background with a med gray border.
Add very light gray to node background with a med gray border.
CSS
apache-2.0
CenterForOpenScience/osf.io,chrisseto/osf.io,caseyrollins/osf.io,HalcyonChimera/osf.io,HalcyonChimera/osf.io,RomanZWang/osf.io,erinspace/osf.io,laurenrevere/osf.io,TomHeatwole/osf.io,kwierman/osf.io,felliott/osf.io,Johnetordoff/osf.io,chennan47/osf.io,CenterForOpenScience/osf.io,baylee-d/osf.io,HalcyonChimera/osf.io,rd...
css
## Code Before: .outline-row { border-top: 2px solid #333333; border-bottom: 2px solid #333333 } .left-col-outline { border-left: 2px solid #333333 } .right-col-outline { border-right: 2px solid #333333 } button { -webkit-appearance: none; outline: none; border: 0; background: transp...
edead63f66120a67780b627e74b511b54d39ec1b
.packit.yaml
.packit.yaml
upstream_package_name: python-nitrate downstream_package_name: python-nitrate specfile_path: python-nitrate.spec synced_files: [python-nitrate.spec] actions: create-archive: - make tarball get-current-version: - make version jobs: - job: copr_build metadata: targets: - fedora-all - epel-8 -...
upstream_package_name: python-nitrate downstream_package_name: python-nitrate specfile_path: python-nitrate.spec synced_files: [python-nitrate.spec] actions: create-archive: - make tarball get-current-version: - make version jobs: - job: copr_build metadata: targets: - fedora-all - epel-8 -...
Enable copr builds on commits in the master branch
Enable copr builds on commits in the master branch
YAML
lgpl-2.1
psss/python-nitrate
yaml
## Code Before: upstream_package_name: python-nitrate downstream_package_name: python-nitrate specfile_path: python-nitrate.spec synced_files: [python-nitrate.spec] actions: create-archive: - make tarball get-current-version: - make version jobs: - job: copr_build metadata: targets: - fedora-all ...
37f2ebdeeb3f1ef6a3c61c7dfb5dca22673fd810
setup.py
setup.py
from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['pillow', 'django-celery==2.5.5', 'mutagen', 'simplejson', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", versi...
from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['Pillow==2.1.0', 'django-celery==3.0.21', 'mutagen==1.21', 'simplejson==3.3.0', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "d...
Set full versions on all dependencies and updated most to latest version
Set full versions on all dependencies and updated most to latest version
Python
bsd-2-clause
jmichalicek/djukebox,jmichalicek/djukebox
python
## Code Before: from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['pillow', 'django-celery==2.5.5', 'mutagen', 'simplejson', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukeb...
fdc1895b13d739e0341997fc171b158e870636d8
tools/karma.conf.js
tools/karma.conf.js
const browsers = ['Firefox']; if (!process.env.CI) { browsers.push('Chrome'); switch (process.platform) { case 'darwin': browsers.push('Safari'); break; case 'win32': browsers.push('IE'); browsers.push('Edge'); break; } } module.e...
const browsers = ['Firefox']; if (!process.env.CI) { browsers.push('Chrome'); switch (process.platform) { case 'darwin': browsers.push('Safari'); break; case 'win32': browsers.push('IE'); browsers.push('Edge'); break; } } module.e...
Change karma log lvl to WARN
Change karma log lvl to WARN
JavaScript
mit
egoroof/browser-id3-writer
javascript
## Code Before: const browsers = ['Firefox']; if (!process.env.CI) { browsers.push('Chrome'); switch (process.platform) { case 'darwin': browsers.push('Safari'); break; case 'win32': browsers.push('IE'); browsers.push('Edge'); break; ...
b7157e0345cd684d7f3c5ec72789fa918bafe62c
src/CoreBundle/Command/CronCommand.php
src/CoreBundle/Command/CronCommand.php
<?php /** * Created by PhpStorm. * User: stas * Date: 28.05.16 * Time: 17:39 */ namespace CoreBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; /** * Class RunEventsCommand ...
<?php /** * Created by PhpStorm. * User: stas * Date: 28.05.16 * Time: 17:39 */ namespace CoreBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; /** * Class RunEventsCommand ...
Remove fixing result of games.
Remove fixing result of games.
PHP
mit
StasPiv/playzone,StasPiv/playzone,StasPiv/playzone
php
## Code Before: <?php /** * Created by PhpStorm. * User: stas * Date: 28.05.16 * Time: 17:39 */ namespace CoreBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; /** * Class R...
330ae9336762f76dcabcc2c3bb0b6543a596cf91
app/models/error_badge_url.rb
app/models/error_badge_url.rb
module HazCommitz class ErrorBadgeUrl < BadgeUrlRatingPresenter def display 'http://img.shields.io/badge/Haz%20Commitz-error-lightgrey.svg' end end end
require_relative 'badge_url_rating_presenter' module HazCommitz class ErrorBadgeUrl < BadgeUrlRatingPresenter def display 'http://img.shields.io/badge/Haz%20Commitz-error-lightgrey.svg' end end end
Fix require for error badge
Fix require for error badge
Ruby
mit
rob-murray/haz-commitz,rob-murray/haz-commitz,rob-murray/haz-commitz
ruby
## Code Before: module HazCommitz class ErrorBadgeUrl < BadgeUrlRatingPresenter def display 'http://img.shields.io/badge/Haz%20Commitz-error-lightgrey.svg' end end end ## Instruction: Fix require for error badge ## Code After: require_relative 'badge_url_rating_presenter' module ...
169c973c0d56605fb18f7ae77b55d58781f17999
src/ggrc/assets/mustache/base_objects/general_info.mustache
src/ggrc/assets/mustache/base_objects/general_info.mustache
{{! transcluded via renderLive in, for example, assets/mustache/sections/tier2_content.mustache }} {{#instance}} <div class="row-fluid wrap-row"> <div class="span6"> <h6>Title</h6> <h3>{{title}}</h3> {{#if type}} <p> {{type.title}} </p> {{/if}} </div> <div clas...
{{! transcluded via renderLive in, for example, assets/mustache/sections/tier2_content.mustache }} {{#instance}} <div class="row-fluid wrap-row"> <div class="span6"> <h6>Title</h6> <h3>{{title}}</h3> {{#if type}} <p> {{type.title}} </p> {{/if}} </div> <div clas...
Fix for script error that shows up during search.
Fix for script error that shows up during search.
HTML+Django
apache-2.0
josthkko/ggrc-core,vladan-m/ggrc-core,AleksNeStu/ggrc-core,hasanalom/ggrc-core,andrei-karalionak/ggrc-core,hasanalom/ggrc-core,kr41/ggrc-core,VinnieJohns/ggrc-core,hyperNURb/ggrc-core,selahssea/ggrc-core,prasannav7/ggrc-core,jmakov/ggrc-core,prasannav7/ggrc-core,kr41/ggrc-core,prasannav7/ggrc-core,plamut/ggrc-core,edof...
html+django
## Code Before: {{! transcluded via renderLive in, for example, assets/mustache/sections/tier2_content.mustache }} {{#instance}} <div class="row-fluid wrap-row"> <div class="span6"> <h6>Title</h6> <h3>{{title}}</h3> {{#if type}} <p> {{type.title}} </p> {{/if}} </di...
0f6e50d30c402948286571272f3604a02e3f8797
server/routes/api/mappings.js
server/routes/api/mappings.js
const express = require('express') const router = express.Router() const instrumentMappingsController = require('../../controllers').instrumentMappings router.get('/:id', instrumentMappingsController.findById) router.put('/:id', instrumentMappingsController.update) router.delete('/:id', instrumentMappingsController.d...
const express = require('express') const router = express.Router() const {InstrumentMapping} = require('../../models/index') const { instrumentMappingDestroy, instrumentMappingFindById, instrumentMappingUpdate, mappingSend } = require('../../middlewares') router.get('/:id', instrumentMappingFindById(Instrume...
Update mapping route declarations using newly created middlewares.
[Server][Router] Update mapping route declarations using newly created middlewares.
JavaScript
mit
lighting-perspectives/jams,lighting-perspectives/jams
javascript
## Code Before: const express = require('express') const router = express.Router() const instrumentMappingsController = require('../../controllers').instrumentMappings router.get('/:id', instrumentMappingsController.findById) router.put('/:id', instrumentMappingsController.update) router.delete('/:id', instrumentMapp...
4656ebf25de05587d1f71dd6e6a78f18103b884b
content/talks/hadoop_fluentd_cluster_monitoring_with_prometheus_and_grafana.md
content/talks/hadoop_fluentd_cluster_monitoring_with_prometheus_and_grafana.md
--- id: hadoop_fluentd_cluster_monitoring_with_prometheus_and_grafana title: Hadoop, Fluentd Cluster Monitoring with Prometheus and Grafana kind: talk --- ## Hadoop, Fluentd Cluster Monitoring with Prometheus and Grafana At LINE, we are creating and maintaining a log analysis platform on top of Hadoop, Hive, and Flue...
--- id: hadoop_fluentd_cluster_monitoring_with_prometheus_and_grafana title: Hadoop, Fluentd Cluster Monitoring with Prometheus and Grafana kind: talk --- ## Hadoop, Fluentd Cluster Monitoring with Prometheus and Grafana At LINE, we are creating and maintaining a log analysis platform on top of Hadoop, Hive, and Flue...
Make desired changes to LINE talk abstract.
Make desired changes to LINE talk abstract.
Markdown
apache-2.0
promcon/website,promcon/website,TheTincho/website,TheTincho/website,TheTincho/website,promcon/website,TheTincho/website,promcon/website,promcon/website,promcon/website
markdown
## Code Before: --- id: hadoop_fluentd_cluster_monitoring_with_prometheus_and_grafana title: Hadoop, Fluentd Cluster Monitoring with Prometheus and Grafana kind: talk --- ## Hadoop, Fluentd Cluster Monitoring with Prometheus and Grafana At LINE, we are creating and maintaining a log analysis platform on top of Hadoop...
0352cf197d53c471d27994585bc2fde2781e050f
packages/rendermime-extension/src/index.ts
packages/rendermime-extension/src/index.ts
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ import { JupyterLab, JupyterLabPlugin } from '@jupyterla...
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ import { JupyterLab, JupyterLabPlugin } from '@jupyterla...
Fix link handler for renderers
Fix link handler for renderers
TypeScript
bsd-3-clause
jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab
typescript
## Code Before: /*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ import { JupyterLab, JupyterLabPlugin } ...
df89c75ae352601b2ad4f2bb29801d30f1d0c6d3
packages/tr/tree-render-text.yaml
packages/tr/tree-render-text.yaml
homepage: https://github.com/thomaseding/tree-render-text changelog-type: '' hash: aff045cff081de4400696a42216c7466a362399a9754d1307ba0d1a4ec251efc test-bench-deps: {} maintainer: Thomas Eding synopsis: Configurable text rendering of trees. changelog: '' basic-deps: base: ^>=4.12.0.0 containers: ^>=0.6.0.1 mtl: ^...
homepage: https://github.com/thomaseding/tree-render-text changelog-type: '' hash: 8229625b2cd4fba6739b7c0d34868f48ebea20a9e4b6b12ac6fb23c919564734 test-bench-deps: {} maintainer: Thomas Eding synopsis: Configurable text rendering of trees. changelog: '' basic-deps: base: ^>=4.12.0.0 containers: ^>=0.6.0.1 mtl: ^...
Update from Hackage at 2020-01-06T04:16:59Z
Update from Hackage at 2020-01-06T04:16:59Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/thomaseding/tree-render-text changelog-type: '' hash: aff045cff081de4400696a42216c7466a362399a9754d1307ba0d1a4ec251efc test-bench-deps: {} maintainer: Thomas Eding synopsis: Configurable text rendering of trees. changelog: '' basic-deps: base: ^>=4.12.0.0 containers: ^>=...
e176a66188bd6416a1fad21e3a7b4d9b6ca31805
lib/fake_email_service.rb
lib/fake_email_service.rb
require 'mail' class FakeEmailService def initialize fake_domains_file = File.expand_path('../../config/fake_domains.list', __FILE__) @fake_domains = File.readlines(fake_domains_file).map {|fd| fd.strip.downcase } end def is_fake_email?(email) email_address = Mail::Address.new(email) domain = ...
require 'mail' class FakeEmailService def initialize fake_domains_file = File.expand_path('../../config/fake_domains.list', __FILE__) @fake_domains = File.readlines(fake_domains_file).map {|fd| fd.strip.downcase } end def is_fake_email?(email) email_address = Mail::Address.new(email) domain = ...
Optimize search in fake domains list
Optimize search in fake domains list
Ruby
mit
maxd/fake_email_validator
ruby
## Code Before: require 'mail' class FakeEmailService def initialize fake_domains_file = File.expand_path('../../config/fake_domains.list', __FILE__) @fake_domains = File.readlines(fake_domains_file).map {|fd| fd.strip.downcase } end def is_fake_email?(email) email_address = Mail::Address.new(email...
2076c9400c7d2b327b87a4f47e9593832acf2236
src/components/gifPicker/singleGif.tsx
src/components/gifPicker/singleGif.tsx
import React, {FC} from 'react'; import {Handler} from '../../helpers/typeHelpers'; export interface GifItemProps { previewUrl: string; onClick: Handler; } export const BTDGifItem: FC<GifItemProps> = (props) => { return ( <div className="btd-giphy-block-wrapper" onClick={props.onClick} sty...
import React, {FC} from 'react'; import {Handler} from '../../helpers/typeHelpers'; export interface GifItemProps { previewUrl: string; onClick: Handler; } export const BTDGifItem: FC<GifItemProps> = (props) => { return ( <div className="btd-giphy-block-wrapper" onClick={props.onClick} sty...
Fix gif picker with scrollbar
Fix gif picker with scrollbar
TypeScript
mit
eramdam/BetterTweetDeck,eramdam/BetterTweetDeck,eramdam/BetterTweetDeck,eramdam/BetterTweetDeck
typescript
## Code Before: import React, {FC} from 'react'; import {Handler} from '../../helpers/typeHelpers'; export interface GifItemProps { previewUrl: string; onClick: Handler; } export const BTDGifItem: FC<GifItemProps> = (props) => { return ( <div className="btd-giphy-block-wrapper" onClick={props.on...
5f5279c6dec90fd27828ffb40c3657feda57c63f
source/talks/api-design-for-gem-authors-and-users.md
source/talks/api-design-for-gem-authors-and-users.md
--- type: talk title: API design for gem authors (and users) speaker: Emily Stolfo room: Salon 2 day: Friday session: 4:15 PM ---
--- type: talk title: API design for gem authors (and users) speaker: Emily Stolfo room: Salon 2 day: Friday session: 4:15 PM --- ## About The Speaker Emily is a software engineer at MongoDB where she co-maintains the Ruby driver and aids in Ruby community development. She previously worked as a Rails developer in NYC...
Add Emily's description and abstract
Add Emily's description and abstract
Markdown
mit
ninefold/rubyconf_miami_hub,ninefold/rubyconf_miami_hub
markdown
## Code Before: --- type: talk title: API design for gem authors (and users) speaker: Emily Stolfo room: Salon 2 day: Friday session: 4:15 PM --- ## Instruction: Add Emily's description and abstract ## Code After: --- type: talk title: API design for gem authors (and users) speaker: Emily Stolfo room: Salon 2 day: Fr...
31fcf66589d7332e4be7ddf13d61d3c8d557844c
Sources/CreateCustomZone.swift
Sources/CreateCustomZone.swift
/* | _ ____ ____ _ | | |‾| ⚈ |-| ⚈ |‾| | | | | ‾‾‾‾| |‾‾‾‾ | | | ‾ ‾ ‾ */ import Foundation import CloudKit import Reactor public struct CreateCustomZone<U: State>: Command { public var zoneName: String public init(named zoneName: String) { self.zoneName = zon...
/* | _ ____ ____ _ | | |‾| ⚈ |-| ⚈ |‾| | | | | ‾‾‾‾| |‾‾‾‾ | | | ‾ ‾ ‾ */ import Foundation import CloudKit import Reactor public struct CreateCustomZone<U: State>: Command { public var zoneName: String? public init(named zoneName: String? = nil) { self.zoneNa...
Support creating custom zones other than default
Support creating custom zones other than default
Swift
mit
benjaminsnorris/CloudKitReactor
swift
## Code Before: /* | _ ____ ____ _ | | |‾| ⚈ |-| ⚈ |‾| | | | | ‾‾‾‾| |‾‾‾‾ | | | ‾ ‾ ‾ */ import Foundation import CloudKit import Reactor public struct CreateCustomZone<U: State>: Command { public var zoneName: String public init(named zoneName: String) { sel...
2896f017fd8e52822e27ca655ad7c6b938b7c546
src/Oro/Bundle/EmailBundle/Resources/translations/tooltips.en.yml
src/Oro/Bundle/EmailBundle/Resources/translations/tooltips.en.yml
oro: email: contexts.tooltip: Choose an entity to link with email emailtemplate: entity_name.tooltip: Choose an entity this template is related to or keep it empty if this template is not related to any entity.
oro: email: contexts.tooltip: Context is any record or records that have meaningful relation to an email conversation. When you add context of a record to the email conversation, it will be displayed in the Activity list of that record. emailtemplate: entity_name.tooltip: Choose an enti...
Change context info tooltip on email form
CRM-3165: Change context info tooltip on email form
YAML
mit
orocrm/platform,northdakota/platform,morontt/platform,orocrm/platform,morontt/platform,hugeval/platform,2ndkauboy/platform,trustify/oroplatform,northdakota/platform,Djamy/platform,2ndkauboy/platform,ramunasd/platform,morontt/platform,hugeval/platform,2ndkauboy/platform,geoffroycochard/platform,trustify/oroplatform,Djam...
yaml
## Code Before: oro: email: contexts.tooltip: Choose an entity to link with email emailtemplate: entity_name.tooltip: Choose an entity this template is related to or keep it empty if this template is not related to any entity. ## Instruction: CRM-3165: Change context info tooltip on em...
db388fad4e511e9c22826b7b7e6edb69ac165180
src/common/res/features/check-credit-balances/settings.json
src/common/res/features/check-credit-balances/settings.json
{ "name": "checkCreditBalances", "type": "checkbox", "default": false, "section": "budget", "title": "Check Credit Card Balances", "description": "Highlights credit card category balances with a yellow warning if the balance of the category does not match the account balance.", ...
{ "name": "checkCreditBalances", "type": "checkbox", "default": false, "section": "budget", "title": "Paid in Full Credit Card Assist", "description": "Highlights credit card category balances with a yellow warning if the balance of the category does not match the account balance...
Update options name and description
Update options name and description
JSON
mit
mhum/ynab-enhanced,gpeden/ynab-enhanced,toolkit-for-ynab/toolkit-for-ynab,blargity/toolkit-for-ynab,boxfoot/toolkit-for-ynab,Niictar/toolkit-for-ynab,falkencreative/toolkit-for-ynab,toolkit-for-ynab/toolkit-for-ynab,ahatzz11/toolkit-for-ynab,joshmadewell/toolkit-for-ynab,dbaldon/toolkit-for-ynab,toolkit-for-ynab/toolki...
json
## Code Before: { "name": "checkCreditBalances", "type": "checkbox", "default": false, "section": "budget", "title": "Check Credit Card Balances", "description": "Highlights credit card category balances with a yellow warning if the balance of the category does not match the acco...
668d807de7d93b9d45b6968f64d919c5e0bbfc5b
templates/angularjs/package.json
templates/angularjs/package.json
{ "name": "aspnet", "version": "1.0.0", "private": true, "instapack": { "output": "wwwroot", "concat": { "vendor": [ "ts-polyfill", "jquery", "jquery-validation", "jquery-validation-unobtrusive", "bootstrap-sass" ] }, "externals": { "jque...
{ "name": "aspnet", "version": "1.0.0", "private": true, "instapack": { "output": "wwwroot", "concat": { "vendor": [ "ts-polyfill", "jquery", "jquery-validation", "jquery-validation-unobtrusive", "bootstrap-sass" ] }, "externals": { "jque...
Replace bootbox with sweetalert for angularjs new project template.
Replace bootbox with sweetalert for angularjs new project template.
JSON
mit
ryanelian/instapack,ryanelian/instapack,ryanelian/ryan-compiler,ryanelian/ryan-compiler,ryanelian/instapack,ryanelian/ryan-compiler
json
## Code Before: { "name": "aspnet", "version": "1.0.0", "private": true, "instapack": { "output": "wwwroot", "concat": { "vendor": [ "ts-polyfill", "jquery", "jquery-validation", "jquery-validation-unobtrusive", "bootstrap-sass" ] }, "externals...
6af237a2a946b3de0bc62ae12c001efef7d3a902
app/views/supervisor/comments/_comment.html.slim
app/views/supervisor/comments/_comment.html.slim
h5 = "#{ user_for_comment(comment) }, #{ format_date(comment.created_at, :short) }" p = comment.text
h5 = "#{ user_for_comment(comment) }, #{ format_date(comment.created_at, :short) }".html_safe p = comment.text
Fix escaped span elements for RGSoC orga members
Fix escaped span elements for RGSoC orga members
Slim
mit
TeamCheesy/rgsoc-teams,michaelem/rgsoc-teams,michaelem/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,michaelem/rgsoc-teams,TeamCheesy/rgsoc-teams,TeamCheesy/rgsoc-teams
slim
## Code Before: h5 = "#{ user_for_comment(comment) }, #{ format_date(comment.created_at, :short) }" p = comment.text ## Instruction: Fix escaped span elements for RGSoC orga members ## Code After: h5 = "#{ user_for_comment(comment) }, #{ format_date(comment.created_at, :short) }".html_safe p = comment.text
c7cf16d733d4d45148b66d6fc9c89269f3063773
app/serializers/formality_level_serializer.rb
app/serializers/formality_level_serializer.rb
class FormalityLevelSerializer < ApplicationSerializer class Reference < ApplicationSerializer attributes :iri attributes :name def iri urls.license_model_url(object, host: Settings.hostname) end end attributes :iri attributes :name, :description def iri Reference.new(object).iri ...
class FormalityLevelSerializer < ApplicationSerializer class Reference < ApplicationSerializer attributes :iri attributes :name def iri urls.formality_level_url(object, host: Settings.hostname) end end attributes :iri attributes :name, :description def iri Reference.new(object).ir...
Fix FormalityLevelSerializer using wrong url.
Fix FormalityLevelSerializer using wrong url.
Ruby
agpl-3.0
ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub
ruby
## Code Before: class FormalityLevelSerializer < ApplicationSerializer class Reference < ApplicationSerializer attributes :iri attributes :name def iri urls.license_model_url(object, host: Settings.hostname) end end attributes :iri attributes :name, :description def iri Reference....
6aca2faf4680a2454b9ad35570f0a79daa9c3b0a
src/main/scala-sbt-1.0/com/earldouglas/xwp/Compat.scala
src/main/scala-sbt-1.0/com/earldouglas/xwp/Compat.scala
package com.earldouglas.xwp import sbt._ import sbt.Keys._ import sbt.internal.io.Source import sbt.util.CacheStoreFactory import FileInfo.Style import WebappPlugin.autoImport.webappPrepare object Compat { type Process = scala.sys.process.Process def forkOptionsWithRunJVMOptions(options: Seq[String]) = Fork...
package com.earldouglas.xwp import sbt._ import sbt.Keys._ import sbt.internal.io.Source import sbt.util.CacheStoreFactory import FileInfo.Style import WebappPlugin.autoImport.webappPrepare object Compat { type Process = scala.sys.process.Process def forkOptionsWithRunJVMOptions(options: Seq[String]) = Fork...
Fix source filters in sbt 1.0 watchSourceSetting
Fix source filters in sbt 1.0 watchSourceSetting Fixes #355
Scala
bsd-3-clause
earldouglas/xsbt-web-plugin,earldouglas/xsbt-web-plugin
scala
## Code Before: package com.earldouglas.xwp import sbt._ import sbt.Keys._ import sbt.internal.io.Source import sbt.util.CacheStoreFactory import FileInfo.Style import WebappPlugin.autoImport.webappPrepare object Compat { type Process = scala.sys.process.Process def forkOptionsWithRunJVMOptions(options: Seq[Str...
e851e31cdb7098140f7e49ff2988d07e30f3fc5a
app/config/routing_dev.yml
app/config/routing_dev.yml
_wdt: resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml" prefix: /_wdt # this imports the routes needed to display the Symfony Profiler information _profiler: resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml" prefix: /_profiler # this imports the route used to test ...
_wdt: resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml" prefix: /_wdt # this imports the routes needed to display the Symfony Profiler information _profiler: resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml" prefix: /_profiler # this imports the route used to test ...
Add ability to test HTTP error pages with different locales
Add ability to test HTTP error pages with different locales
YAML
mit
cristi-contiu/symfony-demo,jzawadzki/symfony-demo,rasanga/symfony-demo,bocharsky-bw/symfony-demo,symfony/symfony-demo,samitiana/symfony-demo,voronkovich/symfony-demo,mrook/symfony-behat-codeception-demo,Samox/symfony-demo,rasanga/symfony-demo,AntoineToubhans/symfony-demo,healthefrog/symfony-demo,javiereguiluz/symfony-d...
yaml
## Code Before: _wdt: resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml" prefix: /_wdt # this imports the routes needed to display the Symfony Profiler information _profiler: resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml" prefix: /_profiler # this imports the rou...
c0e25de4ac850900cb407491bfe3304bbaa1c9d0
bios/githubteacher.md
bios/githubteacher.md
**Name:** GitHub Teacher **Occupation:** Teacher **Location:** San Francisco
**Name:** GitHub Teacher **Occupation:** Teacher **Location:** San Francisco, California, USA
Add state and country to location
Add state and country to location
Markdown
mit
githubteacher/everyone-2015-09-15
markdown
## Code Before: **Name:** GitHub Teacher **Occupation:** Teacher **Location:** San Francisco ## Instruction: Add state and country to location ## Code After: **Name:** GitHub Teacher **Occupation:** Teacher **Location:** San Francisco, California, USA
679c1acf283e546df70813136a7850cb07565411
files/docker-compose.yml
files/docker-compose.yml
version: '2' services: concourse-db: image: postgres:9.5 volumes: - "${CONCOURSE_POSTGRESQL_DB_DIR}:/database" environment: POSTGRES_DB: concourse POSTGRES_USER: concourse POSTGRES_PASSWORD: changeme PGDATA: /database concourse-web: image: concourse/concourse comman...
version: '2' services: concourse-db: image: postgres:9.5 volumes: - "${CONCOURSE_POSTGRESQL_DB_DIR}:/database" environment: POSTGRES_DB: concourse POSTGRES_USER: concourse POSTGRES_PASSWORD: changeme PGDATA: /database restart: always concourse-web: image: concourse/...
Set restart=true to db container as well
Set restart=true to db container as well
YAML
mit
dbaba/ansible-role-concourse-ci
yaml
## Code Before: version: '2' services: concourse-db: image: postgres:9.5 volumes: - "${CONCOURSE_POSTGRESQL_DB_DIR}:/database" environment: POSTGRES_DB: concourse POSTGRES_USER: concourse POSTGRES_PASSWORD: changeme PGDATA: /database concourse-web: image: concourse/conc...
d3daac8145d5382f906e1ee77bb8a4906d5a3ab3
public/source/views/authenticated/AuthenticatedHeaderView.js
public/source/views/authenticated/AuthenticatedHeaderView.js
enyo.kind({ name: "Bootplate.AuthenticatedHeaderView", kind: "enyo.FittableRows", id: 'headerView', tag: 'header', // give it a specific html tag classes: "onyx", fit: true, components: [ {name: 'headerContainer', kind: "FittableColumns", fit: true, classes: "header-width", components: [ ...
enyo.kind({ name: "Bootplate.AuthenticatedHeaderView", kind: "enyo.FittableRows", id: 'headerView', tag: 'header', // give it a specific html tag classes: "onyx", fit: true, components: [ {name: 'headerContainer', kind: "FittableColumns", fit: true, classes: "header-width", components: [ ...
Update the auth header to include a gravatar
Update the auth header to include a gravatar
JavaScript
apache-2.0
pcimino/enyo-mvc-web-app,pcimino/enyo-mvc-web-app
javascript
## Code Before: enyo.kind({ name: "Bootplate.AuthenticatedHeaderView", kind: "enyo.FittableRows", id: 'headerView', tag: 'header', // give it a specific html tag classes: "onyx", fit: true, components: [ {name: 'headerContainer', kind: "FittableColumns", fit: true, classes: "header-width", compo...
c71334da69aaaf340bd9db9280e1f349bd6bfc41
run-spike-springbok.sh
run-spike-springbok.sh
if [[ -z "${ROOTDIR}" ]]; then echo "Source build/setup.sh first" exit 1 fi if [[ ! -f "${OUT}/host/spike/bin/spike" ]]; then echo "run \`m -j64 spike\` first" exit 1 fi if [[ "$#" -eq 0 || $1 == "--help" ]]; then echo "Usage: run-spike-springbok.sh <elf path>" exit 0 fi # spike CLI options: # -m<a:m,b:...
if [[ -z "${ROOTDIR}" ]]; then echo "Source build/setup.sh first" exit 1 fi if [[ ! -f "${OUT}/host/spike/bin/spike" ]]; then echo "run \`m -j64 spike\` first" exit 1 fi if [[ "$#" -eq 0 || $1 == "--help" ]]; then echo "Usage: run-spike-springbok.sh <elf path>" exit 0 fi # spike CLI options: # -m<a:m,b:...
Merge ITCM and DTCM into TCM.
scripts: Merge ITCM and DTCM into TCM. Remove references to 0x3200_0000 block. Change-Id: I712fad8f6edf1f6422c0bda4923936f113860bf4 GitOrigin-RevId: b0df8ede4226b1549ed9515cb9e1f4f694d0b1bc
Shell
apache-2.0
AmbiML/sparrow-scripts-full,AmbiML/sparrow-scripts-full
shell
## Code Before: if [[ -z "${ROOTDIR}" ]]; then echo "Source build/setup.sh first" exit 1 fi if [[ ! -f "${OUT}/host/spike/bin/spike" ]]; then echo "run \`m -j64 spike\` first" exit 1 fi if [[ "$#" -eq 0 || $1 == "--help" ]]; then echo "Usage: run-spike-springbok.sh <elf path>" exit 0 fi # spike CLI opti...
623d78a7b8b49fae0759227d8413fed1673f155e
.travis.yml
.travis.yml
dist: trusty sudo: false language: node_js cache: directories: - node_modules node_js: - 6 branches: only: - master script: - npm run build - npm run deploy env: global: - NODE_ENV=production
dist: trusty sudo: false language: node_js cache: directories: - node_modules node_js: - 6 branches: only: - master script: - npm run build - npm run deploy
Remove unnecessary env var for Travis
Remove unnecessary env var for Travis
YAML
mit
hyjk2000/party-lottery,hyjk2000/party-lottery,hyjk2000/party-lottery
yaml
## Code Before: dist: trusty sudo: false language: node_js cache: directories: - node_modules node_js: - 6 branches: only: - master script: - npm run build - npm run deploy env: global: - NODE_ENV=production ## Instruction: Remove unnecessary env var for Travis ## Code After: dist: trusty sud...
00c28d76d93331d7a501f0006cbadcaef48e499f
d1lod/tests/conftest.py
d1lod/tests/conftest.py
import pytest from d1lod import sesame @pytest.fixture(scope="module") def store(): return sesame.Store('localhost', 8080) @pytest.fixture(scope="module") def repo(store): return sesame.Repository(store, 'test') @pytest.fixture(scope="module") def interface(repo): return sesame.Interface(repo)
import pytest from d1lod import sesame @pytest.fixture(scope="module") def store(): return sesame.Store('localhost', 8080) @pytest.fixture(scope="module") def repo(store): namespaces = { 'owl': 'http://www.w3.org/2002/07/owl#', 'rdfs': 'http://www.w3.org/2000/01/rdf-schema#', 'rdf': '...
Add default set of namespaces to test repository instance
Add default set of namespaces to test repository instance
Python
apache-2.0
ec-geolink/d1lod,ec-geolink/d1lod,ec-geolink/d1lod,ec-geolink/d1lod
python
## Code Before: import pytest from d1lod import sesame @pytest.fixture(scope="module") def store(): return sesame.Store('localhost', 8080) @pytest.fixture(scope="module") def repo(store): return sesame.Repository(store, 'test') @pytest.fixture(scope="module") def interface(repo): return sesame.Interface...
6931d2b32e8d9710d7133e40be4fa7b0aea74544
README.rdoc
README.rdoc
= IronRubyInline Allows C#, F#, and Visual Basic code to be compiled inline with IronRuby code. == usage gem 'iron_ruby_inline' require 'iron_ruby_inline' == examples %Q{ public class CsCat { public void Greet() { System.Console.WriteLine("Hai u!"); } } }.compile ...
= IronRubyInline Allows C#, F#, and Visual Basic code to be compiled inline with IronRuby code. == usage gem 'iron_ruby_inline' require 'iron_ruby_inline' == examples <pre><code>%Q{ public class CsCat { public void Greet() { System.Console.WriteLine("Hai u!"); } } }.co...
Add pre tags to code examples.
Add pre tags to code examples.
RDoc
mit
rvernagus/IronRubyInline
rdoc
## Code Before: = IronRubyInline Allows C#, F#, and Visual Basic code to be compiled inline with IronRuby code. == usage gem 'iron_ruby_inline' require 'iron_ruby_inline' == examples %Q{ public class CsCat { public void Greet() { System.Console.WriteLine("Hai u!"); } } }.compile cscat...
cd57d7971068eccabe7bbd5eccbc54f16e538302
addon/components/content-backdrop.js
addon/components/content-backdrop.js
import Ember from "ember"; const { Component, computed, String: { htmlSafe }, computed: { alias }, inject: { service }, get, } = Ember; export default Component.extend({ sideMenu: service(), progress: alias("sideMenu.progress"), attributeBindings: ["style"], classNames: ["con...
import Ember from "ember"; const { Component, computed, String: { htmlSafe }, computed: { oneWay }, inject: { service }, get, } = Ember; export default Component.extend({ sideMenu: service(), progress: oneWay("sideMenu.progress"), attributeBindings: ["style"], classNames: ["c...
Allow to override progress property of backdrop-content
Allow to override progress property of backdrop-content
JavaScript
mit
tsubik/ember-side-menu,tsubik/ember-side-menu
javascript
## Code Before: import Ember from "ember"; const { Component, computed, String: { htmlSafe }, computed: { alias }, inject: { service }, get, } = Ember; export default Component.extend({ sideMenu: service(), progress: alias("sideMenu.progress"), attributeBindings: ["style"], c...
5f848a57daa28ba7813c2975475eaa5709bd3969
docs/development.md
docs/development.md
First clone the project ```bash $ git clone https://github.com/jiahaog/nativefier.git $ cd nativefier ``` Install dependencies ```bash # OSX and Linux $ npm run dev-up # Windows $ npm install $ cd app $ npm install ``` You can set up symlinks so that you can run `$ nativefier` for your local changes ```bash $ np...
First clone the project ```bash $ git clone https://github.com/jiahaog/nativefier.git $ cd nativefier ``` Install dependencies ```bash # OSX and Linux $ npm run dev-up # Windows $ npm install $ cd app $ npm install ``` Don't forget to compile source files: ```bash $ npm run build ``` You can set up symlinks so ...
Reorder confusing documentation for dev
Reorder confusing documentation for dev https://github.com/jiahaog/nativefier/issues/290 https://github.com/jiahaog/nativefier/issues/286
Markdown
mit
gfpacheco/Nativefier,faceair/nativefier-slack,jiahaog/Nativefier,skewedlines/Nativefier,gfpacheco/Nativefier,jiahaog/Nativefier,jiahaog/Nativefier,skewedlines/Nativefier,skewedlines/Nativefier,faceair/nativefier-slack,zucher/nativefier,zucher/nativefier,gfpacheco/Nativefier,zucher/nativefier
markdown
## Code Before: First clone the project ```bash $ git clone https://github.com/jiahaog/nativefier.git $ cd nativefier ``` Install dependencies ```bash # OSX and Linux $ npm run dev-up # Windows $ npm install $ cd app $ npm install ``` You can set up symlinks so that you can run `$ nativefier` for your local chang...
42bdf6c7628ba569916efeb119d34d084a46286f
osx/JenkinsInstaller.pmdoc/01jenkins-contents.xml
osx/JenkinsInstaller.pmdoc/01jenkins-contents.xml
<pkg-contents spec="1.12"><f n="jenkins.war" o="root" g="admin" p="33188" pt="/path/to/jenkins.war" m="false" t="file"/></pkg-contents>
<pkg-contents spec="1.12"><f n="jenkins.war" o="root" g="admin" p="33188" pt="/path/to/jenkins.war" m="false" t="file"><mod>group</mod><mod>owner</mod></f></pkg-contents>
Remove the 'option' of specifying the install location
Remove the 'option' of specifying the install location THe installer will say everything is invalid
XML
mit
MarkEWaite/jenkins,jpbriend/jenkins,DanielWeber/jenkins,arcivanov/jenkins,gitaccountforprashant/gittest,noikiy/jenkins,godfath3r/jenkins,deadmoose/jenkins,ns163/jenkins,soenter/jenkins,mattclark/jenkins,FarmGeek4Life/jenkins,intelchen/jenkins,evernat/jenkins,liupugong/jenkins,hemantojhaa/jenkins,viqueen/jenkins,andresr...
xml
## Code Before: <pkg-contents spec="1.12"><f n="jenkins.war" o="root" g="admin" p="33188" pt="/path/to/jenkins.war" m="false" t="file"/></pkg-contents> ## Instruction: Remove the 'option' of specifying the install location THe installer will say everything is invalid ## Code After: <pkg-contents spec="1.12"><f n="jenk...
ced179fc94f068db93623a6c76ea4f2ca6975eb0
lib/prmd/templates/link_schema_properties.erb
lib/prmd/templates/link_schema_properties.erb
| Name | Type | Description | Example | | ------- | ------- | ------- | ------- | <%- extract_attributes(schema, params).each do |(key, type, description, example)| %> | **<%= key %>** | *<%= type %>* | <%= description %> | <%= example %> | <%- end %>
| Name | Type | Description | Example | | ------- | ------- | ------- | ------- | <%- extract_attributes(schema, params).each do |(key, type, description, example)| %> | **<%= key %>** | *<%= type %>* | <%= description %> | <%= example %> | <%- end %>
Remove additional spaces from link properties markdown
Remove additional spaces from link properties markdown Github markdown can't draw table if there are spaces before first pipe symbol
HTML+ERB
mit
shopkeep/prmd,interagent/prmd,michaelsauter/prmd,junya-i/prmd,niaeashes/prmd,MobileDevHQ/prmd,uberjay/prmd,mlr/prmd,interagent/prmd,araines/prmd,ruprict/prmd,IceDragon200/prmd,IceDragon200/prmd,MobileDevHQ/prmd,ruprict/prmd,araines/prmd,mlr/prmd,robhurring/prmd,robhurring/prmd,shopkeep/prmd,hmac/prmd,hx/prmd,hx/prmd,hm...
html+erb
## Code Before: | Name | Type | Description | Example | | ------- | ------- | ------- | ------- | <%- extract_attributes(schema, params).each do |(key, type, description, example)| %> | **<%= key %>** | *<%= type %>* | <%= description %> | <%= example %> | <%- end %> ## Instruction: Remove additional spaces ...
61f081fd35288bb195bfaea54b8080f2b2dbdc47
resource_group.go
resource_group.go
package cloudflare type ResourceGroup struct { ID string `json:"id"` Name string `json:"name"` Meta map[string]string `json:"meta"` Scope Scope `json:"scope"` } type Scope struct { Key string `json:"key"` ScopeObjects []ScopeObject `json:"objects"` } type ...
package cloudflare import "fmt" type ResourceGroup struct { ID string `json:"id"` Name string `json:"name"` Meta map[string]string `json:"meta"` Scope Scope `json:"scope"` } type Scope struct { Key string `json:"key"` ScopeObjects []ScopeObject `json:"obje...
Add resource group utility methods
ACCT-4459: Add resource group utility methods
Go
bsd-3-clause
cloudflare/cloudflare-go,cloudflare/cloudflare-go
go
## Code Before: package cloudflare type ResourceGroup struct { ID string `json:"id"` Name string `json:"name"` Meta map[string]string `json:"meta"` Scope Scope `json:"scope"` } type Scope struct { Key string `json:"key"` ScopeObjects []ScopeObject `json:"ob...
6701d9deb29f69f1e5fa06a2c7a17418c2efb89d
lib/MediaWords/Languages/resources/ja_stoplist.txt
lib/MediaWords/Languages/resources/ja_stoplist.txt
これ それ あれ この その あの ここ そこ あそこ こちら どこ だれ なに なん 何 私 貴方 貴方方 我々 私達 あの人 あのかた 彼女 彼 です あります おります います は が の に を で え から まで より も どの と し それで しかし
あそこ あっ あの あのかた あの人 あり あります ある あれ い いう います いる う うち え お および おり おります か かつて から が き ここ こちら こと この これ これら さ さらに し しかし する ず せ せる そこ そして その その他 その後 それ それぞれ それで た ただし たち ため たり だ だっ だれ つ て で でき できる です では でも と という といった とき ところ として とともに とも と共に どこ どの な ない なお なかっ ながら なく なっ など なに なら なり なる なん に において における について にて によって により による に対して に対する ...
Add more Japanese stopwords from stopwords_ja.txt
Add more Japanese stopwords from stopwords_ja.txt
Text
agpl-3.0
berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud
text
## Code Before: これ それ あれ この その あの ここ そこ あそこ こちら どこ だれ なに なん 何 私 貴方 貴方方 我々 私達 あの人 あのかた 彼女 彼 です あります おります います は が の に を で え から まで より も どの と し それで しかし ## Instruction: Add more Japanese stopwords from stopwords_ja.txt ## Code After: あそこ あっ あの あのかた あの人 あり あります ある あれ い いう います いる う うち え お および おり おります か かつて から が き ここ こちら こ...
b7eac4596849395f47ac5d8fe68a4e8d4177aea9
resources/views/partials/components.blade.php
resources/views/partials/components.blade.php
<ul class="list-group components"> @if($component_groups->count() > 0) @foreach($component_groups as $componentGroup) @if($componentGroup->components->enabled()->count() > 0) <li class="list-group-item group-name"> <i class="ion-ios-minus-outline group-toggle"></i> <strong>{{ $componentG...
<ul class="list-group components"> @if($component_groups->count() > 0) @foreach($component_groups as $componentGroup) @if($componentGroup->components()->enabled()->count() > 0) <li class="list-group-item group-name"> <i class="ion-ios-minus-outline group-toggle"></i> <strong>{{ $componen...
Call enabled scope on the builder, not the collection
Call enabled scope on the builder, not the collection
PHP
bsd-3-clause
karaktaka/Cachet,sapk/Cachet,h3zjp/Cachet,coupej/Cachet,MicroWorldwide/Cachet,elektropay/Cachet,coupej/Cachet,cachethq/Cachet,bthiago/Cachet,karaktaka/Cachet,cachethq/Cachet,bthiago/Cachet,ZengineChris/Cachet,robglas/Cachet,robglas/Cachet,karaktaka/Cachet,sapk/Cachet,MatheusRV/Cachet-Sandstorm,h3zjp/Cachet,billmn/Cache...
php
## Code Before: <ul class="list-group components"> @if($component_groups->count() > 0) @foreach($component_groups as $componentGroup) @if($componentGroup->components->enabled()->count() > 0) <li class="list-group-item group-name"> <i class="ion-ios-minus-outline group-toggle"></i> <stron...
6dbe8e23baa9974859f3a4d404cea2d63035b858
lib/peaberry/dot_js.rb
lib/peaberry/dot_js.rb
require 'rack' require 'coffee-script' require 'sprockets' module Peaberry class DotJs def initialize @sprockets = Sprockets::Environment.new dot_js_dir = File.expand_path('~/.js') @sprockets.append_path(dot_js_dir) end def call(env) headers = Rack::Utils::HeaderHash.new ...
require 'rack' require 'coffee-script' require 'sprockets' module Peaberry class DotJs def initialize @sprockets = Sprockets::Environment.new dot_js_dir = File.expand_path('~/.js') @sprockets.append_path(dot_js_dir) end def call(env) headers = Rack::Utils::HeaderHash.new ...
Handle errors during compilation of CoffeeScript.
Handle errors during compilation of CoffeeScript.
Ruby
mit
sakuro/peaberry
ruby
## Code Before: require 'rack' require 'coffee-script' require 'sprockets' module Peaberry class DotJs def initialize @sprockets = Sprockets::Environment.new dot_js_dir = File.expand_path('~/.js') @sprockets.append_path(dot_js_dir) end def call(env) headers = Rack::Utils::Heade...
06119ff1aebf968c2cf332847efdf3953133604c
project.clj
project.clj
(defproject uxbox-backend "0.1.0-SNAPSHOT" :description "UXBox backend." :url "http://uxbox.github.io" :license {:name "MPL 2.0" :url "https://www.mozilla.org/en-US/MPL/2.0/"} :source-paths ["src"] :javac-options ["-target" "1.8" "-source" "1.8" "-Xlint:-options"] :jvm-opts ["-Dclojure.compiler.direct-linki...
(defproject uxbox-backend "0.1.0-SNAPSHOT" :description "UXBox backend." :url "http://uxbox.github.io" :license {:name "MPL 2.0" :url "https://www.mozilla.org/en-US/MPL/2.0/"} :source-paths ["src"] :javac-options ["-target" "1.8" "-source" "1.8" "-Xlint:-options"] :jvm-opts ["-Dclojure.compiler.direct-linki...
Set 0.11.3-SNAPSHOT version of catacumba.
Set 0.11.3-SNAPSHOT version of catacumba.
Clojure
mpl-2.0
uxbox/uxbox-backend,uxbox/uxbox-backend
clojure
## Code Before: (defproject uxbox-backend "0.1.0-SNAPSHOT" :description "UXBox backend." :url "http://uxbox.github.io" :license {:name "MPL 2.0" :url "https://www.mozilla.org/en-US/MPL/2.0/"} :source-paths ["src"] :javac-options ["-target" "1.8" "-source" "1.8" "-Xlint:-options"] :jvm-opts ["-Dclojure.compi...
7eb051c63c23effb2a7fa7961c5b3aed3edd07ab
app/assets/global-js-handlers.js
app/assets/global-js-handlers.js
var firstMouseMove = false; /** * send a message that the user has done something and we should close the screensaver */ var exitScreenSaver = function(e) { var ipcRenderer; // seems like you get a mousemove event even without moving the mouse, i'm // guessing to establish initial position/etc. anyway, we ...
window.hideCursor = function() { var cursorUrl = "url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==')"; // waiting for a bit before hiding the cursor seems to help in windows // @see http://delphic.me.uk/controllingthecursor.html for cursor url idea document.getElementsByT...
Remove unused saver window event checking
Remove unused saver window event checking
JavaScript
mit
muffinista/before-dawn,muffinista/before-dawn,muffinista/before-dawn
javascript
## Code Before: var firstMouseMove = false; /** * send a message that the user has done something and we should close the screensaver */ var exitScreenSaver = function(e) { var ipcRenderer; // seems like you get a mousemove event even without moving the mouse, i'm // guessing to establish initial position/...
3edf06ff8ae27a5ef9d9fde60defc155a704404c
shadows/framework/src/main/java/org/robolectric/shadows/ShadowQueuedWork.java
shadows/framework/src/main/java/org/robolectric/shadows/ShadowQueuedWork.java
package org.robolectric.shadows; import android.app.QueuedWork; import android.os.Build; import org.robolectric.RuntimeEnvironment; import org.robolectric.annotation.Implements; import org.robolectric.annotation.Resetter; import org.robolectric.util.ReflectionHelpers; @Implements(value = QueuedWork.class, isInAndroid...
package org.robolectric.shadows; import android.app.QueuedWork; import android.os.Build; import android.os.Handler; import org.robolectric.RuntimeEnvironment; import org.robolectric.annotation.Implements; import org.robolectric.annotation.Resetter; import org.robolectric.util.ReflectionHelpers; import java.util.List;...
Update QueuedWork Resetter for API 26
Update QueuedWork Resetter for API 26 This is part of an effort to resolve deadlocks that may occur with SharedPreferences on SDK 26. In API 26, the implementation of QueuedWork changed from a ThreadPoolExecutor to a Handler combined with two lists of Runnables. In this API level, setting the `sHandler` static variab...
Java
mit
jongerrish/robolectric,spotify/robolectric,spotify/robolectric,jongerrish/robolectric,spotify/robolectric,jongerrish/robolectric,jongerrish/robolectric
java
## Code Before: package org.robolectric.shadows; import android.app.QueuedWork; import android.os.Build; import org.robolectric.RuntimeEnvironment; import org.robolectric.annotation.Implements; import org.robolectric.annotation.Resetter; import org.robolectric.util.ReflectionHelpers; @Implements(value = QueuedWork.cl...
17fb7fecdb24d26379ff89534b615eb34f90bd19
index.html
index.html
--- layout: default title: Home --- {% for post in paginator.posts %} <article class='justify'> <h2 class='h3 mb1'><a href='{{ post.url }}/'>{{ post.title }}</a></h2> <time class='gray'>{{ post.date | date: '%B %-d, %Y' }}</time> {% if post.summary %} {{ post.summary }} {% else %} {{ post...
--- layout: default title: Home --- {% for post in paginator.posts %} <article class='justify'> <h2 class='h3 mb1'><a href='{{ post.url }}/'>{{ post.title }}</a></h2> <time class='gray'>{{ post.date | date: '%B %-d, %Y' }}</time> {% if post.summary %} {{ post.summary }} {% else %} {{ post...
Add separator after posts on homepage.
Add separator after posts on homepage.
HTML
mit
aliou/ace,aliou/ace
html
## Code Before: --- layout: default title: Home --- {% for post in paginator.posts %} <article class='justify'> <h2 class='h3 mb1'><a href='{{ post.url }}/'>{{ post.title }}</a></h2> <time class='gray'>{{ post.date | date: '%B %-d, %Y' }}</time> {% if post.summary %} {{ post.summary }} {% else ...
e20795bd8c683a3eaed7e64e3fd50b33141d4543
build.sh
build.sh
name="$(awk '/<project name="([^"]*)"/ && !done {print gensub(/<project name="([^"]*)".*/, "\\1", "g"); done=1}' build.xml )" phar="${name}.phar" echo "building ${phar}..." if [ ! -e "composer.phar" ]; then wget http://getcomposer.org/composer.phar chmod +x composer.phar fi if [ ! -d "vendor" ]; then ./...
name="$(awk '/<project name="([^"]*)"/ && !done {print gensub(/<project name="([^"]*)".*/, "\\1", "g"); done=1}' build.xml )" phar="${name}.phar" echo "building ${phar}..." if [ ! -e "composer.phar" ]; then wget http://getcomposer.org/composer.phar chmod +x composer.phar fi if [ ! -d "vendor" ]; then ./...
Add --no-interaction to composer install
[TASK] Add --no-interaction to composer install
Shell
mit
p-makowski/n98-magerun2,p-makowski/n98-magerun2,p-makowski/n98-magerun2
shell
## Code Before: name="$(awk '/<project name="([^"]*)"/ && !done {print gensub(/<project name="([^"]*)".*/, "\\1", "g"); done=1}' build.xml )" phar="${name}.phar" echo "building ${phar}..." if [ ! -e "composer.phar" ]; then wget http://getcomposer.org/composer.phar chmod +x composer.phar fi if [ ! -d "vendor...
53ecb8eca3b8ecff7da77ece3b81bedf91d74674
config/webpack.config.js
config/webpack.config.js
const webpack = require('webpack'), HtmlWebpackPlugin = require('html-webpack-plugin'), path = require('path'), babelCfg = require("./babel.config"), paths = { root: path.join(__dirname, '../'), app: path.join(__dirname, '../app/'), dist: path.join(__dirname, '../dist/') }; ...
const webpack = require('webpack'), HtmlWebpackPlugin = require('html-webpack-plugin'), path = require('path'), babelCfg = require("./babel.config"), paths = { root: path.join(__dirname, '../'), app: path.join(__dirname, '../app/'), dist: path.join(__dirname, '../dist/') }; ...
Use single dist js file
Use single dist js file
JavaScript
mit
mstijak/tdo,mstijak/tdo,mstijak/tdo
javascript
## Code Before: const webpack = require('webpack'), HtmlWebpackPlugin = require('html-webpack-plugin'), path = require('path'), babelCfg = require("./babel.config"), paths = { root: path.join(__dirname, '../'), app: path.join(__dirname, '../app/'), dist: path.join(__dirname, '../...
4c39ba176b887aa20e76cd6497c72349d3cf015a
lib/kepler_processor/saveable.rb
lib/kepler_processor/saveable.rb
module KeplerProcessor module Saveable def full_output_filename "#{@options[:output_path]}/#{output_filename}" end def output_filename nil # defaults to nil, child class must override output_filename in order to save end def save! if output_filename od = output_data || ...
module KeplerProcessor module Saveable def full_output_filename "#{@options[:output_path]}/#{output_filename}" end def output_filename nil # defaults to nil, child class must override output_filename in order to save end def save! return unless output_filename od = outpu...
Make Saveable a little prettier
Make Saveable a little prettier
Ruby
mit
Smurfmeister/Project-Dynamite,Smurfmeister/Project-Dynamite
ruby
## Code Before: module KeplerProcessor module Saveable def full_output_filename "#{@options[:output_path]}/#{output_filename}" end def output_filename nil # defaults to nil, child class must override output_filename in order to save end def save! if output_filename od =...
4c44834e5ef6042a88f3cb95ea1d081eab5a5bd8
ci/build-release.sh
ci/build-release.sh
set -e -x dev_version=`cat dev-version/number` cd bosh-warden-cpi-release source .envrc pushd src/bosh-warden-cpi ./bin/test popd bosh create-release --version $dev_version --force --tarball=bosh-warden-cpi-$dev_version.tgz mv *.tgz ../releases/
set -e -x dev_version=`cat dev-version/number` cd bosh-warden-cpi-release pushd src/bosh-warden-cpi ./bin/test popd bosh create-release --version $dev_version --force --tarball=bosh-warden-cpi-$dev_version.tgz mv *.tgz ../releases/
Remove reference to removed .envrc file
Remove reference to removed .envrc file
Shell
apache-2.0
cppforlife/bosh-warden-cpi-release,cppforlife/bosh-warden-cpi-release,cppforlife/bosh-warden-cpi-release
shell
## Code Before: set -e -x dev_version=`cat dev-version/number` cd bosh-warden-cpi-release source .envrc pushd src/bosh-warden-cpi ./bin/test popd bosh create-release --version $dev_version --force --tarball=bosh-warden-cpi-$dev_version.tgz mv *.tgz ../releases/ ## Instruction: Remove reference to removed .envrc...
e7f7333425847934aff45e848b15c5cb4751d5a5
src/test/scala/com/themillhousegroup/witchhunt/StyleguideScraperSpec.scala
src/test/scala/com/themillhousegroup/witchhunt/StyleguideScraperSpec.scala
package com.themillhousegroup.witchhunt import org.specs2.mutable.Specification import scala.concurrent.Await import scala.concurrent.duration.Duration import java.net.URL class StyleguideScraperSpec extends Specification { // These pages are hosted on Github pages // Checkout gh-pages to add/edit content, and p...
package com.themillhousegroup.witchhunt import org.specs2.mutable.Specification import scala.concurrent.Await import scala.concurrent.duration.Duration import java.net.URL import com.themillhousegroup.witchhunt.test.GithubPagesHelper._ class StyleguideScraperSpec extends Specification { def visit(target: URL) = A...
Use the .title method instead of CSS selectors
Use the .title method instead of CSS selectors
Scala
mit
themillhousegroup/witchhunt
scala
## Code Before: package com.themillhousegroup.witchhunt import org.specs2.mutable.Specification import scala.concurrent.Await import scala.concurrent.duration.Duration import java.net.URL class StyleguideScraperSpec extends Specification { // These pages are hosted on Github pages // Checkout gh-pages to add/edi...
6443e572719e74ce7479fa20c4c4e51eb6832da3
PhantomJS/runner.js
PhantomJS/runner.js
var HTMLCS_RUNNER = new function() { this.run = function(standard) { var self = this; // At the moment, it passes the whole DOM document. HTMLCS.process(standard, document, function() { var messages = HTMLCS.getMessages(); var length = messages.length; ...
var HTMLCS_RUNNER = new function() { this.run = function(standard) { var self = this; // At the moment, it passes the whole DOM document. HTMLCS.process(standard, document, function() { var messages = HTMLCS.getMessages(); var length = messages.length; ...
Replace level 1,2,3 with ERROR, WARNING, NOTICE.
Replace level 1,2,3 with ERROR, WARNING, NOTICE.
JavaScript
bsd-3-clause
squizlabs/HTML_CodeSniffer,squizlabs/HTML_CodeSniffer,squizlabs/HTML_CodeSniffer,telesma/HTML_CodeSniffer,adelevie/HTML_CodeSniffer,ironikart/HTML_CodeSniffer,daam/HTML_CodeSniffer,daam/HTML_CodeSniffer,adelevie/HTML_CodeSniffer,ironikart/HTML_CodeSniffer,ironikart/HTML_CodeSniffer,telesma/HTML_CodeSniffer,telesma/HTML...
javascript
## Code Before: var HTMLCS_RUNNER = new function() { this.run = function(standard) { var self = this; // At the moment, it passes the whole DOM document. HTMLCS.process(standard, document, function() { var messages = HTMLCS.getMessages(); var length = messages.leng...
ac899c2d123797e941575879aa4cd285de2a8916
openstack.yaml
openstack.yaml
--- - keystone: - nova: REQUIRES: keystone: keystonemiddelware glance: glanceclient neutron: neutronclient DEPENDSON: - neutron - glance CANUSE: cinder: cinderclient - neutron: REQUIRES: keystone: keystonemiddelware DEPENDSON: - nova - cinder: - glanc...
--- - keystone: - nova: REQUIRES: keystone: keystonemiddelware glance: glanceclient neutron: neutronclient DEPENDSON: - neutron - glance CANUSE: cinder: cinderclient ironic: ironicclient - neutron: REQUIRES: keystone: keystonemiddelware DEPENDSON: ...
Add more to yaml file
Add more to yaml file
YAML
apache-2.0
jogo/graphing-openstack
yaml
## Code Before: --- - keystone: - nova: REQUIRES: keystone: keystonemiddelware glance: glanceclient neutron: neutronclient DEPENDSON: - neutron - glance CANUSE: cinder: cinderclient - neutron: REQUIRES: keystone: keystonemiddelware DEPENDSON: - nova -...
e912905e7a6a2366f17f048d76a442a596d80fb4
public/js/views/registration-site-visitor.js
public/js/views/registration-site-visitor.js
(function () { 'use strict'; mare.views.SiteVisitorRegistration = Backbone.View.extend({ el: '.site-visitor-registration', events: { 'change .other-way-to-hear-about-mare': 'toggleOtherWayToHearTextField' }, initialize: function() { // DOM cache any commonly used elements to improve performance th...
(function () { 'use strict'; mare.views.SiteVisitorRegistration = Backbone.View.extend({ el: '.registration-form--site-visitor', events: { 'change .other-way-to-hear-about-mare': 'toggleOtherWayToHearTextField' }, initialize: function() { // DOM cache any commonly used elements to improve performance...
Add form validation to the site user view using Parsley.
Add form validation to the site user view using Parsley.
JavaScript
mit
autoboxer/MARE,autoboxer/MARE
javascript
## Code Before: (function () { 'use strict'; mare.views.SiteVisitorRegistration = Backbone.View.extend({ el: '.site-visitor-registration', events: { 'change .other-way-to-hear-about-mare': 'toggleOtherWayToHearTextField' }, initialize: function() { // DOM cache any commonly used elements to improve p...
6eb1190954c6c16c93c50e5e3fbc8c373c032a49
package.json
package.json
{ "name": "base-flask", "scripts": { "minify": "node bin/minify.js", "eslint": "eslint .", "stylelint": "stylelint app/static/css/*", "test": "npm run eslint && npm run stylelint" }, "repository": { "type": "git", "url": "git+https://github.com/albertyw/base-flask.git" }, "license": ...
{ "name": "base-flask", "scripts": { "minify": "node bin/minify.js", "eslint": "eslint .", "stylelint": "stylelint app/static/css/*", "test": "npm run eslint && npm run stylelint && mocha app/static/js/test" }, "repository": { "type": "git", "url": "git+https://github.com/albertyw/base-f...
Add mocha varsnap test to npm test
Add mocha varsnap test to npm test
JSON
mit
albertyw/base-flask,albertyw/base-flask,albertyw/base-flask,albertyw/base-flask
json
## Code Before: { "name": "base-flask", "scripts": { "minify": "node bin/minify.js", "eslint": "eslint .", "stylelint": "stylelint app/static/css/*", "test": "npm run eslint && npm run stylelint" }, "repository": { "type": "git", "url": "git+https://github.com/albertyw/base-flask.git" ...
4e5b18f05d8bcdfe27159a92e8c7b3c6d104c812
.travis.yml
.travis.yml
dist: trusty sudo: required language: node_js node_js: - "6" services: - docker install: - npm install before_script: # - npm run pree2e - docker-compose up selenium e2e stubby & - sleep 90 script: # - ng lint - docker-compose run test - docker-compose run e2e npm run e2e-selenium #after_success: #...
dist: trusty sudo: required language: node_js node_js: - "6" services: - docker install: - npm install before_script: # - npm run pree2e - docker-compose pull - docker-compose up -d selenium e2e stubby - sleep 60 script: # - ng lint - docker-compose run test - docker-compose run e2e npm run e2e-se...
Fix Docker start in Travis script
Fix Docker start in Travis script
YAML
mit
Danil9966/web,roi-itlab/web,roi-itlab/web,roi-itlab/web,Danil9966/web,Danil9966/web
yaml
## Code Before: dist: trusty sudo: required language: node_js node_js: - "6" services: - docker install: - npm install before_script: # - npm run pree2e - docker-compose up selenium e2e stubby & - sleep 90 script: # - ng lint - docker-compose run test - docker-compose run e2e npm run e2e-selenium #...
0bf8082b36ea7c59dcdac86e73f7a2fc14dbee83
bin/linklocal.js
bin/linklocal.js
var path = require('path') var linklocal = require('../') var program = require('commander') var pkg = require('../package.json') program .version(pkg.version) .option('-u, --unlink', 'Unlink local dependencies') // ignore --link only for api balancing with unlink .option('-l, --link', 'Link local dependencie...
var path = require('path') var linklocal = require('../') var program = require('commander') var pkg = require('../package.json') program .version(pkg.version) .option('-u, --unlink', 'Unlink local dependencies') // ignore --link only for api balancing with unlink .option('-l, --link', 'Link local dependencie...
Use console.info instead of console.log for output.
Use console.info instead of console.log for output.
JavaScript
mit
timoxley/linklocal
javascript
## Code Before: var path = require('path') var linklocal = require('../') var program = require('commander') var pkg = require('../package.json') program .version(pkg.version) .option('-u, --unlink', 'Unlink local dependencies') // ignore --link only for api balancing with unlink .option('-l, --link', 'Link l...
b99469bc99549e355dbf9096c8c3bb41ab332961
shaders/meshface.glsl
shaders/meshface.glsl
uniform mat4 modelViewMatrix; uniform mat4 projectionMatrix; uniform mat4 modelViewProjectionMatrix; #if defined(VERTEX_SHADER) uniform vec3 color = vec3(1.0); in vec3 position; in vec3 normal; out vec3 position_eye; void main() { gl_Position = modelViewProjectionMatrix * vec4(position,1.0); position_eye = ...
uniform mat4 modelViewMatrix; uniform mat4 projectionMatrix; uniform mat4 modelViewProjectionMatrix; #if defined(VERTEX_SHADER) in vec3 position; in vec3 normal; in vec3 color; out vec3 position_eye; out vec3 fcolor; void main() { gl_Position = modelViewProjectionMatrix * vec4(position,1.0); position_eye = (...
Support per-vertex colors in mesh face shader
Bugfix: Support per-vertex colors in mesh face shader The CPU code includes support for this, but somehow it's never been included in the shader.
GLSL
bsd-3-clause
JoshChristie/displaz,JoshChristie/displaz,JoshChristie/displaz,rotorliu/displaz,rotorliu/displaz,rotorliu/displaz,JoshChristie/displaz,JoshChristie/displaz,rotorliu/displaz
glsl
## Code Before: uniform mat4 modelViewMatrix; uniform mat4 projectionMatrix; uniform mat4 modelViewProjectionMatrix; #if defined(VERTEX_SHADER) uniform vec3 color = vec3(1.0); in vec3 position; in vec3 normal; out vec3 position_eye; void main() { gl_Position = modelViewProjectionMatrix * vec4(position,1.0); ...
0b7a3dd36ea0029e461beaaec4e2667e91752aad
public/robots.txt
public/robots.txt
User-agent: * Disallow: /*/print # Don't allow indexing of search results Disallow: /search? # We only allow indexing of the licence-finder landing page Disallow: /licence-finder/ Allow: /licence-finder # We only allow indexing of the finance finder landing page Disallow: /business-finance-support-finder/* Allow: /busi...
User-agent: * Disallow: /*/print # Don't allow indexing of search results Disallow: /search? # We only allow indexing of the licence-finder landing page Disallow: /licence-finder/ Allow: /licence-finder # We only allow indexing of the finance finder landing page Disallow: /business-finance-support-finder/* Allow: /busi...
Put travel-advice live (allow Google et al. in)
Put travel-advice live (allow Google et al. in)
Text
mit
robinwhittleton/static,tadast/static,alphagov/static,alphagov/static,robinwhittleton/static,robinwhittleton/static,kalleth/static,alphagov/static,kalleth/static,robinwhittleton/static,kalleth/static,tadast/static,tadast/static,tadast/static,kalleth/static
text
## Code Before: User-agent: * Disallow: /*/print # Don't allow indexing of search results Disallow: /search? # We only allow indexing of the licence-finder landing page Disallow: /licence-finder/ Allow: /licence-finder # We only allow indexing of the finance finder landing page Disallow: /business-finance-support-finde...
9f7f6b329229811e959274a666a81895c2d66153
frontend/src/containers/Wifiscan.js
frontend/src/containers/Wifiscan.js
import React from 'react'; import axios from 'axios'; import WifiIcon from '../img/wifiscan.png'; export default class WifiScan extends React.Component { constructor() { super(); this.state = { message: <p>Scan for victims</p> }; } render(){ return( ...
import React from 'react'; import axios from 'axios'; import WifiIcon from '../img/wifiscan.png'; export default class WifiScan extends React.Component { constructor() { super(); this.state = { scanning: false }; } handleClick = () => { this.setState({ scannin...
Make /victim/notstarted GET request when wifiscan button is clicked
Make /victim/notstarted GET request when wifiscan button is clicked
JavaScript
mit
dimkarakostas/rupture,dionyziz/rupture,esarafianou/rupture,dionyziz/rupture,dionyziz/rupture,dimriou/rupture,dionyziz/rupture,dimriou/rupture,esarafianou/rupture,dimriou/rupture,dionyziz/rupture,dimriou/rupture,esarafianou/rupture,dimkarakostas/rupture,dimriou/rupture,dimkarakostas/rupture,esarafianou/rupture,dimkarako...
javascript
## Code Before: import React from 'react'; import axios from 'axios'; import WifiIcon from '../img/wifiscan.png'; export default class WifiScan extends React.Component { constructor() { super(); this.state = { message: <p>Scan for victims</p> }; } render(){ r...
716eac2eaa6670dfa8fd14eaffab52bbb0a27c99
modules/govuk_ci/templates/jenkins-agent.conf.erb
modules/govuk_ci/templates/jenkins-agent.conf.erb
start on runlevel [2345] stop on runlevel [!2345] script test -f /etc/default/locale && . /etc/default/locale || true export LANG exec start-stop-daemon --start -c jenkins --exec /usr/bin/java \ --name jenkins-agent -- -jar <%= @swarm_client_dest %> \ -username ...
start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 5 20 script test -f /etc/default/locale && . /etc/default/locale || true export LANG exec start-stop-daemon --start -c jenkins --exec /usr/bin/java \ --name jenkins-agent -- -jar <%= @swarm_client_dest %> ...
Add respawn to jenkins-agent upstart
Add respawn to jenkins-agent upstart We should try restarting the service if it crashes before the CI master determines that is unable to connect to it.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
html+erb
## Code Before: start on runlevel [2345] stop on runlevel [!2345] script test -f /etc/default/locale && . /etc/default/locale || true export LANG exec start-stop-daemon --start -c jenkins --exec /usr/bin/java \ --name jenkins-agent -- -jar <%= @swarm_client_dest %> \ ...
b111aedbce21635dc34fcb79a87f4bfc547320e9
tests/aws/models/storage/url_tests.rb
tests/aws/models/storage/url_tests.rb
Shindo.tests('AWS | url') do @expires = DateTime.parse('2013-01-01T00:00:00Z').to_time.utc.to_i @storage = Fog::Storage.new( provider: 'AWS', aws_access_key_id: '123', aws_secret_access_key: 'abc', region: 'us-east-1' ) @file = @storage.directories.new(key: 'fognonbucket').files.new(key: '...
Shindo.tests('AWS | url') do @expires = DateTime.parse('2013-01-01T00:00:00Z').to_time.utc.to_i @storage = Fog::Storage.new( provider: 'AWS', aws_access_key_id: '123', aws_secret_access_key: 'abc', region: 'us-east-1' ) @file = @storage.directories.new(key: 'fognonbucket').files.new(key: '...
Use proper signature when testing with aws mock
Use proper signature when testing with aws mock
Ruby
mit
kongslund/fog,runtimerevolution/fog,seanhandley/fog,mohitsethi/fog,icco/fog,nicolasbrechet/fog,12spokes/fog,mavenlink/fog,backupify/fog,github/fog,cocktail-io/fog,ack/fog,MSOpenTech/fog,backupify/fog,surminus/fog,nandhanurrevanth/fog,ack/fog,adamleff/fog,b0ric/fog,brilliomsinterop/fog,bryanl/fog,covario-cdiaz/fog,plrib...
ruby
## Code Before: Shindo.tests('AWS | url') do @expires = DateTime.parse('2013-01-01T00:00:00Z').to_time.utc.to_i @storage = Fog::Storage.new( provider: 'AWS', aws_access_key_id: '123', aws_secret_access_key: 'abc', region: 'us-east-1' ) @file = @storage.directories.new(key: 'fognonbucket')....
c3e9274d0f19893f007e3791247f212124f6b88d
test/rspecs/lib/callback/stack_policy_rspec.rb
test/rspecs/lib/callback/stack_policy_rspec.rb
require_relative '../../../rspecs' RSpec.describe Sfn::Callback::StackPolicy do let(:ui) { double(:ui) } let(:config) { double(:config) } let(:arguments) { double(:arguments) } let(:api) { double(:api) } let(:instance) { subject.new(ui, config, arguments, api) } context 'with no stack polciies defined' d...
require_relative '../../../rspecs' RSpec.describe Sfn::Callback::StackPolicy do let(:ui) { double(:ui) } let(:config) { double(:config) } let(:arguments) { double(:arguments) } let(:api) { double(:api) } let(:instance) { subject.new(ui, config, arguments, api) } context 'with no stack polciies defined' d...
Include pending on incomplete test
Include pending on incomplete test
Ruby
apache-2.0
sparkleformation/sfn
ruby
## Code Before: require_relative '../../../rspecs' RSpec.describe Sfn::Callback::StackPolicy do let(:ui) { double(:ui) } let(:config) { double(:config) } let(:arguments) { double(:arguments) } let(:api) { double(:api) } let(:instance) { subject.new(ui, config, arguments, api) } context 'with no stack pol...
e816a9b7d995624b66e07fb51e6af7d8f5da84cb
tox.ini
tox.ini
[tox] envlist = py{35,38}-xblock{13,14},flake8 [gh-actions] python = 3.5: py35,flake8 3.8: py38,flake8 [flake8] ignore = E124,W504 exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,src [coverage:run] parallel = True include = hastexo/*.py tests/*.py [coverage:report] precision = 2 [testenv]...
[tox] envlist = py{35,38}-xblock{13,14},flake8 [gh-actions] python = 3.5: py35,flake8 3.8: py38,flake8 [flake8] ignore = E124,W504 exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,src [coverage:run] parallel = True include = hastexo/*.py tests/*.py [coverage:report] precision = 2 exclude_li...
Exclude abstract methods from coverage
Exclude abstract methods from coverage In abstract base classes, we have methods that do nothing but raise NotImplementedError, because they are meant to be overridden by subclasses. Those methods obviously never get any unit test coverage (nor are they meant to), so use the approach outlined in the Coverage documenta...
INI
agpl-3.0
hastexo/hastexo-xblock,hastexo/hastexo-xblock,hastexo/hastexo-xblock,hastexo/hastexo-xblock
ini
## Code Before: [tox] envlist = py{35,38}-xblock{13,14},flake8 [gh-actions] python = 3.5: py35,flake8 3.8: py38,flake8 [flake8] ignore = E124,W504 exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,src [coverage:run] parallel = True include = hastexo/*.py tests/*.py [coverage:report] precisio...
a600c85cda889b79f55d7d62992a90a54d9467a4
packages/core/src/cache-tweets.js
packages/core/src/cache-tweets.js
import Twitter from 'twitter' import S3TweetRepository from './lib/s3-tweet-repository' import slscrypt from '../node_modules/serverless-crypt/dists/slscrypt' const tweetRepository = new S3TweetRepository(process.env.TWEET_CACHE_BUCKET_NAME) const handler = (event, context, callback) => { return createTwitterClient...
import Twitter from 'twitter' import S3TweetRepository from './lib/s3-tweet-repository' import slscrypt from '../node_modules/serverless-crypt/dists/slscrypt' const tweetRepository = new S3TweetRepository(process.env.TWEET_CACHE_BUCKET_NAME) const createParams = () => { return { screen_name: 'RealTimeWWII', ...
Convert promise chain to async await.
Convert promise chain to async await.
JavaScript
apache-2.0
ceilfors/realtime-ww2-alexa
javascript
## Code Before: import Twitter from 'twitter' import S3TweetRepository from './lib/s3-tweet-repository' import slscrypt from '../node_modules/serverless-crypt/dists/slscrypt' const tweetRepository = new S3TweetRepository(process.env.TWEET_CACHE_BUCKET_NAME) const handler = (event, context, callback) => { return cre...
44f820bdf5580d3b9142dd977406de1c47d6c229
lib/jsdom/living/events/UIEvent-impl.js
lib/jsdom/living/events/UIEvent-impl.js
"use strict"; const EventImpl = require("./Event-impl").implementation; class UIEventImpl extends EventImpl { initUIEvent(type, bubbles, cancelable, view, detail) { if (this._dispatchFlag) { return; } this.initEvent(type, bubbles, cancelable); this.view = view; this.detail = detail; } }...
"use strict"; const idlUtils = require("../generated/utils"); const UIEventInit = require("../generated/UIEventInit"); const EventImpl = require("./Event-impl").implementation; // Until webidl2js gains support for checking for Window, this would have to do. function isWindow(val) { if (typeof val !== "object") { ...
Check Window type in UIEvent
Check Window type in UIEvent
JavaScript
mit
mzgol/jsdom,mzgol/jsdom,tmpvar/jsdom,Zirro/jsdom,Zirro/jsdom,mzgol/jsdom,tmpvar/jsdom
javascript
## Code Before: "use strict"; const EventImpl = require("./Event-impl").implementation; class UIEventImpl extends EventImpl { initUIEvent(type, bubbles, cancelable, view, detail) { if (this._dispatchFlag) { return; } this.initEvent(type, bubbles, cancelable); this.view = view; this.detail...
e4b37ad85b8432adcc354f886be1112289a5b53e
test/api/routes/feedRoute.test.js
test/api/routes/feedRoute.test.js
/** * Copyright (c) 2013-2015 Memba Sarl. All rights reserved. * Sources at https://github.com/Memba */ /* jshint node: true, expr: true */ /* globals describe: false, before: false, it: false */ 'use strict'; var request = require('supertest'), //We cannot define app like this because the server is already ...
/** * Copyright (c) 2013-2015 Memba Sarl. All rights reserved. * Sources at https://github.com/Memba */ /* jshint node: true, expr: true */ /* globals describe: false, before: false, it: false */ 'use strict'; var request = require('supertest'), util = require('util'), //We cannot define app like this be...
Use config to build paths
Use config to build paths
JavaScript
agpl-3.0
Memba/Memba-Blog,Memba/Memba-Blog,Memba/Memba-Blog
javascript
## Code Before: /** * Copyright (c) 2013-2015 Memba Sarl. All rights reserved. * Sources at https://github.com/Memba */ /* jshint node: true, expr: true */ /* globals describe: false, before: false, it: false */ 'use strict'; var request = require('supertest'), //We cannot define app like this because the se...
a10c44c072cae117d320a6849bd31c62a5e7e660
spec/tic_tac_toe/rack_spec.rb
spec/tic_tac_toe/rack_spec.rb
require 'spec_helper' require 'rack_spec_helper' require 'tic_tac_toe/rack_shell' describe TicTacToe::RackShell do include Rack::Test::Methods def app TicTacToe::RackShell.new_shell end it 'can receive an index/root GET request' do get '/' expect(last_response).to be_successful expect(last_re...
require 'spec_helper' require 'rack_spec_helper' require 'tic_tac_toe/rack_shell' describe TicTacToe::RackShell do include Rack::Test::Methods def app TicTacToe::RackShell.new_shell end it 'can receive an index/root GET request' do get '/' expect(last_response).to be_successful expect(last_re...
Add a 404 test for top level app
Add a 404 test for top level app
Ruby
mit
RadicalZephyr/tic_tac_toe,RadicalZephyr/tic_tac_toe
ruby
## Code Before: require 'spec_helper' require 'rack_spec_helper' require 'tic_tac_toe/rack_shell' describe TicTacToe::RackShell do include Rack::Test::Methods def app TicTacToe::RackShell.new_shell end it 'can receive an index/root GET request' do get '/' expect(last_response).to be_successful ...
3a82364fa0ee0dc814d5ffd64a80aaffe7ed1bf5
SingularityUI/app/collections/TasksActive.coffee
SingularityUI/app/collections/TasksActive.coffee
Tasks = require './Tasks' Task = require '../models/Task' class TasksActive extends Tasks model: Task url: "#{ env.SINGULARITY_BASE }/#{ constants.apiBase }/tasks/active" parse: (tasks) -> _.each tasks, (task, i) => task.JSONString = utils.stringJSON task task.id = task.t...
Tasks = require './Tasks' Task = require '../models/Task' class TasksActive extends Tasks model: Task url: "#{ env.SINGULARITY_BASE }/#{ constants.apiBase }/tasks/active" parse: (tasks) -> _.each tasks, (task, i) => task.JSONString = utils.stringJSON task task.id = task.t...
Add requestId as a top-level attribute of an active task
Add requestId as a top-level attribute of an active task
CoffeeScript
apache-2.0
andrhamm/Singularity,calebTomlinson/Singularity,andrhamm/Singularity,evertrue/Singularity,calebTomlinson/Singularity,hs-jenkins-bot/Singularity,tejasmanohar/Singularity,nvoron23/Singularity,hs-jenkins-bot/Singularity,mjball/Singularity,stevenschlansker/Singularity,HubSpot/Singularity,grepsr/Singularity,HubSpot/Singular...
coffeescript
## Code Before: Tasks = require './Tasks' Task = require '../models/Task' class TasksActive extends Tasks model: Task url: "#{ env.SINGULARITY_BASE }/#{ constants.apiBase }/tasks/active" parse: (tasks) -> _.each tasks, (task, i) => task.JSONString = utils.stringJSON task ...
dbad2985590ac78364d5933f23c0a41f8ab9069b
roles/security/tasks/main.yml
roles/security/tasks/main.yml
--- - include: firewalld.yml sudo: true when: secure_firewalld - include: sshd.yml sudo: true when: secure_ssh - include: fail2ban.yml sudo: true when: secure_fail2ban # ipv6? Check it if you have it. - include: ipv6.yml sudo: true when: ansible_default_ipv6 != {} and secure_ipv6 - name: Add SSH keys ...
--- - include: firewalld.yml sudo: true when: secure_firewalld - include: sshd.yml sudo: true when: secure_ssh - include: fail2ban.yml sudo: true when: secure_fail2ban # ipv6? Check it if you have it. - include: ipv6.yml sudo: true when: ansible_default_ipv6 != {} and secure_ipv6 - name: Add SSH keys ...
Add internal CA trust to trust anchors list
Add internal CA trust to trust anchors list
YAML
mit
ryansb/workstation,ryansb/workstation,ryansb/workstation
yaml
## Code Before: --- - include: firewalld.yml sudo: true when: secure_firewalld - include: sshd.yml sudo: true when: secure_ssh - include: fail2ban.yml sudo: true when: secure_fail2ban # ipv6? Check it if you have it. - include: ipv6.yml sudo: true when: ansible_default_ipv6 != {} and secure_ipv6 - nam...
ef20fa078ea0705f672d0bb73b15cc8155acd3c2
.travis.yml
.travis.yml
language: python python: - "2.7" # install requirements install: - pip install -r requirements.txt # Build with unit tests and coverage script: python setup.py nosetests # safelist branches: only: - master # For all work approved for release - develop # For general development work # Post-steps for successf...
language: python python: - "2.7" # install requirements install: - pip install -r requirements.txt # Build with unit tests and coverage script: coverage run setup.py nosetests # safelist branches: only: - master # For all work approved for release - develop # For general development work # Post-steps for su...
Add coverage command to Travis config
Add coverage command to Travis config
YAML
agpl-3.0
duggym122/grays_sports_almanac
yaml
## Code Before: language: python python: - "2.7" # install requirements install: - pip install -r requirements.txt # Build with unit tests and coverage script: python setup.py nosetests # safelist branches: only: - master # For all work approved for release - develop # For general development work # Post-st...
ce260c507de26bb4d0e60e761883f3d8623f4539
tools/test-wrapper.sh
tools/test-wrapper.sh
set -e if test -t 1 || test "z$CHECK_VERBOSE" != z; then "$@" || e=$? exit $e fi e=0 "$@" > capture-$$.log 2>&1 || e=$? if test z$e = z0; then grep -i skipped capture-$$.log || true rm -f capture-$$.log else cat capture-$$.log exit $e fi # Copyright © 2010 Collabora Ltd. <http://www.collabora.co.uk/> # ...
set -e if test -t 1 && test "z$CHECK_VERBOSE" = z; then : # continue with the output-suppressed code path, below else "$@" || e=$? exit $e fi e=0 "$@" > capture-$$.log 2>&1 || e=$? if test z$e = z0; then grep -i skipped capture-$$.log || true rm -f capture-$$.log else cat capture-$$.log exit $e fi #...
Fix the sense of the check for stdout being a tty
Fix the sense of the check for stdout being a tty
Shell
lgpl-2.1
Distrotech/telepathy-glib,Distrotech/telepathy-glib,Distrotech/telepathy-glib,Distrotech/telepathy-glib,Distrotech/telepathy-glib
shell
## Code Before: set -e if test -t 1 || test "z$CHECK_VERBOSE" != z; then "$@" || e=$? exit $e fi e=0 "$@" > capture-$$.log 2>&1 || e=$? if test z$e = z0; then grep -i skipped capture-$$.log || true rm -f capture-$$.log else cat capture-$$.log exit $e fi # Copyright © 2010 Collabora Ltd. <http://www.coll...
45f094ae43cdcd53cbeed8c0af905768afbdac2e
sass/govuk/elements/forms/_form-labels.scss
sass/govuk/elements/forms/_form-labels.scss
@import 'govuk/-essentials'; .form-label { display: block; margin-bottom: em(5); } .block-label { float: left; clear: left; cursor: pointer; padding: em(13) em(25) em(13) em(52); margin: em(5) em(10) em(5) 0; background: $grey-3; border: 1px solid $grey-3; .inline & { display: inline-block; ...
@import 'govuk/-essentials'; .form-label { display: block; margin-bottom: em(5); } .block-label { float: left; clear: left; cursor: pointer; padding: em(13) em(25) em(13) em(52); margin: em(5) em(10) em(5) 0; background: $grey-3; border: 1px solid $grey-3; .inline & { display: inline-block; ...
Remove background change on focus
Remove background change on focus
SCSS
mit
mojular/govuk-elements
scss
## Code Before: @import 'govuk/-essentials'; .form-label { display: block; margin-bottom: em(5); } .block-label { float: left; clear: left; cursor: pointer; padding: em(13) em(25) em(13) em(52); margin: em(5) em(10) em(5) 0; background: $grey-3; border: 1px solid $grey-3; .inline & { display:...
077298817fe59b5e572b17a6ecd6ffb2c47fd9b5
spec/lib/gitlab/ci/variables/collection/item_spec.rb
spec/lib/gitlab/ci/variables/collection/item_spec.rb
require 'spec_helper' describe Gitlab::Ci::Variables::Collection::Item do let(:variable) do { key: 'VAR', value: 'something', public: true } end describe '.fabricate' do it 'supports using a hash' do resource = described_class.fabricate(variable) expect(resource).to be_a(described_class) ...
require 'spec_helper' describe Gitlab::Ci::Variables::Collection::Item do let(:variable) do { key: 'VAR', value: 'something', public: true } end describe '.fabricate' do it 'supports using a hash' do resource = described_class.fabricate(variable) expect(resource).to be_a(described_class) ...
Fix variables collection item sequence specs
Fix variables collection item sequence specs
Ruby
mit
axilleas/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,jirutka/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,axilleas/gitlabhq,mmkassem/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,stoplightio/gitlabhq,jirutka/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,iiet/iiet-git,dreampet/gitlab,stoplightio/gitlabhq,iiet/i...
ruby
## Code Before: require 'spec_helper' describe Gitlab::Ci::Variables::Collection::Item do let(:variable) do { key: 'VAR', value: 'something', public: true } end describe '.fabricate' do it 'supports using a hash' do resource = described_class.fabricate(variable) expect(resource).to be_a(des...
2174ecdacafffe542031e7c1ec237f1d23440403
profile.d/ubuntu.sh
profile.d/ubuntu.sh
if [[ $(uname -r) =~ .*(Microsoft|WSL2) ]] || [[ $(uname -o) == Msys ]];then return; fi ################################################################################ # Enable window resize with mouse right click # for 12.04 if type -t gconftool-2 >/dev/null 2>&1;then gconftool-2 -s -t bool /apps/metacity/general...
if [[ $(uname -r) =~ .*(Microsoft|WSL2) ]] || [[ $(uname -o) == Msys ]];then return; fi ################################################################################ # Enable window resize with mouse right click # for 12.04 if type -t gconftool-2 >/dev/null 2>&1;then gconftool-2 -s -t bool /apps/metacity/general...
Hide mounted drive icons from dock in Ubuntu 22.04
Hide mounted drive icons from dock in Ubuntu 22.04
Shell
mit
gh4ck3r/.bash,gh4ck3r/.bash
shell
## Code Before: if [[ $(uname -r) =~ .*(Microsoft|WSL2) ]] || [[ $(uname -o) == Msys ]];then return; fi ################################################################################ # Enable window resize with mouse right click # for 12.04 if type -t gconftool-2 >/dev/null 2>&1;then gconftool-2 -s -t bool /apps/...
8d03882f5337922db7c65b2df1f355bc1794818d
README.md
README.md
This is an attempt at the [FizzBuzz kata](http://en.wikipedia.org/wiki/Fizz_buzz) in PHP using [TDD](http://en.wikipedia.org/wiki/Test-driven_development) practices. Included in this kata is an extension to [FizzBuzz](src/FizzBuzz.php) that I have called "FizzBuzzBang." In FizzBuzz, each integer that is evenly divisib...
This is an attempt at the [FizzBuzz kata](http://en.wikipedia.org/wiki/Fizz_buzz) in PHP using [TDD](http://en.wikipedia.org/wiki/Test-driven_development) practices. Included in this kata is an extension to [FizzBuzz](src/FizzBuzz.php) that I have called [FizzBuzzBang](src/FizzBuzzBang.php). In FizzBuzz, each integer ...
Add relative links to the two tested classes
Add relative links to the two tested classes
Markdown
mit
ericpoe/TddFizzBuzz
markdown
## Code Before: This is an attempt at the [FizzBuzz kata](http://en.wikipedia.org/wiki/Fizz_buzz) in PHP using [TDD](http://en.wikipedia.org/wiki/Test-driven_development) practices. Included in this kata is an extension to [FizzBuzz](src/FizzBuzz.php) that I have called "FizzBuzzBang." In FizzBuzz, each integer that i...
3155d8d0800f938a6c78fb606ba918d779f41647
prepare.sh
prepare.sh
sudo apt-get update sudo apt-get install -qy curl tmux sudo apt-get dist-upgrade -qy curl -fsSL https://get.docker.com/ | sh docker build -t omnirom-ether . docker run omnirom-ether
sudo apt-get update sudo apt-get install -qy curl tmux sudo apt-get dist-upgrade -qy curl -fsSL https://get.docker.com/ | sh docker build -t omnirom-ether . sudo usermod -aG docker $(whoami) sudo docker run omnirom-ether
Add current user to docker group
Add current user to docker group The subsequent docker build command needs to be run as root because adding a user to a group may not be applied in the current context.
Shell
mit
PowerInside/omnirom-ether
shell
## Code Before: sudo apt-get update sudo apt-get install -qy curl tmux sudo apt-get dist-upgrade -qy curl -fsSL https://get.docker.com/ | sh docker build -t omnirom-ether . docker run omnirom-ether ## Instruction: Add current user to docker group The subsequent docker build command needs to be run as root because add...
1d5ae789bc4634639997096261b78e007cf66d99
platform/lang-impl/src/com/intellij/util/indexing/diagnostic/IndexingJobStatistics.kt
platform/lang-impl/src/com/intellij/util/indexing/diagnostic/IndexingJobStatistics.kt
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util.indexing.diagnostic import com.intellij.openapi.fileTypes.FileType import java.util.concurrent.ConcurrentHashMap import java.util.concurrent.ConcurrentM...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util.indexing.diagnostic import com.intellij.openapi.fileTypes.FileType import java.util.concurrent.ConcurrentHashMap import java.util.concurrent.ConcurrentM...
Index diagnostic: fix calculation of per-indexer spent time.
Index diagnostic: fix calculation of per-indexer spent time. GitOrigin-RevId: 335d1bfcbb431762cb3aa5ef5cdf5163d3acee6a
Kotlin
apache-2.0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
kotlin
## Code Before: // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util.indexing.diagnostic import com.intellij.openapi.fileTypes.FileType import java.util.concurrent.ConcurrentHashMap import java.util.concur...