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
de4c67c5fadc85dc0e66aafb6d5a6e24b41586cf
app/views/layouts/_theme.html.haml
app/views/layouts/_theme.html.haml
- if theme - if theme[:pack] != 'common' && theme[:common] = render partial: 'layouts/theme', object: theme[:common] - if theme[:pack] - pack_path = theme[:flavour] ? "flavours/#{theme[:flavour]}/#{theme[:pack]}" : "core/#{theme[:pack]}" = javascript_pack_tag pack_path, crossorigin: 'anonymous' - if...
- if theme - if theme[:pack] != 'common' && theme[:common] = render partial: 'layouts/theme', object: theme[:common] - if theme[:pack] - pack_path = theme[:flavour] ? "flavours/#{theme[:flavour]}/#{theme[:pack]}" : "core/#{theme[:pack]}" = javascript_pack_tag pack_path, crossorigin: 'anonymous' - if...
Fix missing media: 'all' on default skins
Fix missing media: 'all' on default skins
Haml
agpl-3.0
glitch-soc/mastodon,Kirishima21/mastodon,im-in-space/mastodon,glitch-soc/mastodon,glitch-soc/mastodon,Kirishima21/mastodon,Kirishima21/mastodon,im-in-space/mastodon,im-in-space/mastodon,im-in-space/mastodon,glitch-soc/mastodon,Kirishima21/mastodon
haml
## Code Before: - if theme - if theme[:pack] != 'common' && theme[:common] = render partial: 'layouts/theme', object: theme[:common] - if theme[:pack] - pack_path = theme[:flavour] ? "flavours/#{theme[:flavour]}/#{theme[:pack]}" : "core/#{theme[:pack]}" = javascript_pack_tag pack_path, crossorigin: 'ano...
2a51f8b7dd0e43ec640653354fe45a10697b3c08
lib/tasks/publishing_api.rake
lib/tasks/publishing_api.rake
require 'logger' require 'gds_api/publishing_api' require 'gds_api/publishing_api/special_route_publisher' namespace :publishing_api do desc 'Publish special routes via publishing api' task publish_special_routes: :environment do special_route_publisher = GdsApi::PublishingApi::SpecialRoutePublisher.new(logger...
require 'logger' require 'gds_api/publishing_api' require 'gds_api/publishing_api/special_route_publisher' namespace :publishing_api do desc 'Publish special routes via publishing api' task publish_special_routes: :environment do special_route_publisher = GdsApi::PublishingApi::SpecialRoutePublisher.new(logger...
Add temporary alias for router:register
Add temporary alias for router:register this will make it easier to merge/deploy these changes as we won't need to coordinate these with changes to alphagov-deployment
Ruby
mit
alphagov/contacts-admin,alphagov/contacts-admin,alphagov/contacts-admin
ruby
## Code Before: require 'logger' require 'gds_api/publishing_api' require 'gds_api/publishing_api/special_route_publisher' namespace :publishing_api do desc 'Publish special routes via publishing api' task publish_special_routes: :environment do special_route_publisher = GdsApi::PublishingApi::SpecialRoutePubl...
ec7f234b7c16096001902e067ed43f222e05b500
app/assets/stylesheets/_flashes.scss
app/assets/stylesheets/_flashes.scss
.error, #flash_failure { @include flash($error-color); } .notice, #flash_notice { @include flash($notice-color); } .success, #flash_success { @include flash($success-color); }
%flash-error, #flash_failure { @include flash($error-color); } %flash-notice, #flash_notice { @include flash($notice-color); } %flash-success, #flash_success { @include flash($success-color); }
Make flash classes into placeholder selectors
Make flash classes into placeholder selectors
SCSS
mit
cllns/bitters,craftsmen/bitters,craftsmen/bitters,oponder/bitters,innovand/bitters,armandocanals/bitters,smithdamen/bitters,maxx1128/Maxwell-bitters,thoughtbot/bitters,cllns/bitters,smithdamen/bitters,armandocanals/bitters,oponder/bitters,cllns/bitters,bodefuwa/bitters,innovand/bitters,innovand/bitters,maxx1128/Maxwell...
scss
## Code Before: .error, #flash_failure { @include flash($error-color); } .notice, #flash_notice { @include flash($notice-color); } .success, #flash_success { @include flash($success-color); } ## Instruction: Make flash classes into placeholder selectors ## Code After: %flash-error, #flash_failure { @include...
6953b5da409a349bcf5c6674d69a5d177954ad4d
docs/.vuepress/linkcheck-skip-file.txt
docs/.vuepress/linkcheck-skip-file.txt
github.com/intellitect/coalesce/edit # fails on github actions for some reason: https://www.npmjs.com/package/
github.com/intellitect/coalesce/edit # fails on github actions randomly: https://www.npmjs.com/package/ https://knockoutjs.com/ https://github.com/IntelliTect/Coalesce
Add more skips to linkcheck to help resolve flaky build
docs: Add more skips to linkcheck to help resolve flaky build
Text
apache-2.0
IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce
text
## Code Before: github.com/intellitect/coalesce/edit # fails on github actions for some reason: https://www.npmjs.com/package/ ## Instruction: docs: Add more skips to linkcheck to help resolve flaky build ## Code After: github.com/intellitect/coalesce/edit # fails on github actions randomly: https://www.npmjs.com/pa...
a5fbd9882db40e7c3756a26f165fc0094b4e541f
recipes/conda-build-all/meta.yaml
recipes/conda-build-all/meta.yaml
{% set version = "1.0.1" %} package: name: conda-build-all version: {{ version }} source: fn: conda-build-all_v{{ version }}.tar.gz url: https://github.com/SciTools/conda-build-all/archive/v{{version}}.tar.gz sha256: 1e34102f9055ce99500ce8ec87933d46a482cd20b865a180f2b064b4baf345f0 build: number: 0 ...
{% set version = "1.0.4" %} package: name: conda-build-all version: {{ version }} source: fn: conda-build-all_v{{ version }}.tar.gz url: https://github.com/conda-tools/conda-build-all/archive/v{{version}}.tar.gz sha256: 1a2e6b89858e8a5c6c55dd0fe64e18f7730a203740507f7746149771e22d8784 build: number:...
Update conda-build-all recipe to version 1.0.4
Update conda-build-all recipe to version 1.0.4 Change to noarch: python package
YAML
bsd-3-clause
jjhelmus/berryconda,jjhelmus/berryconda,jjhelmus/berryconda,jjhelmus/berryconda,jjhelmus/berryconda
yaml
## Code Before: {% set version = "1.0.1" %} package: name: conda-build-all version: {{ version }} source: fn: conda-build-all_v{{ version }}.tar.gz url: https://github.com/SciTools/conda-build-all/archive/v{{version}}.tar.gz sha256: 1e34102f9055ce99500ce8ec87933d46a482cd20b865a180f2b064b4baf345f0 bui...
64fc02aff59de85dec98c04ed20ee2356959c8ee
examples/assets/js/config.js
examples/assets/js/config.js
require.config({ baseUrl: '../', paths: { 'text': 'bower_components/requirejs-text/text', '$': 'bower_components/jquery/dist/jquery', 'bouncefix': 'bower_components/bouncefix.js/dist/bouncefix.min', 'velocity': 'bower_components/mobify-velocity/velocity', 'modal-center': ...
require.config({ baseUrl: '../', paths: { 'text': 'bower_components/requirejs-text/text', '$': 'lib/zeptojs/dist/zepto', 'bouncefix': 'bower_components/bouncefix.js/dist/bouncefix.min', 'velocity': 'bower_components/mobify-velocity/velocity', 'modal-center': 'dist/effect/...
Switch to Zepto for examples
Switch to Zepto for examples
JavaScript
mit
mobify/pinny,mobify/pinny
javascript
## Code Before: require.config({ baseUrl: '../', paths: { 'text': 'bower_components/requirejs-text/text', '$': 'bower_components/jquery/dist/jquery', 'bouncefix': 'bower_components/bouncefix.js/dist/bouncefix.min', 'velocity': 'bower_components/mobify-velocity/velocity', ...
9698eab88c20dd01d4beafa9786eddbed78e4577
app/client/views/activities/form/form.html
app/client/views/activities/form/form.html
<template name="activityForm"> {{# autoForm id="activityForm" type=formType collection="Activities" doc=activity }} <div class="modal-body"> <label for="activityTypeId"> {{_ 'activities.residentIds.label'}} </label> {{> afFieldInput name="residentIds" multiple=true ...
<template name="activityForm"> {{# autoForm id="activityForm" type=formType collection="Activities" doc=activity }} <div class="modal-body"> <label for="activityTypeId"> {{_ 'activities.residentIds.label'}} </label> {{> afFieldInput name="residentIds" multiple=true ...
Add id to activityDate field
Add id to activityDate field
HTML
agpl-3.0
GeriLife/wellbeing,GeriLife/wellbeing,brylie/juhani-wellbeing,GeriLife/wellbeing,brylie/juhani-wellbeing,brylie/juhani-wellbeing,brylie/juhani-wellbeing,GeriLife/wellbeing
html
## Code Before: <template name="activityForm"> {{# autoForm id="activityForm" type=formType collection="Activities" doc=activity }} <div class="modal-body"> <label for="activityTypeId"> {{_ 'activities.residentIds.label'}} </label> {{> afFieldInput name="residentIds" ...
bcaa28358534bee8f5e0bfe40f33e05ac09fcd6f
lib/id_token.js
lib/id_token.js
module.exports = (provider, body, session) => { if (!/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/.test(body.id_token)) { return {error: 'Grant: OpenID Connect invalid id_token format'} } var [header, payload, signature] = body.id_token.split('.') try { header = JSON.parse(Buffer.from(he...
const isAudienceValid = (aud, key) => (Array.isArray(aud) && aud.indexOf(key) !== -1) || aud === key; module.exports = (provider, body, session) => { if (!/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/.test(body.id_token)) { return {error: 'Grant: OpenID Connect invalid id_token format'} } var [...
Handle audience as an array
Handle audience as an array According to RFC7519, `aud` claim is an array of strings; only in case there's one audience, `aud` can be a string. See https://tools.ietf.org/html/rfc7519#page-9 This fix allows for audience claim to be both string and array of strings.
JavaScript
mit
simov/grant
javascript
## Code Before: module.exports = (provider, body, session) => { if (!/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/.test(body.id_token)) { return {error: 'Grant: OpenID Connect invalid id_token format'} } var [header, payload, signature] = body.id_token.split('.') try { header = JSON.pars...
0ddb6d17ee3af80ff9ebacd9e194f2bdce5d6360
upstart/noweats.sh
upstart/noweats.sh
pid_collect= cleanup() { kill $! exit 0 } trap "cleanup" SIGINT SIGTERM EXIT /bin/mkdir -p /home/reissb/noweats_data/collect . /home/reissb/.virtualenvs/noweats/bin/activate # Collect tweets in the background. collect_nyc /home/reissb/noweats_data/collect 2>&1 | /usr/bin/logger -t noweats & # Process tweets eve...
cleanup() { kill $! exit 0 } try_start_collect() { if ! pgrep 'collect_nyc' >/dev/null 2>&1; then # Collect tweets in the background. collect_nyc /home/reissb/noweats_data/collect 2>&1 | /usr/bin/logger -t noweats & fi } trap "cleanup" SIGINT SIGTERM EXIT /bin/mkdir -p /home/reissb/noweats_data/coll...
Make upstart service more robust.
Make upstart service more robust. Connection errors could bring down the collect script (or it seemed so). If it's not running, then have upstart bring it up.
Shell
mit
blr246/noweats,blr246/noweats
shell
## Code Before: pid_collect= cleanup() { kill $! exit 0 } trap "cleanup" SIGINT SIGTERM EXIT /bin/mkdir -p /home/reissb/noweats_data/collect . /home/reissb/.virtualenvs/noweats/bin/activate # Collect tweets in the background. collect_nyc /home/reissb/noweats_data/collect 2>&1 | /usr/bin/logger -t noweats & # Pr...
1a0fd2be7ec810a6dcc7e88b6ea4e10d91111acf
server/db/controllers/getUserIdsGivenSelfIdAndRelationshipType.js
server/db/controllers/getUserIdsGivenSelfIdAndRelationshipType.js
const db = require('../db.js'); const Sequelize = require('sequelize'); const getUserIdsGivenSelfIdAndRelationshipType = (selfId, relationshipType) => { const queryStr = `SELECT users.id FROM users INNER JOIN relationships ON users.id = relationships.user1Id OR users.i...
const db = require('../db.js'); const Sequelize = require('sequelize'); const getUserIdsGivenSelfIdAndRelationshipType = (selfId, relationshipType) => { const queryStr = `SELECT users.id FROM users INNER JOIN relationships ON users.id = relationships.user1Id OR users.i...
Return sender ids instead of recipient id
Return sender ids instead of recipient id
JavaScript
mit
VictoriousResistance/iDioma,VictoriousResistance/iDioma
javascript
## Code Before: const db = require('../db.js'); const Sequelize = require('sequelize'); const getUserIdsGivenSelfIdAndRelationshipType = (selfId, relationshipType) => { const queryStr = `SELECT users.id FROM users INNER JOIN relationships ON users.id = relationships.us...
fc4ef63f43c7e9d4d5e444448d2a76e7932626c0
packages/ph/phonetic-languages-plus.yaml
packages/ph/phonetic-languages-plus.yaml
homepage: https://hackage.haskell.org/package/phonetic-languages-plus changelog-type: markdown hash: dc03614253da3563dd1282e619afc7bf86c01544f438abc62a8f26d1f030aacc test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: Some common shared between different packages functions. changelog: | # Revision history...
homepage: https://hackage.haskell.org/package/phonetic-languages-plus changelog-type: markdown hash: 83495eedd621f9bf57f49a65451784e0048f969b9d93f6e06c40edf9effeb0f6 test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: Some common shared between different packages functions. changelog: | # Revision history...
Update from Hackage at 2020-12-05T13:45:43Z
Update from Hackage at 2020-12-05T13:45:43Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://hackage.haskell.org/package/phonetic-languages-plus changelog-type: markdown hash: dc03614253da3563dd1282e619afc7bf86c01544f438abc62a8f26d1f030aacc test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: Some common shared between different packages functions. changelog: | # ...
88b6d87898f366373632773773616de31be55229
README.md
README.md
[ ![Codeship Status for bsedg/irest](https://codeship.com/projects/1f8bd7f0-598d-0134-a57b-0ac50249f2fe/status?branch=master)](https://codeship.com/projects/173070) [![Go Report Card](https://goreportcard.com/badge/github.com/bsedg/tasker)](https://goreportcard.com/report/github.com/bsedg/tasker) [![License: MIT](http...
[ ![Codeship Status for bsedg/irest](https://codeship.com/projects/1f8bd7f0-598d-0134-a57b-0ac50249f2fe/status?branch=master)](https://codeship.com/projects/173070) [![Go Report Card](https://goreportcard.com/badge/github.com/bsedg/tasker)](https://goreportcard.com/report/github.com/bsedg/tasker) [![License: MIT](http...
Add development section to readme.
Add development section to readme.
Markdown
mit
bsedg/tasker
markdown
## Code Before: [ ![Codeship Status for bsedg/irest](https://codeship.com/projects/1f8bd7f0-598d-0134-a57b-0ac50249f2fe/status?branch=master)](https://codeship.com/projects/173070) [![Go Report Card](https://goreportcard.com/badge/github.com/bsedg/tasker)](https://goreportcard.com/report/github.com/bsedg/tasker) [![Li...
b772907b2d527ea471dcaaab3a078ae81ad3ba3e
types/cors/cors-tests.ts
types/cors/cors-tests.ts
import express = require('express'); import cors = require('cors'); const app = express(); app.use(cors()); app.use(cors({ maxAge: 100, credentials: true, optionsSuccessStatus: 200 })); app.use(cors({ methods: 'GET,POST,PUT', exposedHeaders: 'Content-Range,X-Content-Range', allowedHeaders: 'Co...
import express = require('express'); import cors = require('cors'); const app = express(); app.use(cors()); app.use(cors({ maxAge: 100, credentials: true, optionsSuccessStatus: 200 })); app.use(cors({ methods: 'GET,POST,PUT', exposedHeaders: 'Content-Range,X-Content-Range', allowedHeaders: 'Co...
Add test for mixed type array
Add test for mixed type array
TypeScript
mit
zuzusik/DefinitelyTyped,aciccarello/DefinitelyTyped,zuzusik/DefinitelyTyped,AgentME/DefinitelyTyped,georgemarshall/DefinitelyTyped,AbraaoAlves/DefinitelyTyped,arusakov/DefinitelyTyped,borisyankov/DefinitelyTyped,aciccarello/DefinitelyTyped,dsebastien/DefinitelyTyped,benliddicott/DefinitelyTyped,rolandzwaga/DefinitelyTy...
typescript
## Code Before: import express = require('express'); import cors = require('cors'); const app = express(); app.use(cors()); app.use(cors({ maxAge: 100, credentials: true, optionsSuccessStatus: 200 })); app.use(cors({ methods: 'GET,POST,PUT', exposedHeaders: 'Content-Range,X-Content-Range', all...
4ec1f41057515d3667d160a0f5fe539b73599dfd
update_kb_bsfcampus_sen.yml
update_kb_bsfcampus_sen.yml
--- # Ansible playbook for BSF Campus Sénégale #It will be always localhost - hosts: localhost roles: - tinc-static # Start. has to be always enable - logs # Stop. has to be always enable
--- # Ansible playbook for BSF Campus Sénégale #It will be always localhost - hosts: localhost roles: - { role: upgradeIdc, when: ansible_hostname == 'kb-bsfcampus-sen-76' } - tinc-static # Start. has to be always enable - logs # Stop. has to be always enable
Enable the upgrade of Ideascube on KoomBook 76
Enable the upgrade of Ideascube on KoomBook 76
YAML
mit
ideascube/ansiblecube,ideascube/ansiblecube
yaml
## Code Before: --- # Ansible playbook for BSF Campus Sénégale #It will be always localhost - hosts: localhost roles: - tinc-static # Start. has to be always enable - logs # Stop. has to be always enable ## Instruction: Enable the upgrade of Ideascube on KoomBook 76 ## Code After: --- #...
a4db7ec63c4692ff7d279955110ac11a6f794fb2
site/_layouts/docs.html
site/_layouts/docs.html
--- layout: default --- <section class="docs"> <div class="grid"> {% include docs_contents_mobile.html %} <div class="unit four-fifths"> <article> <div class="improve right"> <a href="https://github.com/jekyll/jekyll/edit/master/site/{{ page.path }}">Improve this page ...
--- layout: default --- <section class="docs"> <div class="grid"> {% include docs_contents_mobile.html %} <div class="unit four-fifths"> <article> <div class="improve right"> <a href="https://github.com/jekyll/jekyll/edit/master/site/{{ page.path }}"><i class="fa fa-pe...
Put the pencil icon in front of the improve link.
Put the pencil icon in front of the improve link. Signed-off-by: Martin Jorn Rogalla <54669547a225ff20cba8b75a4adca540eef25858@martinrogalla.com>
HTML
mit
nemotan/jekyll,penchan1218/jekyllcn,tillgrallert/jekyll,vidbina/jekyll,rongl/jekyll,Tyrion22/jekyll,desidude03/jekyll,stomar/jekyll,rajrathore/jekyll,LuoPX-15510486969/jekyll,LeuisKen/jekyllcn,princeofdarkness76/jekyll,larryfox/jekyll,Strangehill/jekyll,anthonyrosengren/grasshoppergathering2.github-io,shliujing/jekyll,...
html
## Code Before: --- layout: default --- <section class="docs"> <div class="grid"> {% include docs_contents_mobile.html %} <div class="unit four-fifths"> <article> <div class="improve right"> <a href="https://github.com/jekyll/jekyll/edit/master/site/{{ page.path }}">Im...
ca07dba85830fbd2dbc745779a67afabc74bd9df
app/views/messages/create.js.erb
app/views/messages/create.js.erb
<% if @message.persisted? %> var data = { success : true, statusMessage : '<%=j @notification[:notice].html_safe %>', sentMessage : '<%=j render "shared/message_list", message: @message.claim %>' } adp.messaging.processMsg(data); <% unless Claim::VALID_STATES_FOR_REDETERMINATION.include?(@message.c...
<% if @message.persisted? %> var data = { success : true, statusMessage : '<%=j @notification[:notice].html_safe %>', sentMessage : '<%=j render "shared/message_list", message: @message.claim %>' } adp.messaging.processMsg(data); <% unless Claim::VALID_STATES_FOR_REDETERMINATION.include?(@message.c...
Hide the status update section if they have send it as part of the message
Hide the status update section if they have send it as part of the message
HTML+ERB
mit
ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments
html+erb
## Code Before: <% if @message.persisted? %> var data = { success : true, statusMessage : '<%=j @notification[:notice].html_safe %>', sentMessage : '<%=j render "shared/message_list", message: @message.claim %>' } adp.messaging.processMsg(data); <% unless Claim::VALID_STATES_FOR_REDETERMINATION.inc...
6740467a15a54d4ca0bf0a7e358e2e5c92e04344
setup.py
setup.py
from setuptools import setup, find_packages import re VERSIONFILE = "openomni/_version.py" verstrline = open(VERSIONFILE, "rt").read() VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" mo = re.search(VSRE, verstrline, re.M) if mo: verstr = mo.group(1) else: raise RuntimeError("Unable to find version string in %s." ...
from setuptools import setup, find_packages import re VERSIONFILE = "openomni/_version.py" verstrline = open(VERSIONFILE, "rt").read() VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" mo = re.search(VSRE, verstrline, re.M) if mo: verstr = mo.group(1) else: raise RuntimeError("Unable to find version string in %s." ...
Install enum34 if not provided
Install enum34 if not provided
Python
mit
openaps/openomni,openaps/openomni,openaps/openomni
python
## Code Before: from setuptools import setup, find_packages import re VERSIONFILE = "openomni/_version.py" verstrline = open(VERSIONFILE, "rt").read() VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]" mo = re.search(VSRE, verstrline, re.M) if mo: verstr = mo.group(1) else: raise RuntimeError("Unable to find version...
4e8a2bc0729fa48634940fdd4924ccd80ff39571
.travis.yml
.travis.yml
install: - sudo apt-get update - sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-science texlive-bibtex-extra - sudo apt-get install chktex latexmk script: - latexmk masterthesis - latexmk presentation #- chktex -q -n 6 *.tex **/*.tex 2>/dev/null | tee l...
install: - sudo apt-get update - sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-science texlive-bibtex-extra - sudo apt-get install latexmk #- sudo apt-get install chktex script: - latexmk masterthesis - latexmk presentation #- chktex -q -n 6 *.tex **...
Move chktex to separate install command and comment it out as we are not using chktext at the moment.
Move chktex to separate install command and comment it out as we are not using chktext at the moment.
YAML
mit
fladi/CAMPUS02-LaTeX
yaml
## Code Before: install: - sudo apt-get update - sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-science texlive-bibtex-extra - sudo apt-get install chktex latexmk script: - latexmk masterthesis - latexmk presentation #- chktex -q -n 6 *.tex **/*.tex 2>/...
51a70b67f4c33218bfcb3b3fa64eaea396bfc026
app/views/tabs/_profile.html.haml
app/views/tabs/_profile.html.haml
.card .list-group.list-group-horizontal-sm.text-center = list_group_item t(".answers"), user_path(user), badge: user.answered_count = list_group_item t(".questions"), show_user_questions_path(user.screen_name), badge: user.asked_count = list_group_item t(".followers"), show_user_followers_path(user.screen...
.card .list-group.list-group-horizontal-sm.text-center = list_group_item t(".answers"), user_path(user), badge: user.answered_count = list_group_item t(".questions"), show_user_questions_path(user.screen_name), badge: user.asked_count - if user == current_user || !user.privacy_hide_social_graph = li...
Hide follower/followings tabs if social graph is hidden
Hide follower/followings tabs if social graph is hidden
Haml
agpl-3.0
Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring
haml
## Code Before: .card .list-group.list-group-horizontal-sm.text-center = list_group_item t(".answers"), user_path(user), badge: user.answered_count = list_group_item t(".questions"), show_user_questions_path(user.screen_name), badge: user.asked_count = list_group_item t(".followers"), show_user_followers_...
f2a1361a6139aff865f0a515512ec0c544948fe7
git/gitconfig.erb
git/gitconfig.erb
[user] name = Francisco J. email = nflamel@otrobloggeek.com [color] diff = auto status = auto branch = auto [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = "/usr/local/bin/mvim -f" autocrlf = input [apply] whitespace = fix [format] pretty = %C(yellow)%h%Creset %s %C(red)(%cr)%Creset [alias] co =...
[user] name = Francisco J. email = nflamel@otrobloggeek.com [color] diff = auto status = auto branch = auto [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = "/usr/local/bin/mvim -f" autocrlf = input [apply] whitespace = fix [format] pretty = %C(yellow)%h%Creset %s %C(red)(%cr)%Creset [alias] co =...
Set vimdiff as the default mergetool
Set vimdiff as the default mergetool
HTML+ERB
mit
franciscoj/dot-files,franciscoj/dot-files,franciscoj/dot-files
html+erb
## Code Before: [user] name = Francisco J. email = nflamel@otrobloggeek.com [color] diff = auto status = auto branch = auto [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = "/usr/local/bin/mvim -f" autocrlf = input [apply] whitespace = fix [format] pretty = %C(yellow)%h%Creset %s %C(red)(%cr)%Cres...
e3820943985466929d430b0e40975cea06915f36
app/admin/api_key.rb
app/admin/api_key.rb
ActiveAdmin.register ApiKey do index do column :id column :access_token default_actions end filter :access_token show do |user| attributes_table do row :id row :access_token end active_admin_comments end form do |f| f.actions end end
ActiveAdmin.register ApiKey do index do column :id column :access_token default_actions end filter :access_token show do |user| attributes_table do row :id row :access_token end active_admin_comments end form do |f| unless f.object.new_record? f.inputs "A...
Allow edit of access token in admin panel
Allow edit of access token in admin panel
Ruby
mit
mnipper/rails_survey,mnipper/rails_survey,mnipper/rails_survey
ruby
## Code Before: ActiveAdmin.register ApiKey do index do column :id column :access_token default_actions end filter :access_token show do |user| attributes_table do row :id row :access_token end active_admin_comments end form do |f| f.actions end end ## Instr...
f636452fec9b2cff48ff680bc69308603b738d0b
recipes/gstreamer/gst-plugins-ugly_0.10.18.3.bb
recipes/gstreamer/gst-plugins-ugly_0.10.18.3.bb
require gst-plugins.inc SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/pre/${PN}-${PV}.tar.bz2;name=archive" #SRC_URI_append_sifteam = " file://dvdsubdec-addproperty-singlebuffer.patch" PR = "${INC_PR}.0" DEPENDS += "gst-plugins-base libsidplay" DEPENDS_sifteam += "gst-plugins-base libsidplay opencore-amr" p...
require gst-plugins.inc SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/pre/${PN}-${PV}.tar.bz2;name=archive" #SRC_URI_append_sifteam = " file://dvdsubdec-addproperty-singlebuffer.patch" PR = "${INC_PR}.0" DEPENDS += "gst-plugins-base libsidplay" DEPENDS_sifteam += "gst-plugins-base libsidplay opencore-amr" p...
Fix gst-plugins-ugly for amr coded
Fix gst-plugins-ugly for amr coded
BitBake
mit
SIFTeam/openembedded,SIFTeam/openembedded,SIFTeam/openembedded,SIFTeam/openembedded,SIFTeam/openembedded,SIFTeam/openembedded,SIFTeam/openembedded
bitbake
## Code Before: require gst-plugins.inc SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/pre/${PN}-${PV}.tar.bz2;name=archive" #SRC_URI_append_sifteam = " file://dvdsubdec-addproperty-singlebuffer.patch" PR = "${INC_PR}.0" DEPENDS += "gst-plugins-base libsidplay" DEPENDS_sifteam += "gst-plugins-base libsidplay ...
c899b074201064f5abe00639fd022c80eaf15e7f
timeblob/fixtures/debug.yaml
timeblob/fixtures/debug.yaml
- model: auth.User pk: 1 fields: username: john_lennon first_name: John last_name: Lennon
- model: auth.User pk: 1 fields: username: alice first_name: Alice last_name: TheAdmin #password=pass password: 'pbkdf2_sha256$30000$lBLLm7V2MUpC$t9BklF/Ds9AFAVTlAxe0GG10lNfUnZXu+TuVCAr4BRA='
Add in the alice fixture
Add in the alice fixture
YAML
agpl-3.0
dkieffer/timeblob,dkieffer/timeblob,dkieffer/timeblob,dkieffer/timeblob,dkieffer/timeblob,dkieffer/timeblob
yaml
## Code Before: - model: auth.User pk: 1 fields: username: john_lennon first_name: John last_name: Lennon ## Instruction: Add in the alice fixture ## Code After: - model: auth.User pk: 1 fields: username: alice first_name: Alice last_name: TheAdmin #password=pass password: 'pbk...
c1bd0df0d77e840d7b20f1e8decbd69c3b22e859
config/initializers/mail_config.rb
config/initializers/mail_config.rb
begin if Rails.env.production? ActionMailer::Base.smtp_settings = { address: 'smtp.mandrillapp.com', port: '587', authentication: :plain, user_name: Configuration[:mandrill_user_name], password: Configuration[:mandrill], domain: 'heroku.com' } ActionMailer::Base.delivery_method = :...
begin ActionMailer::Base.default 'Content-Transfer-Encoding' => 'quoted-printable' if Rails.env.production? ActionMailer::Base.smtp_settings = { address: 'smtp.mandrillapp.com', port: '587', authentication: :plain, user_name: Configuration[:mandrill_user_name], password: Configuration[:mand...
Add quoted-printable to ActionMailer Content-Transfer-Encoding
Add quoted-printable to ActionMailer Content-Transfer-Encoding
Ruby
mit
jinutm/silverclass,jinutm/silverpro,gustavoguichard/neighborly,jinutm/silverprod,rockkhuya/taydantay,jinutm/silverme,rockkhuya/taydantay,rockkhuya/taydantay,jinutm/silverclass,raksonibs/raimcrowd,MicroPasts/micropasts-crowdfunding,jinutm/silvfinal,raksonibs/raimcrowd,raksonibs/raimcrowd,jinutm/silverprod,jinutm/silverm...
ruby
## Code Before: begin if Rails.env.production? ActionMailer::Base.smtp_settings = { address: 'smtp.mandrillapp.com', port: '587', authentication: :plain, user_name: Configuration[:mandrill_user_name], password: Configuration[:mandrill], domain: 'heroku.com' } ActionMailer::Base.del...
2a9c213c02abbabeddbf2a699fd6caf5e18bf6dd
utils/word_checking.py
utils/word_checking.py
from __future__ import unicode_literals import re from collections import Counter def check_for_flag_words(message, words_array): cnt = Counter() delims = '!"#$%&()*+,./:;<=>?@[\\]^_`{|}~\t\n\x0b\x0c\r ' pattern = r"[{}]".format(delims) message_array = re.split(pattern, message.lower()) for word...
from __future__ import unicode_literals import re from collections import Counter def check_for_flag_words(message, words_array): cnt = Counter() delims = '!"#$%&()*+,./:;<=>?@[\\]^_`{|}~\t\n\x0b\x0c\r ' pattern = r"[{}]".format(delims) message_array = re.split(pattern, message.lower()) for word...
Remove numbers from the word to check for.
Remove numbers from the word to check for.
Python
apache-2.0
jkvoorhis/cheeseburger_backpack_bot
python
## Code Before: from __future__ import unicode_literals import re from collections import Counter def check_for_flag_words(message, words_array): cnt = Counter() delims = '!"#$%&()*+,./:;<=>?@[\\]^_`{|}~\t\n\x0b\x0c\r ' pattern = r"[{}]".format(delims) message_array = re.split(pattern, message.lower...
0549bb146a54cdd195f0b2a3519cc3811c69bb80
README.md
README.md
- Simpler is better. Resist overcomplexifying. Prefer duplication over imperfect abstraction. - HTML classes for CSS, JS, and test selection should be namespaced and kept strictly separate. For example, any class used for selecting elements in tests should start with `test-`. ## Todo - App renders times in terms of ...
- Simpler is better. Resist overcomplexifying. Prefer duplication over imperfect abstraction. - HTML classes for CSS, JS, and test selection should be namespaced and kept strictly separate. For example, any class used for selecting elements in tests should start with `test-`. ## Todo - App renders times in terms of ...
Update readme w social auth links
Update readme w social auth links
Markdown
mit
topherhunt/integral-climate-action,topherhunt/integral-climate-action,topherhunt/integral-climate-action
markdown
## Code Before: - Simpler is better. Resist overcomplexifying. Prefer duplication over imperfect abstraction. - HTML classes for CSS, JS, and test selection should be namespaced and kept strictly separate. For example, any class used for selecting elements in tests should start with `test-`. ## Todo - App renders ti...
adc930b31537909c50e4e648f316690e67ec63f7
apps/displays/Vrvana_Totem.json
apps/displays/Vrvana_Totem.json
{ "hmd": { "device": { "vendor": "Vrvana", "model": "Totem", "Version": "1" }, "field_of_view": { "monocular_horizontal": 105, "monocular_vertical": 111.41, "overlap_percent": 100, "pitch_tilt": 0 }, ...
{ "meta": { "schemaVersion": 1 }, "hmd": { "device": { "vendor": "Vrvana", "model": "Totem", "Version": "1" }, "field_of_view": { "monocular_horizontal": 105, "monocular_vertical": 111.41, "overlap_percen...
Add schema version to Vrvana descriptor
Add schema version to Vrvana descriptor
JSON
apache-2.0
OSVR/OSVR-Core,d235j/OSVR-Core,Armada651/OSVR-Core,OSVR/OSVR-Core,OSVR/OSVR-Core,feilen/OSVR-Core,d235j/OSVR-Core,d235j/OSVR-Core,feilen/OSVR-Core,leemichaelRazer/OSVR-Core,leemichaelRazer/OSVR-Core,OSVR/OSVR-Core,godbyk/OSVR-Core,feilen/OSVR-Core,Armada651/OSVR-Core,feilen/OSVR-Core,godbyk/OSVR-Core,godbyk/OSVR-Core,d...
json
## Code Before: { "hmd": { "device": { "vendor": "Vrvana", "model": "Totem", "Version": "1" }, "field_of_view": { "monocular_horizontal": 105, "monocular_vertical": 111.41, "overlap_percent": 100, "pitch_tilt...
93a26130193277d108eae198661b9ead6004bd31
src/Image/Transformation/Clip.php
src/Image/Transformation/Clip.php
<?php /** * This file is part of the Imbo package * * (c) Christer Edvartsen <cogo@starzinger.net> * * For the full copyright and license information, please view the LICENSE file that was * distributed with this source code. */ namespace Imbo\Image\Transformation; use Imbo\Exception\TransformationException, ...
<?php /** * This file is part of the Imbo package * * (c) Christer Edvartsen <cogo@starzinger.net> * * For the full copyright and license information, please view the LICENSE file that was * distributed with this source code. */ namespace Imbo\Image\Transformation; use Imbo\Exception\TransformationException, ...
Handle files without a clip path
Handle files without a clip path
PHP
mit
imbo/imbo,imbo/imbo,matslindh/imbo,matslindh/imbo,TV2/imbo,TV2/imbo
php
## Code Before: <?php /** * This file is part of the Imbo package * * (c) Christer Edvartsen <cogo@starzinger.net> * * For the full copyright and license information, please view the LICENSE file that was * distributed with this source code. */ namespace Imbo\Image\Transformation; use Imbo\Exception\Transforma...
c128d4f6c1346d1ad5456c420a4b177e8a81b7fb
db/migrate/1_create_retailers_retailers.rb
db/migrate/1_create_retailers_retailers.rb
class CreateRetailersRetailers < ActiveRecord::Migration def up create_table :refinery_retailers do |t| t.string :title t.string :contact t.string :address t.string :zipcode t.string :phone t.string :fax t.string :email t.string :website t.boolean :draft ...
class CreateRetailersRetailers < ActiveRecord::Migration def up create_table :refinery_retailers do |t| t.string :title t.string :contact t.string :address t.string :zipcode t.string :phone t.string :fax t.string :email t.string :website t.boolean :draft, def...
Add default true to draft
Add default true to draft
Ruby
mit
bisscomm/refinerycms-retailers,bisscomm/refinerycms-retailers
ruby
## Code Before: class CreateRetailersRetailers < ActiveRecord::Migration def up create_table :refinery_retailers do |t| t.string :title t.string :contact t.string :address t.string :zipcode t.string :phone t.string :fax t.string :email t.string :website t.boo...
1516c3b52ad83d82351a1bab9aa0ccc37916d6a2
group_vars/all/files.yml
group_vars/all/files.yml
--- ## --------------------- ## Files to download ## --------------------- download_files: - url: https://raw.githubusercontent.com/99designs/aws-vault/master/completions/zsh/_aws-vault dest: "{{ ansible_user_dir }}/.oh-my-zsh/custom/plugins/aws-vault/aws-vault.plugin.zsh"
--- ## --------------------- ## Files to download ## --------------------- download_files: - url: https://raw.githubusercontent.com/99designs/aws-vault/master/contrib/completions/zsh/aws-vault.zsh dest: "{{ ansible_user_dir }}/.oh-my-zsh/custom/plugins/aws-vault/aws-vault.plugin.zsh"
Update download URL for aws vault zsh completions
Update download URL for aws vault zsh completions
YAML
mit
jradtilbrook/dotfiles,jradtilbrook/dotfiles,jradtilbrook/dotfiles
yaml
## Code Before: --- ## --------------------- ## Files to download ## --------------------- download_files: - url: https://raw.githubusercontent.com/99designs/aws-vault/master/completions/zsh/_aws-vault dest: "{{ ansible_user_dir }}/.oh-my-zsh/custom/plugins/aws-vault/aws-vault.plugin.zsh" ## Instruction: Update ...
202941769bd594e31719303882df16ee6ece95c9
react/index.js
react/index.js
var deps = [ '/stdlib/tag.js', '/stdlib/observable.js' ]; function increment(x) { return String(parseInt(x, 10) + 1); } function onReady(tag, observable) { var value = observable.observe("0"); function onChange(evt) { value.set(evt.target.value); } var input = tag.tag({ na...
var deps = [ '/stdlib/tag.js', '/stdlib/observable.js' ]; function increment(x) { return String(parseInt(x, 10) + 1); } function onReady(tag, observable) { var value = observable.observe("0"); var input = tag.tag({ name: 'input', attributes: {type: 'number', value: value}, });...
Add 'change' event handler if tag attribute is an observable.
Add 'change' event handler if tag attribute is an observable.
JavaScript
bsd-3-clause
garious/poochie-examples,garious/yoink-examples,garious/poochie-examples,garious/yoink-examples
javascript
## Code Before: var deps = [ '/stdlib/tag.js', '/stdlib/observable.js' ]; function increment(x) { return String(parseInt(x, 10) + 1); } function onReady(tag, observable) { var value = observable.observe("0"); function onChange(evt) { value.set(evt.target.value); } var input = tag....
a7171299d286804eb122e5c02bf6a7ef663f4a65
lib/modules/simple_find.rb
lib/modules/simple_find.rb
module SimpleFind module ClassMethods def find_by_name(name) self.find(:all, :params =>{:q => name}) end end def self.included(receiver) receiver.extend ClassMethods end end
module SimpleFind module ClassMethods def find_by_name(name) self.find(:all, :params =>{:q => name}) end def find(*arguments) scope = arguments.slice!(0) options = arguments.slice!(0) || {} case scope when :all then find_every(options) when :first then fin...
Patch to make find(:first) work with the OIO interface
Patch to make find(:first) work with the OIO interface
Ruby
mit
olleolleolle/oiorest,jacobat/oiorest
ruby
## Code Before: module SimpleFind module ClassMethods def find_by_name(name) self.find(:all, :params =>{:q => name}) end end def self.included(receiver) receiver.extend ClassMethods end end ## Instruction: Patch to make find(:first) work with the OIO interface ## Code After: module SimpleFi...
610093334d18c97b1560436d5e14aafd8efc2b34
Readme.md
Readme.md
A rubygem application that lets you deploy via rsync using --excludes and host information defined in a config file within your project. ## Example deploy-to.yml # Ignore files, relative from base (currently base is the root of the project only) ignore: [ .htaccess, .DS_Store ] #...
A rubygem application that lets you deploy via rsync using --excludes and host information defined in a config file within your project. ## Example deploy-to.yml # Ignore files, relative from base (currently base is the root of the project only) ignore: [ .htaccess, .DS_Store ] #...
Update the readme to reflect the post_commands configuration
Update the readme to reflect the post_commands configuration
Markdown
mit
bshelton229/deploy-to
markdown
## Code Before: A rubygem application that lets you deploy via rsync using --excludes and host information defined in a config file within your project. ## Example deploy-to.yml # Ignore files, relative from base (currently base is the root of the project only) ignore: [ .htaccess, .DS_Store ...
69948f4a4ac2372eeeea57f9df15a1f0221cefde
public/locales/ig/send.ftl
public/locales/ig/send.ftl
title = Firefox Zi ## Send version 2 strings
title = Firefox Zi fileTooBig = File a ebuka to upload. Ọ kwẹsịrọ ịkalị { $size } ## Send version 2 strings
Update Igbo (ig) localization of Firefox Send Co-authored-by: sugabelly <sugabelly@gmail.com>
Pontoon: Update Igbo (ig) localization of Firefox Send Co-authored-by: sugabelly <7f2a83dacf03645c2b676ea9545b189d99ea20df@gmail.com>
FreeMarker
mpl-2.0
mozilla/send,mozilla/send,mozilla/send,mozilla/send,mozilla/send
freemarker
## Code Before: title = Firefox Zi ## Send version 2 strings ## Instruction: Pontoon: Update Igbo (ig) localization of Firefox Send Co-authored-by: sugabelly <7f2a83dacf03645c2b676ea9545b189d99ea20df@gmail.com> ## Code After: title = Firefox Zi fileTooBig = File a ebuka to upload. Ọ kwẹsịrọ ịkalị { $size } ## Send...
6b8b72034e4d23abf09f6dda738d9d222fa0a5dc
src/notes/programming-key-principles.md
src/notes/programming-key-principles.md
- Encapsulated - Portable - Deterministic - Explicit - Declarative - Automated - Compiled - Tested - Linted - Documented - Formatted - Reliable - Stable - Versioned - Safe - Efficient - Fast - Lightweight
- Tradeoffs - Respectful - Open-minded - Pragmatic - Encapsulated - Portable - Deterministic - Explicit - Declarative - Automated - Compiled - Tested - Linted - Documented - Formatted - Reliable - Stable - Versioned - Safe - Efficient - Fast - Lightweight
Add tradeoffs to programming principles
Add tradeoffs to programming principles
Markdown
mit
trevordmiller/shell-scripts,trevordmiller/shell-scripts
markdown
## Code Before: - Encapsulated - Portable - Deterministic - Explicit - Declarative - Automated - Compiled - Tested - Linted - Documented - Formatted - Reliable - Stable - Versioned - Safe - Efficient - Fast - Lightweight ## Instruction: Add tradeoffs to programming principles ## Code Afte...
2bf28746adf932641f2c13624f4329257253b4bc
src/app/components/game/game.tpl.html
src/app/components/game/game.tpl.html
<header> <span>Started at {{model.game.createdAt}}</span> <span>Round: {{model.game.round}}</span> </header> <div class="row"> <div class="col-sm-12"> <div class="play-area" ng-if="gameCtrl.isGameStarted()"> <deck type="{{::deck.deckType}}" deck-id="{{::deck.id}}" ng-repeat="deck in gameCtrl.getDecks()"></deck>...
<header> <div class="row"> <span class="col-sm-6">Started @ {{model.game.createdAt}}</span> <span class="col-sm-4">ROUND: {{model.game.round}}</span> </div> </header> <div class="row"> <div class="col-sm-12"> <div class="play-area" ng-if="gameCtrl.isGameStarted()"> <deck type="{{::deck.deckType}}" deck-id="...
Update styling of content in the 'header'
Update styling of content in the 'header'
HTML
unlicense
ejwaibel/squarrels,ejwaibel/squarrels
html
## Code Before: <header> <span>Started at {{model.game.createdAt}}</span> <span>Round: {{model.game.round}}</span> </header> <div class="row"> <div class="col-sm-12"> <div class="play-area" ng-if="gameCtrl.isGameStarted()"> <deck type="{{::deck.deckType}}" deck-id="{{::deck.id}}" ng-repeat="deck in gameCtrl.get...
d7077c562330438fb3b21c14a0c931ae9ba0d898
app/models/vcard/swiss_match.rb
app/models/vcard/swiss_match.rb
module Vcard::SwissMatch def self.included(base) base.extend ClassMethods end def directory_lookup search = {} search[:first_name] = given_name search[:last_name] = family_name search[:street] = street_address search[:zip_code] = postal_code search[:city] = locality ::SwissMatch....
module Vcard::SwissMatch def self.included(base) base.extend ClassMethods end def map_for_directory search = {} search[:first_name] = given_name search[:last_name] = family_name search[:street] = street_address search[:zip_code] = postal_code search[:city] = locality search end...
Support passing an ignore_fields parameter to Vcard.directory_lookup and .directory_match?.
Support passing an ignore_fields parameter to Vcard.directory_lookup and .directory_match?.
Ruby
mit
huerlisi/has_vcards,hauledev/has_vcards,hauledev/has_vcards,huerlisi/has_vcards,huerlisi/has_vcards,hauledev/has_vcards
ruby
## Code Before: module Vcard::SwissMatch def self.included(base) base.extend ClassMethods end def directory_lookup search = {} search[:first_name] = given_name search[:last_name] = family_name search[:street] = street_address search[:zip_code] = postal_code search[:city] = locality ...
97bd1d92c0048f0e96d8db4bfe3fdd98e883a6ae
lib/premailer/rails/css_loaders/network_loader.rb
lib/premailer/rails/css_loaders/network_loader.rb
class Premailer module Rails module CSSLoaders module NetworkLoader extend self def load(url) uri = uri_for_url(url) Net::HTTP.get(uri) if uri end def uri_for_url(url) uri = URI(url) if uri.host.present? return uri if uri...
class Premailer module Rails module CSSLoaders module NetworkLoader extend self def load(url) uri = uri_for_url(url) Net::HTTP.get(uri, { 'Accept' => 'text/css' }) if uri end def uri_for_url(url) uri = URI(url) if uri.host.present? ...
Add Accept header to requests in NetworkLoader
fix: Add Accept header to requests in NetworkLoader This allows development servers to serve the correct file type. For more information see https://github.com/ElMassimo/vite_ruby/pull/93#issuecomment-865426710
Ruby
mit
fphilipe/premailer-rails,fphilipe/premailer-rails,fphilipe/premailer-rails
ruby
## Code Before: class Premailer module Rails module CSSLoaders module NetworkLoader extend self def load(url) uri = uri_for_url(url) Net::HTTP.get(uri) if uri end def uri_for_url(url) uri = URI(url) if uri.host.present? r...
df99a11ee775659482cc04409791490bb6ddb2a5
source/_partials/slideshow.blade.php
source/_partials/slideshow.blade.php
<section class="slideshow" role="landmark"> <!-- Slider main container --> <div class="swiper-container"> <!-- Additional required wrapper --> <div class="swiper-wrapper"> <!-- Slides --> @foreach ($page->images as $index => $image) <div class="swiper-slide" data-hash="{{ ++$index }}"> <div ...
<section class="slideshow" role="landmark"> <!-- Slider main container --> <div class="swiper-container"> <!-- Additional required wrapper --> <div class="swiper-wrapper"> <!-- Slides --> @foreach ($page->images as $index => $image) <div class="swiper-slide" data-hash="{{ ++$index }}"> <div ...
Remove preview dates from slideshow title card
Remove preview dates from slideshow title card
PHP
agpl-3.0
art-institute-of-chicago/gauguin-microsite,art-institute-of-chicago/gauguin-microsite,art-institute-of-chicago/gauguin-microsite
php
## Code Before: <section class="slideshow" role="landmark"> <!-- Slider main container --> <div class="swiper-container"> <!-- Additional required wrapper --> <div class="swiper-wrapper"> <!-- Slides --> @foreach ($page->images as $index => $image) <div class="swiper-slide" data-hash="{{ ++$index }}"...
1d486d8035e918a83dce5a70c83149a06d982a9f
Instanssi/admin_calendar/models.py
Instanssi/admin_calendar/models.py
from django.db import models from django.contrib import admin from django.contrib.auth.models import User from imagekit.models import ImageSpec from imagekit.processors import resize class CalendarEvent(models.Model): user = models.ForeignKey(User, verbose_name=u'Käyttäjä') start = models.DateTimeField(u'Alku...
from django.db import models from django.contrib import admin from django.contrib.auth.models import User from imagekit.models import ImageSpecField from imagekit.processors import ResizeToFill class CalendarEvent(models.Model): user = models.ForeignKey(User, verbose_name=u'Käyttäjä') start = models.DateTimeF...
Fix to work on the latest django-imagekit
admin_calendar: Fix to work on the latest django-imagekit
Python
mit
Instanssi/Instanssi.org,Instanssi/Instanssi.org,Instanssi/Instanssi.org,Instanssi/Instanssi.org
python
## Code Before: from django.db import models from django.contrib import admin from django.contrib.auth.models import User from imagekit.models import ImageSpec from imagekit.processors import resize class CalendarEvent(models.Model): user = models.ForeignKey(User, verbose_name=u'Käyttäjä') start = models.Date...
ed30481e988ff29a2dfcdc23d15353bdc0ef4c04
circle.yml
circle.yml
machine: pre: - sudo rm /home/ubuntu/virtualenvs/venv-system/lib/python2.7/no-global-site-packages.txt
dependencies: pre: - sudo rm /home/ubuntu/virtualenvs/venv-system/lib/python2.7/no-global-site-packages.txt
Delete virtualenv configuration for no site packages
Delete virtualenv configuration for no site packages
YAML
agpl-3.0
okfn-brasil/gastos_abertos,LuizArmesto/gastos_abertos,okfn-brasil/gastos_abertos,nucleo-digital/gastos_abertos,LuizArmesto/gastos_abertos,andresmrm/gastos_abertos,andresmrm/gastos_abertos
yaml
## Code Before: machine: pre: - sudo rm /home/ubuntu/virtualenvs/venv-system/lib/python2.7/no-global-site-packages.txt ## Instruction: Delete virtualenv configuration for no site packages ## Code After: dependencies: pre: - sudo rm /home/ubuntu/virtualenvs/venv-system/lib/python2.7/no-global-s...
6ce14f21cec2c37939f68aaf40d5227c80636e53
app_bikes/forms.py
app_bikes/forms.py
from dal import autocomplete from django import forms class BikeModelForm(forms.ModelForm): def __init__(self, *args, **kw): super(BikeModelForm, self).__init__(*args, **kw) if self.instance is not None: # Saved instance is loaded, setup choices to display the selected value ...
from dal import autocomplete from django import forms class BikeModelForm(forms.ModelForm): def __init__(self, *args, **kw): super(BikeModelForm, self).__init__(*args, **kw) if self.instance is not None: # Saved instance is loaded, setup choices to display the selected value ...
Add docstring to explain the code
Add docstring to explain the code
Python
agpl-3.0
laboiteproject/laboite-backend,laboiteproject/laboite-backend,bgaultier/laboitepro,bgaultier/laboitepro,bgaultier/laboitepro,laboiteproject/laboite-backend
python
## Code Before: from dal import autocomplete from django import forms class BikeModelForm(forms.ModelForm): def __init__(self, *args, **kw): super(BikeModelForm, self).__init__(*args, **kw) if self.instance is not None: # Saved instance is loaded, setup choices to display the selected ...
e016b68acd1b0176bb67e0803e12698e0ab4e63d
src/util/verticalRhythm.js
src/util/verticalRhythm.js
import ms from 'modularscale' // Calculate box model values that conforms to the established Vertical Rhythm export function boxModelRuleVerticalRhythm ( size, { baseFontSize, lineHeightRatio } ) { if (!size) { return null } const baseline = Math.floor(lineHeightRatio * baseFontSize) const retval = bas...
import ms from 'modularscale' // Calculate box model values that conforms to the established Vertical Rhythm export function boxModelRuleVerticalRhythm ( size, { baseFontSize, lineHeightRatio } ) { if (size === undefined || size == null) { return size } const baseline = Math.floor(lineHeightRatio * baseF...
Fix bug that prevented vertical rhythm scaling for 0 values
Fix bug that prevented vertical rhythm scaling for 0 values
JavaScript
mit
dlindahl/stemcell,dlindahl/stemcell
javascript
## Code Before: import ms from 'modularscale' // Calculate box model values that conforms to the established Vertical Rhythm export function boxModelRuleVerticalRhythm ( size, { baseFontSize, lineHeightRatio } ) { if (!size) { return null } const baseline = Math.floor(lineHeightRatio * baseFontSize) co...
65aad32c8ecbecf7228e16e0a3025db6aa4a57a0
_data/navigation.yml
_data/navigation.yml
- title: Home url: "/" side: left - title: Blog url: "/blog/" side: left dropdown: - title: Blog url: "/blog/" - title: "Arquivos do Blog" url: "/blog/arquivo/" - title: "Galeria" url: "/galeria/" side: left dropdown: - title: Eventos e Palestras url: "/galeria/eventos/" - title: "S...
- title: Home url: "/" side: left - title: Blog url: "/blog/" side: left dropdown: - title: Blog url: "/blog/" - title: "Arquivos do Blog" url: "/blog/arquivo/" - title: "Galeria" url: "/galeria/" side: left dropdown: - title: Eventos e Palestras url: "/galeria/eventos/" - title: "S...
Revert "retirando link doar para corrigir bug"
Revert "retirando link doar para corrigir bug" This reverts commit 494d6fad7d20201248e6cadfac64dc0560d8333f.
YAML
mit
inspiradanacomputacao/inspiradanacomputacao.github.io,teste-blog-inspirada/teste-blog-inspirada.github.io,teste-blog-inspirada/teste-blog-inspirada.github.io,teste-blog-inspirada/teste-blog-inspirada.github.io,inspiradanacomputacao/inspiradanacomputacao.github.io,inspiradanacomputacao/inspiradanacomputacao.github.io,te...
yaml
## Code Before: - title: Home url: "/" side: left - title: Blog url: "/blog/" side: left dropdown: - title: Blog url: "/blog/" - title: "Arquivos do Blog" url: "/blog/arquivo/" - title: "Galeria" url: "/galeria/" side: left dropdown: - title: Eventos e Palestras url: "/galeria/evento...
c6bc3b638ec527e4ff301fc56adeb918951e47f1
autogen.sh
autogen.sh
set -x (git rev-parse HEAD ; git describe) 2> /dev/null > src/githash aclocal -I config #autoheader libtoolize --automake touch AUTHORS ChangeLog automake --add-missing --copy autoconf
set -x (git rev-parse HEAD ; git describe) 2> /dev/null > src/githash if [ ! -d "config" ] ; then mkdir config fi aclocal -I config #autoheader libtoolize --automake touch AUTHORS touch ChangeLog automake --add-missing --copy autoconf
Make config directory as needed
Make config directory as needed Signed-off-by: Owen Synge <d1d4fd964cef7d0e7c6a7c6237ad92c9cf2de236@jaysnest.de>
Shell
lgpl-2.1
osynge/whenenv-rust,osynge/whenenv-rust
shell
## Code Before: set -x (git rev-parse HEAD ; git describe) 2> /dev/null > src/githash aclocal -I config #autoheader libtoolize --automake touch AUTHORS ChangeLog automake --add-missing --copy autoconf ## Instruction: Make config directory as needed Signed-off-by: Owen Synge <d1d4fd964cef7d0e7c6a7c6237ad92c9cf2de236...
74e4e11d24300fd302fa2fa7729510c759496b69
lib/vidibus/sysinfo/result.rb
lib/vidibus/sysinfo/result.rb
module Vidibus module Sysinfo class Result include Helper def initialize(options) @@attrs.each do |attr| instance_variable_set("@#{attr}", options[attr]) end end class << self def attrs(*args) self.send(:attr, *args) @@attrs = args ...
module Vidibus module Sysinfo class Result include Helper def initialize(options) attrs.each do |attr| instance_variable_set("@#{attr}", options[attr]) end end private def attrs self.class.instance_variable_get('@attrs') end class << ...
Fix access of class level attrs
Fix access of class level attrs
Ruby
mit
vidibus/vidibus-sysinfo
ruby
## Code Before: module Vidibus module Sysinfo class Result include Helper def initialize(options) @@attrs.each do |attr| instance_variable_set("@#{attr}", options[attr]) end end class << self def attrs(*args) self.send(:attr, *args) @...
d58d68a2990c6effd98093957bb7520814508fcd
web/static/js/battle_snake/board_viewer.js
web/static/js/battle_snake/board_viewer.js
import Mousetrap from "mousetrap"; import $ from "jquery"; import socket from "../socket" import "../empties/modal"; const logError = resp => { console.error("Unable to join", resp) }; const init = (gameId) => { if(typeof gameId === "undefined") { return; } const boardViewerChannel = socket.channel(`boar...
import Mousetrap from "mousetrap"; import socket from "../socket" import "../empties/modal"; const logError = resp => { console.error("Unable to join", resp) }; const init = (gameId) => { if(typeof gameId === "undefined") { return; } const boardViewerChannel = socket.channel(`board_viewer:${gameId}`, {co...
Optimize dom replacement for board viewer
Optimize dom replacement for board viewer This one line cuts down the "loading" slice from the chrome timeline from 25% to 3%. jQuery.html performs a very expensive html validation before inserting to into the dom. Because we *hope* that we're sending valid html before hand we don't need to do this. This leaves page...
JavaScript
agpl-3.0
Dkendal/battle_snake,Dkendal/battle_snake,Dkendal/battle_snake,Dkendal/battle_snake,Dkendal/battle_snake
javascript
## Code Before: import Mousetrap from "mousetrap"; import $ from "jquery"; import socket from "../socket" import "../empties/modal"; const logError = resp => { console.error("Unable to join", resp) }; const init = (gameId) => { if(typeof gameId === "undefined") { return; } const boardViewerChannel = sock...
13e2740bd9f644da0db59af55a3f45d53d5540fa
setup.cfg
setup.cfg
[metadata] name = glue-vispy-viewers url = https://github.com/glue-viz/glue-3d-viewer author = Thomas Robitaille, Penny Qian, and Maxwell Tsai author_email = glueviz@gmail.com description = Vispy-based viewers for Glue long_description = file: README.rst [options] zip_safe = True packages = find: setup_requires = setu...
[metadata] name = glue-vispy-viewers url = https://github.com/glue-viz/glue-3d-viewer author = Thomas Robitaille, Penny Qian, and Maxwell Tsai author_email = glueviz@gmail.com description = Vispy-based viewers for Glue long_description = file: README.rst [options] zip_safe = True packages = find: setup_requires = setu...
Include matplotlib in install_requires since it's used in glue_vispy_viewers.volume
Include matplotlib in install_requires since it's used in glue_vispy_viewers.volume
INI
bsd-2-clause
PennyQ/astro-vispy,glue-viz/glue-3d-viewer,glue-viz/glue-vispy-viewers
ini
## Code Before: [metadata] name = glue-vispy-viewers url = https://github.com/glue-viz/glue-3d-viewer author = Thomas Robitaille, Penny Qian, and Maxwell Tsai author_email = glueviz@gmail.com description = Vispy-based viewers for Glue long_description = file: README.rst [options] zip_safe = True packages = find: setup...
14c9b9d09ea5e16060bb00116cae54c550a01f67
app/views/references/update.js.erb
app/views/references/update.js.erb
$('.message-container').html(''); $('input#reference-parent-typeahead').val('<%= @reference.parent.try('citation').try('html_safe') %>'); $('a#tab-heading').html('<%= @reference.citation %>'); $('#search-result-details-info-message-container').html('<%= @message %>'); $('select#reference_ref_type_id').focus(); <% unles...
$('.message-container').html(''); $('input#reference-parent-typeahead').val('<%= @reference.parent.try('citation').try('html_safe') %>'); $('a#tab-heading').html('<%= @reference.citation %>'); $('#search-result-details-info-message-container').html('<%= @message %>'); $('select#reference_ref_type_id').focus(); <% unles...
Update message now shows even for refs with apostrophe in citation - using escape_javascript.
Update message now shows even for refs with apostrophe in citation - using escape_javascript.
HTML+ERB
apache-2.0
bio-org-au/nsl-editor,bio-org-au/nsl-editor,bio-org-au/nsl-editor,bio-org-au/nsl-editor
html+erb
## Code Before: $('.message-container').html(''); $('input#reference-parent-typeahead').val('<%= @reference.parent.try('citation').try('html_safe') %>'); $('a#tab-heading').html('<%= @reference.citation %>'); $('#search-result-details-info-message-container').html('<%= @message %>'); $('select#reference_ref_type_id').f...
fa300c48b25caa51d38bd8f78d28b9ad9da82d37
README.md
README.md
Like `chmod -R`. Takes the same arguments as `fs.chmod()`
Has the same effect as the command line command: `chmod -R`. ## Install ``` npm i --save chmodr ``` ## Usage Takes the same arguments as [`fs.chmod()`](https://nodejs.org/api/fs.html#fs_fs_chmod_path_mode_callback) chmodr(path, mode, callback) * path `<string>` | `<Buffer>` | `<URL>` * mode `<integer>` * callback ...
Add usage and examples in readme
Add usage and examples in readme
Markdown
isc
isaacs/chmodr
markdown
## Code Before: Like `chmod -R`. Takes the same arguments as `fs.chmod()` ## Instruction: Add usage and examples in readme ## Code After: Has the same effect as the command line command: `chmod -R`. ## Install ``` npm i --save chmodr ``` ## Usage Takes the same arguments as [`fs.chmod()`](https://nodejs.org/api/...
1532259fcae8712777e1cedefc91224ee60a6aaa
src/test/fuzz/parse_hd_keypath.cpp
src/test/fuzz/parse_hd_keypath.cpp
// Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <test/fuzz/fuzz.h> #include <util/bip32.h> void test_one_input(const std::vector<uint8_t>& buffer) { const std:...
// Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <test/fuzz/FuzzedDataProvider.h> #include <test/fuzz/fuzz.h> #include <test/fuzz/util.h> #include <util/bip32.h> #i...
Add fuzzing coverage for FormatHDKeypath(...) and WriteHDKeypath(...)
tests: Add fuzzing coverage for FormatHDKeypath(...) and WriteHDKeypath(...)
C++
mit
achow101/bitcoin,n1bor/bitcoin,jlopp/statoshi,instagibbs/bitcoin,n1bor/bitcoin,AkioNak/bitcoin,AkioNak/bitcoin,anditto/bitcoin,jambolo/bitcoin,tecnovert/particl-core,AkioNak/bitcoin,MeshCollider/bitcoin,jamesob/bitcoin,Sjors/bitcoin,sstone/bitcoin,practicalswift/bitcoin,rnicoll/bitcoin,anditto/bitcoin,apoelstra/bitcoin...
c++
## Code Before: // Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <test/fuzz/fuzz.h> #include <util/bip32.h> void test_one_input(const std::vector<uint8_t>& buffer) ...
ef52c39df9a90401fc237383ef270360c3ef90f7
src/Ojs/JournalBundle/DataFixtures/Alice/article.yml
src/Ojs/JournalBundle/DataFixtures/Alice/article.yml
\Ojs\JournalBundle\Entity\Article: article{1..50}: doi: <regexify('\d{9}')> firstPage: <boolean(20)> isAnonymous: false journal: @journal* keywords: <text(10)>,<text(10)>,<text(10)> lastPage: <randomNumber(3)> pubdate: <dateTimeThisYear()> status: <boolean(80)> subjects: <text(85)>...
\Ojs\JournalBundle\Entity\Article: article{1..50}: doi: <regexify('\d{9}')> firstPage: <boolean(20)> isAnonymous: false journal: @journal* keywords: <text(10)>,<text(10)>,<text(10)> lastPage: <randomNumber(3)> pubdate: <dateTimeThisYear()> status: 3 subjects: <text(85)>,<text(84)>,...
Test fixed. JournalList limit updated.
Test fixed. JournalList limit updated.
YAML
mit
okulbilisim/ojs,beyzakokcan/ojs,okulbilisim/ojs,beyzakokcan/ojs,beyzakokcan/ojs,okulbilisim/ojs
yaml
## Code Before: \Ojs\JournalBundle\Entity\Article: article{1..50}: doi: <regexify('\d{9}')> firstPage: <boolean(20)> isAnonymous: false journal: @journal* keywords: <text(10)>,<text(10)>,<text(10)> lastPage: <randomNumber(3)> pubdate: <dateTimeThisYear()> status: <boolean(80)> subj...
4fd503b8a724c788a5129c0ee3794397518c6a7e
windows/build-foreign.bat
windows/build-foreign.bat
@echo off SET GENERATOR="Visual Studio 15 2017" SET GENERATOR64="Visual Studio 15 2017 Win64" cd ../foreign/ cd SPIRV-Tools mkdir build cd build cmake -G%GENERATOR% -DSPIRV-Headers_SOURCE_DIR=%cd%/../../SPIRV-Headers .. cmake --build . cmake --build . --config Release cd .. mkdir build64 cd build64 cmake -G%GENERAT...
@echo off SET GENERATOR="Visual Studio 16 2019" cd ../foreign/ cd SPIRV-Tools mkdir build cd build cmake -G%GENERATOR% -A Win32 -DSPIRV-Headers_SOURCE_DIR=%cd%/../../SPIRV-Headers .. cmake --build . cmake --build . --config Release cd .. mkdir build64 cd build64 cmake -G%GENERATOR% -A x64 -DSPIRV-Headers_SOURCE_DIR...
Update windows build bat for new CMake / Visual Studio
Update windows build bat for new CMake / Visual Studio
Batchfile
mit
turol/smaaDemo,turol/smaaDemo,turol/smaaDemo,turol/smaaDemo,turol/smaaDemo,turol/smaaDemo,turol/smaaDemo,turol/smaaDemo,turol/smaaDemo,turol/smaaDemo,turol/smaaDemo
batchfile
## Code Before: @echo off SET GENERATOR="Visual Studio 15 2017" SET GENERATOR64="Visual Studio 15 2017 Win64" cd ../foreign/ cd SPIRV-Tools mkdir build cd build cmake -G%GENERATOR% -DSPIRV-Headers_SOURCE_DIR=%cd%/../../SPIRV-Headers .. cmake --build . cmake --build . --config Release cd .. mkdir build64 cd build64 ...
4ad7cdb49249c3c75b10cc98aa54f97522006ef2
tests/Identicon/Functional/IndexTest.php
tests/Identicon/Functional/IndexTest.php
<?php namespace Identicon\Tests; use Silex\WebTestCase; class IndexTest extends WebTestCase { public function createApplication() { return require __DIR__ . "/../../../src/production.php"; } public function testLoadingIndexPage() { $client = $this->createClient(); $crawle...
<?php namespace Identicon\Tests; use Silex\WebTestCase; class IndexTest extends WebTestCase { public function createApplication() { return require __DIR__ . "/../../../src/production.php"; } public function testLoadingIndexPage() { $client = $this->createClient(); $crawle...
Index page: title tag must contain "Identicons".
Index page: title tag must contain "Identicons".
PHP
mit
rmhdev/identicon,rmhdev/identicon
php
## Code Before: <?php namespace Identicon\Tests; use Silex\WebTestCase; class IndexTest extends WebTestCase { public function createApplication() { return require __DIR__ . "/../../../src/production.php"; } public function testLoadingIndexPage() { $client = $this->createClient();...
61e479b1966317df903561972eef1bd8001b626a
language/tests/regent/run_pass/inline_task_rawfields.rg
language/tests/regent/run_pass/inline_task_rawfields.rg
-- Copyright 2020 Stanford University -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agree...
-- Copyright 2020 Stanford University -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agree...
Update the task inliner test
tests: Update the task inliner test
Rouge
apache-2.0
StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion
rouge
## Code Before: -- Copyright 2020 Stanford University -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applica...
370726c0a28b67f9b92f49a92f300e3ee4554922
Transport/Transport.swift
Transport/Transport.swift
// // Transport.swift // Transport // // Created by Paul Young on 26/08/2014. // Copyright (c) 2014 CocoaFlow. All rights reserved. // import MessageTransfer public protocol Transport: MessageSenderWithReceiver { init(_ messageReceiver: MessageReceiverWithSender) }
// // Transport.swift // Transport // // Created by Paul Young on 26/08/2014. // Copyright (c) 2014 CocoaFlow. All rights reserved. // import MessageTransfer public protocol Transport: MessageSenderWithReceiver { }
Remove overly restrictive init method.
Remove overly restrictive init method. The intention was to require a transport to use a specific type of MessageReceiver via the init method. There seems to be no feasible alternative due to lack of support for circular references, or redefined properties in protocol inheritance.
Swift
apache-2.0
CocoaFlow/Transport,CocoaFlow/Transport
swift
## Code Before: // // Transport.swift // Transport // // Created by Paul Young on 26/08/2014. // Copyright (c) 2014 CocoaFlow. All rights reserved. // import MessageTransfer public protocol Transport: MessageSenderWithReceiver { init(_ messageReceiver: MessageReceiverWithSender) } ## Instruction: Remove...
7161863e1574719e72de0265258ba03fa954c9fa
lib/kanji/application.rb
lib/kanji/application.rb
require "roda" require "roda/plugins/flow" require "dry-configurable" require "dry-monitor" module Kanji class Application < ::Roda extend Dry::Configurable setting :container, reader: true plugin :render, views: "app/views" plugin :error_handler plugin :flow def self.configure(&block) ...
require "roda" require "roda/plugins/flow" require "dry-configurable" module Kanji class Application < ::Roda extend Dry::Configurable setting :container, reader: true plugin :render, views: "app/views" plugin :error_handler plugin :flow def self.configure(&block) super.tap do ...
Remove unneeded require of dry-monitor
Remove unneeded require of dry-monitor
Ruby
mit
dphaener/kanji,dphaener/kanji
ruby
## Code Before: require "roda" require "roda/plugins/flow" require "dry-configurable" require "dry-monitor" module Kanji class Application < ::Roda extend Dry::Configurable setting :container, reader: true plugin :render, views: "app/views" plugin :error_handler plugin :flow def self.confi...
78296e7326dd9faedcc850e2670563c40bfabe3f
spec/controllers/vm_cloud_controller/trees_spec.rb
spec/controllers/vm_cloud_controller/trees_spec.rb
describe VmCloudController do render_views before :each do set_user_privileges EvmSpecHelper.create_guid_miq_server_zone end context "#tree_select" do [ %w(Instances instances_tree), %w(Images images_tree), %w(Instances instances_filter_tree), %w(Images images_filter_tree) ...
describe VmCloudController do render_views before :each do set_user_privileges EvmSpecHelper.create_guid_miq_server_zone end context "#tree_select" do [ %w(Instances instances_tree), %w(Images images_tree), %w(Instances instances_filter_tree), %w(Images images_filter_tree) ...
Add specs for cloud instance display in explorer.
Add specs for cloud instance display in explorer.
Ruby
apache-2.0
branic/manageiq,hstastna/manageiq,maas-ufcg/manageiq,ilackarms/manageiq,mfeifer/manageiq,romanblanco/manageiq,skateman/manageiq,NickLaMuro/manageiq,jrafanie/manageiq,lpichler/manageiq,durandom/manageiq,NaNi-Z/manageiq,jameswnl/manageiq,juliancheal/manageiq,aufi/manageiq,lpichler/manageiq,branic/manageiq,romanblanco/man...
ruby
## Code Before: describe VmCloudController do render_views before :each do set_user_privileges EvmSpecHelper.create_guid_miq_server_zone end context "#tree_select" do [ %w(Instances instances_tree), %w(Images images_tree), %w(Instances instances_filter_tree), %w(Images image...
3f666384c8c38824b61bdcb96df6ace61ac8329a
README.rst
README.rst
********************************************** ``vecrec`` --- 2D vector and rectangle classes ********************************************** .. image:: https://travis-ci.org/kxgames/vecrec.svg?branch=master :target: https://travis-ci.org/kxgames/vecrec This package provides 2D vector and rectangle classes. Insta...
********************************************** ``vecrec`` --- 2D vector and rectangle classes ********************************************** This package provides 2D vector and rectangle classes. These classes were written to be used in games, so they have some methods that conveniently tie into ``pyglet`` and ``py...
Move the Travis CI badge.
Move the Travis CI badge.
reStructuredText
mit
kxgames/vecrec,kxgames/vecrec
restructuredtext
## Code Before: ********************************************** ``vecrec`` --- 2D vector and rectangle classes ********************************************** .. image:: https://travis-ci.org/kxgames/vecrec.svg?branch=master :target: https://travis-ci.org/kxgames/vecrec This package provides 2D vector and rectangle...
401de0bd95ed6082cc1b4fd647bb95e4b054d391
docs/releasenotes/1.7.16.txt
docs/releasenotes/1.7.16.txt
================================= Review Board 1.7.16 Release Notes ================================= **Release date**: October 11, 2013 New Features ============ * Added two new hooks for extensibility: HeaderActionHook, and HeaderDropdownActionHook. These can be used to inject new entries into the top bar, al...
================================= Review Board 1.7.16 Release Notes ================================= **Release date**: October 11, 2013 New Features ============ * Added two new hooks for extensibility: HeaderActionHook, and HeaderDropdownActionHook. These can be used to inject new entries into the top bar, al...
Add the missing release notes entry for the packaging problem.
Add the missing release notes entry for the packaging problem.
Text
mit
1tush/reviewboard,sgallagher/reviewboard,chipx86/reviewboard,davidt/reviewboard,bkochendorfer/reviewboard,bkochendorfer/reviewboard,beol/reviewboard,custode/reviewboard,KnowNo/reviewboard,brennie/reviewboard,1tush/reviewboard,1tush/reviewboard,reviewboard/reviewboard,reviewboard/reviewboard,KnowNo/reviewboard,chipx86/r...
text
## Code Before: ================================= Review Board 1.7.16 Release Notes ================================= **Release date**: October 11, 2013 New Features ============ * Added two new hooks for extensibility: HeaderActionHook, and HeaderDropdownActionHook. These can be used to inject new entries into...
58a0106e0510123ac329fdc90fa5ebac7f80ecc0
sli/acceptance-tests/test/features/ingestion/features/ingestion_indexValidation.feature
sli/acceptance-tests/test/features/ingestion/features/ingestion_indexValidation.feature
@RALLY_US3478 Feature: Ingestion Index Validation Test Scenario: Verify if Indexes are present Given the log directory contains "ingestion.log" file Then I should see either "Index verified" or "Index missing" following IngestionRouteBuilder in "ingestion.log" file
@RALLY_US3478 Feature: Ingestion Index Validation Test Scenario: Verify if Indexes are present Given the log directory contains "ingestion.log" file Then I should see either "CORE_0018" or "CORE_0038" following IngestionRouteBuilder in "ingestion.log" file
Update A/T to only check for message codes.
[US4914] Update A/T to only check for message codes.
Cucumber
apache-2.0
inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service
cucumber
## Code Before: @RALLY_US3478 Feature: Ingestion Index Validation Test Scenario: Verify if Indexes are present Given the log directory contains "ingestion.log" file Then I should see either "Index verified" or "Index missing" following IngestionRouteBuilder in "ingestion.log" file ## Instruction: [US4914] Update A...
97a30d662f60aa4b4d2f04fc4686cd277092d434
app/Template/project_header/views.php
app/Template/project_header/views.php
<ul class="views"> <li <?= $this->app->checkMenuSelection('ProjectOverviewController') ?>> <?= $this->url->icon('eye', t('Overview'), 'ProjectOverviewController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-overview', t('Keyboard shortcut: "%s"', 'v o')) ?> ...
<ul class="views"> <?= $this->hook->render('template:project-header:view-switcher-before-project-overview', array('project' => $project, 'filters' => $filters)) ?> <li <?= $this->app->checkMenuSelection('ProjectOverviewController') ?>> <?= $this->url->icon('eye', t('Overview'), 'ProjectOverviewCon...
Add new plugin hooks in view switcher
Add new plugin hooks in view switcher
PHP
mit
BlueTeck/kanboard,renothing/kanboard,BlueTeck/kanboard,kanboard/kanboard,libin/kanboard,BlueTeck/kanboard,kanboard/kanboard,libin/kanboard,renothing/kanboard,kanboard/kanboard,renothing/kanboard
php
## Code Before: <ul class="views"> <li <?= $this->app->checkMenuSelection('ProjectOverviewController') ?>> <?= $this->url->icon('eye', t('Overview'), 'ProjectOverviewController', 'show', array('project_id' => $project['id'], 'search' => $filters['search']), false, 'view-overview', t('Keyboard shortcut: "%s"...
dffb1b441885627bb2242952eb31036b1177269e
inc/const.inc.php
inc/const.inc.php
<?php /* * Site constants * * To change constants define them in config.inc.php */ /* SYSTEM */ if(!defined('STANDARD_URL')) define('STANDARD_URL','http://felixonline.co.uk/'); // standard site url if(!defined('ADMIN_URL')) define('ADMIN_URL','http://felixonline.co.uk/engine/'); // url of engine...
<?php /* * Site constants * * To change constants define them in config.inc.php */ /* SYSTEM */ if(!defined('STANDARD_URL')) define('STANDARD_URL','http://felixonline.co.uk/'); // standard site url if(!defined('ADMIN_URL')) define('ADMIN_URL','http://felixonline.co.uk/engine/'); // url of engine...
Define local as false if not set
Define local as false if not set
PHP
mit
FelixOnline/FelixOnline,FelixOnline/FelixOnline,FelixOnline/FelixOnline
php
## Code Before: <?php /* * Site constants * * To change constants define them in config.inc.php */ /* SYSTEM */ if(!defined('STANDARD_URL')) define('STANDARD_URL','http://felixonline.co.uk/'); // standard site url if(!defined('ADMIN_URL')) define('ADMIN_URL','http://felixonline.co.uk/engine/'); ...
345160942e9504de8d614d45fa48e4bf20859a41
src/instantetymonline/client.cljs
src/instantetymonline/client.cljs
(ns ^:figwheel-always instantetymonline.client (:require [reagent.core :as r] [instantetymonline.dict :refer [dict]])) (enable-console-print!) (defn etym-lookup [] (let [local (r/atom {:word ""})] ;; not included in render (fn [] ;; render from here (let [word...
(ns ^:figwheel-always instantetymonline.client (:require [reagent.core :as r] [instantetymonline.dict :refer [dict]])) (enable-console-print!) (defn etym-lookup [] (let [local (r/atom {:word ""})] ;; not included in render (fn [] ;; render from here (let [word...
Make design a bit more readable
Make design a bit more readable
Clojure
epl-1.0
oskarth/instantetymonline,oskarth/instantetymonline,oskarth/instantetymonline
clojure
## Code Before: (ns ^:figwheel-always instantetymonline.client (:require [reagent.core :as r] [instantetymonline.dict :refer [dict]])) (enable-console-print!) (defn etym-lookup [] (let [local (r/atom {:word ""})] ;; not included in render (fn [] ;; render from here ...
33898e36b3e844d116066eae39b895d6e052a271
test/integration/console.test.js
test/integration/console.test.js
import {browser} from '../mini-testium-mocha'; import assert from 'assertive'; describe('console', () => { before(browser.beforeHook); before(async () => { await browser.navigateTo('/'); assert.equal(200, await browser.getStatusCode()); }); // Each browser fails to implement the WebDriver spec // f...
import {browser} from '../mini-testium-mocha'; import assert from 'assertive'; describe('console', () => { before(browser.beforeHook); before(async () => { await browser.navigateTo('/'); assert.equal(200, await browser.getStatusCode()); }); // Each browser fails to implement the WebDriver spec // f...
Make use of the stored capabilities
Make use of the stored capabilities
JavaScript
bsd-3-clause
testiumjs/testium-driver-wd
javascript
## Code Before: import {browser} from '../mini-testium-mocha'; import assert from 'assertive'; describe('console', () => { before(browser.beforeHook); before(async () => { await browser.navigateTo('/'); assert.equal(200, await browser.getStatusCode()); }); // Each browser fails to implement the WebDr...
c0cc1f29bfe8ea30d9fb819919189565850d9777
src/content/homepage/charts/second-chart/convert-msaxlsx-to-html.sh
src/content/homepage/charts/second-chart/convert-msaxlsx-to-html.sh
if [ $# -ne 1 ]; then echo "usage: $0 <xlsx-filename>" exit 1 fi # https://github.com/dilshod/xlsx2csv (this gracefully handles unicode nastiness, thankfully). pip install xlsx2csv xlsx2csv -d '|' $1 tmp-msa.csv echo '<select name="hmda_chart_2_msa" id="hmda_chart_2_msa"> <option selected value="CBSA00000"...
HTMLDROPDOWN_FILE="msa-dropdown.html" if [ $# -ne 1 ]; then echo "usage: $0 <xlsx-filename>" exit 1 fi # https://github.com/dilshod/xlsx2csv (this gracefully handles unicode nastiness, thankfully). TMPCSV="tmp-msa.csv" xlsx2csv -d '|' $1 $TMPCSV 2> /dev/null || { echo >&2 "'xlsx2csv' is required for thi...
Remove pip install from script and make filesnames vars.
Remove pip install from script and make filesnames vars.
Shell
cc0-1.0
kave/hmda-explorer,sleitner/hmda-explorer,m3brown/hmda-explorer,kave/hmda-explorer,m3brown/hmda-explorer,sleitner/hmda-explorer,m3brown/hmda-explorer,sleitner/hmda-explorer,kave/hmda-explorer
shell
## Code Before: if [ $# -ne 1 ]; then echo "usage: $0 <xlsx-filename>" exit 1 fi # https://github.com/dilshod/xlsx2csv (this gracefully handles unicode nastiness, thankfully). pip install xlsx2csv xlsx2csv -d '|' $1 tmp-msa.csv echo '<select name="hmda_chart_2_msa" id="hmda_chart_2_msa"> <option selected v...
939c5fd069fafbe353fc9a209d2bd376e8d9bbd6
gridded/gridded.py
gridded/gridded.py
class Gridded: _grid_obj_classes = [] _grids_loaded = False @classmethod def _load_grid_objs(cls): from pkg_resources import working_set for ep in working_set.iter_entry_points('gridded.grid_objects'): cls._grid_obj_classes.append(ep.load()) @classmethod def load(c...
class Gridded: _grid_obj_classes = [] _grids_loaded = False @classmethod def _load_grid_objs(cls): from pkg_resources import working_set for ep in working_set.iter_entry_points('gridded.grid_objects'): cls._grid_obj_classes.append(ep.load()) @classmethod def load(c...
Fix self- > cls, make super generic (no `nc`)
Fix self- > cls, make super generic (no `nc`)
Python
mit
pyoceans/gridded
python
## Code Before: class Gridded: _grid_obj_classes = [] _grids_loaded = False @classmethod def _load_grid_objs(cls): from pkg_resources import working_set for ep in working_set.iter_entry_points('gridded.grid_objects'): cls._grid_obj_classes.append(ep.load()) @classmetho...
8377c5eea5a99db9322ba87ae030f8f1578794c1
web/templates/page/index.html.slim
web/templates/page/index.html.slim
.columns .one-fifth.column nav.menu a.menu-item.selected href="#" span.octicon.octicon-paintcan = gettext "Styles" a.btn.btn-primary href="#{style_path(@conn, :new, @current_user.name)}" = gettext "New tweak" .four-fifths.column = if Enum.count(@styles) == 0 do .blankslate ...
.columns .one-fifth.column nav.menu a.menu-item.selected href="#" span.octicon.octicon-paintcan = gettext "Styles" = if @authorized? do a.btn.btn-primary href="#{style_path(@conn, :new, @current_user.name)}" = gettext "New tweak" .four-fifths.column = if Enum.count(@styles) =...
Add guard against not being signed in
Add guard against not being signed in
Slim
mit
lee-dohm/atom-style-tweaks,lee-dohm/atom-style-tweaks,lee-dohm/atom-style-tweaks,lee-dohm/atom-style-tweaks
slim
## Code Before: .columns .one-fifth.column nav.menu a.menu-item.selected href="#" span.octicon.octicon-paintcan = gettext "Styles" a.btn.btn-primary href="#{style_path(@conn, :new, @current_user.name)}" = gettext "New tweak" .four-fifths.column = if Enum.count(@styles) == 0 do ...
f5fff2124d6ff3bb96e7359f928e61614577a072
test/fixture/package/src/Guess/Return.js
test/fixture/package/src/Guess/Return.js
/** * this is TestGuessReturn. */ export default class TestGuessReturn { method1(){ return 123; } method2(){ return [123, 456]; } method3(){ return {x1: 123, x2: 'text'}; } method4(){ return `text`; } }
/** * this is TestGuessReturn. */ export default class TestGuessReturn { method1(){ return 123; } method2(){ return [123, 456]; } method3(){ return {x1: 123, x2: 'text'}; } method4(){ return `text`; } method5(){ const obj = {} return {...obj} } }
Add test to show parser crash.
Add test to show parser crash.
JavaScript
mit
esdoc/esdoc,h13i32maru/esdoc,h13i32maru/esdoc
javascript
## Code Before: /** * this is TestGuessReturn. */ export default class TestGuessReturn { method1(){ return 123; } method2(){ return [123, 456]; } method3(){ return {x1: 123, x2: 'text'}; } method4(){ return `text`; } } ## Instruction: Add test to show parser crash. ## Code After: ...
04be30d701e8de81cf644489a07e578e130bee72
README.md
README.md
A simple mongoose plugin to provide private Schema keys ## Getting Started Install the module with: `npm install mongoose-private-paths` ## Documentation _(Coming soon)_ ## Examples _(Coming soon)_ ## Contributing Just lint and test using [Grunt](http://gruntjs.com/). ## License Copyright (c) 2013 . Licensed unde...
A simple mongoose plugin to provide private Schema keys ## Getting Started Install the module with: `npm install mongoose-private-paths` ```javascript var mongoose = require('mongoose'), privatePaths = require('mongoose-private-paths'); var TestSchema = new mongoose.Schema({ public: { type: String }, ...
Add a basic usage example
Add a basic usage example
Markdown
mit
yamadapc/mongoose-private-paths
markdown
## Code Before: A simple mongoose plugin to provide private Schema keys ## Getting Started Install the module with: `npm install mongoose-private-paths` ## Documentation _(Coming soon)_ ## Examples _(Coming soon)_ ## Contributing Just lint and test using [Grunt](http://gruntjs.com/). ## License Copyright (c) 2013...
f6aa224d82081fe78593cc6f4fee113572843178
.travis.yml
.travis.yml
language: rust rust: - nightly-2018-04-01
language: rust rust: - nightly-2018-04-01 cache: cargo sudo: required dist: trusty
Add caching to Travis config
Add caching to Travis config
YAML
mit
pombase/pombase-chado-json,pombase/pombase-chado-json
yaml
## Code Before: language: rust rust: - nightly-2018-04-01 ## Instruction: Add caching to Travis config ## Code After: language: rust rust: - nightly-2018-04-01 cache: cargo sudo: required dist: trusty
b87e2d6f0a59068e15694a8eea6c00580528cdb2
sellers/templates/sellers/accept.html
sellers/templates/sellers/accept.html
{% extends "common/base.html" %} {% load i18n %} {% load manage_header %} {% block title %}{% trans "Sellers with unaccepted books - Accept books" %}{% endblock %} {% block content %} <h1>{% trans "Sellers with unaccepted books" %} <small>{% blocktrans %}Accept {{ user_name }}'s books{% endblocktrans %}</...
{% extends "common/base.html" %} {% load i18n %} {% load manage_header %} {% block title %}{% trans "Sellers with unaccepted books - Accept books" %}{% endblock %} {% block head %} <style> .input-group-addon, .input-group-btn { width: auto; } </style> {% endblock %} {% block conte...
Fix addon field displaying in browsers with WebKit
Fix addon field displaying in browsers with WebKit
HTML
agpl-3.0
m4tx/egielda,m4tx/egielda,m4tx/egielda
html
## Code Before: {% extends "common/base.html" %} {% load i18n %} {% load manage_header %} {% block title %}{% trans "Sellers with unaccepted books - Accept books" %}{% endblock %} {% block content %} <h1>{% trans "Sellers with unaccepted books" %} <small>{% blocktrans %}Accept {{ user_name }}'s books{% en...
27737aa3a9f65012b3656b71e0ff230a4811da4d
include/net/dcbevent.h
include/net/dcbevent.h
/* * Copyright (c) 2010, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but...
/* * Copyright (c) 2010, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but...
Add stub routines for !CONFIG_DCB
dcb: Add stub routines for !CONFIG_DCB To avoid ifdefs in the other code that supports DCB notifiers add stub routines. This method seems popular in other net code for example 8021Q. Signed-off-by: John Fastabend <06228589568acf528fa1984e09626513a30b66ed@intel.com> Signed-off-by: David S. Miller <fe08d3c717adf2ae6359...
C
mit
KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_k...
c
## Code Before: /* * Copyright (c) 2010, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it wil...
b5b0362e9a2fa9b9b5a5c916b390e7bc184eb8fc
README.md
README.md
Exercism exercises in C# ## Contributing Guide Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data) ## License The MIT License (MIT) Copyright (c) 2014 Katrina Owen, _@kytrinyx.com
[![Build Status](https://travis-ci.org/exercism/xcsharp.svg?branch=master)](https://travis-ci.org/exercism/xcsharp) [![Build status](https://ci.appveyor.com/api/projects/status/r7o9t6gjoc09jpmn/branch/master?svg=true)](https://ci.appveyor.com/project/ErikSchierboom/xcsharp-c03a2/branch/master) Exercism exercises in C...
Add AppVeyor and Travis badge
Add AppVeyor and Travis badge
Markdown
mit
exercism/xcsharp,exercism/xcsharp,GKotfis/csharp,ErikSchierboom/xcsharp,ErikSchierboom/xcsharp,robkeim/xcsharp,robkeim/xcsharp,GKotfis/csharp
markdown
## Code Before: Exercism exercises in C# ## Contributing Guide Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data) ## License The MIT License (MIT) Copyright (c) 2014 Katrina Owen, _@kytrinyx.com ## Instruction: Add AppVeyor and Travis badge ## Co...
7c8f4820e1c55ab26a2623e9644d01d5af4bc6dc
lib/config/hisilicon/env.sh
lib/config/hisilicon/env.sh
jagen_overlays='ast/board/ast2xx toolchain/arm-hisiv200-linux sdk/android ast/common product/android ast/product/hisilicon' jagen_toolchain_dir='$jagen_base_dir/toolchain/arm-hisiv200-linux' jagen_sdk_dir='$jagen_src_dir/hisilicon'
jagen_overlays='ast/board/ast2xx toolchain/arm-hisiv200-linux sdk/android product/android ast/common ast/product/hisilicon' jagen_toolchain_dir='$jagen_base_dir/toolchain/arm-hisiv200-linux' jagen_sdk_dir='$jagen_src_dir/hisilicon'
Change overlay order in hisilicon config for consistency
Change overlay order in hisilicon config for consistency
Shell
mit
bazurbat/jagen
shell
## Code Before: jagen_overlays='ast/board/ast2xx toolchain/arm-hisiv200-linux sdk/android ast/common product/android ast/product/hisilicon' jagen_toolchain_dir='$jagen_base_dir/toolchain/arm-hisiv200-linux' jagen_sdk_dir='$jagen_src_dir/hisilicon' ## Instruction: Change overlay order in hisilicon config for consisten...
7582079119b15b7d5feeb6ebda543646b0de8d6a
tools/powershell/Turbo/Set-JsonPreference.ps1
tools/powershell/Turbo/Set-JsonPreference.ps1
function Set-JsonPreference { [CmdletBinding()] param ( [Parameter(Mandatory=$True,ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)] [string] $Path, [Parameter(Mandatory=$True,ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)] [string] $Category, ...
function Set-JsonPreference { [CmdletBinding()] param ( [Parameter(Mandatory=$True,ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)] [string] $Path, [Parameter(Mandatory=$True,ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)] [string] $Category, ...
Remove Cmdlet type declaration - caused implicit conversions to string
Remove Cmdlet type declaration - caused implicit conversions to string
PowerShell
apache-2.0
turboapps/turbome,turboapps/turbome,turboapps/turbome
powershell
## Code Before: function Set-JsonPreference { [CmdletBinding()] param ( [Parameter(Mandatory=$True,ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)] [string] $Path, [Parameter(Mandatory=$True,ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)] [string] $C...
381bc282f8f842cc8d4ab344cae6564056a8db1e
compiler_source/6_actions_perl/template-runtime-code-for-action-copy-characters-from-position-to-position.txt
compiler_source/6_actions_perl/template-runtime-code-for-action-copy-characters-from-position-to-position.txt
template-runtime-code-standard-action-begin $global_character_pointer_begin = &function_parameterized__convert_numeric_text_into_numeric_value( runtime-code-for-operand-number-three ) ; <new_line> $global_character_pointer_end = &function_parameterized__convert_numeric_text_into_numeric_value( runtime-code-for-operan...
template-runtime-code-standard-action-begin $global_character_pointer_begin = &function_parameterized__convert_numeric_text_into_numeric_value( runtime-code-for-operand-number-three ) ; <new_line> $global_character_pointer_end = &function_parameterized__convert_numeric_text_into_numeric_value( runtime-code-for-operan...
Swap starting and ending character pointers if needed
Swap starting and ending character pointers if needed
Text
artistic-2.0
cpsolver/Dashrep-language,cpsolver/Dashrep-language,cpsolver/Dashrep-language
text
## Code Before: template-runtime-code-standard-action-begin $global_character_pointer_begin = &function_parameterized__convert_numeric_text_into_numeric_value( runtime-code-for-operand-number-three ) ; <new_line> $global_character_pointer_end = &function_parameterized__convert_numeric_text_into_numeric_value( runtime...
57a67d06f157dd2dbea0463309da741ad35283ed
spec/spec_helper.rb
spec/spec_helper.rb
ENV['RAILS_ENV'] = 'test' ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../') if ENV['CODECLIMATE_REPO_TOKEN'] require "codeclimate-test-reporter" CodeClimate::TestReporter.start end require File.expand_path('../dummy/config/environment.rb', __FILE__) ActiveRecord::Migrator.migrations_paths = [File.expa...
ENV['RAILS_ENV'] = 'test' ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../') if ENV['CODECLIMATE_REPO_TOKEN'] require 'codeclimate-test-reporter' CodeClimate::TestReporter.start end require File.expand_path('../dummy/config/environment.rb', __FILE__) ActiveRecord::Migrator.migrations_paths = [File.expa...
Allow VCR to post to codeclimate
Allow VCR to post to codeclimate
Ruby
mit
brightin/recoil,brightin/recoil,brightin/recoil
ruby
## Code Before: ENV['RAILS_ENV'] = 'test' ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../') if ENV['CODECLIMATE_REPO_TOKEN'] require "codeclimate-test-reporter" CodeClimate::TestReporter.start end require File.expand_path('../dummy/config/environment.rb', __FILE__) ActiveRecord::Migrator.migrations_pa...
0a4885ef62789616164faf6d7ca35e91109a46d8
examples/parser/webpack/test/webpack_spec.js
examples/parser/webpack/test/webpack_spec.js
const { expect } = require("chai") describe("Chevrotain Webpacking support", () => { it("Can be webpacked without any special configuration when the grammar and tokens are defined in the same file", () => { const parse = require("../lib/webpacked.min").parse const parseResult = parse("[1,2,3]") ...
const { expect } = require("chai") const { lt } = require("semver") // not sure why this fails on nodejs 6 nor do I believe it is relevant to the example. let itButSkipOnNode6 = lt(process.version, "8.0.0") ? it.skip : it describe("Chevrotain Webpacking support", () => { itButSkipOnNode6( "Can be webpacke...
Fix failing build under node.js 6
Fix failing build under node.js 6
JavaScript
apache-2.0
SAP/chevrotain,SAP/chevrotain,SAP/chevrotain,SAP/chevrotain
javascript
## Code Before: const { expect } = require("chai") describe("Chevrotain Webpacking support", () => { it("Can be webpacked without any special configuration when the grammar and tokens are defined in the same file", () => { const parse = require("../lib/webpacked.min").parse const parseResult = pars...
01e58db8608f992a8e29265cc7ed13d8b191ea8e
src/redux/urlQueryMiddleware.js
src/redux/urlQueryMiddleware.js
import urlQueryReducer from './urlQueryReducer'; import urlQueryConfig from '../urlQueryConfig'; /** * Middleware to handle updating the URL query params */ const urlQueryMiddleware = (options = {}) => ({ getState }) => next => (action) => { // if not a URL action, do nothing. if (!action.meta || !action.meta.ur...
import urlQueryReducer from './urlQueryReducer'; import urlQueryConfig from '../urlQueryConfig'; /** * Middleware to handle updating the URL query params */ const urlQueryMiddleware = (options = {}) => ({ getState }) => next => (action) => { // if not a URL action, do nothing. if (!action.meta || !action.meta.ur...
Make short-circuiting redux store optional
Make short-circuiting redux store optional
JavaScript
mit
pbeshai/react-url-query
javascript
## Code Before: import urlQueryReducer from './urlQueryReducer'; import urlQueryConfig from '../urlQueryConfig'; /** * Middleware to handle updating the URL query params */ const urlQueryMiddleware = (options = {}) => ({ getState }) => next => (action) => { // if not a URL action, do nothing. if (!action.meta ||...
50041233658459ff5805276309e8ed2ee478407e
docs/source/reference/routines.rst
docs/source/reference/routines.rst
-------- Routines -------- The following pages describe NumPy-compatible routines. These functions cover a subset of `NumPy routines <https://docs.scipy.org/doc/numpy/reference/routines.html>`_. .. currentmodule:: cupy .. toctree:: :maxdepth: 2 creation manipulation binary dtype fft functional ...
-------- Routines -------- The following pages describe NumPy-compatible routines. These functions cover a subset of `NumPy routines <https://docs.scipy.org/doc/numpy/reference/routines.html>`_. .. currentmodule:: cupy .. toctree:: :maxdepth: 2 creation manipulation binary dtype fft functional ...
Fix documents to reflect CUPY_ACCELERATORS
Fix documents to reflect CUPY_ACCELERATORS
reStructuredText
mit
cupy/cupy,cupy/cupy,cupy/cupy,cupy/cupy
restructuredtext
## Code Before: -------- Routines -------- The following pages describe NumPy-compatible routines. These functions cover a subset of `NumPy routines <https://docs.scipy.org/doc/numpy/reference/routines.html>`_. .. currentmodule:: cupy .. toctree:: :maxdepth: 2 creation manipulation binary dtype ff...
9189b7bcdfa63612781bb512d2e00f5f7c1e4b29
demo/templates/demo/includes/product_block.html
demo/templates/demo/includes/product_block.html
{% load product_tags %} <hr> <h2>{{ block.value.title }}</h2> <section> <div> <ol class="row"> {% for block in blocks.value.products %} <li class="col-xs-6 col-sm-4 col-md-3 col-lg-3"> {% render_product block %} </li> {% endfor %} </...
{% load product_tags %} <hr> <h2> {{ block.value.title }} {% if block.value.subtitle %} <br><small>{{ block.value.subtitle }}</small> {% endif %} </h2> <section> <div> <ol class="row"> {% for block in blocks.value.products %} <li class="col-xs-6 col-sm-4 col-md...
Add subtitle to product block
Add subtitle to product block
HTML
mit
pgovers/oscar-wagtail-demo,pgovers/oscar-wagtail-demo
html
## Code Before: {% load product_tags %} <hr> <h2>{{ block.value.title }}</h2> <section> <div> <ol class="row"> {% for block in blocks.value.products %} <li class="col-xs-6 col-sm-4 col-md-3 col-lg-3"> {% render_product block %} </li> {% endf...
7a643a1c066db8ba1e9e5b645a53db7092373023
examples/simple/project.clj
examples/simple/project.clj
(defproject simple "0.10.10-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] [thhell...
(defproject simple "0.10.10-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] [thhell...
Add more paths to :clean-targets for simple example
Add more paths to :clean-targets for simple example
Clojure
mit
Day8/re-frame,Day8/re-frame,Day8/re-frame
clojure
## Code Before: (defproject simple "0.10.10-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] ...
8a7061a6edcbf14d0cc3db3bea7ea9d9e30e301a
app/scripts/directives/fielddrop.js
app/scripts/directives/fielddrop.js
'use strict'; angular.module('vleApp') .directive('fieldDrop', function (Dataset) { return { templateUrl: 'templates/fielddrop.html', restrict: 'E', scope: { fieldDef: '=', types: '=' }, controller: function ($scope) { $scope.removeField = function() { ...
'use strict'; angular.module('vleApp') .directive('fieldDrop', function (Dataset) { return { templateUrl: 'templates/fielddrop.html', restrict: 'E', scope: { fieldDef: '=', types: '=' }, controller: function ($scope) { $scope.removeField = function() { ...
Fix problem with dropping Q on enc that only supports O (for example)
Fix problem with dropping Q on enc that only supports O (for example)
JavaScript
bsd-3-clause
sandbox/polestar,uwdata/polestar,vivekratnavel/polestar,jsanch/polestar,smartpcr/polestar,pallavkul/polestar,hortonworks/polestar,pallavkul/polestar,dennari/hack-n-hackers-polestar,zegang/polestar,dennari/hack-n-hackers-polestar,zegang/polestar,hortonworks/polestar,dennari/hack-n-hackers-polestar,vivekratnavel/polestar...
javascript
## Code Before: 'use strict'; angular.module('vleApp') .directive('fieldDrop', function (Dataset) { return { templateUrl: 'templates/fielddrop.html', restrict: 'E', scope: { fieldDef: '=', types: '=' }, controller: function ($scope) { $scope.removeField = fun...
98daa4f2e208ed74a45c6f1584a89f89538326d7
build.gradle.kts
build.gradle.kts
plugins { val kotlinVersion = "1.3.71" kotlin("js") version kotlinVersion apply false kotlin("jvm") version kotlinVersion apply false kotlin("multiplatform") version kotlinVersion apply false kotlin("plugin.spring") version kotlinVersion apply false id("org.jetbrains.kotlin.plugin.serialization"...
plugins { val kotlinVersion = "1.3.71" kotlin("js") version kotlinVersion apply false kotlin("jvm") version kotlinVersion apply false kotlin("multiplatform") version kotlinVersion apply false kotlin("plugin.spring") version kotlinVersion apply false id("org.jetbrains.kotlin.plugin.serialization"...
Remove personal bintray repo now that jcenter sync works
Remove personal bintray repo now that jcenter sync works
Kotlin
mit
luxons/seven-wonders,luxons/seven-wonders,luxons/seven-wonders
kotlin
## Code Before: plugins { val kotlinVersion = "1.3.71" kotlin("js") version kotlinVersion apply false kotlin("jvm") version kotlinVersion apply false kotlin("multiplatform") version kotlinVersion apply false kotlin("plugin.spring") version kotlinVersion apply false id("org.jetbrains.kotlin.plugi...
94e1fe2a8e039f67ec91bb79f7476697433de2ea
src/Occupied/MainBundle/Resources/public/js/filters.js
src/Occupied/MainBundle/Resources/public/js/filters.js
'use strict'; angular.module('occupied.filters', ['occupied.services']) /** * Filter to insert adjusted/ filled-in values for {city}, {population|...}, {area|...}, {year|...}. * * Population must be an integer with no commas. * Area must be an int or float with no commas. * Area will ...
'use strict'; angular.module('occupied.filters', ['occupied.services']) /** * Filter to insert adjusted/ filled-in values for {city}, {population|...}, {area|...}, {year|...}. * * Year must be a full 4-digit value. * Population must be an integer with no commas. * Area must be an int ...
Document year filter spec and only attempt to use it with 4 digit values
Document year filter spec and only attempt to use it with 4 digit values
JavaScript
mit
webful-ltd/occupied-city,webful-ltd/occupied-city
javascript
## Code Before: 'use strict'; angular.module('occupied.filters', ['occupied.services']) /** * Filter to insert adjusted/ filled-in values for {city}, {population|...}, {area|...}, {year|...}. * * Population must be an integer with no commas. * Area must be an int or float with no commas. ...
367c9afa815d4d5b25663be1bc09ebe8393e6ed4
config/plugins.txt
config/plugins.txt
ant:1.2 antisamy-markup-formatter:1.3 credentials:1.22 cvs:2.12 durable-task:1.5 external-monitor-job:1.4 git:2.3.5 git-client:1.17.0 git-server:1.6 javadoc:1.3 junit:1.6 ldap:1.11 mailer:1.15 mapdb-api:1.0.6.0 matrix-auth:1.2 matrix-project:1.4.1 maven-plugin:2.9 pam-auth:1.2 scm-api:0.2 script-security:1.14 ssh-crede...
ant:1.2 antisamy-markup-formatter:1.3 credentials:1.22 cvs:2.12 durable-task:1.5 external-monitor-job:1.4 git:2.3.5 git-client:1.17.1 git-server:1.6 gitlab-plugin:1.1.23 javadoc:1.3 junit:1.6 ldap:1.11 mailer:1.15 mapdb-api:1.0.6.0 matrix-auth:1.2 matrix-project:1.4.1 maven-plugin:2.9 pam-auth:1.2 scm-api:0.2 script-se...
Add gitlab-plugin and update git-client
Add gitlab-plugin and update git-client
Text
mit
xpfriend/pocci-image-jenkins
text
## Code Before: ant:1.2 antisamy-markup-formatter:1.3 credentials:1.22 cvs:2.12 durable-task:1.5 external-monitor-job:1.4 git:2.3.5 git-client:1.17.0 git-server:1.6 javadoc:1.3 junit:1.6 ldap:1.11 mailer:1.15 mapdb-api:1.0.6.0 matrix-auth:1.2 matrix-project:1.4.1 maven-plugin:2.9 pam-auth:1.2 scm-api:0.2 script-securit...
0cabf3c4dae3599e2d1627ff41707cf36b4d2ddd
acoustics/__init__.py
acoustics/__init__.py
import acoustics.ambisonics import acoustics.utils import acoustics.octave import acoustics.doppler import acoustics.signal import acoustics.directivity import acoustics.building import acoustics.room import acoustics.standards import acoustics.cepstrum from acoustics._signal import Signal
import acoustics.aio import acoustics.ambisonics import acoustics.atmosphere import acoustics.bands import acoustics.building import acoustics.cepstrum import acoustics.criterion import acoustics.decibel import acoustics.descriptors import acoustics.directivity import acoustics.doppler import acoustics.generator import...
Load all modules by default
Load all modules by default
Python
bsd-3-clause
python-acoustics/python-acoustics,antiface/python-acoustics,FRidh/python-acoustics,felipeacsi/python-acoustics,giumas/python-acoustics
python
## Code Before: import acoustics.ambisonics import acoustics.utils import acoustics.octave import acoustics.doppler import acoustics.signal import acoustics.directivity import acoustics.building import acoustics.room import acoustics.standards import acoustics.cepstrum from acoustics._signal import Signal ## Instruct...
82fe0c4d03652463916146d9d707383f4f360f22
webpack.config.js
webpack.config.js
var path = require("path"); var webpack = require("webpack"); var ParallelEsPlugin = require("parallel-es-webpack-plugin"); module.exports = { devtool: "#inline-source-map", entry: { examples: "./src/browser-example.ts", "performance-measurements": "./src/performance-measurement.ts" }, ...
var path = require("path"); var webpack = require("webpack"); var ParallelEsPlugin = require("parallel-es-webpack-plugin"); module.exports = { devtool: "#inline-source-map", entry: { examples: "./src/browser-example.ts", "performance-measurements": "./src/performance-measurement.ts" }, ...
Fix webpack setup for linked parallel-es
Fix webpack setup for linked parallel-es If the parallel-es module is linked, dependencies imported from transpiled functions can no longer be resolved. Requires to set resolve.modules to the project directory
JavaScript
mit
MichaReiser/parallel-es-example,MichaReiser/parallel-es-example,MichaReiser/parallel-es-example,MichaReiser/parallel-es-example,MichaReiser/parallel-es-example
javascript
## Code Before: var path = require("path"); var webpack = require("webpack"); var ParallelEsPlugin = require("parallel-es-webpack-plugin"); module.exports = { devtool: "#inline-source-map", entry: { examples: "./src/browser-example.ts", "performance-measurements": "./src/performance-measurement...
583a71cf2d61f7908fa44f9bb153629e0eca222a
db/migrate/20160421084217_add_output_elements_for_merit.rb
db/migrate/20160421084217_add_output_elements_for_merit.rb
class AddOutputElementsForMerit < ActiveRecord::Migration def change merit_order_price_curve = OutputElement.create!( group: 'Merit', key: 'merit_order_price_curve', requires_merit_order: true, output_element_type_id: 16 ) OutputElementSerie.create!( label: 'merit_price', ...
class AddOutputElementsForMerit < ActiveRecord::Migration def change merit_order_price_curve = OutputElement.create!( group: 'Merit', key: 'merit_order_price_curve', requires_merit_order: true, output_element_type_id: 16, unit: "EUR/MWh" ) OutputElementSerie.create!( l...
Fix M/O price chart migration to set unit
Fix M/O price chart migration to set unit
Ruby
mit
quintel/etmodel,quintel/etmodel,quintel/etmodel,quintel/etmodel
ruby
## Code Before: class AddOutputElementsForMerit < ActiveRecord::Migration def change merit_order_price_curve = OutputElement.create!( group: 'Merit', key: 'merit_order_price_curve', requires_merit_order: true, output_element_type_id: 16 ) OutputElementSerie.create!( label: '...
f01dce1bc592879b3c848b1762fdfc1aee2da6d9
vim/config/relative_linenumbers.vim
vim/config/relative_linenumbers.vim
set number " Show the line number of the line under the cursor let g:relative_linenumbers = get(g:, 'relative_linenumbers', "1") function! TurnOn() if (g:relative_linenumbers == "1") setlocal relativenumber endif endfunction function! TurnOff() if (g:relative_linenumbers == "1") setlocal norelativenumb...
set number " Show the line number of the line under the cursor let g:relative_linenumbers = get(g:, 'relative_linenumbers', "1") nmap yort :call ToggleRelativeLineNumbers()<CR> function! ToggleRelativeLineNumbers() if (g:relative_linenumbers == "1") let g:relative_linenumbers = 0 setlocal norelativenumber ...
Add proper `yort` toggle for the buffer autocmds
Add proper `yort` toggle for the buffer autocmds
VimL
mit
randallagordon/dotfiles,randallagordon/dotfiles,randallagordon/dotfiles,randallagordon/dotfiles
viml
## Code Before: set number " Show the line number of the line under the cursor let g:relative_linenumbers = get(g:, 'relative_linenumbers', "1") function! TurnOn() if (g:relative_linenumbers == "1") setlocal relativenumber endif endfunction function! TurnOff() if (g:relative_linenumbers == "1") setloca...
8a3c2ff2a93a5102f06b275bdab5afc3cb3ce019
.travis.yml
.travis.yml
language: python before_install: - time pip install pep8 script: - pep8 --ignore E201,E202,E501 .
language: python before_install: - time pip install pep8 script: - pep8 --ignore E201,E202 --max-line-length=120 --exclude='migrations' .
Set max line lenght to 120 for pep8
Set max line lenght to 120 for pep8
YAML
bsd-3-clause
stepanovsh/project_template,mistalaba/cookiecutter-django,b-kolodziej/cookiecutter-django,ryankanno/cookiecutter-django,IanLee1521/cookiecutter-django,javipalanca/cookiecutter-django,Sushantgakhar/cookiecutter-django,ad-m/cookiecutter-django,mjhea0/cookiecutter-django,bopo/cookiecutter-django,webspired/cookiecutter-dja...
yaml
## Code Before: language: python before_install: - time pip install pep8 script: - pep8 --ignore E201,E202,E501 . ## Instruction: Set max line lenght to 120 for pep8 ## Code After: language: python before_install: - time pip install pep8 script: - pep8 --ignore E201,E202 --max-line-length=120 --exclude='m...
5844ddc45b725140edd858ed276b92a337f6b5ea
index.js
index.js
const Gitter = require('./gitter'); const Lexicon = require('./lexicon'); const client = new Gitter(); function listenAndReply(roomId) { client.readChatMessages(roomId, (message) => { if (message.operation === 'create') { if (message.model.fromUser.id === process.env.GITTER_LEXICON_USER_ID) return; ...
const Gitter = require('./gitter'); const Lexicon = require('./lexicon'); const client = new Gitter(); function listenAndReply(roomId) { client.readChatMessages(roomId, (data) => { if (data.operation === 'create') { if (data.model.fromUser.id === process.env.GITTER_LEXICON_USER_ID) return; let pref...
Fix bot trying to parse message with lexicon prefix
Fix bot trying to parse message with lexicon prefix
JavaScript
mit
esoui/lexicon,esoui/lexicon
javascript
## Code Before: const Gitter = require('./gitter'); const Lexicon = require('./lexicon'); const client = new Gitter(); function listenAndReply(roomId) { client.readChatMessages(roomId, (message) => { if (message.operation === 'create') { if (message.model.fromUser.id === process.env.GITTER_LEXICON_USER_ID...
b7c8ca166c526e83f83305e4be72f6f4e9c66fda
app/views/layouts/_footer.html.haml
app/views/layouts/_footer.html.haml
.navbar-static-top.footer .container .row .span2 &copy; Code.org, 2013 %br/ = form_tag(locale_url, method: :post, id: 'localeForm') do = hidden_field_tag :return_to, request.url = select_tag :locale, options_for_select(options_for_locale_select, locale), onchange:...
.navbar-static-top.footer .container .row .span2 &copy; Code.org, 2013 %br/ = form_tag(locale_url, method: :post, id: 'localeForm') do = hidden_field_tag :return_to, request.url = select_tag :locale, options_for_select(options_for_locale_select, locale), onchange:...
Revert "New translation help link"
Revert "New translation help link" This reverts commit 595fd3fad30c11bb4709f0784d36d029c7b19c34.
Haml
apache-2.0
tobyk100/dashboard,tobyk100/dashboard
haml
## Code Before: .navbar-static-top.footer .container .row .span2 &copy; Code.org, 2013 %br/ = form_tag(locale_url, method: :post, id: 'localeForm') do = hidden_field_tag :return_to, request.url = select_tag :locale, options_for_select(options_for_locale_select, lo...
4cc782bd715a9202b2b6eb1190fbf66eaab3d8f1
yalex/src/demo.c
yalex/src/demo.c
void replMessageCallback(const char* ptr) { if (ptr && strlen(ptr)>0) { printf("%s\n", ptr); } } int yalex(void) { yalex_world world; yalex_init(&world, replMessageCallback); replMessageCallback("welcome"); char word[256]; /**/ yalex_repl(&world, ":fibstep (R1R R2R + R3S R2R R1S R3R R2S...
void replMessageCallback(const char* ptr) { if (ptr && strlen(ptr)>0) { printf("%s\n", ptr); } } int yalex(void) { yalex_world world; yalex_init(&world, replMessageCallback); replMessageCallback("welcome"); char word[256]; /**/ yalex_repl(&world, ":nset (R0S)"); yalex_repl(&world, "...
Add register alias for verbosity and readability?
Add register alias for verbosity and readability?
C
mit
AlexanderBrevig/yalex
c
## Code Before: void replMessageCallback(const char* ptr) { if (ptr && strlen(ptr)>0) { printf("%s\n", ptr); } } int yalex(void) { yalex_world world; yalex_init(&world, replMessageCallback); replMessageCallback("welcome"); char word[256]; /**/ yalex_repl(&world, ":fibstep (R1R R2R + R3S...
6dedd448811335f9bae7db3aad87a15b910592a8
build.yml
build.yml
- build: gontinuum description: Build project gontinuum default: run - properties: name: "gontinuum" version: "0.1.0" build_dir: "build" src_dir: "src" main: "#{src_dir}/#{name}.go" etc_dir: "etc" etc_file: "#{etc_dir}/#{name}.yml" args: :etc_...
- build: gontinuum description: Build project gontinuum default: run - properties: name: "gontinuum" version: "0.1.0" bin_dir: "bin" src_dir: "src" main: "#{src_dir}/#{name}.go" etc_dir: "etc" etc_file: "#{etc_dir}/#{name}.yml" args: :etc_fi...
Build binary in bin directory
Build binary in bin directory
YAML
apache-2.0
c4s4/continuum,c4s4/gontinuum
yaml
## Code Before: - build: gontinuum description: Build project gontinuum default: run - properties: name: "gontinuum" version: "0.1.0" build_dir: "build" src_dir: "src" main: "#{src_dir}/#{name}.go" etc_dir: "etc" etc_file: "#{etc_dir}/#{name}.yml" a...
32c3aa6246f518c2d0126c1ba65380856741b456
radio/templates/registration/register.html
radio/templates/registration/register.html
{% extends "radio/site_base.html" %} {% load radio_extras %} {% block main-nav %} {% include "radio/site_live_nav.html" %} {% endblock %} {% load socialaccount %} {% block main-body %} <div class="container"> <div class="row"> <div class="col-xs-5"> <h1>Create an account</h1> You can use your Goggle account to ...
{% extends "radio/site_base.html" %} {% load radio_extras %} {% block main-nav %} {% include "radio/site_live_nav.html" %} {% endblock %} {% load socialaccount %} {% block main-body %} <div class="container"> <div class="row"> <div class="col-sm-12 col-md-8 col-lg-8"> <h1>Create an account</h1> You can use your...
Fix css for registration on small devices
Fix css for registration on small devices
HTML
mit
ScanOC/trunk-player,ScanOC/trunk-player,ScanOC/trunk-player,ScanOC/trunk-player
html
## Code Before: {% extends "radio/site_base.html" %} {% load radio_extras %} {% block main-nav %} {% include "radio/site_live_nav.html" %} {% endblock %} {% load socialaccount %} {% block main-body %} <div class="container"> <div class="row"> <div class="col-xs-5"> <h1>Create an account</h1> You can use your Go...
b3e51144d3cb3308b2f2c85846d2e6d1c085bfca
src/Ruler.css
src/Ruler.css
:local(.component) { flex-shrink: 0; } :local(.hour) { text-align: right; padding: 2px 5px; }
:local(.component) { flex-shrink: 0; position: relative; background-color: #fff; } :local(.hour) { text-align: right; padding: 2px 5px; }
Set white background in left gutter to have a cleaner look.
Set white background in left gutter to have a cleaner look.
CSS
mit
trotzig/react-available-times,trotzig/react-available-times
css
## Code Before: :local(.component) { flex-shrink: 0; } :local(.hour) { text-align: right; padding: 2px 5px; } ## Instruction: Set white background in left gutter to have a cleaner look. ## Code After: :local(.component) { flex-shrink: 0; position: relative; background-color: #fff; } :local(.hour) { text...
05823910c8dccb2912be4506615787ef321f0082
doc/cli/npm-run-script.md
doc/cli/npm-run-script.md
npm-run-script(1) -- Run arbitrary package scripts ================================================== ## SYNOPSIS npm run-script [<pkg>] [command] ## DESCRIPTION This runs an arbitrary command from a package's `"scripts"` object. If no package name is provided, it will search for a `package.json` in the current...
npm-run-script(1) -- Run arbitrary package scripts ================================================== ## SYNOPSIS npm run-script [<pkg>] [command] npm run [<pkg>] [command] ## DESCRIPTION This runs an arbitrary command from a package's `"scripts"` object. If no package name is provided, it will search for a...
Include alias run in run-script doc.
Include alias run in run-script doc. Correctly document run-script alias
Markdown
artistic-2.0
thomblake/npm,princeofdarkness76/npm,yodeyer/npm,yibn2008/npm,princeofdarkness76/npm,segrey/npm,Volune/npm,haggholm/npm,midniteio/npm,evocateur/npm,xalopp/npm,kemitchell/npm,midniteio/npm,lxe/npm,chadnickbok/npm,cchamberlain/npm-msys2,rsp/npm,yibn2008/npm,misterbyrne/npm,evanlucas/npm,segrey/npm,haggholm/npm,kimshinelo...
markdown
## Code Before: npm-run-script(1) -- Run arbitrary package scripts ================================================== ## SYNOPSIS npm run-script [<pkg>] [command] ## DESCRIPTION This runs an arbitrary command from a package's `"scripts"` object. If no package name is provided, it will search for a `package.json...
bed311edca218a8159b1dc209651648d617998b9
_includes/socialsharing.html
_includes/socialsharing.html
<div id="sharingContainer"> <!-- <button onclick="copyText()">share link</button> --> <div class="individualShare" id='{{page.title}}' onclick="copyText()"> Share Link </div> <a href="https://twitter.com/share" class="twitter-share-button" data-url="{site.baseurl}}/{{page.url}}?redirect=1...
<div id="sharingContainer"> <!-- <button onclick="copyText()">share link</button> --> <div class="individualShare" id='{{page.title}}' onclick="copyText()"> Share Link </div> <a href="https://twitter.com/share" class="twitter-share-button" url="{site.baseurl}}/{{page.url}}?redirect...
Edit data-url to twitter button1
Edit data-url to twitter button1
HTML
bsd-3-clause
IFPRMENA/arabspatialblog,IFPRMENA/arabspatialblog,IFPRMENA/arabspatialblog,IFPRMENA/arabspatialblog
html
## Code Before: <div id="sharingContainer"> <!-- <button onclick="copyText()">share link</button> --> <div class="individualShare" id='{{page.title}}' onclick="copyText()"> Share Link </div> <a href="https://twitter.com/share" class="twitter-share-button" data-url="{site.baseurl}}/{{page....