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
833124a116eac05fa19e5c236523162add8776fa
lib/Github/Api/Gist/Comments.php
lib/Github/Api/Gist/Comments.php
<?php namespace Github\Api\Gist; use Github\Api\AbstractApi; /** * @link https://developer.github.com/v3/gists/comments/ * @author Kayla Daniels <kayladnls@gmail.com> */ class Comments extends AbstractApi { public function all($gist) { return $this->get('gists/'.rawurlencode($gist).'/comments');...
<?php namespace Github\Api\Gist; use Github\Api\AbstractApi; /** * @link https://developer.github.com/v3/gists/comments/ * @author Kayla Daniels <kayladnls@gmail.com> */ class Comments extends AbstractApi { /** * Get all comments for a gist. * * @param string $gist * * @return array...
Add docblocks for gist comments
Add docblocks for gist comments
PHP
mit
KnpLabs/php-github-api,nidup/php-github-api,SakyaStelios/php-github-api,YOTOV-LIMITED/php-github-api,tehnorm/php-github-api,cmfcmf/php-github-api,dominionenterprises/php-github-api,miclf/php-github-api,Soullivaneuh/php-github-api,martinssipenko/php-github-api,MorrisJobke/php-github-api,kenichiii/php-github-api,daconex/...
php
## Code Before: <?php namespace Github\Api\Gist; use Github\Api\AbstractApi; /** * @link https://developer.github.com/v3/gists/comments/ * @author Kayla Daniels <kayladnls@gmail.com> */ class Comments extends AbstractApi { public function all($gist) { return $this->get('gists/'.rawurlencode($gis...
af86c74708d6118ff31b3e2d0e52b594cdef0c75
views/partials/general-header.mustache
views/partials/general-header.mustache
<!-- never cache patterns --> <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /> <meta http-equiv="pragma" content="no-cache" /> <link rel="styleshe...
<link rel="stylesheet" href="../../styleguide/css/pattern-lab.css?{{ cacheBuster }}" media="all">
Remove caching meta info and vendor stylesheets
Remove caching meta info and vendor stylesheets
HTML+Django
mit
pattern-lab/styleguidekit-mustache-default
html+django
## Code Before: <!-- never cache patterns --> <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /> <meta http-equiv="pragma" content="no-cache" /> <li...
14fd2c4be7af5c247ec829eaab4bbe7b35027775
test/e2e/scenarios.js
test/e2e/scenarios.js
'use strict'; describe('my angular musicbrainz app', function () { beforeEach(function () { browser().navigateTo('app/index.html'); }); it('should automatically redirect to /search when location hash/fragment is empty', function () { expect(browser().location().url()).toBe('/search'); ...
'use strict'; describe('my angular musicbrainz app', function () { beforeEach(function () { browser().navigateTo('app/index.html'); }); describe('search', function () { beforeEach(function () { browser().navigateTo('#/search'); }); it('should render search wh...
Fix assertion into info e2e-test
Fix assertion into info e2e-test
JavaScript
mit
arey/angular-musicbrainz,arey/angular-musicbrainz,arey/angular-musicbrainz,arey/angular-musicbrainz,arey/angular-musicbrainz
javascript
## Code Before: 'use strict'; describe('my angular musicbrainz app', function () { beforeEach(function () { browser().navigateTo('app/index.html'); }); it('should automatically redirect to /search when location hash/fragment is empty', function () { expect(browser().location().url()).toB...
fcd5a8c0aa5ea9e68e0be4879da4c9257a295052
.vscode/extensions.json
.vscode/extensions.json
{ "recommendations": [ "esbenp.prettier-vscode" ] }
{ "recommendations": [ "esbenp.prettier-vscode", "stylelint.vscode-stylelint" ] }
Add Stylelint as a recommended vscode extension.
Add Stylelint as a recommended vscode extension.
JSON
apache-2.0
google/site-kit-wp,google/site-kit-wp,google/site-kit-wp,google/site-kit-wp
json
## Code Before: { "recommendations": [ "esbenp.prettier-vscode" ] } ## Instruction: Add Stylelint as a recommended vscode extension. ## Code After: { "recommendations": [ "esbenp.prettier-vscode", "stylelint.vscode-stylelint" ] }
d470ddefbe940be12107b61762503ba276b908bc
src/Omnipay/Mollie/Message/FetchTransactionRequest.php
src/Omnipay/Mollie/Message/FetchTransactionRequest.php
<?php namespace Omnipay\Mollie\Message; /** * Mollie Fetch Transaction Request * * @method \Omnipay\Mollie\Message\FetchTransactionResponse send() */ class FetchTransactionRequest extends AbstractRequest { public function getTransactionReference() { return $this->getParameter('transactionReference...
<?php namespace Omnipay\Mollie\Message; /** * Mollie Fetch Transaction Request * * @method \Omnipay\Mollie\Message\FetchTransactionResponse send() */ class FetchTransactionRequest extends AbstractRequest { public function getData() { $this->validate('apiKey', 'transactionReference'); $dat...
Remove get/setTransactionReference() as they are already defined in AbstractRequest
Remove get/setTransactionReference() as they are already defined in AbstractRequest
PHP
mit
Beaudinn/omnipay-mollie,eileenmcnaughton/omnipay-mollie,thephpleague/omnipay-mollie
php
## Code Before: <?php namespace Omnipay\Mollie\Message; /** * Mollie Fetch Transaction Request * * @method \Omnipay\Mollie\Message\FetchTransactionResponse send() */ class FetchTransactionRequest extends AbstractRequest { public function getTransactionReference() { return $this->getParameter('tran...
ded0705bdcf522acde25e1c6f202441be38f39b4
documentation/prometheus-mixin/jsonnetfile.json
documentation/prometheus-mixin/jsonnetfile.json
{ "dependencies": [ { "name": "grafana-builder", "source": { "git": { "remote": "https://github.com/kausalco/public", "subdir": "grafana-builder" } }, "version": "master" } ] }...
{ "dependencies": [ { "name": "grafana-builder", "source": { "git": { "remote": "https://github.com/grafana/jsonnet-libs", "subdir": "grafana-builder" } }, "version": "master" } ...
Update remote repo for grafana-builder dependency
Update remote repo for grafana-builder dependency Signed-off-by: beorn7 <91e32ae1d26bd312b370cf8378a5a83accca90a0@grafana.com>
JSON
apache-2.0
kangwoo/prometheus,prometheus/prometheus,alileza/prometheus,GoogleCloudPlatform/prometheus,alileza/prometheus,keegancsmith/prometheus,GoogleCloudPlatform/prometheus,kangwoo/prometheus,GoogleCloudPlatform/prometheus,GoogleCloudPlatform/prometheus,kangwoo/prometheus,alileza/prometheus,prometheus/prometheus,alileza/promet...
json
## Code Before: { "dependencies": [ { "name": "grafana-builder", "source": { "git": { "remote": "https://github.com/kausalco/public", "subdir": "grafana-builder" } }, "version": "master" ...
aa39a1d248f6ce47c938778425b66edccc951e02
macosx/scripts/GeekTool/calendar.sh
macosx/scripts/GeekTool/calendar.sh
now=`date '+%Y-%m-%d %H:%M %z'` then=`date '+%Y-%m-%d 23:59 %z'` icalBuddy -nc eventsFrom:"$now" to:"$then"
now=`date '+%Y-%m-%d %H:%M %z'` then=`date '+%Y-%m-%d 23:59 %z'` icalBuddy -iep title,datetime -ps '|: |' -nc eventsFrom:"$now" to:"$then"
Make it easier to read tasks coming from RTM
Make it easier to read tasks coming from RTM
Shell
bsd-3-clause
pjones/emacsrc
shell
## Code Before: now=`date '+%Y-%m-%d %H:%M %z'` then=`date '+%Y-%m-%d 23:59 %z'` icalBuddy -nc eventsFrom:"$now" to:"$then" ## Instruction: Make it easier to read tasks coming from RTM ## Code After: now=`date '+%Y-%m-%d %H:%M %z'` then=`date '+%Y-%m-%d 23:59 %z'` icalBuddy -iep title,datetime -ps '|: |' -nc even...
a55992f1861d4d5ea8df673bf3707636e34c061b
config/env/production.coffee
config/env/production.coffee
mongoAdapter = require 'sails-mongo' module.exports = db: adapters: mongo: mongoAdapter connections: default: adapter: 'mongo' url: process.env.MONGOLAB_URI defaults: migrate: 'alter' autoPK: true autoCreatedAt: false autoUpdatedAt: false mailgun: ...
mongoAdapter = require 'sails-mongo' module.exports = db: adapters: mongo: mongoAdapter connections: default: adapter: 'mongo' url: process.env.MONGOLAB_URI defaults: migrate: 'alter' autoPK: true autoCreatedAt: false autoUpdatedAt: false mailgun: ...
Fix int parsing for port
Fix int parsing for port
CoffeeScript
mit
webzepter/node-tt
coffeescript
## Code Before: mongoAdapter = require 'sails-mongo' module.exports = db: adapters: mongo: mongoAdapter connections: default: adapter: 'mongo' url: process.env.MONGOLAB_URI defaults: migrate: 'alter' autoPK: true autoCreatedAt: false autoUpdatedAt: fals...
4efadf8de976d149b0f31b6b205fbc653fdcc8de
doc/development/ux_guide/users.md
doc/development/ux_guide/users.md
--- redirect_to: 'https://design.gitlab.com/getting-started/personas/' --- The content of this document was moved into the [GitLab Design System](https://design.gitlab.com/).
--- redirect_to: 'https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/' --- This document was moved to [another location](https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/).
Fix link to personas UX guide
Fix link to personas UX guide
Markdown
mit
mmkassem/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,iiet/iiet-git,stoplightio/gitlabhq,stoplightio/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,stoplightio/gitlabhq,iiet/iiet-git
markdown
## Code Before: --- redirect_to: 'https://design.gitlab.com/getting-started/personas/' --- The content of this document was moved into the [GitLab Design System](https://design.gitlab.com/). ## Instruction: Fix link to personas UX guide ## Code After: --- redirect_to: 'https://about.gitlab.com/handbook/marketing/pro...
6d43879608a3f218120b88da911c8bacf8177d82
owebunit/tests/simple.py
owebunit/tests/simple.py
import BaseHTTPServer import threading import time import owebunit import bottle app = bottle.Bottle() @app.route('/ok') def ok(): return 'ok' @app.route('/internal_server_error') def internal_error(): bottle.abort(500, 'internal server error') def run_server(): app.run(host='localhost', port=8041) cla...
import BaseHTTPServer import threading import time import owebunit import bottle app = bottle.Bottle() @app.route('/ok') def ok(): return 'ok' @app.route('/internal_server_error') def internal_error(): bottle.abort(500, 'internal server error') def run_server(): app.run(host='localhost', port=8041) cla...
Test using multiple concurrent sessions
Test using multiple concurrent sessions
Python
bsd-2-clause
p/webracer
python
## Code Before: import BaseHTTPServer import threading import time import owebunit import bottle app = bottle.Bottle() @app.route('/ok') def ok(): return 'ok' @app.route('/internal_server_error') def internal_error(): bottle.abort(500, 'internal server error') def run_server(): app.run(host='localhost',...
47bc34570d6ca4354b199d865ed25cf0cb54628c
_includes/header.html
_includes/header.html
<nav class="uqcs_grey"> <div class="nav-wrapper container"> <a href="/" class="brand-logo"><!-- UQ Computing Society --> <svg height="40" width="45"> <image class="logo valign" xlink:href="/img/logo.svg" src="/img/logo.png" height="40" width="45" /> </svg> </a> ...
<nav class="uqcs_grey"> <div class="nav-wrapper container"> <a href="/" class="brand-logo"><!-- UQ Computing Society --> <svg height="40" width="45"> <image class="logo valign" xlink:href="/img/logo.svg" src="/img/logo.png" height="40" width="45" /> </svg> </a> ...
Fix share icons showing at wrong times
Fix share icons showing at wrong times
HTML
apache-2.0
UQComputingSociety/website,nickl93/website,nickl93/website,nickl93/website,UQComputingSociety/website,nickl93/website
html
## Code Before: <nav class="uqcs_grey"> <div class="nav-wrapper container"> <a href="/" class="brand-logo"><!-- UQ Computing Society --> <svg height="40" width="45"> <image class="logo valign" xlink:href="/img/logo.svg" src="/img/logo.png" height="40" width="45" /> </svg>...
210d678633b0e8efb02aa103d3d05a82b190b695
test/services/link/index.test.js
test/services/link/index.test.js
const assert = require('assert'); const chai = require('chai'); const chaiHttp = require('chai-http'); const app = require('../../../src/app'); chai.use(chaiHttp); describe('link service', () => { const service = app.service('link'); it('registered the links service', () => { assert.ok(service); }); it(`genera...
const assert = require('assert'); const chai = require('chai'); const chaiHttp = require('chai-http'); const app = require('../../../src/app'); chai.use(chaiHttp); describe('link service', () => { const service = app.service('link'); it('registered the links service', () => { assert.ok(service); }); it(`genera...
Fix usage of id instead of _id
Fix usage of id instead of _id
JavaScript
agpl-3.0
schul-cloud/schulcloud-server,schul-cloud/schulcloud-server,schul-cloud/schulcloud-server
javascript
## Code Before: const assert = require('assert'); const chai = require('chai'); const chaiHttp = require('chai-http'); const app = require('../../../src/app'); chai.use(chaiHttp); describe('link service', () => { const service = app.service('link'); it('registered the links service', () => { assert.ok(service); ...
8a2fa728cc62b61eb83f180fb73784d06482ec2e
setup.py
setup.py
import io import os import re from setuptools import setup, find_packages def find_version(): file_dir = os.path.dirname(__file__) with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f: version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read()) if version: ret...
import io import os import re from setuptools import setup, find_packages def find_version(): file_dir = os.path.dirname(__file__) with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f: version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read()) if version: ret...
Update supported versions to match supported CPython versions
Update supported versions to match supported CPython versions
Python
mit
auth0/auth0-python,auth0/auth0-python
python
## Code Before: import io import os import re from setuptools import setup, find_packages def find_version(): file_dir = os.path.dirname(__file__) with io.open(os.path.join(file_dir, 'auth0', '__init__.py')) as f: version = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read()) if version:...
a73da4c19e5e07f862a4f4a181b0f76460c2cb5a
cmake/arm-toolchain.cmake
cmake/arm-toolchain.cmake
SET(CMAKE_SYSTEM_NAME Generic) # which compilers to use for C and C++ SET(CMAKE_C_COMPILER ${DEVKITARM}/bin/arm-none-eabi-gcc) SET(CMAKE_CXX_COMPILER ${DEVKITARM}/bin/arm-none-eabi-g++) SET(CMAKE_SIZE ${DEVKITARM}/bin/arm-none-eabi-size) SET(CMAKE_OBJCOPY ${DEVKITARM}/bin/arm-none-eabi-objcopy) SET(CMAKE_AR ${DEVKITAR...
SET(CMAKE_SYSTEM_NAME Generic) # which compilers to use for C and C++ SET(CMAKE_C_COMPILER ${DEVKITARM}/bin/arm-none-eabi-gcc) SET(CMAKE_CXX_COMPILER ${DEVKITARM}/bin/arm-none-eabi-g++) SET(CMAKE_SIZE ${DEVKITARM}/bin/arm-none-eabi-size) SET(CMAKE_OBJCOPY ${DEVKITARM}/bin/arm-none-eabi-objcopy) SET(CMAKE_AR ${DEVKITAR...
Add possible PORTLIBS override env variable
Add possible PORTLIBS override env variable
CMake
mit
cpp3ds/cpp3ds,cpp3ds/cpp3ds,cpp3ds/cpp3ds,cpp3ds/cpp3ds
cmake
## Code Before: SET(CMAKE_SYSTEM_NAME Generic) # which compilers to use for C and C++ SET(CMAKE_C_COMPILER ${DEVKITARM}/bin/arm-none-eabi-gcc) SET(CMAKE_CXX_COMPILER ${DEVKITARM}/bin/arm-none-eabi-g++) SET(CMAKE_SIZE ${DEVKITARM}/bin/arm-none-eabi-size) SET(CMAKE_OBJCOPY ${DEVKITARM}/bin/arm-none-eabi-objcopy) SET(CMA...
55be2b8865c4007af09c3a22550a02d3cbef4dd8
easy/core/ConfigLoader.js
easy/core/ConfigLoader.js
class ConfigLoader { /** * loadFromGlobal - load file from global configurations directory * * @param {string} file * @returns {Object} */ static loadFromGlobal( file ) { return require( `src/config/${file}` ) } } module.exports = ConfigLoader
class ConfigLoader { /** * loadFromGlobal - load file from global configurations directory * * @param {string} file * @returns {Object} */ static loadFromGlobal( file ) { return require( `${__dirname}/../../../src/config/${file}` ) } } module.exports = ConfigLoader
Change path to load global application configuration
Change path to load global application configuration
JavaScript
mit
MadDeveloper/easy.js
javascript
## Code Before: class ConfigLoader { /** * loadFromGlobal - load file from global configurations directory * * @param {string} file * @returns {Object} */ static loadFromGlobal( file ) { return require( `src/config/${file}` ) } } module.exports = ConfigLoader ## Instruction: Change path to load global...
8d48b6b2df933b49748a5e71273112727eef7f99
README.md
README.md
Mobilem.cz Python API ===================== A library for sending SMS via mobilem.cz gateway. --------
Mobilem.cz Python API ===================== A library for sending SMS via mobilem.cz gateway. -------- [![Build Status](https://travis-ci.org/netman92/mobilem_cz.svg?branch=master)](https://travis-ci.org/netman92/mobilem_cz)
Build status image to readme
Build status image to readme
Markdown
mit
netman92/mobilem_cz
markdown
## Code Before: Mobilem.cz Python API ===================== A library for sending SMS via mobilem.cz gateway. -------- ## Instruction: Build status image to readme ## Code After: Mobilem.cz Python API ===================== A library for sending SMS via mobilem.cz gateway. -------- [![Build Status](https://travis-...
5c3a106c725e1507c6dc32eaafb78fe2d4ab9f08
misc/requirements_run.txt
misc/requirements_run.txt
cffi==1.8.3 click==6.6 configparser==3.5.0 cryptography==1.5.2 Cython==0.24.1 enum34==1.1.6 Flask==0.11.1 future==0.15.2 idna==2.1 ipaddress==1.0.17 itsdangerous==0.24 Jinja2==2.8 Kivy==1.9.1 Kivy-Garden==0.1.1 MarkupSafe==0.23 Pillow==3.4.2 pyasn1==0.1.9 pycparser==2.16 pygame==1.9.2b8 PyJWT==1.4.2 requests==2.11.1 si...
cffi==1.8.3 click==6.6 configparser==3.5.0 cryptography==1.5.2 Cython==0.24.1 enum34==1.1.6 Flask==0.11.1 future==0.15.2 idna==2.1 ipaddress==1.0.17 itsdangerous==0.24 Jinja2==2.8 Kivy==1.9.1 Kivy-Garden==0.1.1 MarkupSafe==0.23 multiprocessing==2.6.2.1 Pillow==3.4.2 pyasn1==0.1.9 pycparser==2.16 pygame==1.9.2b8 PyJWT==...
Add multiprocessing to runtime requirements
Add multiprocessing to runtime requirements
Text
agpl-3.0
ztp-at/RKSV
text
## Code Before: cffi==1.8.3 click==6.6 configparser==3.5.0 cryptography==1.5.2 Cython==0.24.1 enum34==1.1.6 Flask==0.11.1 future==0.15.2 idna==2.1 ipaddress==1.0.17 itsdangerous==0.24 Jinja2==2.8 Kivy==1.9.1 Kivy-Garden==0.1.1 MarkupSafe==0.23 Pillow==3.4.2 pyasn1==0.1.9 pycparser==2.16 pygame==1.9.2b8 PyJWT==1.4.2 req...
238e10030f7e3b69a209caae667538f8cff3265c
README.md
README.md
trayhost ======== Cross-platform Go library to place an icon in the host operating system's taskbar.
trayhost ======== Cross-platform Go library to place an icon in the host operating system's taskbar. Notes ----- On OS X, for Notification Center user notifications to work, your Go binary that uses `trayhost` must be a part of a standard OS X app bundle. Here's a minimal layout of an app bundle: ``` $ tree "Trayh...
Add notes on getting OS X notification center to work.
Add notes on getting OS X notification center to work. Resolves #2.
Markdown
mit
shurcooL/trayhost,shurcooL/trayhost
markdown
## Code Before: trayhost ======== Cross-platform Go library to place an icon in the host operating system's taskbar. ## Instruction: Add notes on getting OS X notification center to work. Resolves #2. ## Code After: trayhost ======== Cross-platform Go library to place an icon in the host operating system's taskbar...
3cb1173bed3493548925903d60e8358f491c0ba1
README.md
README.md
Take two arrays, for example two 10,000 item arrays filled with sin and cos function. Reverse the second array, and multiply and add each position. See (here)[https://en.wikipedia.org/wiki/Convolution] ## Performance ### Python ```bash ➜ python git:(master) ✗ python convolution.py 9.31936502457 ➜ python git:(...
Take two arrays, for example two 10,000 item arrays filled with sin and cos function. Reverse the second array, and multiply and add each position. See [here](https://en.wikipedia.org/wiki/Convolution) ## Performance | Language | Average Time | | :------- | :----------- | | cpython | 9-10 seconds | | pypy | 2...
Fix link, add speed table
Fix link, add speed table
Markdown
mit
jamesmunns/rust-linking,jamesmunns/rust-linking,jamesmunns/rust-linking,jamesmunns/rust-linking,jamesmunns/rust-linking,jamesmunns/rust-linking
markdown
## Code Before: Take two arrays, for example two 10,000 item arrays filled with sin and cos function. Reverse the second array, and multiply and add each position. See (here)[https://en.wikipedia.org/wiki/Convolution] ## Performance ### Python ```bash ➜ python git:(master) ✗ python convolution.py 9.31936502457...
1c0d42889b721cf68deb199711d8ae7700c40b66
marcottimls/tools/logsetup.py
marcottimls/tools/logsetup.py
import os import json import logging import logging.config def setup_logging(log_path, settings_path="logging.json", default_level=logging.INFO): """Setup logging configuration""" path = settings_path if os.path.exists(path): with open(path, 'rt') as f: config = json.load(f) co...
import os import json import logging import logging.config def setup_logging(settings_path="logging.json", default_level=logging.INFO): """Setup logging configuration""" path = settings_path if os.path.exists(path): with open(path, 'rt') as f: config = json.load(f) logging.conf...
Remove kludge from setup_logging as no longer necessary
Remove kludge from setup_logging as no longer necessary
Python
mit
soccermetrics/marcotti-mls
python
## Code Before: import os import json import logging import logging.config def setup_logging(log_path, settings_path="logging.json", default_level=logging.INFO): """Setup logging configuration""" path = settings_path if os.path.exists(path): with open(path, 'rt') as f: config = json.lo...
dcd55dd195a2691f3f6b455e7da2999a2586cdf2
docs/api.rst
docs/api.rst
.. _api: API Reference ============= Core ---- .. currentmodule:: pem See :doc:`core` for examples. Parsers ^^^^^^^ .. autofunction:: parse .. autofunction:: parse_file .. _pem-objects: PEM Objects ^^^^^^^^^^^ The following objects can be returned by the parsing functions. They have *no public API* except t...
.. _api: API Reference ============= Core ---- .. currentmodule:: pem See :doc:`core` for examples. Parsers ^^^^^^^ .. autofunction:: parse .. autofunction:: parse_file .. _pem-objects: PEM Objects ^^^^^^^^^^^ The following objects can be returned by the parsing functions. The provided API is minimal: they ...
Make docs accurate about the API again.
Make docs accurate about the API again.
reStructuredText
mit
hynek/pem
restructuredtext
## Code Before: .. _api: API Reference ============= Core ---- .. currentmodule:: pem See :doc:`core` for examples. Parsers ^^^^^^^ .. autofunction:: parse .. autofunction:: parse_file .. _pem-objects: PEM Objects ^^^^^^^^^^^ The following objects can be returned by the parsing functions. They have *no publ...
0efd66aa58d45d63fd8a0f690a2848091a6527ff
frontend/test/controllers/artist_controller_test.rb
frontend/test/controllers/artist_controller_test.rb
require 'test_helper' class ArtistControllerTest < ActionController::TestCase test "list of artists" do get "index" assert_response 200 assert_select %Q[a:contains("Steve Argyle")] assert_select %Q[li:contains("Steve Argyle\n(99 cards)")] assert_equal "Artists - mtg.wtf", html_document.title en...
require 'test_helper' class ArtistControllerTest < ActionController::TestCase test "list of artists" do get "index" assert_response 200 assert_select %Q[a:contains("Yang Hong")] assert_select %Q[li:contains("Yang Hong\n(8 cards)")] assert_equal "Artists - mtg.wtf", html_document.title end te...
Use less frequently updated artist
Use less frequently updated artist
Ruby
mit
fenhl/lore-seeker,taw/magic-search-engine,fenhl/lore-seeker,fenhl/lore-seeker,fenhl/lore-seeker,taw/magic-search-engine,fenhl/lore-seeker,taw/magic-search-engine
ruby
## Code Before: require 'test_helper' class ArtistControllerTest < ActionController::TestCase test "list of artists" do get "index" assert_response 200 assert_select %Q[a:contains("Steve Argyle")] assert_select %Q[li:contains("Steve Argyle\n(99 cards)")] assert_equal "Artists - mtg.wtf", html_doc...
d0818c7dcabebe7697444b73b6b8f30ade73958d
openedx/core/djangoapps/appsembler/eventtracking/utils.py
openedx/core/djangoapps/appsembler/eventtracking/utils.py
from django.core.exceptions import MultipleObjectsReturned from . import exceptions def get_site_config_for_event(event_props): """ Try multiple strategies to find a SiteConfiguration object to use for evaluating and processing an event. Return a SiteConfiguration object if found; otherwise, None. ...
from django.core.exceptions import MultipleObjectsReturned from . import exceptions def get_site_config_for_event(event_props): """ Try multiple strategies to find a SiteConfiguration object to use for evaluating and processing an event. Return a SiteConfiguration object if found; otherwise, None. ...
Return exeption if cannot get the site config in event
Return exeption if cannot get the site config in event
Python
agpl-3.0
appsembler/edx-platform,appsembler/edx-platform,appsembler/edx-platform,appsembler/edx-platform
python
## Code Before: from django.core.exceptions import MultipleObjectsReturned from . import exceptions def get_site_config_for_event(event_props): """ Try multiple strategies to find a SiteConfiguration object to use for evaluating and processing an event. Return a SiteConfiguration object if found; o...
066d156e6bfbb363f4fb8f8a10a4f820aaf895a2
README.md
README.md
A dashboard to integrate multiple alert systems Blinken stands for Blinken lights increase network knowledge effectively now. ## Attribution The eye logo was originally created by Dmitry Baranovskiy (http://thenounproject.com/term/eye/5001/) ## License Crown Copyright Distributed under the MIT license
A dashboard to integrate multiple alert systems Blinken stands for Blinken lights increase network knowledge effectively now. Can be run as a daemon `lein daemon start blinken /path/to/config.yaml` ## Attribution The eye logo was originally created by Dmitry Baranovskiy (http://thenounproject.com/term/eye/5001/) #...
Add stuff about running as a deamon.
Add stuff about running as a deamon.
Markdown
mit
alphagov/blinken
markdown
## Code Before: A dashboard to integrate multiple alert systems Blinken stands for Blinken lights increase network knowledge effectively now. ## Attribution The eye logo was originally created by Dmitry Baranovskiy (http://thenounproject.com/term/eye/5001/) ## License Crown Copyright Distributed under the MIT li...
0f40869157ef56df0ff306fb510be4401b5cbe5d
test/low_level/test_frame_identifiers.py
test/low_level/test_frame_identifiers.py
import inspect from pyinstrument.low_level import stat_profile as stat_profile_c from pyinstrument.low_level import stat_profile_python class AClass: def get_frame_identfier_for_a_method(self, getter_function): frame = inspect.currentframe() assert frame return getter_function(frame) ...
import inspect from pyinstrument.low_level import stat_profile as stat_profile_c from pyinstrument.low_level import stat_profile_python class AClass: def get_frame_identifier_for_a_method(self, getter_function): frame = inspect.currentframe() assert frame return getter_function(frame) ...
Add test for a cell variable
Add test for a cell variable
Python
bsd-3-clause
joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument
python
## Code Before: import inspect from pyinstrument.low_level import stat_profile as stat_profile_c from pyinstrument.low_level import stat_profile_python class AClass: def get_frame_identfier_for_a_method(self, getter_function): frame = inspect.currentframe() assert frame return getter_func...
267034bda8eaf9fa7d86837503bf6151ec26e20d
add-on/src/popup/browser-action/context-actions.js
add-on/src/popup/browser-action/context-actions.js
'use strict' /* eslint-env browser, webextensions */ const browser = require('webextension-polyfill') const html = require('choo/html') const navItem = require('./nav-item') module.exports = function contextActions ({ isIpfsContext, isPinning, isUnPinning, isPinned, isIpfsOnline, onCopyIpfsAddr, onCopyP...
'use strict' /* eslint-env browser, webextensions */ const browser = require('webextension-polyfill') const html = require('choo/html') const navItem = require('./nav-item') module.exports = function contextActions ({ ipfsNodeType, isIpfsContext, isPinning, isUnPinning, isPinned, isIpfsOnline, onCopyIpf...
Hide pinning controls when embedded js-ipfs is active
Hide pinning controls when embedded js-ipfs is active - there's no pinning in js-ipfs yet - closes #380
JavaScript
cc0-1.0
lidel/ipfs-firefox-addon,lidel/ipfs-firefox-addon,lidel/ipfs-firefox-addon
javascript
## Code Before: 'use strict' /* eslint-env browser, webextensions */ const browser = require('webextension-polyfill') const html = require('choo/html') const navItem = require('./nav-item') module.exports = function contextActions ({ isIpfsContext, isPinning, isUnPinning, isPinned, isIpfsOnline, onCopyIpf...
d7f0285788b9a4710766ec3f1275d8b7460cb32b
cukes-oauth/src/main/java/lv/ctco/cukes/oauth/GrantType.java
cukes-oauth/src/main/java/lv/ctco/cukes/oauth/GrantType.java
package lv.ctco.cukes.oauth; import lv.ctco.cukes.core.internal.context.GlobalWorldFacade; import java.util.HashMap; import java.util.Map; public enum GrantType { client_credentials, password(OAuthCukesConstants.USER_NAME, OAuthCukesConstants.PASSWORD); private static final Map<String, String> attribut...
package lv.ctco.cukes.oauth; import lv.ctco.cukes.core.internal.context.GlobalWorldFacade; import java.util.HashMap; import java.util.Map; public enum GrantType { client_credentials, password(OAuthCukesConstants.USER_NAME, OAuthCukesConstants.PASSWORD); private static final Map<String, String> attribut...
Fix issue with "password" grant type, fix map order
Fix issue with "password" grant type, fix map order
Java
apache-2.0
ctco/cukes
java
## Code Before: package lv.ctco.cukes.oauth; import lv.ctco.cukes.core.internal.context.GlobalWorldFacade; import java.util.HashMap; import java.util.Map; public enum GrantType { client_credentials, password(OAuthCukesConstants.USER_NAME, OAuthCukesConstants.PASSWORD); private static final Map<String, ...
32f09eb6dd7bbb00297131dc584ae3187b10ce5e
.travis.yml
.travis.yml
language: ruby cache: bundler # For ruby compatibility, we test the highest and lowest minor versions only. # For example, if our gemspec says `required_ruby_version = ">= 2.3.0"`, and # ruby 2.5.0 has just been released, then we test 2.3 and 2.5, but not 2.4. rvm: - 2.5.0 - 2.3.6 env: global: - TRAVIS=true...
language: ruby cache: bundler # For ruby compatibility, we test the highest and lowest minor versions only. # For example, if our gemspec says `required_ruby_version = ">= 2.3.0"`, and # ruby 2.5.0 has just been released, then we test 2.3 and 2.5, but not 2.4. rvm: - 2.5.0 - 2.3.6 env: global: - TRAVIS=true...
Use TravisCI's VM infrastructure temporarily
Use TravisCI's VM infrastructure temporarily
YAML
mit
airblade/paper_trail,airblade/paper_trail
yaml
## Code Before: language: ruby cache: bundler # For ruby compatibility, we test the highest and lowest minor versions only. # For example, if our gemspec says `required_ruby_version = ">= 2.3.0"`, and # ruby 2.5.0 has just been released, then we test 2.3 and 2.5, but not 2.4. rvm: - 2.5.0 - 2.3.6 env: global: ...
5b7bc8baba35bc816c7dc94768d9fae05c7b78ec
zephyr/shim/include/zephyr_host_command.h
zephyr/shim/include/zephyr_host_command.h
/* Copyright 2021 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #if !defined(__CROS_EC_HOST_COMMAND_H) || \ defined(__CROS_EC_ZEPHYR_HOST_COMMAND_H) #error "This file must only be included from host_command.h. ...
/* Copyright 2021 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #if !defined(__CROS_EC_HOST_COMMAND_H) || \ defined(__CROS_EC_ZEPHYR_HOST_COMMAND_H) #error "This file must only be included from host_command.h. ...
Use a different way of handling no host commands
zephyr: Use a different way of handling no host commands When CONFIG_PLATFORM_EC_HOSTCMD is not enabled we want to silently drop the handler routines from the build. The current approach works for gcc but not for clang. Use an exported function instead. BUG=b:208648337 BRANCH=none TEST=CQ and gitlab Signed-off-by: ...
C
bsd-3-clause
coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec
c
## Code Before: /* Copyright 2021 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #if !defined(__CROS_EC_HOST_COMMAND_H) || \ defined(__CROS_EC_ZEPHYR_HOST_COMMAND_H) #error "This file must only be included from ...
c783af3af004ec2de31b85045d1c517f5c3a9ccc
tests/v6/test_date_generator.py
tests/v6/test_date_generator.py
import datetime as dt from .context import tohu from tohu.v6.primitive_generators import Date def test_single_date(): g = Date(start="2018-01-01", end="2018-01-01") dates = g.generate(100, seed=12345) assert all([x == dt.date(2018, 1, 1) for x in dates]) def test_date_range(): g = Date(start="1999-...
import datetime as dt from .context import tohu from tohu.v6.primitive_generators import Date def test_single_date(): g = Date(start="2018-01-01", end="2018-01-01") dates = g.generate(100, seed=12345) assert all([x == dt.date(2018, 1, 1) for x in dates]) def test_date_range(): g = Date(start="1999-...
Add test for start/end values
Add test for start/end values
Python
mit
maxalbert/tohu
python
## Code Before: import datetime as dt from .context import tohu from tohu.v6.primitive_generators import Date def test_single_date(): g = Date(start="2018-01-01", end="2018-01-01") dates = g.generate(100, seed=12345) assert all([x == dt.date(2018, 1, 1) for x in dates]) def test_date_range(): g = D...
4d4cee56e9146f632c29daaef4acc529b287f2b6
index.js
index.js
'use strict'; // Module dependencies var path = require('path'); // Set module root directory process.rootTest = __dirname; process.requireTest = function(filePath) { return require(path.normalize(process.rootTest + '/' + filePath)); }; module.exports.generator = process.requireTest('lib/generator.js');
'use strict'; // Module dependencies var path = require('path'); // Set module root directory process.rootTest = __dirname; process.requireTest = function(filePath) { return require(path.join(process.rootTest, filePath)); }; module.exports.generator = process.requireTest('lib/generator.js');
Replace wrong use of path.normalize
Replace wrong use of path.normalize
JavaScript
agpl-3.0
veo-labs/openveo-test
javascript
## Code Before: 'use strict'; // Module dependencies var path = require('path'); // Set module root directory process.rootTest = __dirname; process.requireTest = function(filePath) { return require(path.normalize(process.rootTest + '/' + filePath)); }; module.exports.generator = process.requireTest('lib/generator....
14da4d66f23fe245a3ce652d3c56d93949937220
test/integration/targets/setup_docker/tasks/main.yml
test/integration/targets/setup_docker/tasks/main.yml
- vars: is_rhel: "{{ ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora' }}" is_rhel6: "{{ is_rhel and ansible_distribution_major_version == '6' }}" is_rhel7: "{{ is_rhel and ansible_distribution_major_version == '7' }}" block: - include_tasks: "{{ lookup('first_found', params) }}" ...
- vars: is_rhel: "{{ ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora' }}" is_rhel6: "{{ is_rhel and ansible_distribution_major_version == '6' }}" is_rhel7: "{{ is_rhel and ansible_distribution_major_version == '7' }}" block: - include_tasks: "{{ lookup('first_found', params) }}" ...
Add constraints to pip install in setup_docker.
Add constraints to pip install in setup_docker.
YAML
mit
thaim/ansible,thaim/ansible
yaml
## Code Before: - vars: is_rhel: "{{ ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora' }}" is_rhel6: "{{ is_rhel and ansible_distribution_major_version == '6' }}" is_rhel7: "{{ is_rhel and ansible_distribution_major_version == '7' }}" block: - include_tasks: "{{ lookup('first_found', ...
c005c8eebaf075463dbbc282598e5076bbd64645
docs/source/template_customization.rst
docs/source/template_customization.rst
Template Customization ====================== Opps default ------------ * Channel: templates/containers/list.html * Content: templates/containers/detail.html Custom ------ * templates/containers/<channel-name>/list.html * templates/containers/<channel-name>/detail.html * templates/containers/<channel-name>/<sub-ch...
Template Customization ====================== Opps default ------------ * Channel: templates/containers/list.html * Content: templates/containers/detail.html Custom ------ * templates/containers/<channel-name>/list.html * templates/containers/<channel-name>/detail.html * templates/containers/<channel-name>/<sub-ch...
Add basic explanation of channel conf via json
Add basic explanation of channel conf via json
reStructuredText
mit
opps/opps,williamroot/opps,YACOWS/opps,jeanmask/opps,williamroot/opps,jeanmask/opps,jeanmask/opps,jeanmask/opps,williamroot/opps,williamroot/opps,YACOWS/opps,YACOWS/opps,opps/opps,opps/opps,opps/opps,YACOWS/opps
restructuredtext
## Code Before: Template Customization ====================== Opps default ------------ * Channel: templates/containers/list.html * Content: templates/containers/detail.html Custom ------ * templates/containers/<channel-name>/list.html * templates/containers/<channel-name>/detail.html * templates/containers/<chann...
af3873f1c53eb68cd1e9b4535d3a7270a749068e
CHANGELOG.md
CHANGELOG.md
* `memoize` option to `#register` - memoizes items on first resolve (ivoanjo) ## Fixed * `required_ruby_version` set to `>= 2.0.0` (artofhuman) [Compare v0.4.0...HEAD](https://github.com/dry-rb/dry-container/compare/v0.4.0...HEAD)
* `memoize` option to `#register` - memoizes items on first resolve ([ivoanjo](https://github.com/ivoanjo)) ## Fixed * `required_ruby_version` set to `>= 2.0.0` ([artofhuman](https://github.com/artofhuman)) [Compare v0.4.0...HEAD](https://github.com/dry-rb/dry-container/compare/v0.4.0...HEAD)
Use links for GH usernames
Use links for GH usernames
Markdown
mit
dryrb/dry-container
markdown
## Code Before: * `memoize` option to `#register` - memoizes items on first resolve (ivoanjo) ## Fixed * `required_ruby_version` set to `>= 2.0.0` (artofhuman) [Compare v0.4.0...HEAD](https://github.com/dry-rb/dry-container/compare/v0.4.0...HEAD) ## Instruction: Use links for GH usernames ## Code After: * `memoi...
f9c6b012ae81b3c08c78a09aec42988a0c4e8af0
README.rst
README.rst
===================== mooh - Simple payment ===================== Usage ===== 1. Install ``django-mooch`` using pip. 2. Add the following settings:: STRIPE_PUBLISHABLE_KEY = env('STRIPE_PUBLISHABLE_KEY') STRIPE_SECRET_KEY = env('STRIPE_SECRET_KEY') POSTFINANCE_PSPID = env('POSTFINANCE_PSPID') POSTFI...
===================== mooh - Simple payment ===================== Steps ===== 1. Install ``django-mooch`` using pip and add ``mooch`` to your ``INSTALLED_APPS``. 2. Add the following settings:: STRIPE_PUBLISHABLE_KEY = env('STRIPE_PUBLISHABLE_KEY') STRIPE_SECRET_KEY = env('STRIPE_SECRET_KEY') POSTFIN...
Add some preliminary usage informations
Add some preliminary usage informations
reStructuredText
mit
matthiask/django-mooch,matthiask/django-mooch,matthiask/django-mooch
restructuredtext
## Code Before: ===================== mooh - Simple payment ===================== Usage ===== 1. Install ``django-mooch`` using pip. 2. Add the following settings:: STRIPE_PUBLISHABLE_KEY = env('STRIPE_PUBLISHABLE_KEY') STRIPE_SECRET_KEY = env('STRIPE_SECRET_KEY') POSTFINANCE_PSPID = env('POSTFINANCE_PS...
14fb663019038b80d42f212e0ad8169cd0d37e84
neutron_lib/exceptions/address_group.py
neutron_lib/exceptions/address_group.py
from neutron_lib._i18n import _ from neutron_lib import exceptions class AddressGroupNotFound(exceptions.NotFound): message = _("Address group %(address_group_id)s could not be found.") class AddressesNotFound(exceptions.NotFound): message = _("Addresses %(addresses)s not found in the address group " ...
from neutron_lib._i18n import _ from neutron_lib import exceptions class AddressGroupNotFound(exceptions.NotFound): message = _("Address group %(address_group_id)s could not be found.") class AddressGroupInUse(exceptions.InUse): message = _("Address group %(address_group_id)s is in use on one or more " ...
Add address group in use exception
Add address group in use exception Related change: https://review.opendev.org/#/c/751110/ Change-Id: I2a9872890ca4d5e59a9e266c1dcacd3488a3265c
Python
apache-2.0
openstack/neutron-lib,openstack/neutron-lib,openstack/neutron-lib,openstack/neutron-lib
python
## Code Before: from neutron_lib._i18n import _ from neutron_lib import exceptions class AddressGroupNotFound(exceptions.NotFound): message = _("Address group %(address_group_id)s could not be found.") class AddressesNotFound(exceptions.NotFound): message = _("Addresses %(addresses)s not found in the addre...
3190b8266777aeca3b29bc0f82cf663c40f1380d
.travis.yml
.travis.yml
sudo: false language: python matrix: include: - python: 2.7 env: TOXENV=py27 - python: pypy env: TOXENV=pypy - python: 3.5 env: TOXENV=py35 - python: 2.7 env: TOXENV=style - python: 2.7 env: TOXENV=readme install: pip install tox script: tox branches: only: ...
dist: trusty sudo: false group: beta language: python matrix: include: - python: 2.7 env: TOXENV=py27 - python: pypy env: TOXENV=pypy - python: 3.5 env: TOXENV=py35 - python: 2.7 env: TOXENV=style - python: 2.7 env: TOXENV=readme install: pip install tox script: t...
Switch to the new Ubuntu Trusty containers on Travis
Switch to the new Ubuntu Trusty containers on Travis ref: https://blog.travis-ci.com/2016-11-08-trusty-container-public-beta/
YAML
mit
GoodRx/attrs_sqlalchemy
yaml
## Code Before: sudo: false language: python matrix: include: - python: 2.7 env: TOXENV=py27 - python: pypy env: TOXENV=pypy - python: 3.5 env: TOXENV=py35 - python: 2.7 env: TOXENV=style - python: 2.7 env: TOXENV=readme install: pip install tox script: tox branc...
c33697654a2d71af0036c8d12bd0fa0bf300dcb2
ember/app/adapters/application.js
ember/app/adapters/application.js
import DS from 'ember-data'; import JsonApiAdapter from 'ember-json-api/json-api-adapter'; import config from 'flarum/config/environment'; import AlertMessage from 'flarum/components/ui/alert-message'; export default JsonApiAdapter.extend({ host: config.apiURL, ajaxError: function(jqXHR) { var errors = this....
import DS from 'ember-data'; import JsonApiAdapter from 'ember-json-api/json-api-adapter'; import config from 'flarum/config/environment'; import AlertMessage from 'flarum/components/ui/alert-message'; export default JsonApiAdapter.extend({ host: config.apiURL, ajaxError: function(jqXHR) { var errors = this....
Fix up uncaught ajax error alert message
Fix up uncaught ajax error alert message
JavaScript
mit
kirkbushell/core,billmn/core,huytd/core,datitisev/core,dungphanxuan/core,zaksoup/core,vuthaihoc/core,kirkbushell/core,utkarshx/core,jubianchi/core,malayladu/core,renyuneyun/core,flarum/core,Onyx47/core,huytd/core,malayladu/core,billmn/core,datitisev/core,kidaa/core,datitisev/core,Luceos/core,flarum/core,kirkbushell/cor...
javascript
## Code Before: import DS from 'ember-data'; import JsonApiAdapter from 'ember-json-api/json-api-adapter'; import config from 'flarum/config/environment'; import AlertMessage from 'flarum/components/ui/alert-message'; export default JsonApiAdapter.extend({ host: config.apiURL, ajaxError: function(jqXHR) { va...
0001107f69c3ca3171b379528a1839dd389f8f7d
app/mailers/islay_shop/order_mailer.rb
app/mailers/islay_shop/order_mailer.rb
class IslayShop::OrderMailer < ActionMailer::Base helper '/islay/public/application' default :from => Settings.for(:shop, :email), :charset => 'UTF-8' def thank_you(order) @order = order mail( :to => order.email, :subject => "#{Settings.for(:islay, :name)} - Thank you for your orde...
class IslayShop::OrderMailer < ActionMailer::Base helper '/islay/public/application' default :from => Settings.for(:shop, :email), :charset => 'UTF-8' layout 'mail' def thank_you(order) @order = order mail( :to => order.email, :subject => "#{Settings.for(:islay, :name)} - Thank...
Use a layout for mailing
Use a layout for mailing
Ruby
mit
spookandpuff/islay-shop,spookandpuff/islay-shop,spookandpuff/islay-shop
ruby
## Code Before: class IslayShop::OrderMailer < ActionMailer::Base helper '/islay/public/application' default :from => Settings.for(:shop, :email), :charset => 'UTF-8' def thank_you(order) @order = order mail( :to => order.email, :subject => "#{Settings.for(:islay, :name)} - Thank y...
b363bfbaaad6ebb4c8e95a2957533dffbf5d218e
app/assets/components/TraceInfo.coffee
app/assets/components/TraceInfo.coffee
import { Component, createElement as $ } from './core' import PropTypes from 'prop-types' export class TraceInfo extends Component @contextTypes = routes: PropTypes.object render: -> { start, application, origin_uuid, origin_url, hostname } = this.props.trace $ 'section', className: 'traceinfo'...
import { Component, createElement as $ } from './core' import PropTypes from 'prop-types' export class TraceInfo extends Component @contextTypes = routes: PropTypes.object render: -> { start, application, origin, hostname } = this.props.trace $ 'section', className: 'traceinfo', $ Field, ...
Fix trace info origin fields
Fix trace info origin fields * Change due to API changes
CoffeeScript
agpl-3.0
jgraichen/mnemosyne-server,jgraichen/mnemosyne-server,jgraichen/mnemosyne-server
coffeescript
## Code Before: import { Component, createElement as $ } from './core' import PropTypes from 'prop-types' export class TraceInfo extends Component @contextTypes = routes: PropTypes.object render: -> { start, application, origin_uuid, origin_url, hostname } = this.props.trace $ 'section', classN...
227387a091915b396e2e5ca2b5c00737c1e917cf
lib/es6-module-mapper/transformer.rb
lib/es6-module-mapper/transformer.rb
require 'es6-module-mapper/js_runner' require 'yajl' module ES6ModuleMapper class Transformer VERSION = '1' TRANSFORMER_CMD = 'node '+ File.join(File.dirname(__FILE__), 'transformer.js') MODULES_GLOBAL_VAR_NAME = 'window.____modules____' MODULES_LOCAL_VAR_NAME = '__m__' def self.call(input) ...
require 'es6-module-mapper/js_runner' require 'yajl' module ES6ModuleMapper class Transformer VERSION = '1' NODEJS_CMD = %w[node nodejs].map { |cmd| %x{which #{cmd}}.chomp }.find { |cmd| !cmd.empty? } TRANSFORMER_CMD = "#{NODEJS_CMD} #{File.join(File.dirname(__FILE__), 'transformer.js')}" MODULES_GL...
Handle different names for nodejs executable
Handle different names for nodejs executable Signed-off-by: Jesse Stuart <a5c95b3d7cb4d0ae05a15c79c79ab458dc2c8f9e@jessestuart.ca>
Ruby
bsd-3-clause
jvatic/es6-module-mapper,jvatic/es6-module-mapper
ruby
## Code Before: require 'es6-module-mapper/js_runner' require 'yajl' module ES6ModuleMapper class Transformer VERSION = '1' TRANSFORMER_CMD = 'node '+ File.join(File.dirname(__FILE__), 'transformer.js') MODULES_GLOBAL_VAR_NAME = 'window.____modules____' MODULES_LOCAL_VAR_NAME = '__m__' def self...
808738a03633a4394b42d7b18769623bc75a4830
phpcs.xml
phpcs.xml
<?xml version="1.0"?> <ruleset name="CspConfig"> <arg name="extensions" value="php"/> <arg name="cache"/> <arg name="colors"/> <arg value="s"/> <arg value="p"/> <rule ref="vendor/spaze/coding-standard/src/ruleset.xml"/> </ruleset>
<?xml version="1.0"?> <ruleset name="CspConfig"> <arg name="extensions" value="php"/> <arg name="cache"/> <arg name="colors"/> <arg value="s"/> <arg value="p"/> <rule ref="vendor/spaze/coding-standard/src/ruleset.xml"> <exclude name="SlevomatCodingStandard.Functions.RequireTrailingCommaInCall" /> <exclude nam...
Exclude trailing comma code sniffer rules
Exclude trailing comma code sniffer rules Because this lib still supports PHP versions that don't support trailing commas in calls and declarations.
XML
mit
spaze/csp-config
xml
## Code Before: <?xml version="1.0"?> <ruleset name="CspConfig"> <arg name="extensions" value="php"/> <arg name="cache"/> <arg name="colors"/> <arg value="s"/> <arg value="p"/> <rule ref="vendor/spaze/coding-standard/src/ruleset.xml"/> </ruleset> ## Instruction: Exclude trailing comma code sniffer rules Because...
a77cc50ac465e12476404aaf9e4e21cb7dc4ae2e
util/scripts/install/config.sh
util/scripts/install/config.sh
PS3=" Please type the number corresponding to your selection and then press the Enter/Return key. Your choice: " if [[ ! -e augur.config.json ]]; then echo "** No config file was found. Starting config creation process. **" echo echo "**********************************" echo "Setting up the database configur...
PS3=" Please type the number corresponding to your selection and then press the Enter/Return key. Your choice: " if [[ ! -e augur.config.json ]]; then echo "** No config file was found. Starting config creation process. **" echo echo "**********************************" echo "Setting up the database configura...
Remove outdate webpage installation option
Remove outdate webpage installation option Signed-off-by: Carter Landis <ffc486ac0b21a34cfd7d1170183ed86b0f1b04a2@gmail.com>
Shell
mit
OSSHealth/ghdata,OSSHealth/ghdata,OSSHealth/ghdata
shell
## Code Before: PS3=" Please type the number corresponding to your selection and then press the Enter/Return key. Your choice: " if [[ ! -e augur.config.json ]]; then echo "** No config file was found. Starting config creation process. **" echo echo "**********************************" echo "Setting up the d...
2c4930ad672e6abc570fd43048da41c5d999fc95
Applications/Specware/bin/windows/check-and-set-environment.cmd
Applications/Specware/bin/windows/check-and-set-environment.cmd
@echo off rem Check that the needed environment variables are set: if "%SPECWARE4%"=="" ( echo Error: environment variable SPECWARE4 not set. echo SPECWARE4 must be set to the path of the Specware 4 tree, echo e.g. c:\users\me\specware4. pause exit ) if "%XEMACS%"=="" ( echo Error: enviro...
@echo off rem Check that the needed environment variables are set: rem In general, enclose filenames in double-quotes, since enviroment rem variables could expand to dirctories containing spaces, periods, rem and other nasty characters. if "%SPECWARE4%"=="" ( echo Error: environment variable SPECWARE...
Put double-quotes around filenames to avoid problems with environment variables expanding into directories containing spaces, periods, etc.
Put double-quotes around filenames to avoid problems with environment variables expanding into directories containing spaces, periods, etc. git-svn-id: 9ecf60ce9baff443e30a0472d3fd222fcb8117cf@3906 7b97033b-253e-4a5c-9b07-e25f9089a9fd
Batchfile
bsd-2-clause
KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware
batchfile
## Code Before: @echo off rem Check that the needed environment variables are set: if "%SPECWARE4%"=="" ( echo Error: environment variable SPECWARE4 not set. echo SPECWARE4 must be set to the path of the Specware 4 tree, echo e.g. c:\users\me\specware4. pause exit ) if "%XEMACS%"=="" ( echo Error: envi...
e865c9b598765d4768cb6009702f523f62ec04cc
app/views/students/_student.html.erb
app/views/students/_student.html.erb
<% connected = current_user.connected?(student) %> <tr> <td class="for-hire"> <% if student.for_hire? %> <i class="icon-ok icon-large"></i> <% end %> </td> <td class="name"> <%= name_cell student %> </td> <td class="skills"><%= student.skills %></td> <td class="courses"> <ul> <% ...
<% connected = current_user.connected?(student) %> <tr> <td class="for-hire"> <% if student.for_hire? %> <i class="icon-ok icon-large"></i> <% end %> </td> <td class="name"> <%= name_cell student %> </td> <td class="skills"><%= student.skills %></td> <td class="courses"> <ul> <% ...
Make course name a link to the course show page
Make course name a link to the course show page
HTML+ERB
mit
natsteinmetz/partner_dashboard,natsteinmetz/partner_dashboard
html+erb
## Code Before: <% connected = current_user.connected?(student) %> <tr> <td class="for-hire"> <% if student.for_hire? %> <i class="icon-ok icon-large"></i> <% end %> </td> <td class="name"> <%= name_cell student %> </td> <td class="skills"><%= student.skills %></td> <td class="courses"> ...
4f3a0315b91f65c9a8bd9e2b55c10d31ddb6ab4f
build.js
build.js
require('json-schema-ref-parser').bundle( require('./schema.json'), function(error, schema) { if (error) { console.error(error) process.exit(1) } else { console.log('%j', schema) } })
require('json-schema-ref-parser').bundle( require('./schema.json'), function(error, schema) { if (error) { console.error(error) process.exit(1) } else { console.log(require('lispy-json')(schema)) } })
Format bundled schema with lispy-json
Format bundled schema with lispy-json
JavaScript
mit
kemitchell/decision-tree-schema.json
javascript
## Code Before: require('json-schema-ref-parser').bundle( require('./schema.json'), function(error, schema) { if (error) { console.error(error) process.exit(1) } else { console.log('%j', schema) } }) ## Instruction: Format bundled schema with lispy-json ## Code After: require('json-schem...
b076ef53e0d99ed2b741d58ec5d6b6302e57e0ec
cookbooks/backup/templates/default/expire.cron.erb
cookbooks/backup/templates/default/expire.cron.erb
for prefix in chef-server chef-repository chef-git forum git lists munin osm-blog osm-donate osmf-crm osmf-ledgersmb wiki-wiki.osmfoundation.org osqa otrs sotm svn switch2osm trac wiki-board.osmfoundation.org wiki-dwg.osmfoundation.org wiki-wiki.openstreetmap.org do /usr/local/bin/expire-backups --days=3 --weeks=3 -...
for prefix in chef-server chef-repository chef-git forum git lists munin osm-blog osm-donate osmf-crm osmf-ledgersmb wiki-wiki.osmfoundation.org osqa otrs sotm svn switch2osm trac wiki-board.osmfoundation.org wiki-dwg.osmfoundation.org wiki-wiki.openstreetmap.org do /usr/local/bin/expire-backups --days=3 --weeks=3 -...
Expire archived logs after 180 days
Expire archived logs after 180 days
HTML+ERB
apache-2.0
Firefishy/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,Firefishy/chef,tomhughes/openstreetmap-chef,tomh...
html+erb
## Code Before: for prefix in chef-server chef-repository chef-git forum git lists munin osm-blog osm-donate osmf-crm osmf-ledgersmb wiki-wiki.osmfoundation.org osqa otrs sotm svn switch2osm trac wiki-board.osmfoundation.org wiki-dwg.osmfoundation.org wiki-wiki.openstreetmap.org do /usr/local/bin/expire-backups --da...
ccd226d84b33a7534978ed3b0b07b5b9927b994c
app/controllers/admin_controller.rb
app/controllers/admin_controller.rb
class AdminController < ApplicationController before_action :require_admin def require_admin verboten! unless current_user.super_admin? end def dashboard @recent_organizations = Organization.where('created_at > ?', 1.week.ago) @recent_users = User.where('created_at > ?', 1.week.ago) @active_us...
class AdminController < ApplicationController before_action :require_admin def require_admin verboten! unless current_user.super_admin? end def dashboard @recent_organizations = Organization.where('created_at > ?', 1.week.ago) @recent_users = User.where('created_at > ?', 1.week.ago) @active_us...
Sort the recent users on the admin dashboard by organization.
Sort the recent users on the admin dashboard by organization.
Ruby
mit
rubyforgood/diaper,rubyforgood/diaper,rubyforgood/diaper,rubyforgood/diaper
ruby
## Code Before: class AdminController < ApplicationController before_action :require_admin def require_admin verboten! unless current_user.super_admin? end def dashboard @recent_organizations = Organization.where('created_at > ?', 1.week.ago) @recent_users = User.where('created_at > ?', 1.week.ago...
80c0202b8f5fd3e7c771866ff6d482333ff7a95e
JECP-Lib/src/com/annimon/jecp/ApplicationListener.java
JECP-Lib/src/com/annimon/jecp/ApplicationListener.java
package com.annimon.jecp; /** * * @author aNNiMON */ public interface ApplicationListener { public void onStartApp(); public void onPauseApp(); public void onDestroyApp(); public void onPaint(JecpGraphics g); }
package com.annimon.jecp; /** * * @author aNNiMON */ public interface ApplicationListener { public void onStartApp(int width, int height); public void onPauseApp(); public void onDestroyApp(); public void onPaint(JecpGraphics g); }
Add screen size to onStartApp method
Add screen size to onStartApp method
Java
apache-2.0
aNNiMON/JECP
java
## Code Before: package com.annimon.jecp; /** * * @author aNNiMON */ public interface ApplicationListener { public void onStartApp(); public void onPauseApp(); public void onDestroyApp(); public void onPaint(JecpGraphics g); } ## Instruction: Add screen size to onStartApp method...
14513356586a12d1dc541424c2c9fee4504d2b0a
aliases.sh
aliases.sh
if [ -f "TEMP.AWK" ]; then echo "Somehow 'TEMP.AWK' already exists" exit 1 fi cat ${HOME}/.zshrc | grep -e '^alias' | awk -F'=' 'BEGIN { print "ALIAS | COMMAND"; print "---------------------------------------"; } { # replace all multi-spaces with a sin...
if [ -f "TEMP.AWK" ]; then echo "Somehow 'TEMP.AWK' already exists" exit 1 fi cat ${HOME}/.zshrc | grep -e '^alias' | awk -F'=' 'BEGIN { print "ALIAS | COMMAND"; print "---------------------------------------"; } { # replace all multi-spaces with a sin...
Remove references to column 2
Remove references to column 2 It's beginning is defined by the end of columnn 1 and its end does not need to be defined at this time.
Shell
mit
jm-janzen/scripts,jm-janzen/scripts,jm-janzen/scripts
shell
## Code Before: if [ -f "TEMP.AWK" ]; then echo "Somehow 'TEMP.AWK' already exists" exit 1 fi cat ${HOME}/.zshrc | grep -e '^alias' | awk -F'=' 'BEGIN { print "ALIAS | COMMAND"; print "---------------------------------------"; } { # replace all multi-s...
9a978e953fb5acc60eb4b98301274fee36489f8e
Test/UserAgentGenerationOperation.swift
Test/UserAgentGenerationOperation.swift
// // UserAgentGenerationOperation.swift // edX // // Created by Akiva Leffert on 12/10/15. // Copyright © 2015 edX. All rights reserved. // import XCTest @testable import edX class UserAgentGenerationOperationTests : XCTestCase { func testLoadBasic() { let queue = OperationQueue() let operati...
// // UserAgentGenerationOperation.swift // edX // // Created by Akiva Leffert on 12/10/15. // Copyright © 2015 edX. All rights reserved. // import XCTest @testable import edX class UserAgentGenerationOperationTests : XCTestCase { func testLoadBasic() { let queue = OperationQueue() let operati...
Test Commit to Verify Xcode 10.3 changes on master
Test Commit to Verify Xcode 10.3 changes on master
Swift
apache-2.0
edx/edx-app-ios,edx/edx-app-ios,edx/edx-app-ios,edx/edx-app-ios,edx/edx-app-ios,edx/edx-app-ios,edx/edx-app-ios
swift
## Code Before: // // UserAgentGenerationOperation.swift // edX // // Created by Akiva Leffert on 12/10/15. // Copyright © 2015 edX. All rights reserved. // import XCTest @testable import edX class UserAgentGenerationOperationTests : XCTestCase { func testLoadBasic() { let queue = OperationQueue() ...
3e7447b2b2eef45937f790133f9f3f066c7b9f17
metadata/us.spotco.extirpater.yml
metadata/us.spotco.extirpater.yml
Categories: - System License: GPL-3.0-or-later AuthorName: Divested Computing Group AuthorWebSite: https://divestos.org SourceCode: https://gitlab.com/divested-mobile/extirpater IssueTracker: https://gitlab.com/divested-mobile/extirpater/issues Donate: https://divestos.org/index.php?page=about#donate Bitcoin: bc1qkjt...
Categories: - System License: GPL-3.0-or-later AuthorName: Divested Computing Group AuthorWebSite: https://divestos.org SourceCode: https://gitlab.com/divested-mobile/extirpater IssueTracker: https://gitlab.com/divested-mobile/extirpater/issues Donate: https://divestos.org/index.php?page=about#donate Bitcoin: bc1qkjt...
Update Extirpater to 1.4 (22)
Update Extirpater to 1.4 (22)
YAML
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata
yaml
## Code Before: Categories: - System License: GPL-3.0-or-later AuthorName: Divested Computing Group AuthorWebSite: https://divestos.org SourceCode: https://gitlab.com/divested-mobile/extirpater IssueTracker: https://gitlab.com/divested-mobile/extirpater/issues Donate: https://divestos.org/index.php?page=about#donate ...
17eda1ffdbe09d41302462d7a177693827c2e966
src/Util/Cursor.php
src/Util/Cursor.php
<?php namespace League\CLImate\Util; class Cursor { /** * Move the cursor up in the terminal x number of lines. * * @param int $lines * * @return string */ public function up($lines = 1) { return "\e[{$lines}A"; } /** * Move the cursor left in the termin...
<?php namespace League\CLImate\Util; class Cursor { /** * Move the cursor up in the terminal x number of lines. * * @param int $lines * * @return string */ public function up($lines = 1) { return "\e[{$lines}A"; } /** * Move the cursor down in the termin...
Add a couple more cursor helpers
Add a couple more cursor helpers
PHP
mit
thephpleague/climate
php
## Code Before: <?php namespace League\CLImate\Util; class Cursor { /** * Move the cursor up in the terminal x number of lines. * * @param int $lines * * @return string */ public function up($lines = 1) { return "\e[{$lines}A"; } /** * Move the cursor le...
c8ea7fdc501c4643b621dd6a80de42b262d179ea
stores/templates/stores/partials/store_opening_periods.html
stores/templates/stores/partials/store_opening_periods.html
{% load opening_hours %} {% with periods=store.opening_periods.all %} {% if periods|length %} {% regroup periods by weekday as grouped_periods %} <table class='table table-bordered table-striped table-condensed'> <tbody> {% for weekday in grouped_periods %} ...
{% load opening_hours %} {% with periods=store.opening_periods.all %} {% if periods|length %} {% regroup periods by weekday as grouped_periods %} <table class='table table-bordered table-striped table-condensed'> <tbody> {% for weekday in grouped_periods %} ...
Use 24 hour format for times in sandbox
Use 24 hour format for times in sandbox
HTML
bsd-3-clause
django-oscar/django-oscar-stores,django-oscar/django-oscar-stores,django-oscar/django-oscar-stores
html
## Code Before: {% load opening_hours %} {% with periods=store.opening_periods.all %} {% if periods|length %} {% regroup periods by weekday as grouped_periods %} <table class='table table-bordered table-striped table-condensed'> <tbody> {% for weekday in grouped_periods ...
fccf3df85eb79ea7f270e454f5bb9eda162985f9
test_api_project/test_api_project/autocomplete_light_registry.py
test_api_project/test_api_project/autocomplete_light_registry.py
import autocomplete_light from cities_light.contrib.autocomplete_light_restframework import RemoteCountryChannel, RemoteCityChannel from cities_light.models import City, Country class RemoteCountryChannel(RemoteCountryChannel): source_url = 'http://localhost:8000/cities_light/country/' class RemoteCityChannel(Re...
import autocomplete_light from cities_light.contrib.autocomplete_light_restframework import RemoteCountryChannel, RemoteCityChannel from cities_light.models import City, Country autocomplete_light.register(Country, RemoteCountryChannel, source_url = 'http://localhost:8000/cities_light/country/') autocomplete_ligh...
Update example to match current register signature, avoids subclassing
Update example to match current register signature, avoids subclassing
Python
mit
jonashaag/django-autocomplete-light,Visgean/django-autocomplete-light,dsanders11/django-autocomplete-light,Eraldo/django-autocomplete-light,jonashaag/django-autocomplete-light,dsanders11/django-autocomplete-light,luzfcb/django-autocomplete-light,spookylukey/django-autocomplete-light,Eraldo/django-autocomplete-light,blu...
python
## Code Before: import autocomplete_light from cities_light.contrib.autocomplete_light_restframework import RemoteCountryChannel, RemoteCityChannel from cities_light.models import City, Country class RemoteCountryChannel(RemoteCountryChannel): source_url = 'http://localhost:8000/cities_light/country/' class Remo...
d697806b15a0bb6158146f545554d8aa6ffcadc9
src/powerman.c
src/powerman.c
/*! \file * \\brief This file is for later use for power management functions as we see fit for them. * May not even use at all. */ //test test
/*! \file * \\brief This file is for later use for power management functions as we see fit for them. * May not even use at all. */
Revert "added testing comment for testing!"
Revert "added testing comment for testing!" This reverts commit ffc29b89462973571224e523eaf0c69fef88b1f2.
C
bsd-2-clause
bplainia/galaxyLightingSystem,bplainia/galaxyLightingSystem,bplainia/galaxyLightingSystem,bplainia/galaxyLightingSystem,bplainia/galaxyLightingSystem
c
## Code Before: /*! \file * \\brief This file is for later use for power management functions as we see fit for them. * May not even use at all. */ //test test ## Instruction: Revert "added testing comment for testing!" This reverts commit ffc29b89462973571224e523eaf0c69fef88b1f2. ## Code After: /*! \file * \\b...
001764d723a52d94f6cb36d35eb154eec7f20c0f
doc/index.rst
doc/index.rst
Web Services Made Easy ====================== Introduction ------------ Web Service Made Easy (WSME) is a very easy way to implement webservices in your python web application. It is originally a rewrite of TGWebServices with focus on extensibility, framework-independance and better type handling. Main features ~~~~...
Web Services Made Easy ====================== Introduction ------------ Web Service Made Easy (WSME) is a very easy way to implement webservices in your python web application. It is originally a rewrite of TGWebServices with focus on extensibility, framework-independance and better type handling. Main features ~~~~...
Add links to the source code and issue tracker
Add links to the source code and issue tracker
reStructuredText
mit
stackforge/wsme
restructuredtext
## Code Before: Web Services Made Easy ====================== Introduction ------------ Web Service Made Easy (WSME) is a very easy way to implement webservices in your python web application. It is originally a rewrite of TGWebServices with focus on extensibility, framework-independance and better type handling. Ma...
999b297244a5e04f31b35163506532873fa7963a
src/io/CLocalizer.cpp
src/io/CLocalizer.cpp
/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2008 Sean Gillies * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesser General Public Licence as published * b...
/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2008 Sean Gillies * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesser General Public Licence as published * b...
Fix multithreading issue for MSVC caused by setlocale
Fix multithreading issue for MSVC caused by setlocale
C++
lgpl-2.1
libgeos/libgeos,mwtoews/libgeos,mwtoews/libgeos,mwtoews/libgeos,mwtoews/libgeos,libgeos/libgeos,libgeos/libgeos,mwtoews/libgeos,mwtoews/libgeos,libgeos/libgeos,libgeos/libgeos,mwtoews/libgeos
c++
## Code Before: /********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2008 Sean Gillies * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesser General Public Licence a...
4bf2cffb44e19236d74111ef01604dcfc03c42e7
src/Traits/HasAccountUser.php
src/Traits/HasAccountUser.php
<?php namespace Edbizarro\LaravelFacebookAds\Traits; use FacebookAds\Object\AdAccountUser; trait HasAccountUser { /** * @param string|int $accountUserId * * @return AdAccountUser */ protected function accountUser($accountUserId = 'me'): AdAccountUser { return (new AdAccountUse...
<?php namespace Edbizarro\LaravelFacebookAds\Traits; use FacebookAds\Object\User; trait HasAccountUser { /** * @param string|int $accountUserId * * @return User */ protected function accountUser($accountUserId = 'me'): User { return (new User)->setId($accountUserId); } }
Change AccountUser to User to remove deprecation error
Change AccountUser to User to remove deprecation error
PHP
mit
edbizarro/laravel-facebook-ads
php
## Code Before: <?php namespace Edbizarro\LaravelFacebookAds\Traits; use FacebookAds\Object\AdAccountUser; trait HasAccountUser { /** * @param string|int $accountUserId * * @return AdAccountUser */ protected function accountUser($accountUserId = 'me'): AdAccountUser { return (...
f7a0e09a085d70a2e8bae57726dbdab0e1d798a1
config-core/src/main/config/dbRepository/oracle/pdc/006/create_index.sql
config-core/src/main/config/dbRepository/oracle/pdc/006/create_index.sql
CREATE INDEX IN_SB_Pdc_Axis_1 ON SB_Pdc_Axis(AxisType); CREATE INDEX IN_SB_Pdc_Utilization_1 ON SB_Pdc_Utilization(baseValue); CREATE INDEX IN_SB_Pdc_Utilization_2 ON SB_Pdc_Utilization(instanceId); create index IDX_PdcClassification_InstanceId on PdcClassification(instanceId); create index IDX_PdcClassificatio...
CREATE INDEX IN_SB_Pdc_Axis_1 ON SB_Pdc_Axis(AxisType); CREATE INDEX IN_SB_Pdc_Utilization_1 ON SB_Pdc_Utilization(baseValue); CREATE INDEX IN_SB_Pdc_Utilization_2 ON SB_Pdc_Utilization(instanceId); create index IDX_PdcClass_InstanceId on PdcClassification(instanceId); create index IDX_PdcClass_ContentId on Pdc...
Fix the too length of index name for the pdc tables with Oracle
Fix the too length of index name for the pdc tables with Oracle
SQL
agpl-3.0
SilverDav/Silverpeas-Core,SilverDav/Silverpeas-Core,CecileBONIN/Silverpeas-Core,NicolasEYSSERIC/Silverpeas-Core,SilverTeamWork/Silverpeas-Core,ebonnet/Silverpeas-Core,ebonnet/Silverpeas-Core,mmoqui/Silverpeas-Core,auroreallibe/Silverpeas-Core,auroreallibe/Silverpeas-Core,ebonnet/Silverpeas-Core,NicolasEYSSERIC/Silverpe...
sql
## Code Before: CREATE INDEX IN_SB_Pdc_Axis_1 ON SB_Pdc_Axis(AxisType); CREATE INDEX IN_SB_Pdc_Utilization_1 ON SB_Pdc_Utilization(baseValue); CREATE INDEX IN_SB_Pdc_Utilization_2 ON SB_Pdc_Utilization(instanceId); create index IDX_PdcClassification_InstanceId on PdcClassification(instanceId); create index IDX_PdcCla...
befcc5b0da862f9b78eb4173401fa5d6280bd39a
README.md
README.md
[![Codacy grade](https://img.shields.io/codacy/grade/3ef2fba658914b3ca3bc812cfc3dd935.svg)]() [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) > AMU RoboClub Notification and Club Intro Android App ![](https://s28.postimg.org/b0gbd3ll9/ic_web.png)...
[![CircleCI](https://img.shields.io/circleci/project/github/RoboClub-core/roboclub-amu.svg)](https://circleci.com/gh/RoboClub-core/roboclub-amu) [![Codacy grade](https://img.shields.io/codacy/grade/3ef2fba658914b3ca3bc812cfc3dd935.svg)]() [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://...
Add build status in ReadMe
chore: Add build status in ReadMe
Markdown
apache-2.0
open-roboclub/roboclub-amu,iamareebjamal/roboclub-amu
markdown
## Code Before: [![Codacy grade](https://img.shields.io/codacy/grade/3ef2fba658914b3ca3bc812cfc3dd935.svg)]() [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) > AMU RoboClub Notification and Club Intro Android App ![](https://s28.postimg.org/b0gbd...
fedfd44edd953dbf5069cf12695078297862959f
README.md
README.md
That code is an example of how we can share data between components and modules. The propose here is to use a share service that use two way data binding to change a data simultaneously. So, when it is done in a module, it will be reflected on others modules or componentes at the same time. The data share server patter...
That code is an example of how we can share data between components and modules. The propose here is to use a share service that use two way data binding to change a data simultaneously. So, when it is done in a module, it will be reflected on others modules or componentes at the same time. The data share server patter...
Add link to tutorial about code.
Add link to tutorial about code.
Markdown
mit
lucasb/angular-multicomponent,lucasb/angular-multicomponent
markdown
## Code Before: That code is an example of how we can share data between components and modules. The propose here is to use a share service that use two way data binding to change a data simultaneously. So, when it is done in a module, it will be reflected on others modules or componentes at the same time. The data sha...
a6b14d2f80355e556c466b52b518dc808c90c54a
polling_stations/settings/static_files.py
polling_stations/settings/static_files.py
from dc_theme.settings import get_pipeline_settings from dc_theme.settings import STATICFILES_FINDERS STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage' PIPELINE = get_pipeline_settings( extra_css=[ 'custom_css/style.scss', 'font-awesome/css/font-awesome.min.css', ], extra_js=[], ) PI...
from dc_theme.settings import get_pipeline_settings from dc_theme.settings import STATICFILES_FINDERS, STATICFILES_STORAGE PIPELINE = get_pipeline_settings( extra_css=[ 'custom_css/style.scss', 'font-awesome/css/font-awesome.min.css', ], extra_js=[], ) PIPELINE['STYLESHEETS']['map'] = { ...
Remove old pipeline and compressor settings
Remove old pipeline and compressor settings libsass has a compresssion mode that's enabled by default in the 0.3 dc base theme. This removes the need for uglifyjs
Python
bsd-3-clause
DemocracyClub/UK-Polling-Stations,DemocracyClub/UK-Polling-Stations,DemocracyClub/UK-Polling-Stations
python
## Code Before: from dc_theme.settings import get_pipeline_settings from dc_theme.settings import STATICFILES_FINDERS STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage' PIPELINE = get_pipeline_settings( extra_css=[ 'custom_css/style.scss', 'font-awesome/css/font-awesome.min.css', ], e...
6ea747689679605c90dc4fa109a6988ccc10ff48
application/tools/linux/xwalk_tizen_user.c
application/tools/linux/xwalk_tizen_user.c
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <unistd.h> #include <sys/types.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <errno.h> #include <pwd.h> int xwalk_tiz...
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <unistd.h> #include <sys/types.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <errno.h> #include <p...
Fix warning about missing strcmp() definition
[Application][Tools] Fix warning about missing strcmp() definition The #include <string.h> directive was missing.
C
bsd-3-clause
jondwillis/crosswalk,ZhengXinCN/crosswalk,fujunwei/crosswalk,leonhsl/crosswalk,heke123/crosswalk,PeterWangIntel/crosswalk,hgl888/crosswalk,pk-sam/crosswalk,chuan9/crosswalk,minggangw/crosswalk,Pluto-tv/crosswalk,xzhan96/crosswalk,jpike88/crosswalk,minggangw/crosswalk,dreamsxin/crosswalk,XiaosongWei/crosswalk,baleboy/cr...
c
## Code Before: // Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <unistd.h> #include <sys/types.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <errno.h> #include <pwd.h...
9d3c23f46d38b80e0c5fefbff81dd5e06e78ba28
app/assets/stylesheets/views/_simple-smart-answer.scss
app/assets/stylesheets/views/_simple-smart-answer.scss
.step { .next-question { button { font-size: 19px; line-height: 1.25; } } }
.step { .next-question { button { font-size: 19px; line-height: 1.25; } } } .start-again { background: govuk-colour("white"); height: 2.5em; position: absolute; right: 0; text-align: center; top: -2.5em; width: 11em; .govuk-link { display: inline; text-align: left; } ...
Edit 'start again' link focus state
Edit 'start again' link focus state - Updated start again link styles to be more consistent with updated focus state.
SCSS
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
scss
## Code Before: .step { .next-question { button { font-size: 19px; line-height: 1.25; } } } ## Instruction: Edit 'start again' link focus state - Updated start again link styles to be more consistent with updated focus state. ## Code After: .step { .next-question { button { fo...
da71269eb0b4133896e32890744550f46cac173b
rman_config/config/rman_properties_volume.json
rman_config/config/rman_properties_volume.json
{ "name": "rman_properties_volume", "params": [ { "panel": "VOLUME_PT_renderman_openvdb_attributes", "name": "openvdb_filterwidth", "label": "Filter Width", "type": "float", "editable": true, "default": 0.0, "page": "", ...
{ "name": "rman_properties_volume", "params": [ { "panel": "VOLUME_PT_renderman_openvdb_attributes", "name": "openvdb_filterwidth", "label": "Filter Width", "type": "float", "editable": true, "default": 0.0, "page": "", ...
Add tooltips for the new JSON openvdb attrs.
Add tooltips for the new JSON openvdb attrs.
JSON
mit
prman-pixar/RenderManForBlender,prman-pixar/RenderManForBlender
json
## Code Before: { "name": "rman_properties_volume", "params": [ { "panel": "VOLUME_PT_renderman_openvdb_attributes", "name": "openvdb_filterwidth", "label": "Filter Width", "type": "float", "editable": true, "default": 0.0, ...
daf4bda805649b9b4000d649f4729effaffad25e
test/e2e/tests/billing/testPlanUsage.js
test/e2e/tests/billing/testPlanUsage.js
import instances from '../../tempInstances'; import { addTestNamePrefixes } from '../../utils'; import _ from 'lodash'; export default addTestNamePrefixes({ tags: ['planUsage'], beforeEach: (client) => { const { account_key: accountKey } = instances.account; client .loginUsingLocalStorage(accountKey...
import instances from '../../tempInstances'; import { addTestNamePrefixes } from '../../utils'; import _ from 'lodash'; export default addTestNamePrefixes({ tags: ['planUsage'], beforeEach: (client) => { const { account_key: accountKey } = instances.account; client .loginUsingLocalStorage(accountKey...
Fix randomly failing plan usage e2e tests
[DASH-2334] Fix randomly failing plan usage e2e tests
JavaScript
mit
Syncano/syncano-dashboard,Syncano/syncano-dashboard,Syncano/syncano-dashboard
javascript
## Code Before: import instances from '../../tempInstances'; import { addTestNamePrefixes } from '../../utils'; import _ from 'lodash'; export default addTestNamePrefixes({ tags: ['planUsage'], beforeEach: (client) => { const { account_key: accountKey } = instances.account; client .loginUsingLocalSt...
9c56446f727c6bffa278b62d48062ee558b20088
pakyow-core/lib/core/middleware/router.rb
pakyow-core/lib/core/middleware/router.rb
module Pakyow module Middleware class Router def initialize(app) @app = app end def call(env) catch(:halt) { Pakyow.app.router.route!(Pakyow.app.request) @app.call(env) } rescue StandardError => error Pakyow.app.request.error = error ...
module Pakyow module Middleware class Router def initialize(app) @app = app end def call(env) catch(:halt) { Pakyow.app.router.route!(Pakyow.app.request) @app.call(env) } rescue StandardError => error Pakyow.app.request.error = error ...
Set mime type when displaying errors in browser
Set mime type when displaying errors in browser Present content for 500 handler
Ruby
mit
jphager2/pakyow,karimmtarek/pakyow,karimmtarek/pakyow,jenalgit/pakyow,rjclardy/pakyow,jphager2/pakyow,jphager2/pakyow,karimmtarek/pakyow,jenalgit/pakyow,rjclardy/pakyow
ruby
## Code Before: module Pakyow module Middleware class Router def initialize(app) @app = app end def call(env) catch(:halt) { Pakyow.app.router.route!(Pakyow.app.request) @app.call(env) } rescue StandardError => error Pakyow.app.request.e...
86f26a04eed58b651bbf6912d2f4400934adc333
concourse/scripts/self-update-pipeline.sh
concourse/scripts/self-update-pipeline.sh
set -u set -e if [ ! -d "./paas-cf" ]; then echo "Resource paas-cf must be checkout" exit 1 fi if [ "${SELF_UPDATE_PIPELINE}" != "true" ]; then echo "Self update pipeline is disabled. Skipping. (set SELF_UPDATE_PIPELINE=true to enable)" else echo "Self update pipeline is enabled. Updating. (set SELF_UPDATE_P...
AWS_ACCOUNT=${AWS_ACCOUNT:-$MAKEFILE_ENV_TARGET} set -u set -e if [ ! -d "./paas-cf" ]; then echo "Resource paas-cf must be checkout" exit 1 fi if [ "${SELF_UPDATE_PIPELINE}" != "true" ]; then echo "Self update pipeline is disabled. Skipping. (set SELF_UPDATE_PIPELINE=true to enable)" else echo "Self update ...
Fix self-update pipelines MAKEFILE_ENV_TARGET removal
Fix self-update pipelines MAKEFILE_ENV_TARGET removal We removed MAKEFILE_ENV_TARGET and replaced it with AWS_ACCOUNT, but that one is only available _after_ successfull self update. Fix the script to take the old variable still.
Shell
mit
alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf
shell
## Code Before: set -u set -e if [ ! -d "./paas-cf" ]; then echo "Resource paas-cf must be checkout" exit 1 fi if [ "${SELF_UPDATE_PIPELINE}" != "true" ]; then echo "Self update pipeline is disabled. Skipping. (set SELF_UPDATE_PIPELINE=true to enable)" else echo "Self update pipeline is enabled. Updating. (s...
0aa44129d7f1bbd4b16980eef068fff777dcade4
.travis.yml
.travis.yml
sudo: false addons: apt: sources: - hvr-ghc packages: - cabal-install-1.22 - ghc-7.10.1 before_install: - export PATH=/opt/ghc/7.10.1/bin:/opt/cabal/1.22/bin:$PATH install: - travis_retry cabal update - cabal sandbox init --sandbox="`pwd`"/.cabal-sandbox - cabal install --only-dependencie...
sudo: false language: sh env: - HALCYON_GHC_VERSION=7.10.1 HALCYON_CABAL_VERSION=1.22.6.0 HALCYON_CACHE=$HOME/.halcyon-cache cache: directories: - $HOME/.halcyon-cache before_install: - git clone https://github.com/mietek/halcyon.git "$HOME/.halcyon" - export HALCYON_BASE="$HOME/.halcyon" install: - $H...
Use halcyon for haskell support on Travis-CI
Use halcyon for haskell support on Travis-CI
YAML
bsd-3-clause
avh4/elm-format,nukisman/elm-format-short,avh4/elm-format,nukisman/elm-format-short,nukisman/elm-format-short,nukisman/elm-format-short,nukisman/elm-format-short,avh4/elm-format,avh4/elm-format
yaml
## Code Before: sudo: false addons: apt: sources: - hvr-ghc packages: - cabal-install-1.22 - ghc-7.10.1 before_install: - export PATH=/opt/ghc/7.10.1/bin:/opt/cabal/1.22/bin:$PATH install: - travis_retry cabal update - cabal sandbox init --sandbox="`pwd`"/.cabal-sandbox - cabal install --...
d7d2221bc55dcb4685cb88fa3260d3e5ecdb9730
java/aliases.zsh
java/aliases.zsh
alias mvnci='mvn clean install' alias mvnd='mvn deploy' alias mvnp='mvn package' alias mvnc='mvn clean' alias mvncom='mvn compile' alias mvnt='mvn test' alias compile='mvn clean install -DskipTests=true' alias mtree='mvn dependency:tree'
alias mvnci='mvn clean install' alias mvnd='mvn deploy' alias mvnp='mvn package' alias mvnc='mvn clean' alias mvncom='mvn compile' alias mvnt='mvn test' alias compile='mvn clean install -DskipTests=true' alias mtree='mvn dependency:tree' alias mvnd='mvn dependency:resolve'
Add mvnd alias for mvn dependency:resolve
Add mvnd alias for mvn dependency:resolve
Shell
unknown
netalpha/dotfiles,marceldiass/dotfiles,netalpha/dotfiles,marceldiass/dotfiles
shell
## Code Before: alias mvnci='mvn clean install' alias mvnd='mvn deploy' alias mvnp='mvn package' alias mvnc='mvn clean' alias mvncom='mvn compile' alias mvnt='mvn test' alias compile='mvn clean install -DskipTests=true' alias mtree='mvn dependency:tree' ## Instruction: Add mvnd alias for mvn dependency:resolve ## C...
cbd79f308c798eaf8650e7412cf1479b5e377735
app/controllers/home_controller.rb
app/controllers/home_controller.rb
class HomeController < ApplicationController after_action :set_cache_control_headers def index @individuals = Membership.individual.named.active.order('random()').limit(3).pluck(:name) @companies = [ Membership.plan(:ruby).named.active.order(:created_at).pluck(:name, :url), Membership.plan(:sap...
class HomeController < ApplicationController after_action :set_cache_control_headers def index @individuals = Membership.individual.named.active.order('random()').limit(3).pluck(:name) @companies = [ Membership.plan(:ruby).named.active.order(:created_at).pluck(:name, :url), Membership.plan(:sap...
Fix duplicate company names on homepage
Fix duplicate company names on homepage
Ruby
mit
rubytogether/rubytogether.org,rubytogether/rubytogether.org,rubytogether/rubytogether.org,rubytogether/rubytogether.org
ruby
## Code Before: class HomeController < ApplicationController after_action :set_cache_control_headers def index @individuals = Membership.individual.named.active.order('random()').limit(3).pluck(:name) @companies = [ Membership.plan(:ruby).named.active.order(:created_at).pluck(:name, :url), Memb...
d4184b07f99274ed86776be7cc13859f001566fc
resources/js/components/nova/TextMetric.vue
resources/js/components/nova/TextMetric.vue
<template> <loading-card :loading="loading" class="metric px-6 py-4 relative"> <div class="flex mb-4"> <h3 class="mr-3 text-base text-80 font-bold">{{ card.name }}</h3> </div> <p class="flex items-center text-4xl mb-4">{{ value }}</p> </loading-card> </template> <script> export default { p...
<template> <loading-card :loading="loading" class="metric px-6 py-4 relative"> <div class="flex mb-4"> <h3 class="mr-3 text-base text-80 font-bold">{{ card.name }}</h3> <select v-if="card.ranges.length > 0" @change="refresh" class="ml-auto min-w-24 h-6 text-xs no-appearance bg-40"> <option v-...
Support ranges on text metrics
Support ranges on text metrics
Vue
apache-2.0
RoboJackets/apiary,RoboJackets/apiary
vue
## Code Before: <template> <loading-card :loading="loading" class="metric px-6 py-4 relative"> <div class="flex mb-4"> <h3 class="mr-3 text-base text-80 font-bold">{{ card.name }}</h3> </div> <p class="flex items-center text-4xl mb-4">{{ value }}</p> </loading-card> </template> <script> expo...
f1be3f0920bbd270a5906364e77182b67ae4c354
rejected/__init__.py
rejected/__init__.py
__author__ = 'Gavin M. Roy <gavinmroy@gmail.com>' __since__ = "2009-09-10" __version__ = "3.7.0" from consumer import Consumer from consumer import PublishingConsumer from consumer import SmartConsumer from consumer import SmartPublishingConsumer from consumer import ConsumerException from consumer import MessageExcep...
__author__ = 'Gavin M. Roy <gavinmroy@gmail.com>' __since__ = "2009-09-10" __version__ = "3.7.0" import logging try: # not available in python 2.6 from logging import NullHandler except ImportError: class NullHandler(logging.Handler): def emit(self, record): pass # Add NullHandler to...
Include a NullHandler to avoid logging warnings
Include a NullHandler to avoid logging warnings
Python
bsd-3-clause
gmr/rejected,gmr/rejected
python
## Code Before: __author__ = 'Gavin M. Roy <gavinmroy@gmail.com>' __since__ = "2009-09-10" __version__ = "3.7.0" from consumer import Consumer from consumer import PublishingConsumer from consumer import SmartConsumer from consumer import SmartPublishingConsumer from consumer import ConsumerException from consumer imp...
e22a86be56e6f0d5b60bfead55dc15745ba05337
app/components/add-layer/style.scss
app/components/add-layer/style.scss
.add-layer-toggle>div { width: 42px; padding: 10px 0; border-radius: 21px; text-align: center; margin: auto; position: absolute; left: 50%; margin-top: -20px; cursor: pointer; z-index: 98; background: #FFF; color: #BBB; box-shadow: 0 0 5px -1px #333; font-size: 16...
.add-layer-toggle { border-bottom: 1px dashed #eee; } .add-layer-toggle>div { width: 42px; padding: 10px 0; border-radius: 21px; text-align: center; margin: auto; position: absolute; left: 50%; margin-top: -20px; cursor: pointer; z-index: 98; background: #FFF; color:...
Add bottom line to layer
Add bottom line to layer
SCSS
apache-2.0
Rytiggy/osfpages,caneruguz/osfpages,caneruguz/osfpages,Rytiggy/osfpages
scss
## Code Before: .add-layer-toggle>div { width: 42px; padding: 10px 0; border-radius: 21px; text-align: center; margin: auto; position: absolute; left: 50%; margin-top: -20px; cursor: pointer; z-index: 98; background: #FFF; color: #BBB; box-shadow: 0 0 5px -1px #333; ...
a53a6865183fc786ca643c804420bb7d487604f9
hardware/README.md
hardware/README.md
hardware ========
hardware ======== <p align="center"> <img src="IAQ_Shield_cropped.png"/> <br/> Image of the Indoor Air Quality shield. </p>
Add indoor air quality shield image
Add indoor air quality shield image
Markdown
mit
Rockvole/indoor-air-quality-dashboard,Rockvole/indoor-air-quality-dashboard,Rockvole/indoor-air-quality-dashboard,Rockvole/indoor-air-quality-dashboard,Rockvole/indoor-air-quality-dashboard
markdown
## Code Before: hardware ======== ## Instruction: Add indoor air quality shield image ## Code After: hardware ======== <p align="center"> <img src="IAQ_Shield_cropped.png"/> <br/> Image of the Indoor Air Quality shield. </p>
6bd513dabd325b093d1d2de68f699d0b521532be
scripts/ci_setup_clang.sh
scripts/ci_setup_clang.sh
VERSION=$1 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-${VERSION} main" apt update apt-get install -y clang-${VERSION} libc++-${VERSION}-dev libc++abi-${VERSION}-dev
VERSION=$1 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-${VERSION} main" apt update apt-get install -y clang-${VERSION} libc++-${VERSION}-dev libc++abi-${VERSION}-dev if [[ ${VERSION} -ge 12 ]]; then apt-get inst...
Install libunwind-dev on clang-12 (or later).
Install libunwind-dev on clang-12 (or later).
Shell
bsd-2-clause
offa/seasocks,mattgodbolt/seasocks,mattgodbolt/seasocks,offa/seasocks,offa/seasocks,offa/seasocks,mattgodbolt/seasocks,mattgodbolt/seasocks,mattgodbolt/seasocks,mattgodbolt/seasocks,offa/seasocks,offa/seasocks
shell
## Code Before: VERSION=$1 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-${VERSION} main" apt update apt-get install -y clang-${VERSION} libc++-${VERSION}-dev libc++abi-${VERSION}-dev ## Instruction: Install libunwind...
976aed3d7a14c176e369ceb600baf61260daeed2
packages/shared/lib/api/logs.js
packages/shared/lib/api/logs.js
export const queryLogs = ({ Page, PageSize } = {}) => ({ method: 'get', url: 'logs/auth', params: { Page, PageSize } }); export const clearLogs = () => ({ method: 'delete', url: 'logs/auth' });
export const queryLogs = (params) => ({ method: 'get', url: 'logs/auth', params }); export const clearLogs = () => ({ method: 'delete', url: 'logs/auth' });
Allow queryLogs to be without params
Allow queryLogs to be without params
JavaScript
mit
ProtonMail/WebClient,ProtonMail/WebClient,ProtonMail/WebClient
javascript
## Code Before: export const queryLogs = ({ Page, PageSize } = {}) => ({ method: 'get', url: 'logs/auth', params: { Page, PageSize } }); export const clearLogs = () => ({ method: 'delete', url: 'logs/auth' }); ## Instruction: Allow queryLogs to be without params ## Code After: export const queryL...
1e4e8a3ba9f4bb3a5e42378aef07799291d7dc3b
app/controllers/dashboard_controller.rb
app/controllers/dashboard_controller.rb
class DashboardController < ApplicationController def index @current_account = current_account @entries = current_entries mount_entries_lists mount_totalizers end private def current_entries begin_date = Date.today.beginning_of_month end_date = Date.today.end_of_month @current_acco...
class DashboardController < ApplicationController def index @current_account = current_account @entries = account_entries(@current_account) mount_entries_lists(@entries) mount_totalizers top_categories_entries(@current_account, @entries) end def top_categories_entries account, entries @...
Update dashboard controller to load chart data
Update dashboard controller to load chart data
Ruby
mit
samuelreichert/projII,samuelreichert/projII,samuelreichert/projII
ruby
## Code Before: class DashboardController < ApplicationController def index @current_account = current_account @entries = current_entries mount_entries_lists mount_totalizers end private def current_entries begin_date = Date.today.beginning_of_month end_date = Date.today.end_of_month ...
91a218dc3313f0926f406eb1e37b8bf63010bfd1
lib/haml_coffee_assets/action_view/template_handler.rb
lib/haml_coffee_assets/action_view/template_handler.rb
module HamlCoffeeAssets module ActionView module TemplateHandler def self.call(template) <<-RUBY jst = ::HamlCoffeeAssets::Compiler.compile("", #{template.source.inspect}, false) context = ExecJS.compile("var window = {}, jst = \#{jst} #{hamlcoffee_source}") context.eva...
module HamlCoffeeAssets module ActionView module TemplateHandler def self.call(template) <<-RUBY jst = ::HamlCoffeeAssets::Compiler.compile("", #{template.source.inspect}, false) context = ExecJS.compile(%{var window = {}, jst = \#{jst}} + ::HamlCoffeeAssets.helpers) co...
Include the real hamlc helpers when evaluating server-side templates.
Include the real hamlc helpers when evaluating server-side templates.
Ruby
mit
ipmobiletech/haml_coffee_assets,xronos-i-am/haml_coffee_assets,nfm/haml_coffee_assets,emilioforrer/haml_coffee_assets,dlandau/haml_coffee_assets,dlandau/haml_coffee_assets,Sija/haml_coffee_assets,omadahealth/haml_coffee_assets,Verba/haml_coffee_assets,xronos-i-am/haml_coffee_assets,jcouyang/haml_coffee_assets,netzpirat...
ruby
## Code Before: module HamlCoffeeAssets module ActionView module TemplateHandler def self.call(template) <<-RUBY jst = ::HamlCoffeeAssets::Compiler.compile("", #{template.source.inspect}, false) context = ExecJS.compile("var window = {}, jst = \#{jst} #{hamlcoffee_source}") ...
e5de73619399277b0d1cc45193c611f8ef007cf4
app/_reducers/PortfolioReducers.js
app/_reducers/PortfolioReducers.js
import { Map, fromJS } from 'immutable'; import { SERVER_DATA_PORTFOLIO, SERVER_DATA_PROPOSAL_OPEN_CONTRACT, DETAILS_FOR_CONTRACT, } from '../_constants/ActionTypes'; const initialState = new Map({ detailsShown: false, contractShown: undefined, contracts: [], }); export default (state = initi...
import { Map, fromJS } from 'immutable'; import { SERVER_DATA_PORTFOLIO, SERVER_DATA_PROPOSAL_OPEN_CONTRACT, DETAILS_FOR_CONTRACT, } from '../_constants/ActionTypes'; const initialState = new Map({ detailsShown: false, contractShown: undefined, contracts: [], }); export default (state = initi...
Handle incoming contract proposal updates
Handle incoming contract proposal updates
JavaScript
mit
nuruddeensalihu/binary-next-gen,nuruddeensalihu/binary-next-gen,qingweibinary/binary-next-gen,qingweibinary/binary-next-gen,nazaninreihani/binary-next-gen,nazaninreihani/binary-next-gen,qingweibinary/binary-next-gen,binary-com/binary-next-gen,nazaninreihani/binary-next-gen,nuruddeensalihu/binary-next-gen,binary-com/bin...
javascript
## Code Before: import { Map, fromJS } from 'immutable'; import { SERVER_DATA_PORTFOLIO, SERVER_DATA_PROPOSAL_OPEN_CONTRACT, DETAILS_FOR_CONTRACT, } from '../_constants/ActionTypes'; const initialState = new Map({ detailsShown: false, contractShown: undefined, contracts: [], }); export defaul...
d3006931ec68b97e671866950af48a9c6de8970c
pos_test.go
pos_test.go
package parse import ( "bytes" "io" "testing" "github.com/tdewolff/test" ) func TestPosition(t *testing.T) { var newlineTests = []struct { pos int s string line int col int err error }{ {0, "x", 1, 1, nil}, {1, "xx", 1, 2, nil}, {2, "x\nx", 2, 1, nil}, {2, "\n\nx", 3, 1, nil}, {3, "\n...
package parse import ( "bytes" "io" "testing" "github.com/tdewolff/test" ) func TestPosition(t *testing.T) { var newlineTests = []struct { pos int s string line int col int err error }{ {0, "x", 1, 1, nil}, {1, "xx", 1, 2, nil}, {2, "x\nx", 2, 1, nil}, {2, "\n\nx", 3, 1, nil}, {3, "\n...
Update position test to use test.V
Update position test to use test.V
Go
mit
tdewolff/parse
go
## Code Before: package parse import ( "bytes" "io" "testing" "github.com/tdewolff/test" ) func TestPosition(t *testing.T) { var newlineTests = []struct { pos int s string line int col int err error }{ {0, "x", 1, 1, nil}, {1, "xx", 1, 2, nil}, {2, "x\nx", 2, 1, nil}, {2, "\n\nx", 3, 1,...
b8e69f1ddda1ba43b52512687f5185d0f5f7abb3
src/matcher/compound.js
src/matcher/compound.js
'use strict'; module.exports = function ($fs, matchers) { matchers = matchers.map(function (matcher) { return matcher($fs); }); return function (file, code) { var matches = []; matchers.forEach(function (matcher) { matches = matches.concat(matcher(file, code)); }); return matches; ...
'use strict'; module.exports = function ($fs, matchers) { matchers = matchers.map(function (matcher) { return matcher($fs); }); return function (file, code) { return matchers.reduce(function (arr, matcher) { return arr.concat(matcher(file, code)); }, []); }; };
Use reduce instead of forEach.
Use reduce instead of forEach.
JavaScript
mit
treshugart/galvatron
javascript
## Code Before: 'use strict'; module.exports = function ($fs, matchers) { matchers = matchers.map(function (matcher) { return matcher($fs); }); return function (file, code) { var matches = []; matchers.forEach(function (matcher) { matches = matches.concat(matcher(file, code)); }); re...
6557a6100bb01b3f7dd60d091f580cc8e7a5c370
source/main.js
source/main.js
/** * @license Angular UI Tree v2.10.0 * (c) 2010-2015. https://github.com/angular-ui-tree/angular-ui-tree * License: MIT */ (function () { 'use strict'; angular.module('ui.tree', []) .constant('treeConfig', { treeClass: 'angular-ui-tree', emptyTreeClass: 'angular-ui-tree-empty', hiddenCl...
/** * @license Angular UI Tree v2.10.0 * (c) 2010-2015. https://github.com/angular-ui-tree/angular-ui-tree * License: MIT */ (function () { 'use strict'; angular.module('ui.tree', []) .constant('treeConfig', { treeClass: 'angular-ui-tree', emptyTreeClass: 'angular-ui-tree-empty', hiddenCl...
Add 'defaultCollapsed' option to treeConfig
Add 'defaultCollapsed' option to treeConfig
JavaScript
mit
angular-ui-tree/angular-ui-tree,foglerek/angular-ui-tree,zachlysobey/angular-ui-tree
javascript
## Code Before: /** * @license Angular UI Tree v2.10.0 * (c) 2010-2015. https://github.com/angular-ui-tree/angular-ui-tree * License: MIT */ (function () { 'use strict'; angular.module('ui.tree', []) .constant('treeConfig', { treeClass: 'angular-ui-tree', emptyTreeClass: 'angular-ui-tree-empty'...
de2acc09a72eef33252c3dcc2fb0865d553dc990
gitgo/gitgo.go
gitgo/gitgo.go
package main import ( "bytes" "fmt" "io" "log" "os" "github.com/ChimeraCoder/gitgo" ) func main() { args := os.Args module := args[1] switch module { case "cat-file": hash := args[2] result, err := gitgo.CatFile(gitgo.SHA(hash)) if err != nil { log.Fatal(err) } io.Copy(os.Stdout, result) cas...
package main import ( "bytes" "fmt" "io" "log" "os" "github.com/ChimeraCoder/gitgo" ) func main() { args := os.Args module := args[1] switch module { case "cat-file": hash := args[2] result, err := gitgo.CatFile(gitgo.SHA(hash)) if err != nil { log.Fatal(err) } io.Copy(os.Stdout, result) cas...
Print error message when `git log` is not given a SHA
Print error message when `git log` is not given a SHA * This will be allowed after references are implemented
Go
apache-2.0
ChimeraCoder/gitgo,ChimeraCoder/gitgo,ChimeraCoder/gitgo
go
## Code Before: package main import ( "bytes" "fmt" "io" "log" "os" "github.com/ChimeraCoder/gitgo" ) func main() { args := os.Args module := args[1] switch module { case "cat-file": hash := args[2] result, err := gitgo.CatFile(gitgo.SHA(hash)) if err != nil { log.Fatal(err) } io.Copy(os.Stdou...
08a5e8a8ed006f675064ffa5f872fccd9c34cc11
nabl2.solver/src/main/java/mb/nabl2/spoofax/analysis/IResult.java
nabl2.solver/src/main/java/mb/nabl2/spoofax/analysis/IResult.java
package mb.nabl2.spoofax.analysis; import java.util.List; import java.util.Optional; import mb.nabl2.constraints.IConstraint; import mb.nabl2.solver.ISolution; import mb.nabl2.terms.ITerm; public interface IResult { boolean partial(); List<IConstraint> constraints(); ISolution solution(); Optiona...
package mb.nabl2.spoofax.analysis; import java.util.List; import java.util.Optional; import mb.nabl2.constraints.IConstraint; import mb.nabl2.solver.ISolution; import mb.nabl2.terms.ITerm; public interface IResult { boolean partial(); List<IConstraint> constraints(); ISolution solution(); IResult...
Add interface method to update solution.
Add interface method to update solution.
Java
apache-2.0
metaborg/nabl,metaborg/nabl,metaborg/nabl
java
## Code Before: package mb.nabl2.spoofax.analysis; import java.util.List; import java.util.Optional; import mb.nabl2.constraints.IConstraint; import mb.nabl2.solver.ISolution; import mb.nabl2.terms.ITerm; public interface IResult { boolean partial(); List<IConstraint> constraints(); ISolution solution...
60141413a5d2b4dcf42d88fd424cb77e527ff67e
bookish/views/sign-in-out.hbs
bookish/views/sign-in-out.hbs
<button id="save-content" type="button" class="btn disabled" data-placement="bottom" title="Save all changes"><i class="icon-save"></i> Save</button> {{#if id}} <form action="logout"> <button type="submit" id="sign-out" class="btn btn-link">Sign Out</button> <span class="name">[{{name}}]</span> </form> {{e...
<button id="save-content" type="button" class="btn disabled" data-placement="bottom" title="Save all changes"><i class="icon-save"></i> Save</button> {{#if id}} <!-- Set 'data-bypass' so we don't use the Backbone router to handle the link and instead go to the login page directly. --> <a href="logout" d...
Clean up sign-in/out a bit
Clean up sign-in/out a bit
Handlebars
agpl-3.0
oerpub/github-bookeditor,oerpub/bookish,oerpub/github-bookeditor,oerpub/github-bookeditor,oerpub/bookish
handlebars
## Code Before: <button id="save-content" type="button" class="btn disabled" data-placement="bottom" title="Save all changes"><i class="icon-save"></i> Save</button> {{#if id}} <form action="logout"> <button type="submit" id="sign-out" class="btn btn-link">Sign Out</button> <span class="name">[{{name}}]</spa...
fe67e8d8f00d64fb2de9728c157653d92aa8636a
sirius.go
sirius.go
package sirius import ( "golang.org/x/net/context" ) type Service struct { loader ExtensionLoader clients []Client } func NewService(l ExtensionLoader) *Service { return &Service{ loader: l, } } func (s *Service) Start(ctx context.Context, users []User) { for _, user := range users { cl := NewClient(&use...
package sirius import ( "golang.org/x/net/context" ) type Service struct { loader ExtensionLoader clients []Client } func NewService(l ExtensionLoader) *Service { return &Service{ loader: l, } } func (s *Service) Start(ctx context.Context, users []User) { for _, u := range users { u := u cl := NewClien...
Fix bug where user references would leak between clients
Fix bug where user references would leak between clients
Go
mit
kayex/sirius
go
## Code Before: package sirius import ( "golang.org/x/net/context" ) type Service struct { loader ExtensionLoader clients []Client } func NewService(l ExtensionLoader) *Service { return &Service{ loader: l, } } func (s *Service) Start(ctx context.Context, users []User) { for _, user := range users { cl :...
077a4fb5a3055d6d681bdd885bc58a3b3c0830aa
Classes/Model/VKVotable.h
Classes/Model/VKVotable.h
// // VKVotable.h // VoatKit // // Created by Amar Ramachandran on 6/26/15. // Copyright © 2015 AmarJayR. All rights reserved. // #import "VKCreated.h" typedef NS_ENUM(NSUInteger, VKVoteStatus) { VKVoteStatusUpvoted, VKVoteStatusDownvoted, VKVoteStatusNone }; @interface VKVotable : VKCreated /** Th...
// // VKVotable.h // VoatKit // // Created by Amar Ramachandran on 6/26/15. // Copyright © 2015 AmarJayR. All rights reserved. // #import "VKCreated.h" typedef NS_ENUM(NSUInteger, VKVoteStatus) { VKVoteStatusNone, VKVoteStatusUpvoted, VKVoteStatusDownvoted }; @interface VKVotable : VKCreated /** Th...
Change the default VKVoteStatus value to VKVoteStatusNone This is necessary because unvoted items don't send a "voteValue" field so the voteStatusJSONTransformer is never called
Change the default VKVoteStatus value to VKVoteStatusNone This is necessary because unvoted items don't send a "voteValue" field so the voteStatusJSONTransformer is never called
C
mit
nuudles/VoatKit,AmarJayR/VoatKit
c
## Code Before: // // VKVotable.h // VoatKit // // Created by Amar Ramachandran on 6/26/15. // Copyright © 2015 AmarJayR. All rights reserved. // #import "VKCreated.h" typedef NS_ENUM(NSUInteger, VKVoteStatus) { VKVoteStatusUpvoted, VKVoteStatusDownvoted, VKVoteStatusNone }; @interface VKVotable : VK...
e9f8505fc6d26f94ace5b6147496b062b3edbf7e
blueprints/gke_cluster/gke_cluster.json
blueprints/gke_cluster/gke_cluster.json
{ "any-group-can-deploy": true, "build-items": [ { "continue-on-failure": false, "deploy-seq": 1, "description": null, "execute-in-parallel": false, "id": "38", "name": "Create GKE Cluster", "run-on-scale-up": true, ...
{ "any-group-can-deploy": true, "build-items": [ { "continue-on-failure": false, "deploy-seq": 1, "description": null, "execute-in-parallel": false, "id": "38", "name": "Create GKE Cluster", "run-on-scale-up": true, ...
Adjust title and description on GKE blueprint
Adjust title and description on GKE blueprint [#153200879]
JSON
apache-2.0
CloudBoltSoftware/cloudbolt-forge,CloudBoltSoftware/cloudbolt-forge,CloudBoltSoftware/cloudbolt-forge,CloudBoltSoftware/cloudbolt-forge
json
## Code Before: { "any-group-can-deploy": true, "build-items": [ { "continue-on-failure": false, "deploy-seq": 1, "description": null, "execute-in-parallel": false, "id": "38", "name": "Create GKE Cluster", "run-on-scale...
2f0b08cf09990afbbc42980570d561e158be27d0
app/controllers/participating_schools_controller.rb
app/controllers/participating_schools_controller.rb
class ParticipatingSchoolsController < ApplicationController def index @schools = School .participating .includes(town: {municipality: :state}) .order('town_id, name') end def show @school = School.participating.find(params[:id]) end end
class ParticipatingSchoolsController < ApplicationController def index @schools = School.participating.with_location_info.order('town_id, name') end def show @school = School.participating.find(params[:id]) end end
Use the new School.with_location_info scope
Use the new School.with_location_info scope
Ruby
mit
mitio/futureiscode,mitio/futureiscode,mitio/futureiscode,mitio/futureiscode
ruby
## Code Before: class ParticipatingSchoolsController < ApplicationController def index @schools = School .participating .includes(town: {municipality: :state}) .order('town_id, name') end def show @school = School.participating.find(params[:id]) end end ## Instruction: Use the new Sc...
ce431d1f181f075a3e21024dc506392f3cdfba88
app/controllers/vacaciones_detalles_controller.php
app/controllers/vacaciones_detalles_controller.php
<?php /** * Este archivo contiene toda la logica de negocio asociada a los detalles de las vacaciones. * * PHP versions 5 * * @filesource * @copyright Copyright 2007-2009, Pragmatia * @link http://www.pragmatia.com * @package pragtico * @subpackage app.controllers * @since ...
<?php /** * Este archivo contiene toda la logica de negocio asociada a los detalles de las vacaciones. * * PHP versions 5 * * @filesource * @copyright Copyright 2007-2009, Pragmatia * @link http://www.pragmatia.com * @package pragtico * @subpackage app.controllers * @since ...
Add model to controller to avoid inflection error
Add model to controller to avoid inflection error
PHP
mit
HadoDokis/Pragtico,HadoDokis/Pragtico,HadoDokis/Pragtico
php
## Code Before: <?php /** * Este archivo contiene toda la logica de negocio asociada a los detalles de las vacaciones. * * PHP versions 5 * * @filesource * @copyright Copyright 2007-2009, Pragmatia * @link http://www.pragmatia.com * @package pragtico * @subpackage app.controllers ...
c012b7dc43ab102e06fa66324a015f137ed6ce14
alura/algoritmos/TestaOrdenacao.java
alura/algoritmos/TestaOrdenacao.java
public class TestaOrdenacao { public static void main(String[] args) { Produto produtos[] = { new Produto("Lamborghini", 1000000), new Produto("Jipe", 46000), new Produto("Brasília", 16000), new Produto("Smart", 46000), new Produto("Fusca", 17000) }; for(int atual = 0; atu...
public class TestaOrdenacao { public static void main(String[] args) { Produto produtos[] = { new Produto("Lamborghini", 1000000), new Produto("Jipe", 46000), new Produto("Brasília", 16000), new Produto("Smart", 46000), new Produto("Fusca", 17000) }; ordena(produtos, produ...
Insert new files, Alura, Projeto de Algoritmos 1, Aula 21
Insert new files, Alura, Projeto de Algoritmos 1, Aula 21
Java
mit
fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs
java
## Code Before: public class TestaOrdenacao { public static void main(String[] args) { Produto produtos[] = { new Produto("Lamborghini", 1000000), new Produto("Jipe", 46000), new Produto("Brasília", 16000), new Produto("Smart", 46000), new Produto("Fusca", 17000) }; for(in...
661bc252516e229e3f3769956b1b16c8d40a95eb
tests/execute/0110-typedefcast.c
tests/execute/0110-typedefcast.c
typedef int myint; myint x = (myint)1;
typedef int myint; myint x = (myint)1; int main(void) { return x-1; }
Fix test added in 6fe29dd
[tests] Fix test added in 6fe29dd Tests must have a main function which returns 0.
C
isc
k0gaMSX/scc,k0gaMSX/scc,k0gaMSX/scc
c
## Code Before: typedef int myint; myint x = (myint)1; ## Instruction: [tests] Fix test added in 6fe29dd Tests must have a main function which returns 0. ## Code After: typedef int myint; myint x = (myint)1; int main(void) { return x-1; }
6c38da4779d5a848195ea53534aaef7b15cf62f3
app.js
app.js
var console = require('better-console'); var bot = require('./bot'); var async = require('async'); console.info("Loading configuration..."); require('./config').init(function(config) { console.info("Loading plugins..."); var plugins = require('./plugins').init(config.get("plugins")); var supervisor = new...
var console = require('better-console'); var bot = require('./bot'); var async = require('async'); console.info("Loading configuration..."); require('./config').init(function(config) { console.info("Loading plugins..."); var plugins = require('./plugins').init(config.get("plugins")); var supervisor = new...
Use supervisor name from config
Use supervisor name from config
JavaScript
mit
FCoQ/dobby,thyrion/dobby,quibsorg/dobby
javascript
## Code Before: var console = require('better-console'); var bot = require('./bot'); var async = require('async'); console.info("Loading configuration..."); require('./config').init(function(config) { console.info("Loading plugins..."); var plugins = require('./plugins').init(config.get("plugins")); var ...
ab89f5d804fec9e7b93e03b42c0dde50514854eb
.jenkins.yaml
.jenkins.yaml
publish_over_ssh: - pypi.sunet.se upstream: - eduid-userdb slack: room: eduid-builds script: - "python3.7 -m venv venv" - ". venv/bin/activate" - "pip install -U setuptools wheel mypy" - "pip install --index-url https://pypi.sunet.se -r test_requirements.txt" - "make test" - "make typecheck" - "pyth...
publish_over_ssh: - pypi.sunet.se upstream: - eduid-userdb slack: room: eduid-builds pre_build_script: - "docker pull docker.sunet.se/library/etcd:v3.3.12" - "docker pull docker.sunet.se/eduid/redis:latest" - "docker pull docker.sunet.se/eduid/mongodb:latest" script: - "python3.7 -m venv venv" - ". venv...
Add docker pull to pre build script
Add docker pull to pre build script
YAML
bsd-3-clause
SUNET/eduid-common
yaml
## Code Before: publish_over_ssh: - pypi.sunet.se upstream: - eduid-userdb slack: room: eduid-builds script: - "python3.7 -m venv venv" - ". venv/bin/activate" - "pip install -U setuptools wheel mypy" - "pip install --index-url https://pypi.sunet.se -r test_requirements.txt" - "make test" - "make type...
5a977d4034502b3c0829e15b53b0890d3d09515a
lib/Target/SparcV9/SparcV9StackSlots.cpp
lib/Target/SparcV9/SparcV9StackSlots.cpp
//===- StackSlots.cpp - Specialize LLVM code for target machine ---------===// // // This pass adds 2 empty slots at the top of function stack. These two slots // are later used during code reoptimization for spilling the register values // when rewriting branches. // //===--------------------------------------------...
//===- StackSlots.cpp - Specialize LLVM code for target machine ---------===// // // This pass adds 2 empty slots at the top of function stack. These two slots // are later used during code reoptimization for spilling the register values // when rewriting branches. // //===--------------------------------------------...
Put class in anonymous namespace
Put class in anonymous namespace git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@5197 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,dslab-epfl/asap,apple/swift-llvm,chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOp...
c++
## Code Before: //===- StackSlots.cpp - Specialize LLVM code for target machine ---------===// // // This pass adds 2 empty slots at the top of function stack. These two slots // are later used during code reoptimization for spilling the register values // when rewriting branches. // //===----------------------------...
b433274ab3f2e982a3114b19b470981911ce85a9
appveyor.yml
appveyor.yml
version: 2015.1.{build} install: - cinst stylecop platform: Any CPU configuration: Release build: project: Source/UsageStats.sln verbosity: minimal artifacts: - path: Output name: UsageStats-$(APPVEYOR_BUILD_VERSION) type: zip
version: 2015.1.{build} install: - cinst stylecop platform: Any CPU configuration: Release before_build: - nuget restore Source/UsageStats.sln build: project: Source/UsageStats.sln verbosity: minimal artifacts: - path: Output name: UsageStats-$(APPVEYOR_BUILD_VERSION) type: zi...
Add nuget restore build step
Add nuget restore build step
YAML
mit
objorke/UsageStats,UsageStats/UsageStats
yaml
## Code Before: version: 2015.1.{build} install: - cinst stylecop platform: Any CPU configuration: Release build: project: Source/UsageStats.sln verbosity: minimal artifacts: - path: Output name: UsageStats-$(APPVEYOR_BUILD_VERSION) type: zip ## Instruction: Add nuget restore build step ## Code A...
fc9d55db8e1c6bf32f1d4402470b7b497d57059c
src/main/resources/application.sql
src/main/resources/application.sql
CREATE DATABASE IF NOT EXISTS `application` USE `application`; DROP TABLE IF EXISTS `tbl_employee`; CREATE TABLE `tbl_employee` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `gender` varchar(255) NOT NULL, `birthdate` date DEFAULT NULL, `phone` varchar(255) DEFAULT NULL, `email` va...
CREATE DATABASE IF NOT EXISTS `application` USE `application`; DROP TABLE IF EXISTS `tbl_employee`; CREATE TABLE `tbl_employee` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `gender` varchar(255) NOT NULL, `birthdate` date DEFAULT NULL, `phone` varchar(255) DEFAULT NULL, `email` va...
Update table role for user
Update table role for user
SQL
apache-2.0
budioktaviyan/simple-cms
sql
## Code Before: CREATE DATABASE IF NOT EXISTS `application` USE `application`; DROP TABLE IF EXISTS `tbl_employee`; CREATE TABLE `tbl_employee` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `gender` varchar(255) NOT NULL, `birthdate` date DEFAULT NULL, `phone` varchar(255) DEFAULT NU...
7d934334b788bf1b160d1ae75aa92621f048cb86
templates/teams/_team_message.html
templates/teams/_team_message.html
{% load i18n teams_tags %} <div style="margin-top: 10px; padding-top: 10px; line-height: 18px; color: #666; font-style: italic; border-top: 1px solid #A2A2A2"> {% if team|is_team_member:user %} {% blocktrans %} You received this notification because you are a member of the <a href=...
{% load i18n teams_tags %} {% if team|is_team_member:user %} <div style="margin-top: 10px; padding-top: 10px; line-height: 18px; color: #666; font-style: italic; border-top: 1px solid #A2A2A2"> {% blocktrans %} You received this notification because you are a member of the <a href=...
Move spare-div in team-message for team-members
Move spare-div in team-message for team-members
HTML
agpl-3.0
ujdhesa/unisubs,ofer43211/unisubs,pculture/unisubs,ujdhesa/unisubs,ReachingOut/unisubs,eloquence/unisubs,ofer43211/unisubs,pculture/unisubs,ofer43211/unisubs,norayr/unisubs,norayr/unisubs,ReachingOut/unisubs,ujdhesa/unisubs,wevoice/wesub,ReachingOut/unisubs,eloquence/unisubs,eloquence/unisubs,pculture/unisubs,pculture/...
html
## Code Before: {% load i18n teams_tags %} <div style="margin-top: 10px; padding-top: 10px; line-height: 18px; color: #666; font-style: italic; border-top: 1px solid #A2A2A2"> {% if team|is_team_member:user %} {% blocktrans %} You received this notification because you are a member of the ...