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
94c8e82694546cd77dc956a4269448e504276969
src/background.js
src/background.js
/*global chrome, hwRules */ chrome.runtime.onInstalled.addListener(function(details) { // Install declarative content rules if (details.reason == 'update') { // Upgrade stored data to a new format when a new version is installed. // Delay installing the rules until the data is upgraded in case ...
/*global chrome, hwRules */ chrome.runtime.onInstalled.addListener(function(details) { // Install declarative content rules if (details.reason == 'update') { console.info('Upgrade detected, checking data format...'); // Upgrade stored data to a new format when a new version is installed. ...
Add some logging at install time
Add some logging at install time Otherwise, it's tough to know if this code executed.
JavaScript
mit
mmeisel/hashword,mmeisel/hashword
javascript
## Code Before: /*global chrome, hwRules */ chrome.runtime.onInstalled.addListener(function(details) { // Install declarative content rules if (details.reason == 'update') { // Upgrade stored data to a new format when a new version is installed. // Delay installing the rules until the data is u...
753c36a4f26f63d5a5684591b0c619e04cf08e0b
README.md
README.md
Hadoop Yarn dockerized ==== This is a set of scripts to create a full Hadoop Yarn cluster, each node inside a docker container. Quick start --- To create a 3 node YARN cluster, run: ``` bash <(curl -s https://raw.githubusercontent.com/gustavonalle/yarn-docker/master/cluster.sh) ``` Usage --- Run the script cluste...
Hadoop Yarn dockerized ==== This is a set of scripts to create a full Hadoop Yarn cluster, each node inside a docker container. Quick start --- To create a 3 node YARN cluster, run: ``` bash <(curl -s https://raw.githubusercontent.com/gustavonalle/yarn-docker/master/cluster.sh) ``` Usage --- Run the script cluste...
Update the URL of consoles
Update the URL of consoles
Markdown
apache-2.0
gustavonalle/yarn-docker
markdown
## Code Before: Hadoop Yarn dockerized ==== This is a set of scripts to create a full Hadoop Yarn cluster, each node inside a docker container. Quick start --- To create a 3 node YARN cluster, run: ``` bash <(curl -s https://raw.githubusercontent.com/gustavonalle/yarn-docker/master/cluster.sh) ``` Usage --- Run t...
ea2247fe90836e92067ce27e5b22cf8e7dc7bc1b
saleor/app/tasks.py
saleor/app/tasks.py
import logging from django.core.exceptions import ValidationError from requests import HTTPError, RequestException from .. import celeryconf from ..core import JobStatus from .installation_utils import install_app from .models import AppInstallation logger = logging.getLogger(__name__) @celeryconf.app.task def ins...
import logging from django.core.exceptions import ValidationError from requests import HTTPError, RequestException from .. import celeryconf from ..core import JobStatus from .installation_utils import install_app from .models import AppInstallation logger = logging.getLogger(__name__) @celeryconf.app.task def ins...
Add more context to install app msg
Add more context to install app msg
Python
bsd-3-clause
mociepka/saleor,mociepka/saleor,mociepka/saleor
python
## Code Before: import logging from django.core.exceptions import ValidationError from requests import HTTPError, RequestException from .. import celeryconf from ..core import JobStatus from .installation_utils import install_app from .models import AppInstallation logger = logging.getLogger(__name__) @celeryconf....
8c6ff33c8a034c2eecf5f2244811c86acf96120a
tools/apollo/list_organisms.py
tools/apollo/list_organisms.py
from __future__ import print_function import argparse import json from webapollo import AssertUser, WAAuth, WebApolloInstance, accessible_organisms, PasswordGenerator if __name__ == '__main__': parser = argparse.ArgumentParser(description='List all organisms available in an Apollo instance') WAAuth(parser) ...
from __future__ import print_function import argparse import json from webapollo import AssertUser, WAAuth, WebApolloInstance, accessible_organisms, PasswordGenerator if __name__ == '__main__': parser = argparse.ArgumentParser(description='List all organisms available in an Apollo instance') WAAuth(parser) ...
Add try-catch if no organism allowed
Add try-catch if no organism allowed
Python
mit
galaxy-genome-annotation/galaxy-tools,galaxy-genome-annotation/galaxy-tools
python
## Code Before: from __future__ import print_function import argparse import json from webapollo import AssertUser, WAAuth, WebApolloInstance, accessible_organisms, PasswordGenerator if __name__ == '__main__': parser = argparse.ArgumentParser(description='List all organisms available in an Apollo instance') ...
1a2c272af6ba2f95d0c55e65acff7c800a628652
test/phpSmug/Tests/PsrComplianceTest.php
test/phpSmug/Tests/PsrComplianceTest.php
<?php namespace phpSmug\Tests; /** * @class * Test properties of our codebase rather than the actual code. */ class PsrComplianceTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function testPSR() { // If we can't find the command-line tool, we mark the test as skipped...
<?php namespace phpSmug\Tests; /** * @class * Test properties of our codebase rather than the actual code. */ class PsrComplianceTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function testPSR() { // If we can't find the command-line tool, we mark the test as skipped...
Improve PSR test to produce useful output
Improve PSR test to produce useful output
PHP
mit
lildude/phpSmug
php
## Code Before: <?php namespace phpSmug\Tests; /** * @class * Test properties of our codebase rather than the actual code. */ class PsrComplianceTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function testPSR() { // If we can't find the command-line tool, we mark the...
5d36d858226b659db2e28b6050b583d91922ab1c
app/views/matches/_form.html.erb
app/views/matches/_form.html.erb
<%= form_for(@match) do |f| %> <% if @match.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@match.errors.count, "error") %> prohibited this match from being saved:</h2> <ul> <% @match.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> ...
<%= form_for(@match) do |f| %> <% if @match.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@match.errors.count, "error") %> prohibited this match from being saved:</h2> <ul> <% @match.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> ...
Add toggle to make match public
Add toggle to make match public
HTML+ERB
mit
TotalVerb/game,TotalVerb/game,TotalVerb/game,TechRetreat/game,TechRetreat/game,TechRetreat/game
html+erb
## Code Before: <%= form_for(@match) do |f| %> <% if @match.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@match.errors.count, "error") %> prohibited this match from being saved:</h2> <ul> <% @match.errors.full_messages.each do |message| %> <li><%= message %></li> ...
a7a313470e0d5c0800c78b0edca8d93993a2881f
init-extension/init-solarized-theme.el
init-extension/init-solarized-theme.el
(require 'solarized) (deftheme solarized-dark "The dark variant of the Solarized colour theme") (create-solarized-theme 'dark 'solarized-dark) (provide-theme 'solarized-dark) (deftheme solarized-light "The light variant of the Solarized colour theme") (create-solarized-theme 'light 'solarized-light) (provide-theme 's...
(require 'solarized) (deftheme solarized-dark "The dark variant of the Solarized colour theme") (create-solarized-theme 'dark 'solarized-dark) (provide-theme 'solarized-dark) (deftheme solarized-light "The light variant of the Solarized colour theme") (create-solarized-theme 'light 'solarized-light) (provide-theme 's...
Add theme support for AA593
Add theme support for AA593
Emacs Lisp
mit
tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs
emacs-lisp
## Code Before: (require 'solarized) (deftheme solarized-dark "The dark variant of the Solarized colour theme") (create-solarized-theme 'dark 'solarized-dark) (provide-theme 'solarized-dark) (deftheme solarized-light "The light variant of the Solarized colour theme") (create-solarized-theme 'light 'solarized-light) (...
3cc6b1726aa029d79f1b132c1e77f090d15a2d34
README.md
README.md
MCAC Landing Page ================= This is the temporary landing page for mcac.church until we have v1 up and running.
MCAC Landing Page ================= This is the temporary landing page for mcac.church until we have v1 up and running. To run a test server, run the following command: ``` ruby -run -e httpd www -p 9090 ``` Now you can access the page at http://localhost:9090.
Add instructions to start developement server
Add instructions to start developement server
Markdown
mit
openmcac/landing
markdown
## Code Before: MCAC Landing Page ================= This is the temporary landing page for mcac.church until we have v1 up and running. ## Instruction: Add instructions to start developement server ## Code After: MCAC Landing Page ================= This is the temporary landing page for mcac.church until we have v1...
1cf5bc51b42c8b5f521cbb41f3e414ad9879896b
lib/index.coffee
lib/index.coffee
class EyeTribe @Tracker = require('./tracker') @version = require('./version') @loop = (config, callback)-> if typeof config == 'function' [callback, config] = [config, {}] @loopTracker = new @Tracker config .loop callback module.exports = EyeTribe
class EyeTribe @Tracker = require('./tracker') @version = require('./version') @Protocol = require('./protocol') @GazeData = require('./gazedata') @Point2D = require('./point2d') @_ = require('underscore') @loop = (config, callback)-> if typeof config == 'function' [callback, config] = [config,...
Add references to internal modules as member variables of class EyeTribe
Add references to internal modules as member variables of class EyeTribe
CoffeeScript
mit
kzokm/eyetribe-websocket
coffeescript
## Code Before: class EyeTribe @Tracker = require('./tracker') @version = require('./version') @loop = (config, callback)-> if typeof config == 'function' [callback, config] = [config, {}] @loopTracker = new @Tracker config .loop callback module.exports = EyeTribe ## Instruction: Add refere...
3c841a6e1c6ef0808a09eb8a57b7067d7a17b8b9
README.md
README.md
gps-distance ============ [![NPM](https://nodei.co/npm/gps-distance.png)](https://nodei.co/npm/gps-distance/) A node module for performing distance calculations between GPS coordinates Example ------- ```javascript var distance = require('gps-distance'); // Between two points: var result = distance(45.527517, -...
gps-distance ============ [![NPM](https://nodei.co/npm/gps-distance.png)](https://nodei.co/npm/gps-distance/) A node module for performing distance calculations between GPS coordinates Examples ======== `gps-distance` supports two syntaxes for convenience. You can measure just between two points and supply in your ...
Update readme with clearer labeling of examples
Update readme with clearer labeling of examples
Markdown
bsd-2-clause
Maciek416/gps-distance
markdown
## Code Before: gps-distance ============ [![NPM](https://nodei.co/npm/gps-distance.png)](https://nodei.co/npm/gps-distance/) A node module for performing distance calculations between GPS coordinates Example ------- ```javascript var distance = require('gps-distance'); // Between two points: var result = dista...
13866af8073a35c3731a208af662422788d53b19
telegramcalendar.py
telegramcalendar.py
from telebot import types import calendar def create_calendar(year,month): markup = types.InlineKeyboardMarkup() #First row - Month and Year row=[] row.append(types.InlineKeyboardButton(calendar.month_name[month]+" "+str(year),callback_data="ignore")) markup.row(*row) #Second row - Week Days ...
from telebot import types import calendar def create_calendar(year,month): markup = types.InlineKeyboardMarkup() #First row - Month and Year row=[] row.append(types.InlineKeyboardButton(calendar.month_name[month]+" "+str(year),callback_data="ignore")) markup.row(*row) my_calendar = calendar.m...
Remove day of the week row
Remove day of the week row
Python
mit
myxo/remu,myxo/remu,myxo/remu
python
## Code Before: from telebot import types import calendar def create_calendar(year,month): markup = types.InlineKeyboardMarkup() #First row - Month and Year row=[] row.append(types.InlineKeyboardButton(calendar.month_name[month]+" "+str(year),callback_data="ignore")) markup.row(*row) #Second r...
8654aadc9c675642c78e0d8e52f8b5e3cc28d242
tasks/main.yml
tasks/main.yml
--- # See https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories - name: Ensure script to install NodeSource Node.js 0.12 repo has been executed shell: > curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - creates=/etc/apt/sources.list.d/nodesource.list sudo: yes - nam...
--- # See https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories - name: Ensure script to install NodeSource Node.js 0.12 repo has been executed shell: > curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - creates=/etc/apt/sources.list.d/nodesource.list sudo: yes - nam...
Validate configuration file before copying it
Validate configuration file before copying it
YAML
mit
astorije/ansible-role-shout,astorije/ansible-lounge,astorije/ansible-role-shout
yaml
## Code Before: --- # See https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories - name: Ensure script to install NodeSource Node.js 0.12 repo has been executed shell: > curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - creates=/etc/apt/sources.list.d/nodesource.list ...
7c3a06bfb34e591ca0f7324eaa11b8e1401794e4
setup.cfg
setup.cfg
[bdist_wheel] universal=1 [pytest] pep8maxlinelength = 104 norecursedirs = build docs .tox mccabe-complexity = 8 [coverage:run] branch = True [zest.releaser] create-wheel = yes
[bdist_wheel] universal=1 [pytest] pep8maxlinelength = 104 norecursedirs = build docs .tox mccabe-complexity = *.py 8 selfcheck.py 12 [coverage:run] branch = True [zest.releaser] create-wheel = yes
Clean up api.py and advertise it in the README.
Clean up api.py and advertise it in the README.
INI
apache-2.0
bopen/elevation
ini
## Code Before: [bdist_wheel] universal=1 [pytest] pep8maxlinelength = 104 norecursedirs = build docs .tox mccabe-complexity = 8 [coverage:run] branch = True [zest.releaser] create-wheel = yes ## Instruction: Clean up api.py and advertise it in the README. ## Code After: [bdist_wheel] universal=1 [pyt...
90ade823700da61824c113759f847bf08823c148
nova/objects/__init__.py
nova/objects/__init__.py
def register_all(): # NOTE(danms): You must make sure your object gets imported in this # function in order for it to be registered by services that may # need to receive it via RPC. __import__('nova.objects.dns_domain') __import__('nova.objects.instance') __import__('nova.objects.instance_inf...
def register_all(): # NOTE(danms): You must make sure your object gets imported in this # function in order for it to be registered by services that may # need to receive it via RPC. __import__('nova.objects.dns_domain') __import__('nova.objects.instance') __import__('nova.objects.instance_inf...
Add security_group_rule to objects registry
Add security_group_rule to objects registry This adds the security_group_rule module to the objects registry, which allows a service to make sure that all of its objects are registered before any could be received over RPC. We don't really have a test for any of these because of the nature of how they're imported. Re...
Python
apache-2.0
citrix-openstack-build/oslo.versionedobjects,openstack/oslo.versionedobjects
python
## Code Before: def register_all(): # NOTE(danms): You must make sure your object gets imported in this # function in order for it to be registered by services that may # need to receive it via RPC. __import__('nova.objects.dns_domain') __import__('nova.objects.instance') __import__('nova.obje...
032a222c1d3c8067279f66687ffb0ac257b28aa7
provisioning/docker/eclipse-mosquitto/docker-entrypoint.sh
provisioning/docker/eclipse-mosquitto/docker-entrypoint.sh
set -e IOT_CORE_PROJECT_ID="${1}" && shift IOT_CORE_CREDENTIALS_VALIDITY="${1}" && shift IOT_CORE_DEVICE_ID="${1}" && shift IOT_CORE_DEVICE_NAME="${1}" && shift COMMAND_PATH="${1}" && shift echo "Generating JWT valid for ${IOT_CORE_PROJECT_ID} project and duration ${IOT_CORE_CREDENTIALS_VALIDITY} seconds from now......
set -e IOT_CORE_PROJECT_ID="${1}" && shift IOT_CORE_CREDENTIALS_VALIDITY="${1}" && shift IOT_CORE_DEVICE_ID="${1}" && shift IOT_CORE_DEVICE_NAME="${1}" && shift COMMAND_PATH="${1}" && shift echo "Copying mosquitto configuration files where expected..." MOSQUITTO_PUB_SUB_CONFIG_DIRECTORY_PATH="${HOME}"/.config MOSQUI...
Initialize mosquitto_pub and mosquitto_sub configuration
Initialize mosquitto_pub and mosquitto_sub configuration
Shell
mit
ferrarimarco/home-lab,ferrarimarco/home-lab
shell
## Code Before: set -e IOT_CORE_PROJECT_ID="${1}" && shift IOT_CORE_CREDENTIALS_VALIDITY="${1}" && shift IOT_CORE_DEVICE_ID="${1}" && shift IOT_CORE_DEVICE_NAME="${1}" && shift COMMAND_PATH="${1}" && shift echo "Generating JWT valid for ${IOT_CORE_PROJECT_ID} project and duration ${IOT_CORE_CREDENTIALS_VALIDITY} sec...
32818df5e46c57d64e34c50bb34755e1747cab0e
lib/bane/service_maker.rb
lib/bane/service_maker.rb
module Bane class ServiceMaker def initialize @everything = {} Bane::Behaviors::EXPORTED.each { |behavior| @everything[behavior.unqualified_name] = BehaviorMaker.new(behavior) } Bane::Services::EXPORTED.each { |service| @everything[service.unqualified_name] = service } end def all_serv...
module Bane class ServiceMaker def initialize initialize_makeables end def all_service_names makeables.keys.sort end def create(service_names, starting_port, host) service_names .map { |service_name| makeables.fetch(service_name) { raise UnknownServiceError.new(service...
Rename instance var everything to makeables
Rename instance var everything to makeables
Ruby
bsd-2-clause
danielwellman/bane
ruby
## Code Before: module Bane class ServiceMaker def initialize @everything = {} Bane::Behaviors::EXPORTED.each { |behavior| @everything[behavior.unqualified_name] = BehaviorMaker.new(behavior) } Bane::Services::EXPORTED.each { |service| @everything[service.unqualified_name] = service } end ...
3c3759436d5b5d0af5d45b5cadabbd6a3ed193f2
src/cljs/hacker_agent/utils.cljs
src/cljs/hacker_agent/utils.cljs
(ns hacker-agent.utils) (defn dissoc-in [data path] (let [prefix (butlast path) key (last path)] (if prefix (update-in data prefix dissoc key) (dissoc data key)))) (defn log-clj [o] (.log js/console (clj->js o)))
(ns hacker-agent.utils) (defn dissoc-in [data path] (let [prefix (butlast path) key (last path)] (if prefix (update-in data prefix dissoc key) (dissoc data key)))) (defn log-clj [o] (.log js/console (clj->js o))) (defn domain [url] (let [re (new js/RegExp "^https?\\:\\/\\/(www\\.)?([^\\...
Add a domain extractor utility
Add a domain extractor utility
Clojure
epl-1.0
alvinfrancis/hacker-agent
clojure
## Code Before: (ns hacker-agent.utils) (defn dissoc-in [data path] (let [prefix (butlast path) key (last path)] (if prefix (update-in data prefix dissoc key) (dissoc data key)))) (defn log-clj [o] (.log js/console (clj->js o))) ## Instruction: Add a domain extractor utility ## Code After...
fecf5c1362d064472c11aa73ffd52c25f7ca7265
flask_boost/project/application/templates/macros/_form.html
flask_boost/project/application/templates/macros/_form.html
{% macro field_errors(field) %} <ul class="list-form-errors text-danger list-unstyled"> <li>{{ field.errors[0] }}</li> </ul> {% endmacro %} {% macro horizontal_field(field, length=6, label=True, static=False) %} <div class="form-group clearfix"> {% if label %} {{ field.label(class="col-m...
{% macro field_errors(field) %} <ul class="list-form-errors text-danger list-unstyled"> <li>{{ field.errors[0] }}</li> </ul> {% endmacro %} {% macro horizontal_field(field, length=6, label=True, static=False) %} <div class="form-group clearfix"> {% if label %} {{ field.label(class="col-m...
Add clearfix style to form-group.
Add clearfix style to form-group.
HTML
mit
1045347128/Flask-Boost,1045347128/Flask-Boost,hustlzp/Flask-Boost,1045347128/Flask-Boost,hustlzp/Flask-Boost,hustlzp/Flask-Boost,1045347128/Flask-Boost,hustlzp/Flask-Boost
html
## Code Before: {% macro field_errors(field) %} <ul class="list-form-errors text-danger list-unstyled"> <li>{{ field.errors[0] }}</li> </ul> {% endmacro %} {% macro horizontal_field(field, length=6, label=True, static=False) %} <div class="form-group clearfix"> {% if label %} {{ field.la...
fe442d84140b0a588c6a8490b58a10995df58f17
tests/optimizers/test_constant_optimizer.py
tests/optimizers/test_constant_optimizer.py
"""Test suite for optimizers.constant.""" from __future__ import division from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals import ast import pytest from pycc.asttools import parse from pycc.optimizers import constant source = """ ONE = 1 TWO = 2 T...
"""Test suite for optimizers.constant.""" from __future__ import division from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals import ast import pytest from pycc.asttools import parse from pycc.optimizers import constant source = """ ONE = 1 TWO = 2 T...
Fix test to use new optimizer interface
Fix test to use new optimizer interface Signed-off-by: Kevin Conway <3473c1f185ca03eadc40ad288d84425b54fd7d57@gmail.com>
Python
apache-2.0
kevinconway/pycc,kevinconway/pycc
python
## Code Before: """Test suite for optimizers.constant.""" from __future__ import division from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals import ast import pytest from pycc.asttools import parse from pycc.optimizers import constant source = """ O...
775cb748148bf5a426b01ab8ae4088f2d2e3fead
app/mutations/OrganizationInvitationCreate.js
app/mutations/OrganizationInvitationCreate.js
import Relay from 'react-relay'; import OrganizationMemberRoleConstants from '../constants/OrganizationMemberRoleConstants'; export default class OrganizationInvitationCreate extends Relay.Mutation { static fragments = { organization: () => Relay.QL` fragment on Organization { id } ` }...
import Relay from 'react-relay'; import OrganizationMemberRoleConstants from '../constants/OrganizationMemberRoleConstants'; export default class OrganizationInvitationCreate extends Relay.Mutation { static fragments = { organization: () => Relay.QL` fragment on Organization { id } ` }...
Add email to OrganizationInvitation query
Add email to OrganizationInvitation query
JavaScript
mit
buildkite/frontend,fotinakis/buildkite-frontend,fotinakis/buildkite-frontend,buildkite/frontend
javascript
## Code Before: import Relay from 'react-relay'; import OrganizationMemberRoleConstants from '../constants/OrganizationMemberRoleConstants'; export default class OrganizationInvitationCreate extends Relay.Mutation { static fragments = { organization: () => Relay.QL` fragment on Organization { id ...
7c253db94d410aceb9915618aebf075e3b26268b
package.json
package.json
{ "name": "fury", "description": "API Description SDK", "version": "0.2.0", "author": "Apiary.io <support@apiary.io>", "main": "./lib/fury", "repository": { "type": "git", "url": "git+ssh://git@github.com:apiaryio/fury.git" }, "engines": { "node": ">= 0.10.x" }, "scripts": { "test": ...
{ "name": "fury", "description": "API Description SDK", "version": "0.3.0", "author": "Apiary.io <support@apiary.io>", "main": "./lib/fury", "repository": { "type": "git", "url": "git+ssh://git@github.com:apiaryio/fury.git" }, "engines": { "node": ">= 0.10.x" }, "scripts": { "test": ...
Remove unused dependencies, prepare v0.3.0
Remove unused dependencies, prepare v0.3.0
JSON
mit
apiaryio/fury.js
json
## Code Before: { "name": "fury", "description": "API Description SDK", "version": "0.2.0", "author": "Apiary.io <support@apiary.io>", "main": "./lib/fury", "repository": { "type": "git", "url": "git+ssh://git@github.com:apiaryio/fury.git" }, "engines": { "node": ">= 0.10.x" }, "scripts"...
d2893bec1bbd34fa325d8a1c5b50e9bf7699cc9e
frontend/app/scripts/Router.coffee
frontend/app/scripts/Router.coffee
define [ "backbone" "sp-utils-middleware" "common" "view/page" "view/modal" ],( Backbone Middleware common Page Modal )-> showPage=(View,options={},callback)-> common.app.content.show View, options, callback class MiddlewareRouter extends Middleware auth:(async,args)-> async.reso...
define [ "backbone" "sp-utils-middleware" "common" "view/page" "view/modal" ],( Backbone Middleware common Page Modal )-> showPage=(View,options={},callback)-> common.app.content.show View, options, callback class MiddlewareRouter extends Middleware auth:(async,args)-> async.reso...
Fix add room route work
Fix add room route work
CoffeeScript
mit
jukebuzz/jb-backend,jukebuzz/jb-backend,jukebuzz/jb-frontend
coffeescript
## Code Before: define [ "backbone" "sp-utils-middleware" "common" "view/page" "view/modal" ],( Backbone Middleware common Page Modal )-> showPage=(View,options={},callback)-> common.app.content.show View, options, callback class MiddlewareRouter extends Middleware auth:(async,args)-> ...
358c47d8d6ee239cbc23b3983689bd4795a76992
metadata/com.tughi.aggregator.yml
metadata/com.tughi.aggregator.yml
Categories: - Reading License: GPL-3.0-only AuthorName: Ștefan Șelariu WebSite: https://tughi.github.io/aggregator-android/ SourceCode: https://github.com/tughi/aggregator-android IssueTracker: https://github.com/tughi/aggregator-android/issues AutoName: Aggregator RepoType: git Repo: https://github.com/tughi/aggre...
Categories: - Reading License: GPL-3.0-only AuthorName: Ștefan Șelariu WebSite: https://tughi.github.io/aggregator-android/ SourceCode: https://github.com/tughi/aggregator-android IssueTracker: https://github.com/tughi/aggregator-android/issues AutoName: Aggregator RepoType: git Repo: https://github.com/tughi/aggre...
Update Aggregator to Preview:032 (299032)
Update Aggregator to Preview:032 (299032)
YAML
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata
yaml
## Code Before: Categories: - Reading License: GPL-3.0-only AuthorName: Ștefan Șelariu WebSite: https://tughi.github.io/aggregator-android/ SourceCode: https://github.com/tughi/aggregator-android IssueTracker: https://github.com/tughi/aggregator-android/issues AutoName: Aggregator RepoType: git Repo: https://github...
39866edf5430c0be966e0bbc9abebf26bef4489e
roles/knime/tasks/plugins.yml
roles/knime/tasks/plugins.yml
--- - name: Copy knime plugin installer template: src=plugin_installer.sh.j2 dest=/usr/bin/knime_plugin_installer.sh mode=u+rx - name: Install RDKIT wizards integration command: /usr/bin/knime_plugin_installer.sh org.rdkit.knime.wizards.feature.feature.group args: creates: "{{ knime_root }}/org.rdkit.knime.wi...
--- - name: Copy knime plugin installer template: src=plugin_installer.sh.j2 dest=/usr/bin/knime_plugin_installer.sh mode=u+rx - name: Install RDKIT wizards integration command: /usr/bin/knime_plugin_installer.sh org.rdkit.knime.wizards.feature.feature.group args: creates: "{{ knime_root }}/org.rdkit.knime.wi...
Remove erlwood knime plugin because it is already part of the Knime distro.
Remove erlwood knime plugin because it is already part of the Knime distro. Removed Indigo knime plugin because it can not be found.
YAML
apache-2.0
3D-e-Chem/3D-e-Chem-VM
yaml
## Code Before: --- - name: Copy knime plugin installer template: src=plugin_installer.sh.j2 dest=/usr/bin/knime_plugin_installer.sh mode=u+rx - name: Install RDKIT wizards integration command: /usr/bin/knime_plugin_installer.sh org.rdkit.knime.wizards.feature.feature.group args: creates: "{{ knime_root }}/or...
b6c36a57def8fab9a7a63487b3e335c0f44c370c
src/scene/request-animation-frame.js
src/scene/request-animation-frame.js
let func if(typeof window === 'undefined') // for unit testing in Node func = (callback => setTimeout(callback, 1000 / 60)) else func = ( window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame ...
let func if(typeof window === 'undefined') // for unit testing in Node func = (callback => setTimeout(callback, 1000 / 60)) else { func = ( window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame ...
Fix for illegal invocation caused by Uglify
Fix for illegal invocation caused by Uglify
JavaScript
unknown
Flaise/skid,Flaise/esquire
javascript
## Code Before: let func if(typeof window === 'undefined') // for unit testing in Node func = (callback => setTimeout(callback, 1000 / 60)) else func = ( window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAn...
fdb7c400adb777cdc60cf034569d81e95797cc10
infupy/backends/common.py
infupy/backends/common.py
import sys from abc import ABCMeta, abstractmethod def printerr(msg, e=''): msg = "Backend: " + str(msg) print(msg.format(e), file=sys.stderr) class CommandError(Exception): def __str__(self): return "Command error: {}".format(self.args) class Syringe(metaclass=ABCMeta): _events = set() ...
import sys from abc import ABCMeta, abstractmethod def printerr(msg, e=''): msg = "Backend: " + str(msg) print(msg.format(e), file=sys.stderr) class CommandError(Exception): def __str__(self): return "Command error: {}".format(self.args) class Syringe(metaclass=ABCMeta): _events = set() ...
Make abstract methods raise not implemented
Make abstract methods raise not implemented
Python
isc
jaj42/infupy
python
## Code Before: import sys from abc import ABCMeta, abstractmethod def printerr(msg, e=''): msg = "Backend: " + str(msg) print(msg.format(e), file=sys.stderr) class CommandError(Exception): def __str__(self): return "Command error: {}".format(self.args) class Syringe(metaclass=ABCMeta): _even...
9b6079b7cbb504d9d0a7e1ce9d5176d7039e090f
README.md
README.md
datagen [![http://travis-ci.org/cliffano/datagen](https://secure.travis-ci.org/cliffano/datagen.png?branch=master)](http://travis-ci.org/cliffano/datagen) ----------- TODO Installation ------------ npm install -g datagen Usage ----- TODO Colophon -------- Follow [@cliffano](http://twitter.com/cliffano) on T...
DataGen [![http://travis-ci.org/cliffano/datagen](https://secure.travis-ci.org/cliffano/datagen.png?branch=master)](http://travis-ci.org/cliffano/datagen) ----------- Multi-process data file generator. Installation ------------ npm install -g datagen Usage ----- Create template files example: datagen ini...
Add usage and template info.
Add usage and template info.
Markdown
mit
cliffano/datagen
markdown
## Code Before: datagen [![http://travis-ci.org/cliffano/datagen](https://secure.travis-ci.org/cliffano/datagen.png?branch=master)](http://travis-ci.org/cliffano/datagen) ----------- TODO Installation ------------ npm install -g datagen Usage ----- TODO Colophon -------- Follow [@cliffano](http://twitter.co...
b4946f54a646003b907eb98469f96656bf212d36
README.md
README.md
Code and notes for FENS 2015 Winter School on decision-making ============================================================= This repository contains all the MATLAB code used to generate the figures for my tutorial on normative solutions to the speed/accuracy trade-off, held at the FENS-Hertie 2015 Winter School on the...
Code and notes for FENS 2015 Winter School on decision-making ============================================================= This repository contains all the MATLAB code used to generate the figures for my tutorial on normative solutions to the speed/accuracy trade-off, held at the FENS-Hertie 2015 Winter School on the...
Update URLs for tutorial notes and slides
Update URLs for tutorial notes and slides
Markdown
bsd-3-clause
jdrugo/FENS2015
markdown
## Code Before: Code and notes for FENS 2015 Winter School on decision-making ============================================================= This repository contains all the MATLAB code used to generate the figures for my tutorial on normative solutions to the speed/accuracy trade-off, held at the FENS-Hertie 2015 Wint...
06d166ce54ed2925e2ad911d9b951f34ff669d08
.travis.yml
.travis.yml
language: java sudo: false jdk: - oraclejdk12 - openjdk8 install: true branches: only: - master script: mvn clean test
language: java sudo: false jdk: - oraclejdk12 - openjdk8 install: true branches: only: - master script: mvn clean test cache: directories: - $HOME/.m2
Improve Travis CI build Performance
Improve Travis CI build Performance
YAML
apache-2.0
lemire/javaewah
yaml
## Code Before: language: java sudo: false jdk: - oraclejdk12 - openjdk8 install: true branches: only: - master script: mvn clean test ## Instruction: Improve Travis CI build Performance ## Code After: language: java sudo: false jdk: - oraclejdk12 - openjdk8 install: true branches: only: -...
54873530cf823bd733d359d26a48fba7e57791fa
test/models/indicator.coffee
test/models/indicator.coffee
assert = require('chai').assert _ = require('underscore') sinon = require('sinon') Indicator = require('../../models/indicator') fs = require 'fs' suite('Indicator') test(".find reads the definition from definitions/indicators.json and returns an indicator with the correct attributes for that ID", (done)-> definiti...
assert = require('chai').assert _ = require('underscore') sinon = require('sinon') Indicator = require('../../models/indicator') fs = require 'fs' suite('Indicator') test(".find reads the definition from definitions/indicators.json and returns an indicator with the correct attributes for that ID", (done)-> definiti...
Add tests for new get/format data methods
Add tests for new get/format data methods
CoffeeScript
bsd-3-clause
unepwcmc/NRT,unepwcmc/NRT
coffeescript
## Code Before: assert = require('chai').assert _ = require('underscore') sinon = require('sinon') Indicator = require('../../models/indicator') fs = require 'fs' suite('Indicator') test(".find reads the definition from definitions/indicators.json and returns an indicator with the correct attributes for that ID", (do...
640725d8409152bfee732b2a28396837d89111ff
schema/create_schema.sql
schema/create_schema.sql
-- Generate core schema \i schema/generate/01-schema.sql \i schema/generate/02-augur_data.sql \i schema/generate/03-augur_operations.sql \i schema/generate/04-spdx.sql \i schema/generate/05-seed_data.sql -- Update scripts \i schema/generate/06-schema_update_8.sql \i schema/generate/07-schema_update_9.sql \i schema/gen...
-- Generate core schema \i schema/generate/01-schema.sql \i schema/generate/02-augur_data.sql \i schema/generate/03-augur_operations.sql \i schema/generate/04-spdx.sql \i schema/generate/05-seed_data.sql -- Update scripts \i schema/generate/06-schema_update_8.sql \i schema/generate/07-schema_update_9.sql \i schema/gen...
Add schema v16 update script to schema install
Add schema v16 update script to schema install Signed-off-by: Carter Landis <84a516841ba77a5b4648de2cd0dfcb30ea46dbb4@carterlandis.com>
SQL
mit
OSSHealth/ghdata,OSSHealth/ghdata,OSSHealth/ghdata
sql
## Code Before: -- Generate core schema \i schema/generate/01-schema.sql \i schema/generate/02-augur_data.sql \i schema/generate/03-augur_operations.sql \i schema/generate/04-spdx.sql \i schema/generate/05-seed_data.sql -- Update scripts \i schema/generate/06-schema_update_8.sql \i schema/generate/07-schema_update_9.s...
5122f3faf6b2e0612054edc6293242c7384a66ca
dev_requirements.txt
dev_requirements.txt
unittest2 https://github.com/nucleic/enaml/archive/0.8.8.tar.gz#egg=enaml -e git+http://github.com/enthought/traits.git#egg=traits -e git+http://github.com/enthought/traitsui.git@feature/python3#egg=traitsui -e git+http://github.com/enthought/traits_enaml.git#egg=traits_enaml
unittest2 https://github.com/nucleic/enaml/archive/0.8.8.tar.gz#egg=enaml -e git+http://github.com/enthought/traits.git#egg=traits -e git+http://github.com/enthought/traitsui.git#egg=traitsui -e git+http://github.com/enthought/traits_enaml.git#egg=traits_enaml
Use traitsui master instead of Python 3 branch.
Use traitsui master instead of Python 3 branch.
Text
bsd-3-clause
geggo/pyface,geggo/pyface
text
## Code Before: unittest2 https://github.com/nucleic/enaml/archive/0.8.8.tar.gz#egg=enaml -e git+http://github.com/enthought/traits.git#egg=traits -e git+http://github.com/enthought/traitsui.git@feature/python3#egg=traitsui -e git+http://github.com/enthought/traits_enaml.git#egg=traits_enaml ## Instruction: Use traits...
aec2bda9ff624c530ebab6a7055ec2d7b4518aca
README.md
README.md
== List It (CodeFellows - App A Day) ===Description This app allows you to have all in one place all of your lists such as grocery lists and craft lists or whatever. ===Concepts Utalized Nested Resources - Each list has a nested resource of items. Authentication - You need to log in before creating or modifying list...
This app allows you to have all in one place all of your lists such as grocery lists and craft lists or whatever. ###Concepts Utalized Nested Resources - Each list has a nested resource of items. Authentication - You need to log in before creating or modifying lists or their items. ###ScreenShot ![Screenshot](lib/as...
Update readme to be markdown format
Update readme to be markdown format
Markdown
mit
tuckerd/list_it,tuckerd/list_it
markdown
## Code Before: == List It (CodeFellows - App A Day) ===Description This app allows you to have all in one place all of your lists such as grocery lists and craft lists or whatever. ===Concepts Utalized Nested Resources - Each list has a nested resource of items. Authentication - You need to log in before creating o...
ec0b8c937fb2079c0b4a29b3fa48feb76634d404
README.md
README.md
A hopefully compelling example to use Reactive Extensions in WPF projects ## Build steps 1. Restore NuGet packages: `nuget restore .` * Build project: `msbuild WpfRxSample.sln`
A hopefully compelling example to use Reactive Extensions in WPF projects. ## Build steps 1. Restore NuGet packages: `nuget restore .` 1. Build project: `msbuild WpfRxSample.sln` ## A short introduction to Reactive Programming There are two interfaces in the .NET BCL that are heavily used for Reactive Programming: `...
Add short introduction to Rx
Add short introduction to Rx
Markdown
mit
johannesegger/Rx-WPF-Sample
markdown
## Code Before: A hopefully compelling example to use Reactive Extensions in WPF projects ## Build steps 1. Restore NuGet packages: `nuget restore .` * Build project: `msbuild WpfRxSample.sln` ## Instruction: Add short introduction to Rx ## Code After: A hopefully compelling example to use Reactive Extensions in WPF...
3625db9391b4c35cf51c720e4568536583534db2
source/ref/stmts.rst
source/ref/stmts.rst
************** BQL Statements ************** .. include:: /ref/stmts/create_source.rst .. include:: /ref/stmts/resume_source.rst .. include:: /ref/stmts/select.rst
************** BQL Statements ************** .. include:: /ref/stmts/create_sink.rst .. include:: /ref/stmts/create_source.rst .. include:: /ref/stmts/resume_source.rst .. include:: /ref/stmts/select.rst
Add a missing link to CREATE SINK statement
Add a missing link to CREATE SINK statement
reStructuredText
mit
sensorbee/docs
restructuredtext
## Code Before: ************** BQL Statements ************** .. include:: /ref/stmts/create_source.rst .. include:: /ref/stmts/resume_source.rst .. include:: /ref/stmts/select.rst ## Instruction: Add a missing link to CREATE SINK statement ## Code After: ************** BQL Statements ************** .. include:: /re...
0381607c6e03bd43de4102d7f7b5ceb3766552bf
components/inquiry_questionnaire/views/specialist.coffee
components/inquiry_questionnaire/views/specialist.coffee
StepView = require './step.coffee' Form = require '../../form/index.coffee' Feedback = require '../../../models/feedback.coffee' Representatives = require '../../../collections/representatives.coffee' template = -> require('../templates/specialist.jade') arguments... module.exports = class Specialist extends StepView ...
StepView = require './step.coffee' Form = require '../../form/index.coffee' Feedback = require '../../../models/feedback.coffee' Representatives = require '../../../collections/representatives.coffee' template = -> require('../templates/specialist.jade') arguments... module.exports = class Specialist extends StepView ...
Use the explicit setup step
Use the explicit setup step
CoffeeScript
mit
oxaudo/force,mzikherman/force,xtina-starr/force,eessex/force,erikdstock/force,kanaabe/force,joeyAghion/force,oxaudo/force,oxaudo/force,dblock/force,mzikherman/force,erikdstock/force,damassi/force,yuki24/force,artsy/force-public,anandaroop/force,erikdstock/force,anandaroop/force,damassi/force,eessex/force,artsy/force,db...
coffeescript
## Code Before: StepView = require './step.coffee' Form = require '../../form/index.coffee' Feedback = require '../../../models/feedback.coffee' Representatives = require '../../../collections/representatives.coffee' template = -> require('../templates/specialist.jade') arguments... module.exports = class Specialist e...
23f406ace16c7434f5536aba6e5b8b4ba1252212
app/controllers/jmd/appearances_controller.rb
app/controllers/jmd/appearances_controller.rb
class Jmd::AppearancesController < Jmd::BaseController load_and_authorize_resource :competition, only: :index # Set up filters has_scope :in_competition, only: :index has_scope :advanced_from_competition, only: :index has_scope :in_category, only: :index has_scope :in_age_group, only: :index def index ...
class Jmd::AppearancesController < Jmd::BaseController load_and_authorize_resource :competition, only: :index # Set up filters has_scope :in_competition, only: :index has_scope :advanced_from_competition, only: :index has_scope :in_category, only: :index has_scope :in_age_group, only: :index has_scope :...
Enable day and genre filtering for result list
Enable day and genre filtering for result list
Ruby
mit
richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails
ruby
## Code Before: class Jmd::AppearancesController < Jmd::BaseController load_and_authorize_resource :competition, only: :index # Set up filters has_scope :in_competition, only: :index has_scope :advanced_from_competition, only: :index has_scope :in_category, only: :index has_scope :in_age_group, only: :ind...
a1044507a2f2db4141b2871222c105149d621316
fzf/export.sh
fzf/export.sh
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --prompt "❯ " --pointer "❯" --marker "❯"'
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --prompt "❯ " --pointer "❯" --marker "❯" --color "fg:7,bg:-1,hl:2" --color "fg+:7,bg+:-1,hl+:2" --color "info:3,prompt:6,pointer:1" --color "marker:1,spinner:2,header:4"'
Customize fzf colors to match terminal
Customize fzf colors to match terminal
Shell
mit
ahaasler/dotfiles,ahaasler/dotfiles,ahaasler/dotfiles
shell
## Code Before: export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --prompt "❯ " --pointer "❯" --marker "❯"' ## Instruction: Customize fzf colors to match terminal ## Code After: export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --prompt "❯ " --pointer "❯" --marker "❯" --color "fg:7,bg:-1,hl:2" --color "fg+:7,bg+:-1,hl+:2" --co...
9b3d0d68a7bfd8c461a278e934e7162c40bfeb11
setup/docker/supplement/alt_rrsenv_init.sh
setup/docker/supplement/alt_rrsenv_init.sh
cd $(dirname ${0}) mkdir workspace AGENT MAP LOG git clone https://github.com/roborescue/rcrs-server.git roborescue sed --in-place 's/apache-ant-\*\/bin\/ant .*"/gradlew completeBuild"/' \ script/rrscluster
cd $(dirname ${0}) mkdir workspace AGENT MAP LOG git clone https://github.com/roborescue/rcrs-server.git roborescue sed --in-place 's/apache-ant-\*\/bin\/ant .*"/gradlew completeBuild"/' \ script/rrscluster sed --in-place '/connect-time/s/^/#/' script/rrscluster
FIX for the bug the server cannot shut down on a map image generation
FIX for the bug the server cannot shut down on a map image generation
Shell
bsd-3-clause
rrs-oacis/rrs-oacis,rrs-oacis/rrs-oacis,rrs-oacis/rrs-oacis,rrs-oacis/rrs-oacis,rrs-oacis/rrs-oacis,rrs-oacis/rrs-oacis,rrs-oacis/rrs-oacis
shell
## Code Before: cd $(dirname ${0}) mkdir workspace AGENT MAP LOG git clone https://github.com/roborescue/rcrs-server.git roborescue sed --in-place 's/apache-ant-\*\/bin\/ant .*"/gradlew completeBuild"/' \ script/rrscluster ## Instruction: FIX for the bug the server cannot shut down on a map image generation ## C...
c9ca274a1a5e9596de553d2ae16950a845359321
examples/plotting/file/geojson_points.py
examples/plotting/file/geojson_points.py
from bokeh.io import output_file, show from bokeh.models import GeoJSONDataSource from bokeh.plotting import figure from bokeh.sampledata.sample_geojson import geojson output_file("geojson_points.html", title="GeoJSON Points") p = figure() p.circle(line_color=None, fill_alpha=0.8, source=GeoJSONDataSource(geojson=geo...
from bokeh.io import output_file, show from bokeh.models import GeoJSONDataSource, HoverTool from bokeh.plotting import figure from bokeh.sampledata.sample_geojson import geojson output_file("geojson_points.html", title="GeoJSON Points") p = figure() p.circle(line_color=None, fill_alpha=0.8, size=20, source=GeoJSONDa...
Add HoverTool to show off properties availability
Add HoverTool to show off properties availability
Python
bsd-3-clause
draperjames/bokeh,bokeh/bokeh,timsnyder/bokeh,dennisobrien/bokeh,maxalbert/bokeh,phobson/bokeh,jakirkham/bokeh,stonebig/bokeh,jakirkham/bokeh,bokeh/bokeh,DuCorey/bokeh,justacec/bokeh,dennisobrien/bokeh,clairetang6/bokeh,azjps/bokeh,timsnyder/bokeh,aiguofer/bokeh,timsnyder/bokeh,ericmjl/bokeh,DuCorey/bokeh,rs2/bokeh,bok...
python
## Code Before: from bokeh.io import output_file, show from bokeh.models import GeoJSONDataSource from bokeh.plotting import figure from bokeh.sampledata.sample_geojson import geojson output_file("geojson_points.html", title="GeoJSON Points") p = figure() p.circle(line_color=None, fill_alpha=0.8, source=GeoJSONDataSo...
22206f89db4febcd2a91db473969961df0e71ba8
data/common.yaml
data/common.yaml
--- lookup_options: profiles::bootstrap::accounts::accounts: merge: strategy: deep merge_hash_arrays: true profiles::bootstrap::accounts::groups: merge: strategy: deep merge_hash_arrays: true profiles::bootstrap::accounts::sudo_confs: merge: strategy: deep merge_has...
--- lookup_options: profiles::bootstrap::accounts::accounts: merge: strategy: deep merge_hash_arrays: true profiles::bootstrap::accounts::groups: merge: strategy: deep merge_hash_arrays: true profiles::bootstrap::accounts::sudo_confs: merge: strategy: deep merge_has...
Move the merge strategy to hiera
Move the merge strategy to hiera Signed-off-by: bjanssens <1de01ef34db889bba7c0d96b507b3f1cf757d74d@inuits.eu>
YAML
mit
attachmentgenie/attachmentgenie-profiles,attachmentgenie/attachmentgenie-profiles
yaml
## Code Before: --- lookup_options: profiles::bootstrap::accounts::accounts: merge: strategy: deep merge_hash_arrays: true profiles::bootstrap::accounts::groups: merge: strategy: deep merge_hash_arrays: true profiles::bootstrap::accounts::sudo_confs: merge: strategy: deep...
b5596817c757062ab1e6531080d249fee68071f7
object_permissions/templates/object_permissions/group/detail.html
object_permissions/templates/object_permissions/group/detail.html
{% extends "menu_base.html" %} {% load i18n %} {% block title %} User Group: {{ object.name }}{% endblock %} {% block head %} <link href="{{MEDIA_URL}}/css/jquery-ui.css" rel="stylesheet" type="text/css"/> <style> #users {width:100%;} </style> <script src="{{MEDIA_URL}}/js/jquery-ui.min.js"></scri...
{% extends "menu_base.html" %} {% load i18n %} {% block title %}{% trans "Group: " %}{{ object.name }}{% endblock %} {% block head %} <link href="{{MEDIA_URL}}/css/jquery-ui.css" rel="stylesheet" type="text/css"/> <style> #users {width:100%;} </style> <script src="{{MEDIA_URL}}/js/jquery-ui.min.js...
Change title User Group to Group
Change title User Group to Group Also adding title translation, to standardize with other pages
HTML
mit
osuosl/django_object_permissions,osuosl/django_object_permissions
html
## Code Before: {% extends "menu_base.html" %} {% load i18n %} {% block title %} User Group: {{ object.name }}{% endblock %} {% block head %} <link href="{{MEDIA_URL}}/css/jquery-ui.css" rel="stylesheet" type="text/css"/> <style> #users {width:100%;} </style> <script src="{{MEDIA_URL}}/js/jquery-u...
fd734eed0df967aff5c2e2ac57bce7be1373da0c
Cargo.toml
Cargo.toml
[workspace] members = ["mockall", "mockall_derive"] [patch.crates-io] predicates = { git = "https://github.com/assert-rs/predicates-rs/", rev = "0efce97" } predicates-tree = { git = "https://github.com/assert-rs/predicates-rs/", rev = "0efce97" }
[workspace] members = ["mockall", "mockall_derive"] [patch.crates-io] predicates = { git = "https://github.com/assert-rs/predicates-rs/", rev = "0efce97" } predicates-tree = { git = "https://github.com/assert-rs/predicates-rs/", rev = "0efce97" } downcast = { git = "https://github.com/asomers/downcast-rs/", rev = "c65...
Fix the build on the latest Rust nightly
Fix the build on the latest Rust nightly Had to patch the downcast crate.
TOML
apache-2.0
asomers/mockall,asomers/mockall
toml
## Code Before: [workspace] members = ["mockall", "mockall_derive"] [patch.crates-io] predicates = { git = "https://github.com/assert-rs/predicates-rs/", rev = "0efce97" } predicates-tree = { git = "https://github.com/assert-rs/predicates-rs/", rev = "0efce97" } ## Instruction: Fix the build on the latest Rust nightl...
54d5389e5a2ac79212a54e479d01323e53265237
docs/_includes/header.html
docs/_includes/header.html
<meta charset="utf-8"> <!-- Fonts --> <link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css"> <link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400italic,700italic,400,700" rel="stylesheet" type="text/css"> <link href="{{ site.cdn.font_awesome }}" rel="st...
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="2015 perl-kr advent calendar"> <meta name="keywords" content="perl, perl-kr, advent calendar, 2015"> <meta name="author" content="perl-kr mo...
Add meta tags for seach engine
Add meta tags for seach engine
HTML
mit
aanoaa/advcal,aanoaa/advcal
html
## Code Before: <meta charset="utf-8"> <!-- Fonts --> <link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css"> <link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400italic,700italic,400,700" rel="stylesheet" type="text/css"> <link href="{{ site.cdn.font_awe...
3d62e6c641632427713a6ea6fe1192c01f8948e0
app/jobs/list_cleanup_job.rb
app/jobs/list_cleanup_job.rb
class ListCleanupJob < ActiveJob::Base queue_as :default # rescue_from(Gibbon::MailChimpError) do |exception| # end def perform(lists) gibbon_service = GibbonService.new contacts_data = gibbon_service.delete_lists(lists.pluck(:uid)) lists.destroy_all end end
class ListCleanupJob < ActiveJob::Base queue_as :default # rescue_from(Gibbon::MailChimpError) do |exception| # end def perform(list_uids = []) gibbon_service = GibbonService.new contacts_data = gibbon_service.delete_lists(list_uids) Spree::Marketing::List.where(uid: list_uids).destroy_all end e...
Modify list clean up job
Modify list clean up job
Ruby
bsd-3-clause
vinsol-spree-contrib/spree_marketing,vinsol-spree-contrib/spree_marketing,vinsol-spree-contrib/spree_marketing
ruby
## Code Before: class ListCleanupJob < ActiveJob::Base queue_as :default # rescue_from(Gibbon::MailChimpError) do |exception| # end def perform(lists) gibbon_service = GibbonService.new contacts_data = gibbon_service.delete_lists(lists.pluck(:uid)) lists.destroy_all end end ## Instruction: Modi...
42c9b6b124955a68f37517f72a20203eaaa3eb6c
src/store.js
src/store.js
import { compose, createStore } from 'redux'; import middleware from './middleware'; import reducers from './reducers'; function configureStore() { return compose(middleware)(createStore)(reducers); } export var store = configureStore();
import { compose, createStore } from 'redux'; import middleware from './middleware'; import reducers from './reducers'; // Poor man's hot reloader. var lastState = JSON.parse(localStorage["farmbot"] || "{auth: {}}"); export var store = compose(middleware)(createStore)(reducers, lastState); if (lastState.auth.authen...
Add improvised localstorage saving mechanism
[STABLE] Add improvised localstorage saving mechanism
JavaScript
mit
roryaronson/farmbot-web-frontend,FarmBot/farmbot-web-frontend,RickCarlino/farmbot-web-frontend,MrChristofferson/farmbot-web-frontend,RickCarlino/farmbot-web-frontend,roryaronson/farmbot-web-frontend,roryaronson/farmbot-web-frontend,MrChristofferson/farmbot-web-frontend,FarmBot/farmbot-web-frontend
javascript
## Code Before: import { compose, createStore } from 'redux'; import middleware from './middleware'; import reducers from './reducers'; function configureStore() { return compose(middleware)(createStore)(reducers); } export var store = configureStore(); ## Instruction: [STABLE] Add improvised localstorage saving m...
a62f65880841099130543f48407c3008a097539c
.travis.yml
.travis.yml
language: php cache: directories: - $HOME/.composer/cache/files php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - nightly install: - ./travis-init.sh - composer install -n script: - ./vendor/bin/phpunit --exclude-group permissions - export phploc=~/.phpenv/versions/$(phpenv version-name)/bin/ph...
language: php cache: directories: - $HOME/.composer/cache/files php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - nightly matrix: allow_failures: - php: 5.4 install: - ./travis-init.sh - composer install -n script: - ./vendor/bin/phpunit --exclude-group permissions - export phploc=~/.php...
Allow PHP 5.4 to fail
Allow PHP 5.4 to fail PHPUnit on PHP 5.4 seems to hang at the end of it's execution for no apparent reason. (Even when successful.)
YAML
mit
reactphp/filesystem,reactphp/filesystem
yaml
## Code Before: language: php cache: directories: - $HOME/.composer/cache/files php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - nightly install: - ./travis-init.sh - composer install -n script: - ./vendor/bin/phpunit --exclude-group permissions - export phploc=~/.phpenv/versions/$(phpenv vers...
1a35da1096567cb9daaa7b2343b77fc12536d78f
README.md
README.md
A Flash audio recorder with javascript hooks ... because apparently it's still 2008.
A Flash audio recorder with javascript hooks ... because apparently it's still 2008. ## Quickstart ### Get Volume Level [Get Volume](https://mhotwagner.github.io/anachrony/examples/get-volume.html) ```html <html> <body> <center> <div id="flashContainer"></div> <h1>ACTIVITY LEVEL...
Update readme to include getVolume quickstart
Update readme to include getVolume quickstart
Markdown
mit
mhotwagner/anachrony
markdown
## Code Before: A Flash audio recorder with javascript hooks ... because apparently it's still 2008. ## Instruction: Update readme to include getVolume quickstart ## Code After: A Flash audio recorder with javascript hooks ... because apparently it's still 2008. ## Quickstart ### Get Volume Level [Get Volume](htt...
965a70bc4e8732fe02e83b9074698732253d5289
environ.py
environ.py
import os.path EXTRA_SCRIPTS_DIR = '/tmp/extra-scripts' def installerRunning(): return os.path.isdir(EXTRA_SCRIPTS_DIR)
import os EXTRA_SCRIPTS_DIR = '/mnt' def installerRunning(): return os.environ.get('XS_INSTALLATION', '0') != '0'
Use env variable to indicate installer
Use env variable to indicate installer
Python
bsd-2-clause
xenserver/python-libs,xenserver/python-libs
python
## Code Before: import os.path EXTRA_SCRIPTS_DIR = '/tmp/extra-scripts' def installerRunning(): return os.path.isdir(EXTRA_SCRIPTS_DIR) ## Instruction: Use env variable to indicate installer ## Code After: import os EXTRA_SCRIPTS_DIR = '/mnt' def installerRunning(): return os.environ.get('XS_INSTALLATIO...
36c13bf7b7320205f610b077a41f0c9ba41979cf
README.md
README.md
Create `terraform.tfvars` in project root. ``` aws_access_key="<your_aws_access_key>" aws_secret_key="<your_aws_secret_key>" aws_account_id="<your_aws_account_id>" aws_region="<aws_region>" s3_bucket="<aws_s3_bucket>" ``` ``` $ ./shmenkins build ``` Will build lambda. ## How To Deploy ``` $ ./shmenkins upload $ ./sh...
``` cd util sudo ./install ``` ## How to build individual service ``` cd service/<service_name> metaconfig terraform.tfvars ``` This will generate `terraform.tfvars` in the current directory. Deploy to AWS ``` terraform get terraform plan terraform apply ``` ## How To Build ### Prerequisites Create `terraform.tfva...
Update how to build info
Update how to build info
Markdown
mit
shmenkins/build-requester-vcs,rzhilkibaev/shmenkins,rzhilkibaev/shmenkins
markdown
## Code Before: Create `terraform.tfvars` in project root. ``` aws_access_key="<your_aws_access_key>" aws_secret_key="<your_aws_secret_key>" aws_account_id="<your_aws_account_id>" aws_region="<aws_region>" s3_bucket="<aws_s3_bucket>" ``` ``` $ ./shmenkins build ``` Will build lambda. ## How To Deploy ``` $ ./shmenki...
25b84238204d3970c72d0ac133b0ff59ae4696bd
social/models.py
social/models.py
from django.db import models # Create your models here. class User(models.Model): username = models.CharField(max_length=20) display_name = models.CharField(max_length=30) password = models.TextField() join_date = models.DateField('date joined') def __str__(self): return self.display_name...
from django.contrib.auth.models import AbstractBaseUser from django.db import models # Create your models here. class User(AbstractBaseUser): username = models.CharField(max_length=20) display_name = models.CharField(max_length=30) join_date = models.DateField('date joined') USERNAME_FIELD = 'usernam...
Implement User that extends Django's AbstractBaseUser.
Implement User that extends Django's AbstractBaseUser.
Python
mit
eyohansa/temu,eyohansa/temu,eyohansa/temu
python
## Code Before: from django.db import models # Create your models here. class User(models.Model): username = models.CharField(max_length=20) display_name = models.CharField(max_length=30) password = models.TextField() join_date = models.DateField('date joined') def __str__(self): return s...
72b9ff43daaf88f43ec4397cfed8fb860d4ad850
rest-api/test/client_test/base.py
rest-api/test/client_test/base.py
import copy import json import os import unittest from client.client import Client # To run the tests against the test instance instead, # set environment variable PMI_DRC_RDR_INSTANCE. _DEFAULT_INSTANCE = 'http://localhost:8080' _OFFLINE_BASE_PATH = 'offline' class BaseClientTest(unittest.TestCase): def setUp(s...
import copy import json import os import unittest from client.client import Client from tools.main_util import configure_logging # To run the tests against the test instance instead, # set environment variable PMI_DRC_RDR_INSTANCE. _DEFAULT_INSTANCE = 'http://localhost:8080' _OFFLINE_BASE_PATH = 'offline' class Ba...
Configure logging in client tests, so client logs show up.
Configure logging in client tests, so client logs show up.
Python
bsd-3-clause
all-of-us/raw-data-repository,all-of-us/raw-data-repository,all-of-us/raw-data-repository
python
## Code Before: import copy import json import os import unittest from client.client import Client # To run the tests against the test instance instead, # set environment variable PMI_DRC_RDR_INSTANCE. _DEFAULT_INSTANCE = 'http://localhost:8080' _OFFLINE_BASE_PATH = 'offline' class BaseClientTest(unittest.TestCase...
71cb83dcded9bd1d52a10fa1814b3a7e4db80700
README.md
README.md
[![Build Status](https://travis-ci.org/jaubourg/wires.svg?branch=master)](https://travis-ci.org/jaubourg/wires) [![Coverage Status](https://img.shields.io/coveralls/jaubourg/wires.svg)](https://coveralls.io/r/jaubourg/wires) [![Dependency Status](https://david-dm.org/jaubourg/wires.svg)](https://david-dm.org/jaubourg/w...
[![NPM](https://img.shields.io/npm/v/wires.svg)](https://img.shields.io/npm/v/wires.svg) [![Build Status](https://travis-ci.org/jaubourg/wires.svg?branch=master)](https://travis-ci.org/jaubourg/wires) [![Coverage Status](https://img.shields.io/coveralls/jaubourg/wires.svg)](https://coveralls.io/r/jaubourg/wires) [![Dep...
Use small button for NPM
Use small button for NPM
Markdown
mit
jaubourg/wires
markdown
## Code Before: [![Build Status](https://travis-ci.org/jaubourg/wires.svg?branch=master)](https://travis-ci.org/jaubourg/wires) [![Coverage Status](https://img.shields.io/coveralls/jaubourg/wires.svg)](https://coveralls.io/r/jaubourg/wires) [![Dependency Status](https://david-dm.org/jaubourg/wires.svg)](https://david-d...
b42381968ae84c2bab5faf41b9f12bd63f5c8927
lib/tritium/parser/instructions/literal.rb
lib/tritium/parser/instructions/literal.rb
module Tritium module Parser module Instructions class Literal < Instruction def initialize(filename, line_num, value) super(filename, line_num) @value = value end def to_s(depth = 0) "#{@@tab * depth}#{@value.inspect}" end ...
module Tritium module Parser module Instructions class Literal < Instruction attr :value def initialize(filename, line_num, value) super(filename, line_num) @value = value end def to_s(depth = 0) "#{@@tab * depth}#{@value.inspect}" ...
Make value's from Literals available
Make value's from Literals available
Ruby
mpl-2.0
moovweb/tritium,moovweb/tritium,moovweb/tritium,moovweb/tritium,moovweb/tritium
ruby
## Code Before: module Tritium module Parser module Instructions class Literal < Instruction def initialize(filename, line_num, value) super(filename, line_num) @value = value end def to_s(depth = 0) "#{@@tab * depth}#{@value.inspect}" end...
0cb89b29468e51bc0a1f6735b38e53d2436a2e23
_includes/javascripts/social-links.js
_includes/javascripts/social-links.js
function windowPopup(url, width, height) { // Calculate the position of the popup so // it’s centered on the screen. var left = screen.width / 2 - width / 2, top = screen.height / 2 - height / 2; window.open( url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width=' + width + ...
function windowPopup(url, width, height) { // Calculate the position of the popup so // it’s centered on the screen. var left = screen.width / 2 - width / 2, top = screen.height / 2 - height / 2; window.open( url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width=' + width + ...
Move social links code to vanilla js
Move social links code to vanilla js
JavaScript
mit
smithtimmytim/brightlycolored.org,smithtimmytim/brightlycolored.org,smithtimmytim/brightlycolored.org
javascript
## Code Before: function windowPopup(url, width, height) { // Calculate the position of the popup so // it’s centered on the screen. var left = screen.width / 2 - width / 2, top = screen.height / 2 - height / 2; window.open( url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width=' + ...
07c5fc51544b93493d392f06b5c9b3632a6b2572
code/GlobalNavIteratorProperties.php
code/GlobalNavIteratorProperties.php
<?php class GlobalNavIteratorProperties implements TemplateIteratorProvider { public static function get_template_iterator_variables() { return array( 'GlobalNav', ); } public function iteratorProperties($pos, $totalItems) { $host = GlobalNavSiteTreeExtension::get_toolbar_hostname(); $path = Config::in...
<?php class GlobalNavIteratorProperties implements TemplateIteratorProvider { public static function get_template_iterator_variables() { return array( 'GlobalNav', ); } public function iteratorProperties($pos, $totalItems) { // If we're already in a toolbarrequest, don't recurse further // This is most...
Fix recursive inclusion of the toolbar page
Fix recursive inclusion of the toolbar page This is most likely to happen during a 404 page which includes the toolbar, which includes the toolbar which is a 404 page, which includes...
PHP
bsd-3-clause
mandrew/silverstripe-globaltoolbar,silverstripe/silverstripe-globaltoolbar,mandrew/silverstripe-globaltoolbar,mandrew/silverstripe-globaltoolbar,silverstripe/silverstripe-globaltoolbar,mandrew/silverstripe-globaltoolbar,silverstripe/silverstripe-globaltoolbar,silverstripe/silverstripe-globaltoolbar
php
## Code Before: <?php class GlobalNavIteratorProperties implements TemplateIteratorProvider { public static function get_template_iterator_variables() { return array( 'GlobalNav', ); } public function iteratorProperties($pos, $totalItems) { $host = GlobalNavSiteTreeExtension::get_toolbar_hostname(); $p...
4eb4c20d7ab61d4457364ce25b6e54e01fb4145a
src/rill/cli.clj
src/rill/cli.clj
(ns rill.cli (:require [rill.event-store.atom-store :refer [atom-event-store]] [rill.event-channel :refer [event-channel]] [rill.event-stream :refer [all-events-stream-id]] [rill.event-store.atom-store.event :refer [unprocessable?]] [clojure.core.async :refer [<!!]]) ...
(ns rill.cli (:require [rill.event-store.psql :refer [psql-event-store]] [rill.event-channel :refer [event-channel]] [rill.event-stream :refer [all-events-stream-id]] [rill.event-store.atom-store.event :refer [unprocessable?]] [clojure.core.async :refer [<!!]]) (:gen-...
Make it possible to use the psql event store
Make it possible to use the psql event store
Clojure
epl-1.0
rill-event-sourcing/rill
clojure
## Code Before: (ns rill.cli (:require [rill.event-store.atom-store :refer [atom-event-store]] [rill.event-channel :refer [event-channel]] [rill.event-stream :refer [all-events-stream-id]] [rill.event-store.atom-store.event :refer [unprocessable?]] [clojure.core.async :...
9969a2e89bd6a9072c5389b25c747ce82104848c
stockflux-watchlist/README.md
stockflux-watchlist/README.md
StockFlux Watchlist is a part of StockFlux app suite intended to work with StockFlux Launcher, Chart, and News apps. Watchlist is an app containing the list of symbols the user is watching. These symbols are displayed as cards containing key symbol information and a minichart of the symbol's price fluctuations in the ...
StockFlux Watchlist is a part of StockFlux app suite intended to work with StockFlux Launcher, Chart, and News apps. Watchlist is an app containing the list of symbols the user is watching. These symbols are displayed as cards containing key symbol information and a minichart of the symbol's price fluctuations in the ...
Add instructions to launch the watchlist app locally
Add instructions to launch the watchlist app locally
Markdown
mit
ScottLogic/StockFlux,ScottLogic/bitflux-openfin,ScottLogic/StockFlux,ScottLogic/bitflux-openfin,owennw/OpenFinD3FC,owennw/OpenFinD3FC
markdown
## Code Before: StockFlux Watchlist is a part of StockFlux app suite intended to work with StockFlux Launcher, Chart, and News apps. Watchlist is an app containing the list of symbols the user is watching. These symbols are displayed as cards containing key symbol information and a minichart of the symbol's price fluc...
09ed0e911e530e9b907ac92f2892248b6af245fa
vcr/errors.py
vcr/errors.py
class CannotOverwriteExistingCassetteException(Exception): def __init__(self, *args, **kwargs): message = self._get_message(kwargs["cassette"], kwargs["failed_request"]) super(CannotOverwriteExistingCassetteException, self).__init__(message) def _get_message(self, cassette, failed_request): ...
class CannotOverwriteExistingCassetteException(Exception): def __init__(self, *args, **kwargs): self.cassette = kwargs["cassette"] self.failed_request = kwargs["failed_request"] message = self._get_message(kwargs["cassette"], kwargs["failed_request"]) super(CannotOverwriteExistingCas...
Add cassette and failed request as properties of thrown CannotOverwriteCassetteException
Add cassette and failed request as properties of thrown CannotOverwriteCassetteException
Python
mit
kevin1024/vcrpy,graingert/vcrpy,graingert/vcrpy,kevin1024/vcrpy
python
## Code Before: class CannotOverwriteExistingCassetteException(Exception): def __init__(self, *args, **kwargs): message = self._get_message(kwargs["cassette"], kwargs["failed_request"]) super(CannotOverwriteExistingCassetteException, self).__init__(message) def _get_message(self, cassette, fail...
2dce17ceec81774626ad982e1e94dd653374eee3
gradle.properties
gradle.properties
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 android.enableBuildCache=true org.gradle.daemon=true GROUP=com.volkhart.feedback VERSION_NAME=1.0.0-SNAPSHOT POM_DESCRIPTION=A feedback library aimed at replicating the Google feedback mechanism. POM_URL=http://githu...
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 android.enableBuildCache=true org.gradle.daemon=true GROUP=com.volkhart.feedback VERSION_NAME=1.0.0-SNAPSHOT POM_DESCRIPTION=An opinionated, batteries-included feedback library aimed at replicating the Google feedbac...
Update library description in POM
Update library description in POM
INI
mit
MariusVolkhart/feedback,MariusVolkhart/feedback
ini
## Code Before: org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 android.enableBuildCache=true org.gradle.daemon=true GROUP=com.volkhart.feedback VERSION_NAME=1.0.0-SNAPSHOT POM_DESCRIPTION=A feedback library aimed at replicating the Google feedback mechanism. POM_...
35138bbeffdc1689881c43a3db2abadafabde14b
spec/helpers/collection_spec.rb
spec/helpers/collection_spec.rb
module Fog::CollectionSpec extend Minitest::Spec::DSL # this should be reimplemented in the subject's spec if the subject has required params def params {} end it "can do ::new, #save, ::create, #all, #identity, ::get, and #destroy" do instance_one = subject.new(params) instance_one.save ins...
module Fog::CollectionSpec extend Minitest::Spec::DSL # this should be reimplemented in the subject's spec if the subject has required params def params {} end it "can do ::new, #save, ::create, #all, #identity, ::get, and #destroy" do instance_one = subject.new(params) instance_one.save ins...
Split up CollectionSpec tests into smaller bits
[shindo-minitest] Split up CollectionSpec tests into smaller bits
Ruby
mit
mbrukman/fog-google,danbroudy/fog-google,mlazarov/fog-google,Temikus/fog-google,plribeiro3000/fog-google,canausa/fog-google,ihmccreery/fog-google,budnik/fog-google,Temikus/fog-google,fog/fog-google
ruby
## Code Before: module Fog::CollectionSpec extend Minitest::Spec::DSL # this should be reimplemented in the subject's spec if the subject has required params def params {} end it "can do ::new, #save, ::create, #all, #identity, ::get, and #destroy" do instance_one = subject.new(params) instance_...
5effcb2e9187643b690e7c35c3fcc34d67061bad
_config.yml
_config.yml
markdown: redcarpet highlighter: pygments # Permalinks # # Use of `relative_permalinks` ensures post links from the index work properly. permalink: pretty relative_permalinks: true # Setup title: Burak Aktas tagline: 'Software Engineer' description: All a...
plugins: [jekyll-paginate] markdown: redcarpet highlighter: pygments.rb # Permalinks # # Use of `relative_permalinks` ensures post links from the index work properly. permalink: pretty #relative_permalinks: true future: true # Setup title: Burak Aktas tagline: ...
Update config after moving to new jekyll version
Update config after moving to new jekyll version
YAML
mit
flexelem/flexelem.github.io,flexelem/flexelem.github.io,flexelem/flexelem.github.io,flexelem/flexelem.github.io
yaml
## Code Before: markdown: redcarpet highlighter: pygments # Permalinks # # Use of `relative_permalinks` ensures post links from the index work properly. permalink: pretty relative_permalinks: true # Setup title: Burak Aktas tagline: 'Software Engineer' descriptio...
1183ea3956809bc156eb9a16a6bf35e8ed284ef6
utils/auth.js
utils/auth.js
var Promise = require('bluebird'), redis = require('redis'), client = Promise.promisifyAll(redis.createClient()), privateKey = process.env.secret || 'BbZJjyoXAdr8BUZuiKKARWimKfrSmQ6fv8kZ7OFfc'; module.exports = { createToken : createToken, clearToken : clearToken }; function createToken(userObj) { ...
var Promise = require('bluebird'), redis = require('redis'), client = Promise.promisifyAll(redis.createClient()), privateKey = process.env.secret || 'BbZJjyoXAdr8BUZuiKKARWimKfrSmQ6fv8kZ7OFfc'; module.exports = { createToken : createToken, clearToken : clearToken }; function createToken(userObj) { ...
Convert scope to lower case before generating token
Convert scope to lower case before generating token
JavaScript
mit
Pranay92/lets-chat,Pranay92/collaborate
javascript
## Code Before: var Promise = require('bluebird'), redis = require('redis'), client = Promise.promisifyAll(redis.createClient()), privateKey = process.env.secret || 'BbZJjyoXAdr8BUZuiKKARWimKfrSmQ6fv8kZ7OFfc'; module.exports = { createToken : createToken, clearToken : clearToken }; function createTo...
67af76cbe46f3123e14a936ea213adce25f21037
templates/rsyslog.conf.erb
templates/rsyslog.conf.erb
$ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support (previously done by rklogd) #$ModLoad immark # provides --MARK-- message capability ########################### #### GLOBAL DIRECTIVES #### ########################### # # Set the default permissions f...
$ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support (previously done by rklogd) #$ModLoad immark # provides --MARK-- message capability ########################### #### GLOBAL DIRECTIVES #### ########################### # # Set the default permissions f...
Create log directories with same ownership as files
Create log directories with same ownership as files
HTML+ERB
apache-2.0
sedan07/puppet-rsyslog,cybercom-finland/puppet-rsyslog,redhat-cip/puppet-rsyslog,TelekomCloud/puppet-rsyslog,fuel-infra/puppet-rsyslog,icann-dns/puppet-rsyslog,icann-dns/puppet-rsyslog,saz/puppet-rsyslog,vmule/puppet-rsyslog,madkiss/puppet-rsyslog,mrobbert/puppet-rsyslog,TelekomCloud/puppet-rsyslog,vmule/puppet-rsyslog...
html+erb
## Code Before: $ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support (previously done by rklogd) #$ModLoad immark # provides --MARK-- message capability ########################### #### GLOBAL DIRECTIVES #### ########################### # # Set the defau...
c0eac93d5703869d3d734683b3ef890882f47ce8
src/scss/elements/_forms-and-labels.scss
src/scss/elements/_forms-and-labels.scss
.form { &__label { display: block; margin-bottom: $lineheight / 3; } &__input { margin-bottom: $lineheight; &--error { .input { border-color: $night-shadz; background-color: lighten($night-shadz, 50); } ...
.form { &__label { display: block; margin-bottom: $lineheight / 3; } &__input { margin-bottom: $lineheight; &--error { .input { border-color: $night-shadz; background-color: lighten($night-shadz, 50); } ...
Add simple styling to fiedlset elements used on radio groups
Add simple styling to fiedlset elements used on radio groups Former-commit-id: 30ff97f33a12dae6f77a3a1f478e3ad109f8600c Former-commit-id: e9133f55bfc49ca841a58f731737bcea2dc81c73 Former-commit-id: 6c19782e5ad72d67e469aeaa3028dbda83e3a84d
SCSS
mit
ONSdigital/florence,ONSdigital/florence,ONSdigital/florence,ONSdigital/florence
scss
## Code Before: .form { &__label { display: block; margin-bottom: $lineheight / 3; } &__input { margin-bottom: $lineheight; &--error { .input { border-color: $night-shadz; background-color: lighten($night-shadz, 50); ...
10f9cc8c8a6a21b1cf9669acdbb6f3d5c01cdc85
src/Hook/Message/Validator/Rule/Base.php
src/Hook/Message/Validator/Rule/Base.php
<?php /** * This file is part of HookMeUp. * * (c) Sebastian Feldmann <sf@sebastian.feldmann.info> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace HookMeUp\Hook\Message\Validator\Rule; use HookMeUp\Git\CommitMessage; use...
<?php /** * This file is part of HookMeUp. * * (c) Sebastian Feldmann <sf@sebastian.feldmann.info> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace HookMeUp\Hook\Message\Validator\Rule; use HookMeUp\Git\CommitMessage; use...
Move abstract declaration in front to precede visibility
Move abstract declaration in front to precede visibility
PHP
mit
sebastianfeldmann/captainhook,sebastianfeldmann/captainhook
php
## Code Before: <?php /** * This file is part of HookMeUp. * * (c) Sebastian Feldmann <sf@sebastian.feldmann.info> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace HookMeUp\Hook\Message\Validator\Rule; use HookMeUp\Git\Co...
977e33a5df684367c50f1443fd861bef4db83ba8
solutions/image.go
solutions/image.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build ignore package main import ( "image" "image/color" "code.google.com/p/go-tour-french/pic" ) type Image struct { Height, Width int } func (m ...
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build ignore package main import ( "image" "image/color" "github.com/dupoxy/go-tour-fr/pic" ) type Image struct { Height, Width int } func (m Imag...
Update imports from googlecode to github
Update imports from googlecode to github
Go
bsd-3-clause
dolmen/go-tour-fr,dolmen/go-tour-fr,dupoxy/go-tour-fr,dolmen/go-tour-fr,dupoxy/go-tour-fr,dupoxy/go-tour-fr
go
## Code Before: // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build ignore package main import ( "image" "image/color" "code.google.com/p/go-tour-french/pic" ) type Image struct { Height, Width...
7307823b5d3d5bb1bbfdeab410bddff7a3c67430
actions/campaign/getCampainListAction.js
actions/campaign/getCampainListAction.js
var readCampaignModelLogic = require('../../logic/campaign/readCampaignModelLogic') var Input = { accountHashID: { required: true } } exports.getCampaignListAction = { name: 'getCampaignListAction', description: 'Get Campaign List', inputs: Input, run: function (api, data, next) { readCampai...
var readCampaignModelLogic = require('../../logic/campaign/readCampaignModelLogic') var Input = { accountHashID: { required: true }, filterObject: { required: false, formatter: function (param, connection, actionTemplate) { return JSON.parse(new Buffer(param, 'base64')) } }, complexMode...
Add Filter Object and Complex Flag to REST Campaign List Action
Add Filter Object and Complex Flag to REST Campaign List Action
JavaScript
mit
Flieral/Announcer-Service,Flieral/Announcer-Service
javascript
## Code Before: var readCampaignModelLogic = require('../../logic/campaign/readCampaignModelLogic') var Input = { accountHashID: { required: true } } exports.getCampaignListAction = { name: 'getCampaignListAction', description: 'Get Campaign List', inputs: Input, run: function (api, data, next) { ...
ff85fc05e179e451dabb1f20781dfc5a90314d71
scripts/adb-wrapper.py
scripts/adb-wrapper.py
import subprocess import sys import re # Note: no output will be printed until the entire test suite has finished result = subprocess.run(sys.argv[1], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) successRegex = re.compile('OK \(\d+ tests\)') print(result.stderr) print(result.s...
import subprocess import sys import re # Note: no output will be printed until the entire test suite has finished p = subprocess.Popen(sys.argv[1], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) stdoutResult, stderrResult = p.communicate() successRegex = re.compile('OK \(\d+ test...
Refactor the python wrapper script because apparently apt-get doesn't install 3.5, and subprocess.run() is only in 3.5
Refactor the python wrapper script because apparently apt-get doesn't install 3.5, and subprocess.run() is only in 3.5
Python
apache-2.0
sbosley/squidb,yahoo/squidb,yahoo/squidb,sbosley/squidb,sbosley/squidb,sbosley/squidb,sbosley/squidb,yahoo/squidb,yahoo/squidb,yahoo/squidb
python
## Code Before: import subprocess import sys import re # Note: no output will be printed until the entire test suite has finished result = subprocess.run(sys.argv[1], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) successRegex = re.compile('OK \(\d+ tests\)') print(result.stderr...
a28a29af31b1ea604ed97544b2d84a39c9ba3e7b
automation/src/rabird/automation/selenium/webelement.py
automation/src/rabird/automation/selenium/webelement.py
''' @date 2014-11-16 @author Hong-she Liang <starofrainnight@gmail.com> ''' # Import the global selenium unit, not our selenium . global_selenium = __import__('selenium') import types import time def set_attribute(self, name, value): value = value.replace(r"'", r"\'") # Replace all r"'" with r"\'" ...
''' @date 2014-11-16 @author Hong-she Liang <starofrainnight@gmail.com> ''' # Import the global selenium unit, not our selenium . global_selenium = __import__('selenium') import types import time def set_attribute(self, name, value): value = value.replace(r"'", r"\'") # Replace all r"'" with r"\'" ...
Use javascript to force focus on an element, because the action chains seems take no effect!
Use javascript to force focus on an element, because the action chains seems take no effect!
Python
apache-2.0
starofrainnight/rabird.core,starofrainnight/rabird.auto
python
## Code Before: ''' @date 2014-11-16 @author Hong-she Liang <starofrainnight@gmail.com> ''' # Import the global selenium unit, not our selenium . global_selenium = __import__('selenium') import types import time def set_attribute(self, name, value): value = value.replace(r"'", r"\'") # Replace all r"'" with r"\'...
22bc802109d29dfceb02e8b26b695cdf6bad28f0
app/mailers/spree/supplier_mailer.rb
app/mailers/spree/supplier_mailer.rb
module Spree class SupplierMailer < Spree::BaseMailer default from: Spree::Config[:mails_from] def welcome(supplier_id) @supplier = Supplier.find supplier_id mail to: @supplier.email, subject: Spree.t('supplier_mailer.welcome.subject') end end end
module Spree class SupplierMailer < Spree::BaseMailer default from: Spree::Store.current.mail_from_address def welcome(supplier_id) @supplier = Supplier.find supplier_id mail to: @supplier.email, subject: Spree.t('supplier_mailer.welcome.subject') end end end
Replace outdated Spree::Config[:mails_from] with Spree::Store.current.mail_from_address
Replace outdated Spree::Config[:mails_from] with Spree::Store.current.mail_from_address https://github.com/spree/spree/pull/6097
Ruby
bsd-3-clause
spree-contrib/spree_drop_ship,boomerdigital/solidus_marketplace,firmanm/spree_drop_ship,firman/spree_drop_ship,pjar/spree_drop_ship,firmanm/spree_drop_ship,fiftin/spree_drop_ship,boomerdigital/solidus_marketplace,firmanm/spree_drop_ship,pjar/spree_drop_ship,fiftin/spree_drop_ship,pjar/spree_drop_ship,spree-contrib/spre...
ruby
## Code Before: module Spree class SupplierMailer < Spree::BaseMailer default from: Spree::Config[:mails_from] def welcome(supplier_id) @supplier = Supplier.find supplier_id mail to: @supplier.email, subject: Spree.t('supplier_mailer.welcome.subject') end end end ## Instruction: Replace ...
075645fd4152f35579fff394e49ba77e67b70a24
middleware/halParser.js
middleware/halParser.js
module.exports = function (req, res, next) { try { var rawBody = req.body; var parsedBody = JSON.parse(rawBody); req.body = parsedBody; } catch (e) { console.trace('Exception while parsing body: ', req.body, e); req.body = {}; } next(); };
module.exports = function (req, res, next) { try { var rawBody = req.body; if (typeof rawBody !== 'object') { var parsedBody = JSON.parse(rawBody); req.body = parsedBody; } } catch (e) { console.trace('Exception while parsing body: ', req.body, e); req.body = {}; } next(); };...
Fix bug in parsing empty request bodies
Fix bug in parsing empty request bodies Signed-off-by: shaisachs <47bd79f9420edf5d0991d1e2710179d4e040d480@ngpvan.com>
JavaScript
apache-2.0
NGPVAN/osdi-service,joshco/osdi-service
javascript
## Code Before: module.exports = function (req, res, next) { try { var rawBody = req.body; var parsedBody = JSON.parse(rawBody); req.body = parsedBody; } catch (e) { console.trace('Exception while parsing body: ', req.body, e); req.body = {}; } next(); }; ## Instruction: Fix bug in parsi...
5a55b23077d3de5d71c4ad86716ef37f34447025
app/validators/salary_validator.rb
app/validators/salary_validator.rb
class SalaryValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) record.errors[attribute] << (options[:message] || "cannot be less than starting salary") unless valid_salary_fields?(record) end def valid_salary_fields?(record) (record.from_salary < record.to_salary) if !reco...
class SalaryValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) record.errors[attribute] << (options[:message] || "cannot be less than starting salary") unless valid_salary_fields?(record) end def valid_salary_fields?(record) return true if record.to_salary.blank? reco...
Return true if to_salary is blank
Return true if to_salary is blank
Ruby
mit
mena-devs/tilde,mena-devs/tilde,mena-devs/tilde,mena-devs/tilde
ruby
## Code Before: class SalaryValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) record.errors[attribute] << (options[:message] || "cannot be less than starting salary") unless valid_salary_fields?(record) end def valid_salary_fields?(record) (record.from_salary < record.to_...
65e6c0e77a0d4d78504aafff31cfe33c34cfa021
src/DependencyInjection/UmpirskyI18nRoutingExtension.php
src/DependencyInjection/UmpirskyI18nRoutingExtension.php
<?php namespace Umpirsky\I18nRoutingBundle\DependencyInjection; use Symfony\Component\Config\Definition\Processor; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; use Symfony\Component\DependencyInjec...
<?php namespace Umpirsky\I18nRoutingBundle\DependencyInjection; use Symfony\Component\Config\Definition\Processor; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; use Symfony\Component\DependencyInjec...
Remove default locale for prefix_except_default strategy
Remove default locale for prefix_except_default strategy
PHP
mit
umpirsky/UmpirskyI18nRoutingBundle
php
## Code Before: <?php namespace Umpirsky\I18nRoutingBundle\DependencyInjection; use Symfony\Component\Config\Definition\Processor; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; use Symfony\Component...
d54ad8c46d41e897be90a8aa62cfcc6a20e8cf3b
apps/explorer/templates/explorer/_pixels_distributions.js
apps/explorer/templates/explorer/_pixels_distributions.js
{% load i18n %} <script src="//www.gstatic.com/charts/loader.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script type="text/javascript"> google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawCharts); function drawChart...
{% load i18n %} <script src="//www.gstatic.com/charts/loader.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script type="text/javascript"> google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawCharts); function drawChart...
Handle error when chart does not load
Handle error when chart does not load
JavaScript
bsd-3-clause
Candihub/pixel,Candihub/pixel,Candihub/pixel,Candihub/pixel,Candihub/pixel
javascript
## Code Before: {% load i18n %} <script src="//www.gstatic.com/charts/loader.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script type="text/javascript"> google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawCharts); fu...
0910b2e959b74d623de6c1440e7848f199a3a011
config/routes.rb
config/routes.rb
Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html end
Rails.application.routes.draw do resource :users, only: :show resource :badges, only: :show end
Add route for user show
Add route for user show
Ruby
mit
ECGameJam17/Greenify,pholls/Greenify,ECGameJam17/Greenify,pholls/Greenify,ECGameJam17/Greenify,pholls/Greenify
ruby
## Code Before: Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html end ## Instruction: Add route for user show ## Code After: Rails.application.routes.draw do resource :users, only: :show resource :badges, only: :show end
989e1eb99f27598f93ac2c8a34ed38e1566f49dc
test/MC/X86/intel-syntax-print.ll
test/MC/X86/intel-syntax-print.ll
; RUN: llc -x86-asm-syntax=intel < %s | FileCheck %s -check-prefix=INTEL ; RUN: llc -x86-asm-syntax=att < %s | FileCheck %s -check-prefix=ATT ; INTEL: .intel_syntax noprefix ; ATT-NOT: .intel_syntax noprefix define i32 @test() { entry: ret i32 0 }
; RUN: llc -x86-asm-syntax=intel < %s | FileCheck %s -check-prefix=INTEL ; RUN: llc -x86-asm-syntax=att < %s | FileCheck %s -check-prefix=ATT ; INTEL: .intel_syntax noprefix ; ATT-NOT: .intel_syntax noprefix target triple = "x86_64-unknown-unknown" define i32 @test() { entry: ret i32 0 }
Fix test from r242886 to use the right triple.
Fix test from r242886 to use the right triple. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@242889 91177308-0d34-0410-b5e6-96231b3b80d8
LLVM
apache-2.0
GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror...
llvm
## Code Before: ; RUN: llc -x86-asm-syntax=intel < %s | FileCheck %s -check-prefix=INTEL ; RUN: llc -x86-asm-syntax=att < %s | FileCheck %s -check-prefix=ATT ; INTEL: .intel_syntax noprefix ; ATT-NOT: .intel_syntax noprefix define i32 @test() { entry: ret i32 0 } ## Instruction: Fix test from r242886 to use the rig...
1820227a189f225db16966c26cc6fdf194dc1903
modules/base/files/usr/local/sbin/rotate-tarballs.sh
modules/base/files/usr/local/sbin/rotate-tarballs.sh
find /srv/backup-data -not \( -path /srv/backup-data/lost+found -prune \) -type f -mtime +30 -delete
find /srv/backup-data -not \( -path /srv/backup-data/lost+found -prune \) -type f -mtime +30 -exec rm {} +
Switch from `-delete` to a `-exec`
Switch from `-delete` to a `-exec` This commit changes the `find` command we run on a cron to switch from `-delete` to `exec rm {} +`. The reasoning for this is that using `-delete` results in an error: `find: The -delete action atomatically turns on -depth, but -prune does nothing when -depth is in effect. If you w...
Shell
mit
alphagov/govuk_offsitebackups-puppet,alphagov/govuk_offsitebackups-puppet
shell
## Code Before: find /srv/backup-data -not \( -path /srv/backup-data/lost+found -prune \) -type f -mtime +30 -delete ## Instruction: Switch from `-delete` to a `-exec` This commit changes the `find` command we run on a cron to switch from `-delete` to `exec rm {} +`. The reasoning for this is that using `-delete` re...
5a6b2785bcb887c6980556b6b06b56e0ad3bf97f
src/app/browser-window/browser-window.component.css
src/app/browser-window/browser-window.component.css
.frame { border: 1px solid #dddddd; padding: 10px; margin-top: -6px; width: 498px; }
.frame { border: 1px solid #dddddd; padding: 10px; margin-top: -6px; width: 496px; background-color: #fff; }
Add white background for the browser-window
Add white background for the browser-window
CSS
apache-2.0
nycJSorg/angular-presentation,nycJSorg/angular-presentation,nycJSorg/angular-presentation
css
## Code Before: .frame { border: 1px solid #dddddd; padding: 10px; margin-top: -6px; width: 498px; } ## Instruction: Add white background for the browser-window ## Code After: .frame { border: 1px solid #dddddd; padding: 10px; margin-top: -6px; width: 496px; background-color: #fff; }
bbd88e45c8b89a926e7e66b782fa7949caa8cf15
requirements/build.txt
requirements/build.txt
sphinx sphinx-intl sphinx-rtd-theme pex wheel
sphinx sphinx-intl sphinx-rtd-theme pex wheel setuptools<20.11,>=2.2 # needed to get pex working
Use a version of setuptools compatible with pex.
Use a version of setuptools compatible with pex.
Text
mit
aronasorman/kolibri,indirectlylit/kolibri,lyw07/kolibri,DXCanas/kolibri,aronasorman/kolibri,aronasorman/kolibri,christianmemije/kolibri,indirectlylit/kolibri,aronasorman/kolibri,christianmemije/kolibri,rtibbles/kolibri,rtibbles/kolibri,indirectlylit/kolibri,lyw07/kolibri,benjaoming/kolibri,jonboiser/kolibri,mrpau/kolib...
text
## Code Before: sphinx sphinx-intl sphinx-rtd-theme pex wheel ## Instruction: Use a version of setuptools compatible with pex. ## Code After: sphinx sphinx-intl sphinx-rtd-theme pex wheel setuptools<20.11,>=2.2 # needed to get pex working
7754edb8947c8f1e8509d9bac058bb9754915eb6
app/views/index.js
app/views/index.js
import Ember from 'ember'; import config from '../config/environment'; export default Ember.View.extend({ injectMarkup: function() { console.log(command); var content = Ember.$('#index-content').clone(); var source = $(this.$().children()[0]).clone(); content.find('#package-source-placeholder').repl...
import Ember from 'ember'; export default Ember.View.extend({ injectMarkup: function() { var content = Ember.$('#index-content').clone(); var source = Ember.$(this.$().children()[0]).clone(); content.find('#package-source-placeholder').replaceWith(source); var command = Ember.$(this.$().children()[...
Append content instead of replacing and clean up lint errors.
Append content instead of replacing and clean up lint errors.
JavaScript
apache-2.0
Stift/Klondike,jochenvangasse/Klondike,davidvmckay/Klondike,fhchina/Klondike,themotleyfool/Klondike,jochenvangasse/Klondike,fhchina/Klondike,themotleyfool/Klondike,themotleyfool/Klondike,davidvmckay/Klondike,jochenvangasse/Klondike,fhchina/Klondike,Stift/Klondike,davidvmckay/Klondike,Stift/Klondike
javascript
## Code Before: import Ember from 'ember'; import config from '../config/environment'; export default Ember.View.extend({ injectMarkup: function() { console.log(command); var content = Ember.$('#index-content').clone(); var source = $(this.$().children()[0]).clone(); content.find('#package-source-pl...
82243fadeb3a419e22b45e0b2226c64bd5e00de2
modules/mod_ginger_adlib/README.md
modules/mod_ginger_adlib/README.md
mod_ginger_adlib ================ This module offers integration between Zotonic and [Adlib](http://www.adlibsoft.nl). It is part of [Ginger](http://github.com/driebit/ginger). Features: * Full import of Adlib databases into Elasticsearch. * Template model for displaying Adlib data in Zotonic templates. Configura...
mod_ginger_adlib ================ This module offers integration between Zotonic and [Adlib](http://www.adlibsoft.nl). It is part of [Ginger](http://github.com/driebit/ginger). Features: * Full import of Adlib databases into Elasticsearch. * Template model for displaying Adlib data in Zotonic templates. Configura...
Document how to pull a single record
[doc] Document how to pull a single record
Markdown
apache-2.0
driebit/ginger,driebit/ginger,driebit/ginger
markdown
## Code Before: mod_ginger_adlib ================ This module offers integration between Zotonic and [Adlib](http://www.adlibsoft.nl). It is part of [Ginger](http://github.com/driebit/ginger). Features: * Full import of Adlib databases into Elasticsearch. * Template model for displaying Adlib data in Zotonic templ...
8d1c4d0dcc81d32eed03bb2b436c00829cdf3e9c
README.rst
README.rst
gears-coffeescript ================== CoffeeScript_ compiler for Gears_. This package already includes the CoffeeScript source code for you, so you don't need to worry about installing it yourself. Installation ------------ Install ``gears-coffeescript`` with pip:: $ pip install gears-coffeescript Requirement...
gears-coffeescript ================== CoffeeScript_ compiler for Gears_. This package already includes the CoffeeScript source code for you, so you don't need to worry about installing it yourself. Bundled CoffeeScript version: **1.3.3** Installation ------------ Install ``gears-coffeescript`` with pip:: $ pip...
Add bundled coffeescript version to readme
Add bundled coffeescript version to readme
reStructuredText
isc
gears/gears-coffeescript,gears/gears-coffeescript
restructuredtext
## Code Before: gears-coffeescript ================== CoffeeScript_ compiler for Gears_. This package already includes the CoffeeScript source code for you, so you don't need to worry about installing it yourself. Installation ------------ Install ``gears-coffeescript`` with pip:: $ pip install gears-coffeescri...
a9b409cfd521eb14a77c53d56d80e26eb45b8288
decoder/src/fsalm/CMakeLists.txt
decoder/src/fsalm/CMakeLists.txt
include_directories("..") add_library( fsalm LM.cc ArpaReader.cc ) install(TARGETS fsalm DESTINATION lib) file(GLOB FSALM_HEADERS "*.hh") install(FILES ${FSALM_HEADERS} DESTINATION include/fsalm)
include_directories("..") add_executable(lm lm.cc) target_link_libraries(lm fsalm misc) add_library(fsalm LM.cc ArpaReader.cc) install(TARGETS lm DESTINATION bin) install(TARGETS fsalm DESTINATION lib) file(GLOB FSALM_HEADERS "*.hh") install(FILES ${FSALM_HEADERS} DESTINATION include/fsalm)
Build and install the lm tool for converting between ARPA and binary language models.
Build and install the lm tool for converting between ARPA and binary language models.
Text
bsd-3-clause
aalto-speech/AaltoASR,lingsoft/AaltoASR,lingsoft/AaltoASR,lingsoft/AaltoASR,phsmit/AaltoASR,phsmit/AaltoASR,aalto-speech/AaltoASR,phsmit/AaltoASR,aalto-speech/AaltoASR,lingsoft/AaltoASR,phsmit/AaltoASR,aalto-speech/AaltoASR,lingsoft/AaltoASR,aalto-speech/AaltoASR
text
## Code Before: include_directories("..") add_library( fsalm LM.cc ArpaReader.cc ) install(TARGETS fsalm DESTINATION lib) file(GLOB FSALM_HEADERS "*.hh") install(FILES ${FSALM_HEADERS} DESTINATION include/fsalm) ## Instruction: Build and install the lm tool for converting between ARPA and binary language models. ##...
8d5803aabd544495e631f466ca0a0272118e6bb7
Casks/alfred.rb
Casks/alfred.rb
cask :v1 => 'alfred' do version '2.7.2_400' sha256 '1d83ae18e99869d981dcbcc74a5ce0333bbf9d528cc0c8fa5e48bb74f756eaf1' url "https://cachefly.alfredapp.com/Alfred_#{version}.zip" name 'Alfred' homepage 'http://www.alfredapp.com/' license :freemium app 'Alfred 2.app' app 'Alfred 2.app/Contents/Preference...
cask :v1 => 'alfred' do version '2.7.2_407' sha256 '303f4a0f7965d20e8ca86408f120c3dc01fcd13f5379aab2f4d7ef4e3f8d07a9' url "https://cachefly.alfredapp.com/Alfred_#{version}.zip" name 'Alfred' homepage 'http://www.alfredapp.com/' license :freemium app 'Alfred 2.app' app 'Alfred 2.app/Contents/Preference...
Update Alfred to 2.7.2 (407).
Update Alfred to 2.7.2 (407).
Ruby
bsd-2-clause
tsparber/homebrew-cask,hanxue/caskroom,mingzhi22/homebrew-cask,esebastian/homebrew-cask,phpwutz/homebrew-cask,royalwang/homebrew-cask,xcezx/homebrew-cask,boydj/homebrew-cask,bcomnes/homebrew-cask,mwek/homebrew-cask,stephenwade/homebrew-cask,anbotero/homebrew-cask,0xadada/homebrew-cask,mattrobenolt/homebrew-cask,imgaryl...
ruby
## Code Before: cask :v1 => 'alfred' do version '2.7.2_400' sha256 '1d83ae18e99869d981dcbcc74a5ce0333bbf9d528cc0c8fa5e48bb74f756eaf1' url "https://cachefly.alfredapp.com/Alfred_#{version}.zip" name 'Alfred' homepage 'http://www.alfredapp.com/' license :freemium app 'Alfred 2.app' app 'Alfred 2.app/Con...
fc4862f1b795f70a4aa3446b680386574bb14037
app/views/canteens/_show_section.html.haml
app/views/canteens/_show_section.html.haml
%header.page-header - if @date > Time.zone.now.to_date.beginning_of_week = link_to canteen_path(@canteen, date: (@date - 1.day)), remote: true, 'data-push' => 'true', class: :prev do %span - if @date < (Time.zone.now.to_date + 2.days).end_of_week = link_to canteen_path(@canteen, date: (@date + 1.day)...
%header.page-header = link_to canteen_path(@canteen, date: (@date - 1.day)), remote: true, 'data-push' => 'true', class: :prev do %span = link_to canteen_path(@canteen, date: (@date + 1.day)), remote: true, 'data-push' => 'true', class: :next do %span %h2.centered - if @date.to_date == Time.zone.now....
Remove canteen view date limits
Remove canteen view date limits
Haml
agpl-3.0
openmensa/openmensa,openmensa/openmensa,openmensa/openmensa,chk1/openmensa,openmensa/openmensa,chk1/openmensa
haml
## Code Before: %header.page-header - if @date > Time.zone.now.to_date.beginning_of_week = link_to canteen_path(@canteen, date: (@date - 1.day)), remote: true, 'data-push' => 'true', class: :prev do %span - if @date < (Time.zone.now.to_date + 2.days).end_of_week = link_to canteen_path(@canteen, date:...
d84a485df7e796ce5f0c7f05aa4a6adcf6a0fd9c
tests/unit/initializers/ember-cli-uuid-test.js
tests/unit/initializers/ember-cli-uuid-test.js
import Ember from 'ember'; import DS from 'ember-data'; import EmberCliUuidInitializer from '../../../initializers/ember-cli-uuid'; import { module, test } from 'qunit'; let application; const regexIsUUID = /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i; module('Unit | Initializer | ember c...
import Ember from 'ember'; import DS from 'ember-data'; import EmberCliUuidInitializer from '../../../initializers/ember-cli-uuid'; import { module, test } from 'qunit'; let application; const regexIsUUID = /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i; module('Unit | Initializer | ember c...
Remove blueprint comment in tests
Remove blueprint comment in tests
JavaScript
mit
thaume/ember-cli-uuid,thaume/ember-cli-uuid
javascript
## Code Before: import Ember from 'ember'; import DS from 'ember-data'; import EmberCliUuidInitializer from '../../../initializers/ember-cli-uuid'; import { module, test } from 'qunit'; let application; const regexIsUUID = /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i; module('Unit | Initi...
4038434cfb68718d038be9d2d5c90ac174d83e27
extensions/vault/runtime/src/main/java/io/quarkus/vault/runtime/config/VaultConfigSourceProvider.java
extensions/vault/runtime/src/main/java/io/quarkus/vault/runtime/config/VaultConfigSourceProvider.java
package io.quarkus.vault.runtime.config; import java.util.Arrays; import org.eclipse.microprofile.config.spi.ConfigSource; import org.eclipse.microprofile.config.spi.ConfigSourceProvider; import org.jboss.logging.Logger; public class VaultConfigSourceProvider implements ConfigSourceProvider { private static fin...
package io.quarkus.vault.runtime.config; import java.util.Arrays; import org.eclipse.microprofile.config.spi.ConfigSource; import org.eclipse.microprofile.config.spi.ConfigSourceProvider; import org.jboss.logging.Logger; public class VaultConfigSourceProvider implements ConfigSourceProvider { private static fin...
Change ordinal from 150 to 270 in Vault config source
Change ordinal from 150 to 270 in Vault config source
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
java
## Code Before: package io.quarkus.vault.runtime.config; import java.util.Arrays; import org.eclipse.microprofile.config.spi.ConfigSource; import org.eclipse.microprofile.config.spi.ConfigSourceProvider; import org.jboss.logging.Logger; public class VaultConfigSourceProvider implements ConfigSourceProvider { pr...
4196af17e1fabc95351ae9a93e6bab1fa09cb31c
qtip2.js
qtip2.js
angular.module('qtip2', []) .directive('qtip', function($rootScope, $timeout, $window) { return { restrict: 'A', link: function(scope, element, attrs) { var my = attrs.my || 'bottom center' , at = attrs.at || 'top center' element.qtip({ content: attrs.content, ...
!function($) { 'use strict'; angular.module('qtip2', []) .directive('qtip', function() { return { restrict: 'A', link: function(scope, element, attrs) { var my = attrs.my || 'bottom center' , at = attrs.at || 'top center' $(element).qtip({ con...
Remove useless variables + iife
Remove useless variables + iife
JavaScript
mit
romainberger/angular-qtip2-directive,vasekch/angular-qtip2-directive
javascript
## Code Before: angular.module('qtip2', []) .directive('qtip', function($rootScope, $timeout, $window) { return { restrict: 'A', link: function(scope, element, attrs) { var my = attrs.my || 'bottom center' , at = attrs.at || 'top center' element.qtip({ content: att...
d6c61225a97d01ec481fb61094fbd45fda083091
.travis.yml
.travis.yml
language: node_js node_js: - 6 sudo: required env: - NODE_ENV=test addons: rethinkdb: '2.3.5' apt: packages: - oracle-java8-installer - oracle-java8-set-default before_script: - npm run start:rethinkdb - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some t...
language: node_js node_js: - 6 sudo: required env: - NODE_ENV=test addons: rethinkdb: '2.3.5' apt: packages: - oracle-java8-installer - oracle-java8-set-default before_script: - npm run start:rethinkdb - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some t...
Use background process for rethinkdb.
Use background process for rethinkdb.
YAML
mit
jbelmont/continuous-integration-with-jenkins-travis-and-circleci,jbelmont/continuous-integration-with-jenkins-travis-and-circleci,jbelmont/continuous-integration-with-jenkins-travis-and-circleci
yaml
## Code Before: language: node_js node_js: - 6 sudo: required env: - NODE_ENV=test addons: rethinkdb: '2.3.5' apt: packages: - oracle-java8-installer - oracle-java8-set-default before_script: - npm run start:rethinkdb - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # ...
5adaece96cd609c83d129c1f16747c29b22c546c
app/models/unit_activity_set.rb
app/models/unit_activity_set.rb
class UnitActivitySet < ActiveRecord::Base belongs_to :unit belongs_to :activity_type validates :activity_type, presence: true validates :unit_id, presence: true end
class UnitActivitySet < ActiveRecord::Base belongs_to :unit belongs_to :activity_type validates :activity_type, presence: true validates :unit, presence: true end
Validate the presence of unit in unit activity set
ENHANCE: Validate the presence of unit in unit activity set
Ruby
agpl-3.0
doubtfire-lms/doubtfire-api,jakerenzella/doubtfire-api,jakerenzella/doubtfire-api,doubtfire-lms/doubtfire-api,doubtfire-lms/doubtfire-api,jakerenzella/doubtfire-api,jakerenzella/doubtfire-api,doubtfire-lms/doubtfire-api,jakerenzella/doubtfire-api,jakerenzella/doubtfire-api,jakerenzella/doubtfire-api,doubtfire-lms/doubt...
ruby
## Code Before: class UnitActivitySet < ActiveRecord::Base belongs_to :unit belongs_to :activity_type validates :activity_type, presence: true validates :unit_id, presence: true end ## Instruction: ENHANCE: Validate the presence of unit in unit activity set ## Code After: class UnitActivitySet < ActiveRecord...
953e0fca7fbaf28a65decb342c6cb48e761e3e26
sky/sdk/pubspec.yaml
sky/sdk/pubspec.yaml
author: Chromium Authors <sky-dev@googlegroups.com> dependencies: mojo: '>=0.0.1 <1.0.0' mojo_services: '>=0.0.4 <1.0.0' mojom: '>=0.0.4 <1.0.0' vector_math: '>=1.4.3 <2.0.0' cassowary: '^0.1.7' description: Dart files to support executing inside Sky. homepage: https://github.com/domokit/mojo/tree/master/sky ...
author: Chromium Authors <sky-dev@googlegroups.com> dependencies: cassowary: '^0.1.7' mojo_services: '^0.0.17' mojo: '^0.0.17' mojom: '^0.0.17' newton: '^0.1.0' vector_math: '^1.4.3' description: Dart files to support executing inside Sky. homepage: https://github.com/domokit/mojo/tree/master/sky environmen...
Add package:newton as a dependency of package:sky
Add package:newton as a dependency of package:sky Also, update the dependency versions for other packages to be more realistic. R=chinmaygarde@google.com Review URL: https://codereview.chromium.org/1233663002 .
YAML
bsd-3-clause
jianglu/mojo,afandria/mojo,afandria/mojo,jianglu/mojo,jianglu/mojo,afandria/mojo,afandria/mojo,afandria/mojo,afandria/mojo,jianglu/mojo,afandria/mojo,jianglu/mojo,jianglu/mojo,jianglu/mojo,afandria/mojo,jianglu/mojo
yaml
## Code Before: author: Chromium Authors <sky-dev@googlegroups.com> dependencies: mojo: '>=0.0.1 <1.0.0' mojo_services: '>=0.0.4 <1.0.0' mojom: '>=0.0.4 <1.0.0' vector_math: '>=1.4.3 <2.0.0' cassowary: '^0.1.7' description: Dart files to support executing inside Sky. homepage: https://github.com/domokit/mojo/...
a5e90e2b7ea6adedbf80c05bbb84425a02c63da0
db/migrate/094_remove_old_tags_foreign_key.rb
db/migrate/094_remove_old_tags_foreign_key.rb
class RemoveOldTagsForeignKey < ActiveRecord::Migration def self.up if ActiveRecord::Base.connection.adapter_name == "PostgreSQL" execute "ALTER TABLE has_tag_string_tags DROP CONSTRAINT fk_public_body_tags_public_body" end remove_index :public_body_tags, [:public_body_id, :name...
class RemoveOldTagsForeignKey < ActiveRecord::Migration def self.up if ActiveRecord::Base.connection.adapter_name == "PostgreSQL" execute "ALTER TABLE has_tag_string_tags DROP CONSTRAINT fk_public_body_tags_public_body" end # This table was already removed in the previous migrat...
Fix up some DB migration issues with Rails 3
Fix up some DB migration issues with Rails 3 * The public_body_tags table had already been removed * The index has_tag_string_tags generated a name longer than the Postgres maximum of 63 characters. It was ignored in earlier Rails versions, see: https://rails.lighthouseapp.com/projects/8994/tickets/6187-postgresql-and...
Ruby
agpl-3.0
10layer/alaveteli,4bic/alaveteli,hasadna/alaveteli,petterreinholdtsen/alaveteli,codeforcroatia/alaveteli,andreicristianpetcu/alaveteli_old,andreicristianpetcu/alaveteli,Br3nda/alaveteli,4bic/alaveteli,obshtestvo/alaveteli-bulgaria,datauy/alaveteli,petterreinholdtsen/alaveteli,petterreinholdtsen/alaveteli,andreicristian...
ruby
## Code Before: class RemoveOldTagsForeignKey < ActiveRecord::Migration def self.up if ActiveRecord::Base.connection.adapter_name == "PostgreSQL" execute "ALTER TABLE has_tag_string_tags DROP CONSTRAINT fk_public_body_tags_public_body" end remove_index :public_body_tags, [:publi...
1fcd89221f8d4287a20be9ef4cddcf6b175bd396
templates/sample_stubs/infrastructure-aws.yml
templates/sample_stubs/infrastructure-aws.yml
--- meta: ~ compilation: cloud_properties: instance_type: m3.medium resource_pools: - name: redis_z1 stemcell: name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent version: (( merge || "latest" )) cloud_properties: instance_type: m3.medium networks: - name: redis_z1 type: manual subnets: - range...
--- meta: ~ compilation: cloud_properties: availability_zone: YOUR_AVAILABILITY_ZONE instance_type: m3.medium resource_pools: - name: redis_z1 stemcell: name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent version: (( merge || "latest" )) cloud_properties: availability_zone: YOUR_AVAILABILITY_ZONE ...
Include availability zone for newer BOSH directors
Include availability zone for newer BOSH directors [#126978979] Signed-off-by: Jonathan Qiwen Tsang <3d227aa6bffde73f6e08f0ffd3491f423c329e82@pivotal.io>
YAML
apache-2.0
pivotal-cf/cf-redis-release,pivotal-cf/cf-redis-release,pivotal-cf/cf-redis-release
yaml
## Code Before: --- meta: ~ compilation: cloud_properties: instance_type: m3.medium resource_pools: - name: redis_z1 stemcell: name: bosh-aws-xen-hvm-ubuntu-trusty-go_agent version: (( merge || "latest" )) cloud_properties: instance_type: m3.medium networks: - name: redis_z1 type: manual su...
0afb066ae9df5ad9349b87d635623932ec74f629
features/support/env.rb
features/support/env.rb
require 'aruba/cucumber' PROJECT_ROOT = File.dirname(File.expand_path('../../', __FILE__)) ENV['PATH'] = File.join(PROJECT_ROOT, '/exe') + File::PATH_SEPARATOR + ENV['PATH'] puts ENV['PATH']
require 'aruba/cucumber' PROJECT_ROOT = File.dirname(File.expand_path('../../', __FILE__)) ENV['PATH'] = File.join(PROJECT_ROOT, '/exe') + File::PATH_SEPARATOR + ENV['PATH']
Remove debug statements from cucumber.
Remove debug statements from cucumber.
Ruby
mit
RobotDisco/doting
ruby
## Code Before: require 'aruba/cucumber' PROJECT_ROOT = File.dirname(File.expand_path('../../', __FILE__)) ENV['PATH'] = File.join(PROJECT_ROOT, '/exe') + File::PATH_SEPARATOR + ENV['PATH'] puts ENV['PATH'] ## Instruction: Remove debug statements from cucumber. ## Code After: require 'aruba/cucumber' PROJECT_ROOT =...
168247d73ce8ea1c4d21e04e3a462fe6120b3d30
app/js/arethusa.core/navigator_ctrl.js
app/js/arethusa.core/navigator_ctrl.js
'use strict'; angular.module('arethusa.core').controller('NavigatorCtrl', [ '$scope', 'navigator', function ($scope, navigator) { $scope.next = function () { navigator.nextSentence(); }; $scope.prev = function () { navigator.prevSentence(); }; $scope.hasNext = function() { re...
'use strict'; angular.module('arethusa.core').controller('NavigatorCtrl', [ '$scope', 'navigator', function ($scope, navigator) { $scope.next = function () { navigator.nextSentence(); }; $scope.prev = function () { navigator.prevSentence(); }; $scope.goToFirst = function() { ...
Remove obsolete functions from NavigatorCtrl
Remove obsolete functions from NavigatorCtrl
JavaScript
mit
Masoumeh/arethusa,latin-language-toolkit/arethusa,PonteIneptique/arethusa,alpheios-project/arethusa,fbaumgardt/arethusa,alpheios-project/arethusa,Masoumeh/arethusa,latin-language-toolkit/arethusa,fbaumgardt/arethusa,alpheios-project/arethusa,fbaumgardt/arethusa,PonteIneptique/arethusa
javascript
## Code Before: 'use strict'; angular.module('arethusa.core').controller('NavigatorCtrl', [ '$scope', 'navigator', function ($scope, navigator) { $scope.next = function () { navigator.nextSentence(); }; $scope.prev = function () { navigator.prevSentence(); }; $scope.hasNext = funct...
c6166b8ae8ae3f31260496d3fc88d32c7c4cdfa3
client-src/meta/components/landing-page/landing-page.css
client-src/meta/components/landing-page/landing-page.css
.landingPage_heroTextContainer { padding-top: 80px; background-image: linear-gradient(-134deg, #3023ae 0%, #c96dd8 100%); height: calc(100vh - $headerHeight - $footerHeight); text-align: center; @media screen and (width >= $md-screen) { height: calc(100vh - $headerHeight - $expandedFooterHeight); } } ...
.landingPage_heroTextContainer { padding-top: calc(50vh - 200px); background-image: linear-gradient(-134deg, #3023ae 0%, #c96dd8 100%); height: calc(100vh - $headerHeight - $footerHeight); text-align: center; @media screen and (width >= $md-screen) { height: calc(100vh - $headerHeight - $expandedFooterHe...
Adjust location of landing page text
Adjust location of landing page text
CSS
mit
jmeas/moolah,jmeas/moolah,jmeas/finance-app,jmeas/finance-app
css
## Code Before: .landingPage_heroTextContainer { padding-top: 80px; background-image: linear-gradient(-134deg, #3023ae 0%, #c96dd8 100%); height: calc(100vh - $headerHeight - $footerHeight); text-align: center; @media screen and (width >= $md-screen) { height: calc(100vh - $headerHeight - $expandedFooter...
3e0cc45d104e891d21a3063e1dc52e1ccbfd8f3d
docs/libssh2_channel_forward_accept.3
docs/libssh2_channel_forward_accept.3
.\" $Id: libssh2_channel_forward_accept.3,v 1.3 2007/06/13 12:51:10 jehousley Exp $ .\" .TH libssh2_channel_forward_accept 3 "1 June 2007" "libssh2 0.15" "libssh2 manual" .SH NAME libssh2_channel_forward_accept - accept a queued connection .SH SYNOPSIS .B #include <libssh2.h> .B LIBSSH2_CHANNEL * libssh2_channel_forwa...
.\" $Id: libssh2_channel_forward_accept.3,v 1.4 2007/06/13 12:58:58 jehousley Exp $ .\" .TH libssh2_channel_forward_accept 3 "1 June 2007" "libssh2 0.15" "libssh2 manual" .SH NAME libssh2_channel_forward_accept - accept a queued connection .SH SYNOPSIS #include <libssh2.h> LIBSSH2_CHANNEL * libssh2_channel_forward_acc...
Update to match current code and add errors
Update to match current code and add errors
Groff
bsd-3-clause
libssh2/libssh2,libssh2/libssh2,libssh2/libssh2,libssh2/libssh2
groff
## Code Before: .\" $Id: libssh2_channel_forward_accept.3,v 1.3 2007/06/13 12:51:10 jehousley Exp $ .\" .TH libssh2_channel_forward_accept 3 "1 June 2007" "libssh2 0.15" "libssh2 manual" .SH NAME libssh2_channel_forward_accept - accept a queued connection .SH SYNOPSIS .B #include <libssh2.h> .B LIBSSH2_CHANNEL * libss...
82d037c27cb5a0200af2b21602f1bc901353415d
_includes/site-favicons.html
_includes/site-favicons.html
{% if site.favicons %} {% for icon in site.favicons %} <link rel="icon" type="image/png" href="{{ icon[1] }}" sizes="{{ icon[0] }}x{{ icon[0] }}"> {% endfor %} {% endif %} <link rel="shortcut icon" href="{{ site.avatarurl + '?s=32' | default: site.logo }}">
{% if site.favicons %} {% for icon in site.favicons %} <link rel="icon" type="image/png" href="{{ icon[1] }}" sizes="{{ icon[0] }}x{{ icon[0] }}"> <link rel="apple-touch-icon" sizes="{{ icon[0] }}x{{ icon[0] }}" href="{{ icon[1] }}"> {% endfor %} {% endif %} <link rel="shortcut icon" href="{{ site.avatarurl...
Test apple touch icon meta
Test apple touch icon meta
HTML
mit
daviddarnes/alembic,daviddarnes/alembic,daviddarnes/alembic
html
## Code Before: {% if site.favicons %} {% for icon in site.favicons %} <link rel="icon" type="image/png" href="{{ icon[1] }}" sizes="{{ icon[0] }}x{{ icon[0] }}"> {% endfor %} {% endif %} <link rel="shortcut icon" href="{{ site.avatarurl + '?s=32' | default: site.logo }}"> ## Instruction: Test apple touch icon...
742b2725245158bd5d9051ed00f6afcb593c5b7d
packages/chatbox/src/index.ts
packages/chatbox/src/index.ts
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. export * from './panel'; export * from './chatbox'; export * from './entry'
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. import '../style/index.css'; export * from './panel'; export * from './chatbox'; export * from './entry'
Update theme loading for chatbox.
Update theme loading for chatbox.
TypeScript
bsd-3-clause
jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab
typescript
## Code Before: // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. export * from './panel'; export * from './chatbox'; export * from './entry' ## Instruction: Update theme loading for chatbox. ## Code After: // Copyright (c) Jupyter Development Team. // Distribute...