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
743268660130f0a822f4b74d98a0d90b4905e151
Sources/Store+Dispatch.swift
Sources/Store+Dispatch.swift
// // Store+Dispatch.swift // TDRedux // // Created by Nicholas Tian on 20/10/2016. // Copyright © 2016 nicktd. All rights reserved. // extension Store { public typealias Dispatch = (Action) -> () public typealias AsyncAction = (@escaping Store.Dispatch) -> () public func dispatch(asyncAction action: ...
// // Store+Dispatch.swift // TDRedux // // Created by Nicholas Tian on 20/10/2016. // Copyright © 2016 nicktd. All rights reserved. // extension Store { /// Dispatches the given *Action* to its binded *Store* /// /// - parameter action: An Action dispatched to the Store /// /// - returns: Voi...
Add docs for things in Dispatch extension
Add docs for things in Dispatch extension
Swift
mit
NicholasTD07/TDRedux.swift,NicholasTD07/TDRedux.swift,NicholasTD07/TDRedux.swift
swift
## Code Before: // // Store+Dispatch.swift // TDRedux // // Created by Nicholas Tian on 20/10/2016. // Copyright © 2016 nicktd. All rights reserved. // extension Store { public typealias Dispatch = (Action) -> () public typealias AsyncAction = (@escaping Store.Dispatch) -> () public func dispatch(asyn...
258df4932fe937c0baf45d30de88c194f7f7718a
conftest.py
conftest.py
import numba import numpy import pkg_resources import pytest # The first version of numpy that broke backwards compat and improved printing. # # We set the printing format to legacy to maintain our doctests' compatibility # with both newer and older versions. # # See: https://docs.scipy.org/doc/numpy/release.html#ma...
import numba import numpy import pkg_resources import pytest import scipy # The first version of numpy that broke backwards compat and improved printing. # # We set the printing format to legacy to maintain our doctests' compatibility # with both newer and older versions. # # See: https://docs.scipy.org/doc/numpy/re...
Add SciPy version to pytest header
Add SciPy version to pytest header
Python
mit
dwillmer/fastats,fastats/fastats
python
## Code Before: import numba import numpy import pkg_resources import pytest # The first version of numpy that broke backwards compat and improved printing. # # We set the printing format to legacy to maintain our doctests' compatibility # with both newer and older versions. # # See: https://docs.scipy.org/doc/numpy...
3b039443313962a22f3343a2c3ef9725c7b41691
plugins/guests/alpine/plugin.rb
plugins/guests/alpine/plugin.rb
require 'vagrant' module VagrantPlugins module GuestAlpine class Plugin < Vagrant.plugin('2') name 'Alpine guest' description 'Alpine Linux guest support.' guest('alpine', 'linux') do require File.expand_path('../guest', __FILE__) Guest end guest_capability('alpine...
require 'vagrant' module VagrantPlugins module GuestAlpine class Plugin < Vagrant.plugin('2') name 'Alpine guest' description 'Alpine Linux guest support.' guest(:alpine, :linux) do require File.expand_path('../guest', __FILE__) Guest end guest_capability(:alpine, ...
Replace capability strings with symbols
alpine: Replace capability strings with symbols Those were introduced upstream in b29864f45097.
Ruby
mit
mitchellh/vagrant,marxarelli/vagrant,bryson/vagrant,marxarelli/vagrant,sni/vagrant,chrisroberts/vagrant,chrisroberts/vagrant,mitchellh/vagrant,bryson/vagrant,chrisroberts/vagrant,bryson/vagrant,gitebra/vagrant,mitchellh/vagrant,marxarelli/vagrant,gitebra/vagrant,marxarelli/vagrant,sni/vagrant,bryson/vagrant,mitchellh/v...
ruby
## Code Before: require 'vagrant' module VagrantPlugins module GuestAlpine class Plugin < Vagrant.plugin('2') name 'Alpine guest' description 'Alpine Linux guest support.' guest('alpine', 'linux') do require File.expand_path('../guest', __FILE__) Guest end guest_ca...
b3e1fabc5c6b2b4749b1af780a06ce0a9ca13ec3
gibo-completion.zsh
gibo-completion.zsh
_gibo() { local_repo="$HOME/.gitignore-boilerplates" if [ -e "$local_repo" ]; then compadd -M 'm:{[:lower:]}={[:upper:]}' $( find "$local_repo" -name "*.gitignore" -exec basename \{\} .gitignore \; ) fi } compdef _gibo gibo
_gibo() { local_repo=${GIBO_BOILERPLATES:-"$HOME/.gitignore-boilerplates"} if [ -e "$local_repo" ]; then compadd -M 'm:{[:lower:]}={[:upper:]}' $( find "$local_repo" -name "*.gitignore" -exec basename \{\} .gitignore \; ) fi } compdef _gibo gibo
Add GIBO_BOILTERPLATES env var support to zsh
Add GIBO_BOILTERPLATES env var support to zsh
Shell
unlicense
kodybrown/gibo,simonwhitaker/gibo
shell
## Code Before: _gibo() { local_repo="$HOME/.gitignore-boilerplates" if [ -e "$local_repo" ]; then compadd -M 'm:{[:lower:]}={[:upper:]}' $( find "$local_repo" -name "*.gitignore" -exec basename \{\} .gitignore \; ) fi } compdef _gibo gibo ## Instruction: Add GIBO_BOILTERPLATES env var support to ...
6508445f4875e3463df8906464698d49ca7887be
.github/workflows/github-actions-cron-sync-fork-from-upstream.yml
.github/workflows/github-actions-cron-sync-fork-from-upstream.yml
name: GitHub Actions Cron sync this fork from upstream # on push can specify branch on: schedule: - cron: "0/30 * * * *" workflow_dispatch: repository_dispatch: jobs: Sync-Fork-From-Upstream: runs-on: ubuntu-latest if: github.ref == 'refs/heads/master' steps: - run: echo "The job was automa...
name: Automatically sync branch from upstream. on: schedule: - cron: "*/5 * * * *" workflow_dispatch: inputs: force: description: Use GitHub --force push. default: repository_dispatch: jobs: Sync-Branch-From-Upstream: name: Automatic sync 'master' from The-OpenROAD-Project/O...
Rework the automatically sync branch github action.
Rework the automatically sync branch github action. Signed-off-by: Tim 'mithro' Ansell <f857bf86f3aed4a1021a5247bd2399c65b7ad5cd@google.com>
YAML
bsd-3-clause
The-OpenROAD-Project/OpenROAD,QuantamHD/OpenROAD,The-OpenROAD-Project/OpenROAD,QuantamHD/OpenROAD,QuantamHD/OpenROAD,The-OpenROAD-Project/OpenROAD,QuantamHD/OpenROAD,The-OpenROAD-Project/OpenROAD,QuantamHD/OpenROAD,The-OpenROAD-Project/OpenROAD
yaml
## Code Before: name: GitHub Actions Cron sync this fork from upstream # on push can specify branch on: schedule: - cron: "0/30 * * * *" workflow_dispatch: repository_dispatch: jobs: Sync-Fork-From-Upstream: runs-on: ubuntu-latest if: github.ref == 'refs/heads/master' steps: - run: echo "Th...
0e7902f59fc32b68cc08d7d5e782f2cb2f5ca04b
src/index.js
src/index.js
export function configure(config) { config.globalResources("./page-pod"); }
export { PagePod } from "./page-pod"; export function configure(config) { config.globalResources("./page-pod"); }
Add export to fix bundle problem
Add export to fix bundle problem
JavaScript
mit
cusi-dev/page-pod,cusi-dev/page-pod
javascript
## Code Before: export function configure(config) { config.globalResources("./page-pod"); } ## Instruction: Add export to fix bundle problem ## Code After: export { PagePod } from "./page-pod"; export function configure(config) { config.globalResources("./page-pod"); }
908829ffae299f3f1af34ed739bac3dfd739c2ef
spring-cloud-open-service-broker-docs/src/test/java/com/example/servicebroker/ExampleSecurityConfig.java
spring-cloud-open-service-broker-docs/src/test/java/com/example/servicebroker/ExampleSecurityConfig.java
package com.example.servicebroker; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;...
package com.example.servicebroker; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;...
Update sample spring security config
Update sample spring security config Disabling csrf: See https://docs.spring.io/spring-security/site/docs/5.3.0.RELEASE/reference/html5/#csrf-when > Our recommendation is to use CSRF protection for any request that could be processed by a browser > by normal users. If you are only creating a service that is used by n...
Java
apache-2.0
spring-cloud/spring-cloud-cloudfoundry-service-broker
java
## Code Before: package com.example.servicebroker; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.En...
3a57d9472c6788ce6fbb700108fbc776527fc3df
test/utils/ansible-playbook_integration_runner/roles/run_integration/tasks/main.yml
test/utils/ansible-playbook_integration_runner/roles/run_integration/tasks/main.yml
--- - name: Sync ansible repo to ec2 instance synchronize: src: "{{ sync_dir }}/" dest: "~/ansible" - name: Get ansible source dir sudo: false shell: "cd ~/ansible && pwd" register: results - shell: "ls -la && . hacking/env-setup && cd test/integration && make {{ run_integration_make_target }}" arg...
--- - name: Sync ansible repo to ec2 instance synchronize: src: "{{ sync_dir }}/" dest: "~/ansible" - name: Get ansible source dir sudo: false shell: "cd ~/ansible && pwd" register: results - shell: "ls -la && . hacking/env-setup && cd test/integration && make {{ run_integration_make_target }}" arg...
Save output of integration test results to files we can archive
Save output of integration test results to files we can archive
YAML
mit
thaim/ansible,thaim/ansible
yaml
## Code Before: --- - name: Sync ansible repo to ec2 instance synchronize: src: "{{ sync_dir }}/" dest: "~/ansible" - name: Get ansible source dir sudo: false shell: "cd ~/ansible && pwd" register: results - shell: "ls -la && . hacking/env-setup && cd test/integration && make {{ run_integration_make_...
fc734179078ab9cb6db191dc76545651ee94fdfb
README.md
README.md
params date for example `lilly_jo/?date=07-07-2017`
ENV['SLACK_API_TOKEN'] params date for example `lilly_jo/?date=07-07-2017`
Add required ENV variable to readme
Add required ENV variable to readme
Markdown
mit
IngoAlbers/lunch_buddy,IngoAlbers/lunch_buddy,IngoAlbers/lunch_buddy
markdown
## Code Before: params date for example `lilly_jo/?date=07-07-2017` ## Instruction: Add required ENV variable to readme ## Code After: ENV['SLACK_API_TOKEN'] params date for example `lilly_jo/?date=07-07-2017`
6aee903fd5dccfe6ba1cfa094841a06d020b5682
juddi-cxf/build.xml
juddi-cxf/build.xml
<project name="juddi-tomcat" default="package-war" basedir="."> <property file="package.properties"/> <property name="lib.dir" value="${basedir}/target/tomcat/apache-tomcat-${apache.tomcat.version}/lib"/> <property name="webapps.dir" value="${basedir}/target/tomcat/apache-tomcat-${apache.tomcat.version}/webapps"/> ...
<project name="juddi-tomcat" default="package-war" basedir="."> <property file="package.properties"/> <property name="lib.dir" value="${basedir}/target/tomcat/apache-tomcat-${apache.tomcat.version}/lib"/> <property name="webapps.dir" value="${basedir}/target/tomcat/apache-tomcat-${apache.tomcat.version}/webapps"/> ...
Remove copy that we don't need anymore.
Remove copy that we don't need anymore. git-svn-id: 9afb1f5cc321249b413187f68ffea1707b8f9361@823405 13f79535-47bb-0310-9956-ffa450edef68
XML
apache-2.0
apache/juddi,apache/juddi,apache/juddi,apache/juddi,apache/juddi
xml
## Code Before: <project name="juddi-tomcat" default="package-war" basedir="."> <property file="package.properties"/> <property name="lib.dir" value="${basedir}/target/tomcat/apache-tomcat-${apache.tomcat.version}/lib"/> <property name="webapps.dir" value="${basedir}/target/tomcat/apache-tomcat-${apache.tomcat.versi...
1375a6d06c9116f68ef4657d76bd519a30baf3c7
config/sidekiq.yml
config/sidekiq.yml
--- :concurrency: 5 staging: :concurrency: 16 production: :concurrency: 16 :require: ./lib/rummager.rb :logfile: ./log/sidekiq.log :queues: - default - bulk :limits: bulk: 12
--- :concurrency: 5 staging: :concurrency: 16 production: :concurrency: 16 :require: ./lib/rummager.rb :logfile: ./log/sidekiq.log :queues: - default - bulk :limits: bulk: 4 default: 4
Reduce the number of Sidekiq workers used by bulk processing
Reduce the number of Sidekiq workers used by bulk processing Queries have been timing out when the popularity update runs it bulk indexing. This change attempt to reduce the indexing load in the hope that it improves parallel search queries. https://trello.com/c/saDruTlG/307-investigate-1-day-intermittent-rummager-ti...
YAML
mit
alphagov/rummager,alphagov/rummager
yaml
## Code Before: --- :concurrency: 5 staging: :concurrency: 16 production: :concurrency: 16 :require: ./lib/rummager.rb :logfile: ./log/sidekiq.log :queues: - default - bulk :limits: bulk: 12 ## Instruction: Reduce the number of Sidekiq workers used by bulk processing Queries have been timing out when the ...
cc5f944c1fd64d2bb4b507e8e42d67f9d354362e
package.json
package.json
{ "name": "graphql-markdown", "version": "2.0.0", "description": "Generate documentation for your GraphQL schema in Markdown", "main": "src/index.js", "bin": "src/index.js", "repository": "git@github.com:exogen/graphql-markdown.git", "author": "Brian Beck <exogen@gmail.com>", "license": "MIT", "engine...
{ "name": "graphql-markdown", "version": "2.0.0", "description": "Generate documentation for your GraphQL schema in Markdown", "main": "src/index.js", "bin": "src/index.js", "repository": "git@github.com:exogen/graphql-markdown.git", "author": "Brian Beck <exogen@gmail.com>", "license": "MIT", "engine...
Fix prod dependency on pre-commit
Fix prod dependency on pre-commit
JSON
mit
exogen/graphql-markdown,exogen/graphql-markdown
json
## Code Before: { "name": "graphql-markdown", "version": "2.0.0", "description": "Generate documentation for your GraphQL schema in Markdown", "main": "src/index.js", "bin": "src/index.js", "repository": "git@github.com:exogen/graphql-markdown.git", "author": "Brian Beck <exogen@gmail.com>", "license": ...
9cfb4d0267f7e68c57235cb2575e580a28a436bd
README.md
README.md
botd ==== IRC Bot
botd ==== IRC Bot [![Docker Build Status](http://dockeri.co/image/dmtucker/botd)](//registry.hub.docker.com/u/dmtucker/botd)
Add a build status badge from dockeri.co.
Add a build status badge from dockeri.co.
Markdown
mit
dmtucker/botd
markdown
## Code Before: botd ==== IRC Bot ## Instruction: Add a build status badge from dockeri.co. ## Code After: botd ==== IRC Bot [![Docker Build Status](http://dockeri.co/image/dmtucker/botd)](//registry.hub.docker.com/u/dmtucker/botd)
4c00c1383cfa2bbc4fa959a12df1cac6e40de23a
Cargo.toml
Cargo.toml
[package] name = "rurust" version = "0.1.0" authors = ["Dylan McKay <dylan.mckay@powershop.co.nz>"] license = "MIT" [dependencies] libc = ">= 0.2.11" mri-sys = ">= 0.1.1" [dev-dependencies] stainless = ">= 0.1.4" [lib] name = "rurust" path = "src/lib.rs" [[bin]] name = "repl" path = "tools/repl.rs"
[package] name = "rurust" version = "0.1.0" authors = ["Dylan McKay <dylan.mckay@powershop.co.nz>"] license = "MIT" description = "High level Ruby VM bindings" repository = "https://github.com/dylanmckay/rurust" readme = "README.md" keywords = ["ruby", "repl", "interpreter", "plugin"] [dependencies] libc = ">= 0.2.1...
Add more info to crate
Add more info to crate
TOML
mit
dylanmckay/rurust
toml
## Code Before: [package] name = "rurust" version = "0.1.0" authors = ["Dylan McKay <dylan.mckay@powershop.co.nz>"] license = "MIT" [dependencies] libc = ">= 0.2.11" mri-sys = ">= 0.1.1" [dev-dependencies] stainless = ">= 0.1.4" [lib] name = "rurust" path = "src/lib.rs" [[bin]] name = "repl" path = "tools/repl.rs" ...
0e59487ff339a39252bdbef3ce34f39deecd8195
examples/browser/package.json
examples/browser/package.json
{ "name": "grpc-gateway-example", "version": "1.0.0", "description": "Example use of grpc-gateway from browser", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "SEE LICENSE IN LICENSE.txt", "devDependencies": { "bower": "^1.7.9", "gulp": "^3.9....
{ "name": "grpc-gateway-example", "version": "1.0.0", "description": "Example use of grpc-gateway from browser", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "SEE LICENSE IN LICENSE.txt", "devDependencies": { "bower": "^1.7.9", "gulp": "^3.9....
Add missing modules to browser example
Add missing modules to browser example This was failing in CI, hopefully this fixes it.
JSON
bsd-3-clause
improbable-io/grpc-gateway,gengo/grpc-gateway,grpc-ecosystem/grpc-gateway,improbable-io/grpc-gateway,gengo/grpc-gateway
json
## Code Before: { "name": "grpc-gateway-example", "version": "1.0.0", "description": "Example use of grpc-gateway from browser", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "SEE LICENSE IN LICENSE.txt", "devDependencies": { "bower": "^1.7.9", ...
18b25fd9fe2646b27d6c778d9308db33ef5daaea
cloudlets/src/main/resources/eu/mosaic_cloud/cloudlets/cloudlet-component.properties
cloudlets/src/main/resources/eu/mosaic_cloud/cloudlets/cloudlet-component.properties
self.group.identifier=c2e40f0b2c041bc694ace68ace08420d40f9cbc0 amqp.driver.group.identifier=a5e40f0b2c041bc694ace68ace08420d40f9cbc0 kvstore.driver.group.identifier=a3e40f0b2c041bc694ace68ace08420d40f9cbc0 memcached.driver.group.identifier=a4e40f0b2c041bc694ace68ace08420d40f9cbc0
self.group.identifier=c2e40f0b2c041bc694ace68ace08420d40f9cbc0 amqp.driver.group.identifier=a5e40f0b2c041bc694ace68ace08420d40f9cbc0 kvstore.driver.group.identifier=a3e40f0b2c041bc694ace68ace08420d40f9cbc0
Remove Memcache component driver group from cloudlet component properties (currently it is not exposed by any component driver)
Remove Memcache component driver group from cloudlet component properties (currently it is not exposed by any component driver)
INI
apache-2.0
mosaic-cloud/mosaic-java-platform,mosaic-cloud/mosaic-java-platform
ini
## Code Before: self.group.identifier=c2e40f0b2c041bc694ace68ace08420d40f9cbc0 amqp.driver.group.identifier=a5e40f0b2c041bc694ace68ace08420d40f9cbc0 kvstore.driver.group.identifier=a3e40f0b2c041bc694ace68ace08420d40f9cbc0 memcached.driver.group.identifier=a4e40f0b2c041bc694ace68ace08420d40f9cbc0 ## Instruction: Remov...
417470f34af63507d124519167db0f79e10b7f51
release/scripts/extract_bin.sh
release/scripts/extract_bin.sh
PATH=/stand:$PATH DDIR=/ # Temporary kludge for pathological bindist. if [ -f $DDIR/etc/sysconfig ]; then mv $DDIR/etc/sysconfig $DDIR/etc/sysconfig.save fi if [ -f $DDIR/etc/myname ]; then cp $DDIR/etc/hosts $DDIR/etc/myname $DDIR/stand/etc fi if [ -f $DDIR/etc/defaultrouter ]; then cp $DDIR/etc/defaultrouter $DDI...
PATH=/stand:$PATH DDIR=/ # Temporary kludge for pathological bindist. if [ -f $DDIR/etc/sysconfig ]; then mv $DDIR/etc/sysconfig $DDIR/etc/sysconfig.save fi cat bin.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu ) if [ -f $DDIR/etc/sysconfig.save ]; then mv $DDIR/etc/sysconfig.save $DDIR/etc/sysconfig fi # Save so...
Remove preservation of myname and defaultrouter files - they're deprecated anyway.
Remove preservation of myname and defaultrouter files - they're deprecated anyway.
Shell
bsd-3-clause
jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase
shell
## Code Before: PATH=/stand:$PATH DDIR=/ # Temporary kludge for pathological bindist. if [ -f $DDIR/etc/sysconfig ]; then mv $DDIR/etc/sysconfig $DDIR/etc/sysconfig.save fi if [ -f $DDIR/etc/myname ]; then cp $DDIR/etc/hosts $DDIR/etc/myname $DDIR/stand/etc fi if [ -f $DDIR/etc/defaultrouter ]; then cp $DDIR/etc/de...
9ed82562580231d36ee99f4a6fa0724ac60df1bc
README.md
README.md
MathJAX integration with GitBook ==============
MathJAX integration with GitBook ============== This is a default GitBook plugin, You can disable it using: ``` { plugins: ["-mathjax"] } ```
Add info for disabling plugin
Add info for disabling plugin
Markdown
apache-2.0
GitbookIO/plugin-mathjax,nymaths/cmpsolutions,gdbooks/plugin-mathjax
markdown
## Code Before: MathJAX integration with GitBook ============== ## Instruction: Add info for disabling plugin ## Code After: MathJAX integration with GitBook ============== This is a default GitBook plugin, You can disable it using: ``` { plugins: ["-mathjax"] } ```
7d4be61173247b7d6e6070b6c4b35ce6d826873c
app/models/renalware/patients/clear_patient_ukrdc_data.rb
app/models/renalware/patients/clear_patient_ukrdc_data.rb
require_dependency "renalware/patients" require "attr_extras" module Renalware module Patients class ClearPatientUKRDCData pattr_initialize [:patient!, :by!] def self.call(**args) new(**args).call end def call patient.send_to_rpv = false patient.rpv_decision_on ...
require_dependency "renalware/patients" require "attr_extras" module Renalware module Patients class ClearPatientUKRDCData pattr_initialize [:patient!, :by!] def self.call(**args) new(**args).call end def call patient.send_to_rpv = false patient.rpv_decision_on ...
Fix bug clearing UKRDC data when patient dies
Fix bug clearing UKRDC data when patient dies When a patient dies the patient model enters a state where no further changes can be made to it unless you set the date_of_death and death causes. However this validation can be overriden by setting the virtual accessor Patient#skip_death_validations = true. This commit a...
Ruby
mit
airslie/renalware-core,airslie/renalware-core,airslie/renalware-core,airslie/renalware-core
ruby
## Code Before: require_dependency "renalware/patients" require "attr_extras" module Renalware module Patients class ClearPatientUKRDCData pattr_initialize [:patient!, :by!] def self.call(**args) new(**args).call end def call patient.send_to_rpv = false patient....
432958e814c7af4f5670f134b7a310adf47b44ce
src/parsers/index.ts
src/parsers/index.ts
export type ParserInput = any; export type ParseFn<T> = (x: ParserInput) => T; export class ParserError extends Error { constructor( public readonly expected: string, public readonly found: string ) { super(`Expected ${expected} but found ${found}`); } } export function parse<T>(input: ParserInput, ...
/** * A `ParseInput` can be transformed using a `ParseFn`. */ export type ParserInput = any; /** * A `ParseFn` transforms a `ParseInput` to type `T`. It must throw a `ParseError` if the transformation can not be * done. */ export type ParseFn<T> = (x: ParserInput) => T; /** * A `ParseFn` throws a `ParseError` w...
Add Documentation to Parser Types
docs(type): Add Documentation to Parser Types Give the documentation of ParseInput, ParseFn, ParseError and parse some love ❤️
TypeScript
mit
swissmanu/spicery,swissmanu/spicery,swissmanu/spicery
typescript
## Code Before: export type ParserInput = any; export type ParseFn<T> = (x: ParserInput) => T; export class ParserError extends Error { constructor( public readonly expected: string, public readonly found: string ) { super(`Expected ${expected} but found ${found}`); } } export function parse<T>(inpu...
1e8e60fc9c7b73864240044aab0f7530c5c8fac8
server/update/src/utils.sh
server/update/src/utils.sh
TERM='spring-2017' TERM_ABBRV='sp17' PROJECT_DIR=$(cd $(dirname ${BASH_SOURCE[0]})/../../.. && pwd ) CREDENTIALS_DIR=$(cd ${PROJECT_DIR}/server/.credentials && pwd ) SERVER_DIR=$(cd ${PROJECT_DIR}/server/update && pwd ) SRC_DIR=${SERVER_DIR}/src INPUT_DEPARTMENTS_DIR=${SERVER_DIR}/data/intermediate/departments IN...
TERM='spring-2017' TERM_ABBRV='sp17' PROJECT_DIR=$(cd $(dirname ${BASH_SOURCE[0]})/../../.. && pwd ) CREDENTIALS_DIR=$(cd ${PROJECT_DIR}/server/.credentials && pwd ) SERVER_DIR=$(cd ${PROJECT_DIR}/server/update && pwd ) SRC_DIR=${SERVER_DIR}/src INPUT_DEPARTMENTS_DIR=${SERVER_DIR}/data/intermediate/departments IN...
Correct data directories in shell scripts
Correct data directories in shell scripts
Shell
bsd-2-clause
mDibyo/berkeley-scheduler,mDibyo/berkeley-scheduler,mDibyo/berkeley-scheduler,mDibyo/berkeley-scheduler,mDibyo/berkeley-scheduler
shell
## Code Before: TERM='spring-2017' TERM_ABBRV='sp17' PROJECT_DIR=$(cd $(dirname ${BASH_SOURCE[0]})/../../.. && pwd ) CREDENTIALS_DIR=$(cd ${PROJECT_DIR}/server/.credentials && pwd ) SERVER_DIR=$(cd ${PROJECT_DIR}/server/update && pwd ) SRC_DIR=${SERVER_DIR}/src INPUT_DEPARTMENTS_DIR=${SERVER_DIR}/data/intermediat...
30fe2c0647d0d4d3fcf36971b0a6ad8c1e8d546f
tests/Hoard/Test/Bucket/CreateTest.php
tests/Hoard/Test/Bucket/CreateTest.php
<?php namespace Hoard\Test\Bucket; use Hoard\Test\TestCase; use Model\Bucket; class CreateTest extends TestCase { public function testCreateBucket() { $bucket_data = array( '_id' => 'test-bucket', 'name' => 'Test Bucket' ); $bucket = new Bucket($bucket_data); ...
<?php namespace Hoard\Test\Bucket; use Hoard\Test\TestCase; use Model\Bucket; class CreateTest extends TestCase { /** * Test that the model abstraction is working */ public function testCreateBucket() { $bucket_data = array( '_id' => 'test-bucket', 'description...
Make sure created buckets are stored in database correctly
Make sure created buckets are stored in database correctly
PHP
mit
marcqualie/hoard,marcqualie/hoard
php
## Code Before: <?php namespace Hoard\Test\Bucket; use Hoard\Test\TestCase; use Model\Bucket; class CreateTest extends TestCase { public function testCreateBucket() { $bucket_data = array( '_id' => 'test-bucket', 'name' => 'Test Bucket' ); $bucket = new Bucket...
750d24da8cd909a6cdd5008f788f9683178e3ac2
inc/class.db.php
inc/class.db.php
<?php // RadioPanel - Database class // (C) Matt Ribbins - matt@mattyribbo.co.uk // class Database { var $conn; var $database; protected $_config; public function __construct($config) { $this->_config = $config; } public function connect() { $this->conn = mysql_connect($this->_config['host'], $this->_...
<?php // RadioPanel - Database class // (C) Matt Ribbins - matt@mattyribbo.co.uk // class Database { var $conn; var $database; protected $_config; public function __construct($config) { $this->_config = $config; } public function connect() { $this->conn = new mysqli($this->_config['host'], $this->_con...
Update DB to use PHP MySQLi extensions
Update DB to use PHP MySQLi extensions class.db.php has been updated to utilise MySQLi extenstions (as I should be using)
PHP
bsd-2-clause
mattyribbo/radiopanel,mattyribbo/radiopanel
php
## Code Before: <?php // RadioPanel - Database class // (C) Matt Ribbins - matt@mattyribbo.co.uk // class Database { var $conn; var $database; protected $_config; public function __construct($config) { $this->_config = $config; } public function connect() { $this->conn = mysql_connect($this->_config['...
9b179bd5907743505ff5d7e98907098e8b3ded2d
mac.yml
mac.yml
--- - hosts: mac roles: - mac become_user: prem vars: ruby_version: 2.2.2
--- - hosts: mac roles: - mac become_user: "{{ user }}" vars: ruby_version: 2.2.2
Move username to template variable.
Move username to template variable.
YAML
mit
devcraft-tv/devbox
yaml
## Code Before: --- - hosts: mac roles: - mac become_user: prem vars: ruby_version: 2.2.2 ## Instruction: Move username to template variable. ## Code After: --- - hosts: mac roles: - mac become_user: "{{ user }}" vars: ruby_version: 2.2.2
9bcabeb64d3ffe31ff427564361a6222b7887b97
src/Tgstation.Server.Host/appsettings.Docker.json
src/Tgstation.Server.Host/appsettings.Docker.json
{ "General": { "LogFileDirectory": "/tgs_logs", "MinimumPasswordLength": 15, "GitHubAccessToken": null }, "Database": { "DatabaseType": "SqlServer or MySQL or MariaDB", "ConnectionString": "<Your connection string>", "MySqlServerVersion": "<Set if using MySQL/MariaDB i.e. 10.2.7>" } }
{ "General": { "LogFileDirectory": "/tgs_logs", "MinimumPasswordLength": 15, "GitHubAccessToken": null }, "Kestrel": { "Endpoints": { "Http": { "Url": "http://localhost:5000" } } }, "Database": { "DatabaseType": "SqlServer or MySQL or MariaDB", "ConnectionStrin...
Add kestrel config to docker json
Add kestrel config to docker json
JSON
agpl-3.0
tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools
json
## Code Before: { "General": { "LogFileDirectory": "/tgs_logs", "MinimumPasswordLength": 15, "GitHubAccessToken": null }, "Database": { "DatabaseType": "SqlServer or MySQL or MariaDB", "ConnectionString": "<Your connection string>", "MySqlServerVersion": "<Set if using MySQL/MariaDB i.e. ...
b42ea683f9eda78e90e78784d1de2e1f9527438f
playbooks/roles/simian_army/vars/main.yml
playbooks/roles/simian_army/vars/main.yml
--- ami_build: ami is defined and ami not_ami_build: ami is not defined or not ami latest_successful_build_url: https://netflixoss.ci.cloudbees.com/job/SimianArmy-master/lastSuccessfulBuild/artifact/build/libs/simianarmy-2.4-SNAPSHOT.war
--- ami_build: ami is defined and ami not_ami_build: ami is not defined or not ami latest_successful_build_url: https://oss.jfrog.org/oss-snapshot-local/com/netflix/simianarmy/simianarmy/2.6.0-SNAPSHOT/simianarmy-2.6.0-SNAPSHOT.war
Update simianArmy war file url
Update simianArmy war file url fixes #19
YAML
apache-2.0
Answers4AWS/netflixoss-ansible,Answers4AWS/netflixoss-ansible
yaml
## Code Before: --- ami_build: ami is defined and ami not_ami_build: ami is not defined or not ami latest_successful_build_url: https://netflixoss.ci.cloudbees.com/job/SimianArmy-master/lastSuccessfulBuild/artifact/build/libs/simianarmy-2.4-SNAPSHOT.war ## Instruction: Update simianArmy war file url fixes #19 ## Code...
5ae759cd0e89b2f46f2a8054ab1ee1f7b5eabfe6
README.md
README.md
> Command-line script to add a title to your terminal window. ![npm](http://img.shields.io/npm/v/terminal-title.svg) ## Installation ```sh npm install -g terminal-title ``` ## Usage Pass a string to `title` to set it as the currently focussed tab's title. ```sh title My Terminal Tab ``` Strings passed to `title` ma...
> Command-line script to add a title to your terminal window. ![npm](http://img.shields.io/npm/v/terminal-title.svg) ## Installation ```sh npm install -g terminal-title ``` ## Usage Pass a string to `title` to set it as the currently focussed tab's title. ```sh title My Terminal Tab ``` Strings passed to `title` ma...
Make Git’s MD processor happy
Make Git’s MD processor happy
Markdown
mit
dvdln/terminal-title
markdown
## Code Before: > Command-line script to add a title to your terminal window. ![npm](http://img.shields.io/npm/v/terminal-title.svg) ## Installation ```sh npm install -g terminal-title ``` ## Usage Pass a string to `title` to set it as the currently focussed tab's title. ```sh title My Terminal Tab ``` Strings pass...
79cea2a562b03aa92290f2bde29a2f5d2ae3b330
src/app/shared/components/search-box/search-box.component.html
src/app/shared/components/search-box/search-box.component.html
<div class="tab-form-container"> <div class="tab-form"> <input id="search-input" type="text" [(ngModel)]="searchTerm" placeholder="{{placeholder}}" (keyup)="searchKeyEvent($event)" #searchInput> <button class="btn btn-outline-dark clear-search-button" *ngIf="searchTerm" (click)="clearCl...
<div class="tab-form-container"> <div class="tab-form"> <i class="fa fa-search lighter mr-1"></i> <input id="search-input" type="text" [(ngModel)]="searchTerm" placeholder="{{placeholder}}" (keyup)="searchKeyEvent($event)" #searchInput> <button class="btn btn-outline-dark clear-search-button" *ngIf=...
Add icon before search boxes
Add icon before search boxes
HTML
mit
chipster/chipster-web,chipster/chipster-web,chipster/chipster-web
html
## Code Before: <div class="tab-form-container"> <div class="tab-form"> <input id="search-input" type="text" [(ngModel)]="searchTerm" placeholder="{{placeholder}}" (keyup)="searchKeyEvent($event)" #searchInput> <button class="btn btn-outline-dark clear-search-button" *ngIf="searchTerm" ...
8f290216efd56f471ffbf45fd074c22416bfae6e
static/templates/settings/admin_linkifier_list.hbs
static/templates/settings/admin_linkifier_list.hbs
{{#with linkifier}} <tr class="linkifier_row"> <td> <span class="linkifier_pattern">{{pattern}}</span> </td> <td> <span class="linkifier_url_format_string">{{url_format_string}}</span> </td> {{#if ../can_modify}} <td class="no-select actions"> <button class="button small ...
{{#with linkifier}} <tr class="linkifier_row"> <td> <span class="linkifier_pattern">{{pattern}}</span> </td> <td> <span class="linkifier_url_format_string">{{url_format_string}}</span> </td> {{#if ../can_modify}} <td class="no-select actions"> <button class="button small ...
Add `title` attribute to `Delete` button.
linkifiers: Add `title` attribute to `Delete` button. This commit adds `title` attribute and removes `aria-hidden` attribute in `Delete` button in linkifiers table. `aria-hidden` attribute is used only for icons on buttons that have a plain-text label.
Handlebars
apache-2.0
eeshangarg/zulip,hackerkid/zulip,zulip/zulip,punchagan/zulip,kou/zulip,rht/zulip,punchagan/zulip,rht/zulip,zulip/zulip,rht/zulip,andersk/zulip,andersk/zulip,eeshangarg/zulip,hackerkid/zulip,eeshangarg/zulip,kou/zulip,hackerkid/zulip,eeshangarg/zulip,eeshangarg/zulip,andersk/zulip,kou/zulip,zulip/zulip,zulip/zulip,hacke...
handlebars
## Code Before: {{#with linkifier}} <tr class="linkifier_row"> <td> <span class="linkifier_pattern">{{pattern}}</span> </td> <td> <span class="linkifier_url_format_string">{{url_format_string}}</span> </td> {{#if ../can_modify}} <td class="no-select actions"> <button clas...
ce12055b2242e7a9cf86b5721b4cfcff144715d5
appveyor.yml
appveyor.yml
os: Windows Server 2012 R2 test: off deploy: off init: - cmd: rd /s /q %CHOCOLATEYINSTALL% - ps: iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) - ps: choco install wget install: - ECHO "Filesystem root:" - ps: "ls \"C:/\"" - ECHO "Installed SDKs:" - ps: "ls \"C:/P...
os: Windows Server 2012 R2 test: off deploy: off init: - cmd: rd /s /q %CHOCOLATEYINSTALL% - ps: iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) - ps: choco install wget install: - ECHO "Filesystem root:" - ps: "ls \"C:/\"" - ECHO "Installed SDKs:" - ps: "ls \"C:/P...
Add quiet option to wget. Use double quotes for url.
Add quiet option to wget. Use double quotes for url.
YAML
mit
codito/pomito
yaml
## Code Before: os: Windows Server 2012 R2 test: off deploy: off init: - cmd: rd /s /q %CHOCOLATEYINSTALL% - ps: iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) - ps: choco install wget install: - ECHO "Filesystem root:" - ps: "ls \"C:/\"" - ECHO "Installed SDKs:" ...
3df42bee97edb56ac3120da10f4291844fc7d7be
config/puma.rb
config/puma.rb
port ENV['PORT'] || 3000 environment ENV['RAILS_ENV'] || 'development'
port ENV['PORT'] || 3000 environment ENV['RAILS_ENV'] || 'development' threads 0, 16
Set the default number of threads
Set the default number of threads
Ruby
agpl-3.0
PRX/feeder.prx.org,PRX/feeder.prx.org,PRX/feeder.prx.org
ruby
## Code Before: port ENV['PORT'] || 3000 environment ENV['RAILS_ENV'] || 'development' ## Instruction: Set the default number of threads ## Code After: port ENV['PORT'] || 3000 environment ENV['RAILS_ENV'] || 'development' threads 0, 16
6361c2205c5f2a410bf15960240db82399c00c20
server/src/main/resources/buildServerResources/editRunner.jsp
server/src/main/resources/buildServerResources/editRunner.jsp
<%@ include file="/include-internal.jsp"%> <%@ page import="com.github.rodm.teamcity.gradle.scripts.GradleInitScriptsPlugin" %> <c:set var="INIT_SCRIPT_NAME_PARAMETER" value="<%=GradleInitScriptsPlugin.INIT_SCRIPT_NAME_PARAMETER%>"/> <l:settingsGroup title="Gradle Init Scripts" className="advancedSetting"> <tr c...
<%@ include file="/include-internal.jsp"%> <%@ page import="com.github.rodm.teamcity.gradle.scripts.GradleInitScriptsPlugin" %> <c:set var="INIT_SCRIPT_NAME_PARAMETER" value="<%=GradleInitScriptsPlugin.INIT_SCRIPT_NAME_PARAMETER%>"/> <l:settingsGroup title="Gradle Init Scripts" className="advancedSetting"> <tr c...
Add link to manage Gradle init scripts
Add link to manage Gradle init scripts
Java Server Pages
apache-2.0
rodm/teamcity-gradle-init-scripts-plugin,rodm/teamcity-gradle-init-scripts-plugin,rodm/teamcity-gradle-init-scripts-plugin
java-server-pages
## Code Before: <%@ include file="/include-internal.jsp"%> <%@ page import="com.github.rodm.teamcity.gradle.scripts.GradleInitScriptsPlugin" %> <c:set var="INIT_SCRIPT_NAME_PARAMETER" value="<%=GradleInitScriptsPlugin.INIT_SCRIPT_NAME_PARAMETER%>"/> <l:settingsGroup title="Gradle Init Scripts" className="advancedSet...
b293d9178971f0f72796e5ec4246033631ae98e6
src/CK.Glouton.Web/app/src/app/modules/lucene/components/applicationNameSelector.component.ts
src/CK.Glouton.Web/app/src/app/modules/lucene/components/applicationNameSelector.component.ts
import { Component, OnInit } from '@angular/core'; import { LogService } from 'app/_services'; import { ILogView } from 'app/common/logs/models'; @Component({ selector: 'applicationNameSelector', templateUrl: 'applicationNameSelector.component.html' }) export class ApplicationNameSelectorComponent implements ...
import { Component, OnInit } from '@angular/core'; import { Store } from '@ngrx/store'; import { Observable } from 'rxjs/Observable'; import { Subscription } from 'rxjs/Subscription'; import { EffectDispatcher } from '@ck/rx'; import { IAppState } from 'app/app.state'; import { LogService } from 'app/_services'; import...
Add actions behavior for applicationNameSelector.
Add actions behavior for applicationNameSelector.
TypeScript
mit
ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton
typescript
## Code Before: import { Component, OnInit } from '@angular/core'; import { LogService } from 'app/_services'; import { ILogView } from 'app/common/logs/models'; @Component({ selector: 'applicationNameSelector', templateUrl: 'applicationNameSelector.component.html' }) export class ApplicationNameSelectorCompo...
02a0454b4811362f745f3f7dbfd284e7285f4949
src/tooltips.coffee
src/tooltips.coffee
d3panels.tooltip_create = (selection, options) -> selection.append("div") .attr("class", "d3panels-tooltip") .style("opacity", 0) d3panels.tooltip_activate = (objects, tipdiv, options) -> objects.on("mouseover", (d) -> tipdiv.html(d.tooltip) h = tipdiv.node().ge...
d3panels.tooltip_create = (selection, options) -> d3.select("body").append("div") .attr("class", "d3panels-tooltip #{options.tipclass}") .style("opacity", 1) d3panels.tooltip_activate = (objects, tipdiv, options, tooltip_func) -> objects.on("mouseover.d3panels-tooltip", (d,i) -> ...
Fix problems with initial tooltip code
Fix problems with initial tooltip code
CoffeeScript
mit
kbroman/d3panels,kbroman/d3panels
coffeescript
## Code Before: d3panels.tooltip_create = (selection, options) -> selection.append("div") .attr("class", "d3panels-tooltip") .style("opacity", 0) d3panels.tooltip_activate = (objects, tipdiv, options) -> objects.on("mouseover", (d) -> tipdiv.html(d.tooltip) h = ...
c919e668b1f6201ee859a5581288b1b9d8b8b075
source/stylesheets/sections/_nav.css.scss
source/stylesheets/sections/_nav.css.scss
.top-bar { a{ font-weight: bold !important; } input { margin-top: 10px; } .title-area { a{ color: white; font-size: 22px; font-weight: 200; img { height: 40px; width: auto; margin-top: -10px; } &:hover { opacity: 0.8; } ...
.top-bar { a{ font-weight: bold !important; } input { margin-top: 10px; } .has-form { margin-right: 30px; } .title-area { margin-right: 30px; a{ color: white; font-size: 25px; font-weight: 200; img { height: 40px; width: auto; margin-...
Fix bug with top bar align
Fix bug with top bar align
SCSS
cc0-1.0
tinysou/tinysou.com,tinysou/tinysou.com,tinysou/tinysou.com
scss
## Code Before: .top-bar { a{ font-weight: bold !important; } input { margin-top: 10px; } .title-area { a{ color: white; font-size: 22px; font-weight: 200; img { height: 40px; width: auto; margin-top: -10px; } &:hover { opacit...
b8abe0c980d12a48dc7b25cb8f3d560b89b5dcd2
db/migrate/20170301101006_add_ci_runner_namespaces.rb
db/migrate/20170301101006_add_ci_runner_namespaces.rb
class AddCiRunnerNamespaces < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers DOWNTIME = false disable_ddl_transaction! def change create_table :ci_runner_namespaces do |t| t.integer :runner_id t.integer :namespace_id t.index [:runner_id, :namespace_id], unique: true...
class AddCiRunnerNamespaces < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers DOWNTIME = false def change create_table :ci_runner_namespaces do |t| t.integer :runner_id t.integer :namespace_id t.index [:runner_id, :namespace_id], unique: true t.index :namespace_id...
Remove unnecessary disable transaction in add_ci_runner_namespaces
Remove unnecessary disable transaction in add_ci_runner_namespaces
Ruby
mit
stoplightio/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,mmkassem/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,dreampet/gitlab,iiet/iiet-git,stoplightio/gitlabhq,axilleas/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,dreampet/gitlab,jirutka/gitlabhq,dreampet/gitlab,axilleas/gitlabhq,mmkassem/gitlabhq,stoplightio/...
ruby
## Code Before: class AddCiRunnerNamespaces < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers DOWNTIME = false disable_ddl_transaction! def change create_table :ci_runner_namespaces do |t| t.integer :runner_id t.integer :namespace_id t.index [:runner_id, :namespace_i...
c00c2f8af8f83210f398672455498b843f079994
scss/typography/_code.scss
scss/typography/_code.scss
// // Siimple - minimal css framework for flat and clean websites // Under the MIT LICENSE. // License: https://github.com/siimple/siimple/blob/master/LICENSE.md // Repository: https://github.com/siimple // Website: https://www.siimple.xyz // @import "../_variables.scss"; @import "../_functions.scss"; //Code cla...
// // Siimple - minimal css framework for flat and clean websites // Under the MIT LICENSE. // License: https://github.com/siimple/siimple/blob/master/LICENSE.md // Repository: https://github.com/siimple // Website: https://www.siimple.xyz // @import "../_variables.scss"; @import "../_functions.scss"; //Code cla...
Change font-weight attribute of code element
Change font-weight attribute of code element
SCSS
mit
jmjuanes/siimple,siimple/siimple,siimple/siimple,jmjuanes/siimple
scss
## Code Before: // // Siimple - minimal css framework for flat and clean websites // Under the MIT LICENSE. // License: https://github.com/siimple/siimple/blob/master/LICENSE.md // Repository: https://github.com/siimple // Website: https://www.siimple.xyz // @import "../_variables.scss"; @import "../_functions.sc...
8e9fd28004c1f8daadc5ce7f51b40543c28720c0
djangoautoconf/settings_templates/smtp_account_template.py
djangoautoconf/settings_templates/smtp_account_template.py
__author__ = 'q19420' smtp_username = "test" smtp_password = "testpass"
__author__ = 'weijia' smtp_username = None smtp_password = None
Use None as username and password for SMTP.
Use None as username and password for SMTP.
Python
bsd-3-clause
weijia/djangoautoconf,weijia/djangoautoconf
python
## Code Before: __author__ = 'q19420' smtp_username = "test" smtp_password = "testpass" ## Instruction: Use None as username and password for SMTP. ## Code After: __author__ = 'weijia' smtp_username = None smtp_password = None
caf264fa81ea6e77a2cb0a449cbf695941ea5b6d
click-monitor.lua
click-monitor.lua
-- Displays the mouse (grid) coordinates when the mouse is clicked local active local last_msg if active == nil then active = false end function set_timeout() dfhack.timeout(1, 'frames', check_click) end function log(s) -- prevent duplicate output if s ~= last_msg then print(s) last_msg =...
-- Displays the mouse (grid) coordinates when the mouse is clicked local active local last_msg if active == nil then active = false end function set_timeout() dfhack.timeout(1, 'frames', check_click) end function log(s) -- prevent duplicate output if s ~= last_msg then print(s) last_msg =...
Make repeated clicks display repeated messages
Make repeated clicks display repeated messages
Lua
unlicense
PeridexisErrant/lethosor-scripts,lethosor/dfhack-scripts,DFHack/lethosor-scripts
lua
## Code Before: -- Displays the mouse (grid) coordinates when the mouse is clicked local active local last_msg if active == nil then active = false end function set_timeout() dfhack.timeout(1, 'frames', check_click) end function log(s) -- prevent duplicate output if s ~= last_msg then print(s) ...
963880355b5f6a686b99d2403ac9334d407a54d1
pretty-time.zsh
pretty-time.zsh
if (( $# == 0 )); then echo 'Input required' exit 1 fi local human tmp=$1 local days=$(( tmp / 60 / 60 / 24 )) local hours=$(( tmp / 60 / 60 % 24 )) local minutes=$(( tmp / 60 % 60 )) local seconds=$(( tmp % 60 )) (( days > 0 )) && human+="${days}d " (( hours > 0 )) && human+="${hours}h " (( minutes > 0 )) && huma...
if (( $# == 0 )); then echo 'Input required' exit 1 fi local human total_seconds=$1 local days=$(( total_seconds / 60 / 60 / 24 )) local hours=$(( total_seconds / 60 / 60 % 24 )) local minutes=$(( total_seconds / 60 % 60 )) local seconds=$(( total_seconds % 60 )) (( days > 0 )) && human+="${days}d " (( hours > 0 )...
Rename tmp to more descriptive total_seconds
Rename tmp to more descriptive total_seconds
Shell
mit
sindresorhus/pretty-time-zsh
shell
## Code Before: if (( $# == 0 )); then echo 'Input required' exit 1 fi local human tmp=$1 local days=$(( tmp / 60 / 60 / 24 )) local hours=$(( tmp / 60 / 60 % 24 )) local minutes=$(( tmp / 60 % 60 )) local seconds=$(( tmp % 60 )) (( days > 0 )) && human+="${days}d " (( hours > 0 )) && human+="${hours}h " (( minute...
b845b26100eb3676cb8ce1ee22f16d2f796fb275
join/index.html
join/index.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Terrapin Development and Consulting - Join Us!</title> <style>body{margin:1em auto;max-width:40em;padding:0 .62em;font:1.2em/1.62em sans-serif;}h1,h2,h3{line-height:1.2em;}@media print{body{m...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Terrapin Development and Consulting - Join Us!</title> <style>body{margin:1em auto;max-width:40em;padding:0 .62em;font:1.2em/1.62em sans-serif;}h1,h2,h3{line-height:1.2em;}@media print{body{m...
Use correct URL for auto-redirect on join
Use correct URL for auto-redirect on join
HTML
apache-2.0
TerpDAC/terpdac.github.io,TerpDAC/terpdac.github.io
html
## Code Before: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Terrapin Development and Consulting - Join Us!</title> <style>body{margin:1em auto;max-width:40em;padding:0 .62em;font:1.2em/1.62em sans-serif;}h1,h2,h3{line-height:1.2em;}@me...
441b983665a61702d577b1cb162e6baa1b2ed882
airtime_mvc/application/views/scripts/plupload/index.phtml
airtime_mvc/application/views/scripts/plupload/index.phtml
<form id="plupload_form"> <div id="plupload_files"></div> </form> <div id="plupload_error"> <table></table> </div>
<style type="text/css"> #plupload_files input[type="file"] { font-size: 200px !important; } </style> <form id="plupload_form"> <div id="plupload_files"></div> </form> <div id="plupload_error"> <table></table> </div>
Make Airtime look good in IE
CC-2748: Make Airtime look good in IE - fixed
HTML+PHP
agpl-3.0
thnkloud9/Airtime,ReganDryke/airtime,justvanbloom/airtime,sourcefabric/airtime,ReganDryke/airtime,thnkloud9/Airtime,ReganDryke/airtime,justvanbloom/airtime,comiconomenclaturist/libretime,justvanbloom/airtime,sourcefabric/Airtime,Lapotor/libretime,Ryex/airtime,Lapotor/libretime,sourcefabric/airtime,LibreTime/libretime,r...
html+php
## Code Before: <form id="plupload_form"> <div id="plupload_files"></div> </form> <div id="plupload_error"> <table></table> </div> ## Instruction: CC-2748: Make Airtime look good in IE - fixed ## Code After: <style type="text/css"> #plupload_files input[type="file"] { font-size: 200px !important; } </style> ...
e572de0e3a21472f78eed6992d7e47f1d2190edf
.travis.yml
.travis.yml
language: node_js node_js: "node" cache: npm before_script: - mkdir -p ./test/assets/XQUTS ./test/assets/QT3TS - curl -L https://github.com/LeoWoerteler/QT3TS/archive/master.tar.gz | tar -xz -C ./test/assets/QT3TS --strip-components=1 - curl -L https://github.com/LeoWoerteler/XQUTS/archive/master.tar.gz | tar -x...
language: node_js node_js: "node" cache: npm # Greenkeeper wants to install new versions of pckages, often # disregarding the package lock. This does not always work with `npm ci` install: case $TRAVIS_BRANCH in greenkeeper*) npm i;; *) npm ci;; esac; before_script: - mkdir -p ./test/assets/XQUTS ./test/assets/QT3T...
Make the greenkeeper pull requests more stable
Make the greenkeeper pull requests more stable Greenkeeper does not always update the package lock. This may sometimes cause `npm ci` to fail, causing the build to fail.
YAML
mit
FontoXML/fontoxpath,FontoXML/fontoxpath,FontoXML/fontoxpath
yaml
## Code Before: language: node_js node_js: "node" cache: npm before_script: - mkdir -p ./test/assets/XQUTS ./test/assets/QT3TS - curl -L https://github.com/LeoWoerteler/QT3TS/archive/master.tar.gz | tar -xz -C ./test/assets/QT3TS --strip-components=1 - curl -L https://github.com/LeoWoerteler/XQUTS/archive/master...
891f25f56afe4cf2ec60f8c30fca10dca1a8a59b
Code/CLOS/sicl-clos-support.asd
Code/CLOS/sicl-clos-support.asd
(cl:in-package #:asdf-user) (defsystem :sicl-clos-support :depends-on (:sicl-clos-package :sicl-global-environment) :serial t :components ((:file "ensure-generic-function-using-class-support") (:file "make-method-lambda-support") (:file "make-method-lambda-defgenerics") (:file "make-method-lam...
(cl:in-package #:asdf-user) (defsystem :sicl-clos-support :depends-on (:sicl-clos-package :sicl-global-environment) :serial t :components ((:file "ensure-generic-function-using-class-support") (:file "make-method-lambda-support") (:file "make-method-lambda-defgenerics") (:file "make-method-lam...
Include support code for ENSURE-CLASS-USING-CLASS.
Include support code for ENSURE-CLASS-USING-CLASS.
Common Lisp
bsd-2-clause
clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL
common-lisp
## Code Before: (cl:in-package #:asdf-user) (defsystem :sicl-clos-support :depends-on (:sicl-clos-package :sicl-global-environment) :serial t :components ((:file "ensure-generic-function-using-class-support") (:file "make-method-lambda-support") (:file "make-method-lambda-defgenerics") (:file ...
d8c7446498c2491ddd31ab6edc3a2eda586d547d
src/view/WorldView.js
src/view/WorldView.js
function WorldView(world, paper) { this.world = world; this.paper = paper; this.cellSize = 16; this.world.observe(this); } WorldView.prototype.paintLiveCell = function(cell) { this.paintCell(cell, "#222"); }; WorldView.prototype.paintDeadCell = function(cell) { this.paintCell(cell, "#fff"); }; WorldView....
function WorldView(world, paper) { this.world = world; this.paper = paper; this.cellSize = 16; this.world.observe(this); } WorldView.prototype.paintLiveCell = function(cell) { this.paintCell(cell, "#222"); }; WorldView.prototype.paintDeadCell = function(cell) { this.paintCell(cell, "#fff"); }; WorldView....
Set stroke width to 0
Set stroke width to 0
JavaScript
mit
strika/ant
javascript
## Code Before: function WorldView(world, paper) { this.world = world; this.paper = paper; this.cellSize = 16; this.world.observe(this); } WorldView.prototype.paintLiveCell = function(cell) { this.paintCell(cell, "#222"); }; WorldView.prototype.paintDeadCell = function(cell) { this.paintCell(cell, "#fff")...
aea1ee2bd209ac37b49ee95fdad59154019a254a
test/tiqets/resources/product_test.rb
test/tiqets/resources/product_test.rb
require 'test_helper' module Tiqets module Resources class ProductTest < Minitest::Test def setup @client = ::Tiqets::Client.new(api_key: 'test_api_key') end def test_find_product product = @client.find_product(973698, lang: 'nl', currency: 'EUR') assert_kind_of ::Tiqe...
require 'test_helper' module Tiqets module Resources class ProductTest < Minitest::Test def setup @client = ::Tiqets::Client.new(api_key: 'test_api_key') end def test_find_product product = @client.find_product(973698, lang: 'nl', currency: 'EUR') assert_kind_of ::Tiqe...
Add erroneous product find test
Add erroneous product find test
Ruby
mit
richardvenneman/tiqets,richardvenneman/tiqets
ruby
## Code Before: require 'test_helper' module Tiqets module Resources class ProductTest < Minitest::Test def setup @client = ::Tiqets::Client.new(api_key: 'test_api_key') end def test_find_product product = @client.find_product(973698, lang: 'nl', currency: 'EUR') asser...
221733e887b85b9335d393a58b0167735de3e5ce
src/presentation/theme/text.ts
src/presentation/theme/text.ts
export const text = { fontFamily: "Source Serif Pro", fontFallback: "serif" };
export const text = { fontFamily: "Source Serif Pro", fontFallback: "serif", size: { paragraph: "1.2rem" } };
Add default size to theme
Add default size to theme
TypeScript
mit
osdiab/osdiab.github.io,osdiab/osdiab.github.io,osdiab/osdiab.github.io,osdiab/osdiab.github.io
typescript
## Code Before: export const text = { fontFamily: "Source Serif Pro", fontFallback: "serif" }; ## Instruction: Add default size to theme ## Code After: export const text = { fontFamily: "Source Serif Pro", fontFallback: "serif", size: { paragraph: "1.2rem" } };
1189e0e546592956384301699f5aaa4e7d939849
src/main/scala/com/codacy/client/stash/Commit.scala
src/main/scala/com/codacy/client/stash/Commit.scala
package com.codacy.client.stash import org.joda.time.DateTime import play.api.libs.functional.syntax._ import play.api.libs.json._ case class Commit(hash: String, authorName: String, parents: Option[Seq[String]], authorTimestamp: DateTime, message: String) object Commit { implicit val reader: Reads[Commit] = ( ...
package com.codacy.client.stash import org.joda.time.DateTime import play.api.libs.functional.syntax._ import play.api.libs.json._ case class Commit(hash: String, authorName: String, parents: Option[List[Parent]], authorTimestamp: DateTime, message: String) object Commit { implicit val reader: Reads[Commit] = ( ...
Fix pull request commit API parsing
Fix pull request commit API parsing
Scala
apache-2.0
rtfpessoa/stash-scala-client
scala
## Code Before: package com.codacy.client.stash import org.joda.time.DateTime import play.api.libs.functional.syntax._ import play.api.libs.json._ case class Commit(hash: String, authorName: String, parents: Option[Seq[String]], authorTimestamp: DateTime, message: String) object Commit { implicit val reader: Reads...
c8ee7c96b6fe8c7280881a6f182f6836c0438bb5
.travis.yml
.travis.yml
language: android sudo: false jdk: oraclejdk8 android: components: - android-23 - tools - build-tools-23.0.3 - extra script: - ./gradlew -s -PdisablePreDex clean build env: - GRADLE_OPTS="-Xmx1024m -XX:MaxPermSize=1024m" cache: directories: - $HOME/.gradle/caches/2.13 - $HOME/.grad...
language: android sudo: false jdk: oraclejdk8 android: components: - android-23 - tools - build-tools-23.0.3 - extra script: - ./gradlew -s -PdisablePreDex clean build env: global: - GRADLE_OPTS="-Xmx4g" cache: directories: - $HOME/.gradle/caches/2.13 - $HOME/.gradle/caches/jar...
Remove MaxPermSize from gradle opts
Remove MaxPermSize from gradle opts Fix warning: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0. Xmx was increased to use gradle daemon
YAML
mit
ViliusKraujutis/tvarkau-vilniu,vilnius/tvarkau-vilniu,vilnius/tvarkau-vilniu
yaml
## Code Before: language: android sudo: false jdk: oraclejdk8 android: components: - android-23 - tools - build-tools-23.0.3 - extra script: - ./gradlew -s -PdisablePreDex clean build env: - GRADLE_OPTS="-Xmx1024m -XX:MaxPermSize=1024m" cache: directories: - $HOME/.gradle/caches/2.13 ...
a184f6cc89348419118944f995b1803b6010925e
apps/fair_info/routes.coffee
apps/fair_info/routes.coffee
Fair = require '../../models/fair' @assignFair = (req, res, next) -> return next() unless res.locals.profile fair = new Fair id: res.locals.profile.get('owner').id fair.fetch cache: true error: res.backboneError success: -> res.locals.fair = fair res.locals.sd.FAIR = fair.toJSON() ...
Fair = require '../../models/fair' @assignFair = (req, res, next) -> return next() unless res.locals.profile?.isFair() fair = new Fair id: res.locals.profile.get('owner').id fair.fetch cache: true error: res.backboneError success: -> res.locals.fair = fair res.locals.sd.FAIR = fair.toJSO...
Check for fair profile type before fair info app
Check for fair profile type before fair info app
CoffeeScript
mit
anandaroop/force,anandaroop/force,yuki24/force,cavvia/force-1,kanaabe/force,dblock/force,damassi/force,joeyAghion/force,oxaudo/force,izakp/force,joeyAghion/force,damassi/force,eessex/force,yuki24/force,oxaudo/force,cavvia/force-1,erikdstock/force,oxaudo/force,cavvia/force-1,izakp/force,artsy/force,anandaroop/force,izak...
coffeescript
## Code Before: Fair = require '../../models/fair' @assignFair = (req, res, next) -> return next() unless res.locals.profile fair = new Fair id: res.locals.profile.get('owner').id fair.fetch cache: true error: res.backboneError success: -> res.locals.fair = fair res.locals.sd.FAIR = fair...
82ba04d609c80fd2bf8034cf38654d10bb72aca5
src/app/actions/psmtable/filter_confidence.py
src/app/actions/psmtable/filter_confidence.py
from app.readers import tsv as tsvreader def filter_psms(psms, confkey, conflvl, lower_is_better): for psm in psms: if passes_filter(psm, conflvl, confkey, lower_is_better): yield psm def passes_filter(psm, threshold, confkey, lower_is_better): if psm[confkey] in ['NA', '', None, False]:...
from app.readers import tsv as tsvreader def filter_psms(psms, confkey, conflvl, lower_is_better): for psm in psms: if passes_filter(psm, conflvl, confkey, lower_is_better): yield psm def passes_filter(psm, threshold, confkey, lower_is_better): try: confval = float(psm[confkey]) ...
Fix confidence filtering removed confidence=0 (False) items
Fix confidence filtering removed confidence=0 (False) items
Python
mit
glormph/msstitch
python
## Code Before: from app.readers import tsv as tsvreader def filter_psms(psms, confkey, conflvl, lower_is_better): for psm in psms: if passes_filter(psm, conflvl, confkey, lower_is_better): yield psm def passes_filter(psm, threshold, confkey, lower_is_better): if psm[confkey] in ['NA', '...
76c193f457bb45e8e821594de67da8e15c4352d4
product.py
product.py
from datetime import datetime class Product(): def __init__(self, cost, name, date): self.cost = cost self.name = name self.date = date def days_left(self): return datetime.now() - self.date
from datetime import datetime class Product(): def __init__(self, cost, name, date): self.cost = cost self.name = name self.date = date self.passed_phases = set() def days_left(self): return datetime.now() - self.date if __name__ == '__main__': main() def main()...
Add passed_phases to Product and create main function
Add passed_phases to Product and create main function
Python
mit
AliGhahraei/phar-ant-colony
python
## Code Before: from datetime import datetime class Product(): def __init__(self, cost, name, date): self.cost = cost self.name = name self.date = date def days_left(self): return datetime.now() - self.date ## Instruction: Add passed_phases to Product and create main function ...
8d501b0ceae39f44f8b96457874f28bb64bfb8c3
UPDATING.md
UPDATING.md
This file documents any backwards-incompatible changes in Airflow and assists people when migrating to a new version. ## Airflow 1.8 ### Changes to Behavior #### New DAGs are paused by default Previously, new DAGs would be scheduled immediately. To retain the old behavior, add this to airflow.cfg: ``` [core] dag...
This file documents any backwards-incompatible changes in Airflow and assists people when migrating to a new version. ## Airflow 1.8 ### Changes to Behavior #### New DAGs are paused by default Previously, new DAGs would be scheduled immediately. To retain the old behavior, add this to airflow.cfg: ``` [core] dag...
Add upgrade notes on email and S3 to 1.7.1.2
[AIRFLOW-171] Add upgrade notes on email and S3 to 1.7.1.2 Closes #1587 from rfroetscher/upgrading_readme
Markdown
apache-2.0
brandsoulmates/incubator-airflow,sid88in/incubator-airflow,mistercrunch/airflow,RealImpactAnalytics/airflow,mrkm4ntr/incubator-airflow,gilt/incubator-airflow,d-lee/airflow,cfei18/incubator-airflow,easytaxibr/airflow,jhsenjaliya/incubator-airflow,spektom/incubator-airflow,jlowin/airflow,owlabs/incubator-airflow,dmitry-r...
markdown
## Code Before: This file documents any backwards-incompatible changes in Airflow and assists people when migrating to a new version. ## Airflow 1.8 ### Changes to Behavior #### New DAGs are paused by default Previously, new DAGs would be scheduled immediately. To retain the old behavior, add this to airflow.cfg:...
e734541cc2798df6bf91494a07978dc1b17dd746
.travis.yml
.travis.yml
language: node_js node_js: - "7" - "6" before_script: - pushd ./test/test_app - mv npmrc.rename_me .npmrc - mv node_modules.rename_me node_modules - npm install - popd script: - npm run travis_app_test - npm run travis_cli_test
language: node_js node_js: - "8" - "7" - "6" before_script: pushd ./test/test_app && mv npmrc.rename_me .npmrc && mv node_modules.rename_me node_modules && npm install && popd script: npm run travis_app_test && npm run travis_cli_test
Add Node v8 + Group shell commands
Travis: Add Node v8 + Group shell commands
YAML
mit
sickle2/package-config
yaml
## Code Before: language: node_js node_js: - "7" - "6" before_script: - pushd ./test/test_app - mv npmrc.rename_me .npmrc - mv node_modules.rename_me node_modules - npm install - popd script: - npm run travis_app_test - npm run travis_cli_test ## Instruction: Travis: Add Node v8 + Group shell commands...
15032ed31fb6d725e84482437ebf4e4aedc41cb1
requirements.txt
requirements.txt
bbcode==1.1.0 blinker==1.4 click==7.1.2 flask==1.1.2 flask-babel==2.0.0 flask-sqlalchemy==2.5.1 hiredis==2.0.0 itsdangerous==1.1.0 jinja2==2.11.3 markupsafe==1.1.1 marrow.mailer==4.0.3 marrow.util==1.2.3 marshmallow==3.12.0 pendulum==2.1.2 pick==1.0.0 pillow==8.2.0 psycopg2-binary==2.8.6 python-dateutil==2.8.1 pytzdata...
bbcode==1.1.0 blinker==1.4 click==8.0.0 flask==2.0.0 flask-babel==2.0.0 flask-sqlalchemy==2.5.1 hiredis==2.0.0 itsdangerous==2.0.0 jinja2==3.0.0 markupsafe==2.0.0 marrow.mailer==4.0.3 marrow.util==1.2.3 marshmallow==3.12.0 pendulum==2.1.2 pick==1.0.0 pillow==8.2.0 psycopg2-binary==2.8.6 python-dateutil==2.8.1 pytzdata=...
Update Click, Flask, Jinja, Werkzeug to v2.0.0 each
Update Click, Flask, Jinja, Werkzeug to v2.0.0 each
Text
bsd-3-clause
homeworkprod/byceps,homeworkprod/byceps,homeworkprod/byceps
text
## Code Before: bbcode==1.1.0 blinker==1.4 click==7.1.2 flask==1.1.2 flask-babel==2.0.0 flask-sqlalchemy==2.5.1 hiredis==2.0.0 itsdangerous==1.1.0 jinja2==2.11.3 markupsafe==1.1.1 marrow.mailer==4.0.3 marrow.util==1.2.3 marshmallow==3.12.0 pendulum==2.1.2 pick==1.0.0 pillow==8.2.0 psycopg2-binary==2.8.6 python-dateutil...
822217d65c856bb149e8b1332227a0abe833ba7f
.circleci/config.yml
.circleci/config.yml
version: 2 jobs: build: docker: # Image for build runner. - image: docker:17.06 steps: - checkout - setup_remote_docker - run: name: Setup build runner command: | # Install PHP to run tests. apk --no-cache add php5 # Needed ...
version: 2 jobs: build: docker: # Image for build runner. - image: docker:17.06 steps: - checkout - setup_remote_docker - run: name: Setup build runner command: | # Bash and PHP needed for test scripts. apk --no-cache add bash php5 ...
Install Bash in build runner
Install Bash in build runner
YAML
mit
eugenesia/docker-phpfarm,eugenesia/docker-phpfarm
yaml
## Code Before: version: 2 jobs: build: docker: # Image for build runner. - image: docker:17.06 steps: - checkout - setup_remote_docker - run: name: Setup build runner command: | # Install PHP to run tests. apk --no-cache add php5 ...
81d8748687bc3de63f785ffd391c8d04260ec0b0
public/app/screens/main/style.scss
public/app/screens/main/style.scss
@import "components-theme"; @import "theme/components/grid"; .main-screen { height: 100%; background-image: url('img/background.svg'); &__top { @include grid-row(); padding-left: $basic-padding; padding-top: $half-padding; padding-right: $basic-padding; } &__header { padding: $basic-pa...
@import "components-theme"; @import "theme/components/grid"; .main-screen { height: 100%; background-image: url('img/background.svg'); background-size: 700px 700px; &__top { @include grid-row(); padding-left: $basic-padding; padding-top: $half-padding; padding-right: $basic-padding; } &_...
Set background size to scale background image
Set background size to scale background image
SCSS
mit
yetu/controlcenter,yetu/controlcenter,yetu/controlcenter
scss
## Code Before: @import "components-theme"; @import "theme/components/grid"; .main-screen { height: 100%; background-image: url('img/background.svg'); &__top { @include grid-row(); padding-left: $basic-padding; padding-top: $half-padding; padding-right: $basic-padding; } &__header { pa...
c7a50f2a094c4c58950bc11513d56a9d9c02ac88
app/assets/stylesheets/_common-ui/_links.sass
app/assets/stylesheets/_common-ui/_links.sass
// Links // // // .link--back - Back // // Styleguide 1.6 .link--back @extend %left-icon @extend %inline-block +font-size(15) padding-left: 15px &:before width: 12px height: 12px top: 4px .link--wrapper @extend %clearfix overflow: hidden display: block height: 100% color: $base-font-co...
.link--back @extend %left-icon @extend %inline-block +font-size(15) padding-left: 15px &:before width: 12px height: 12px .link--wrapper @extend %clearfix overflow: hidden display: block height: 100% color: $base-font-color &, &:hover text-decoration: none
Fix dodgy spacing on the back link
Fix dodgy spacing on the back link
Sass
mit
Lostmyname/rizzo,lonelyplanet/rizzo,lonelyplanet/rizzo,Lostmyname/rizzo,Lostmyname/rizzo,lonelyplanet/rizzo,Lostmyname/rizzo,Lostmyname/rizzo,lonelyplanet/rizzo,lonelyplanet/rizzo
sass
## Code Before: // Links // // // .link--back - Back // // Styleguide 1.6 .link--back @extend %left-icon @extend %inline-block +font-size(15) padding-left: 15px &:before width: 12px height: 12px top: 4px .link--wrapper @extend %clearfix overflow: hidden display: block height: 100% colo...
39e9b81fb2ebbe6da4b8056678834bb593205ccb
setup.py
setup.py
from setuptools import setup setup( name='crm114', version='2.0.2', author='Brian Cline', author_email='brian.cline@gmail.com', description=('Python wrapper classes for the CRM-114 Discriminator ' '(http://crm114.sourceforge.net/)'), license = 'MIT', keywords = 'crm114 tex...
from setuptools import setup VERSION = '2.0.2' VERSION_TAG = 'v%s' % VERSION README_URL = ('https://github.com/briancline/crm114-python' '/blob/%s/README.md' % VERSION_TAG) setup( name='crm114', version=VERSION, author='Brian Cline', author_email='brian.cline@gmail.com', description=...
Use globals for major bits of package data
Use globals for major bits of package data
Python
mit
briancline/crm114-python
python
## Code Before: from setuptools import setup setup( name='crm114', version='2.0.2', author='Brian Cline', author_email='brian.cline@gmail.com', description=('Python wrapper classes for the CRM-114 Discriminator ' '(http://crm114.sourceforge.net/)'), license = 'MIT', keywor...
749160c0ed51dd87852ea0ad812fdb1008796490
lib/faker/default/fillmurray.rb
lib/faker/default/fillmurray.rb
module Faker class Fillmurray < Base class << self # rubocop:disable Metrics/ParameterLists def image(legacy_grayscale = NOT_GIVEN, legacy_width = NOT_GIVEN, legacy_height = NOT_GIVEN, grayscale: false, width: 200, height: 200) # rubocop:enable Metrics/ParameterLists warn_for_deprecat...
module Faker class Fillmurray < Base class << self # rubocop:disable Metrics/ParameterLists ## # Produces the URL of an image from Fill Murray, a site which hosts # exclusively photographs of actor Bill Murray. # # @param grayscale [Boolean] Whether to return a grayscale imag...
Add YARD docs for Faker::Fillmurray.
Add YARD docs for Faker::Fillmurray.
Ruby
mit
stympy/faker
ruby
## Code Before: module Faker class Fillmurray < Base class << self # rubocop:disable Metrics/ParameterLists def image(legacy_grayscale = NOT_GIVEN, legacy_width = NOT_GIVEN, legacy_height = NOT_GIVEN, grayscale: false, width: 200, height: 200) # rubocop:enable Metrics/ParameterLists w...
e7cc6230e660bdf94e074c490a19da0dbab0f334
Callback/dateFormatter.php
Callback/dateFormatter.php
<?php namespace So\LogboardBundle\Callback; class dateFormatter { public static function standardFormat($data) { //yyyy-mm-dd $date = explode("-",$data["key"]); $data["key"] = date("D, j-M-Y", mktime(0, 0, 0, $date[1], $date[2], $date[0])); return $data; } }
<?php namespace So\LogboardBundle\Callback; /** * Date formatter * */ class dateFormatter { public static function standardFormat($data) { //yyyy-mm-dd $date = explode("-",$data["key"]); $data["key"] = date("D, j-M-Y", mktime(0, 0, 0, $date[1], $date[2], $date[0])); return...
Add commment for date formatter
Add commment for date formatter
PHP
mit
SofHad/LogboardBundle
php
## Code Before: <?php namespace So\LogboardBundle\Callback; class dateFormatter { public static function standardFormat($data) { //yyyy-mm-dd $date = explode("-",$data["key"]); $data["key"] = date("D, j-M-Y", mktime(0, 0, 0, $date[1], $date[2], $date[0])); return $data; ...
7344585d38d0ee6c90de55e1091628a1c4116dcc
src/forgetthread.cpp
src/forgetthread.cpp
void ForgetThread::launch(){ //Aliases transactionHistory = transactionHistoryPtr[thread]; tupleContent = tupleContentPtr[thread]; mutexForget.lock(); while(true){ //Waits for the signal from main thread processingForgetThreadsNb++; conditionForget.wait(mutexForget); ...
void ForgetThread::launch(){ //Aliases transactionHistory = transactionHistoryPtr[thread]; tupleContent = tupleContentPtr[thread]; mutexForget.lock(); while(true){ //Waits for the signal from main thread processingForgetThreadsNb++; conditionForget.wait(mutexForget); ...
Remove entry from map if vector<Tuple> empty in ForgetThread::processForget()
Remove entry from map if vector<Tuple> empty in ForgetThread::processForget()
C++
mit
tiennot/sigmod,tiennot/sigmod
c++
## Code Before: void ForgetThread::launch(){ //Aliases transactionHistory = transactionHistoryPtr[thread]; tupleContent = tupleContentPtr[thread]; mutexForget.lock(); while(true){ //Waits for the signal from main thread processingForgetThreadsNb++; conditionForget.wait(mute...
f379f195555ad5df2701750b9b3c3e336badb388
usr/local/bin/BuildRust.sh
usr/local/bin/BuildRust.sh
set -x # Build nightly, beta, and then stable start_time="$(date +%s)" machinectl terminate RustBuild systemd-nspawn -D /chroots/RustBuild /bin/bash /root/build-all.sh || machinectl terminate RustBuild systemd-nspawn -D /chroots/RustBuild /bin/bash /root/build-all.sh beta || machinectl terminate RustBuild systemd-nsp...
is_machine_running () { local machine_registered="$(machinectl list | grep -F $1 | sed 's/^\s*$1\s.*$/$1/')" if [ -z machine_registered ]; then return true else return false fi } # Stop a machine if it is already running stop_running_machine () { local already_running=is_machine_running $1 if alre...
Update to the systemd build script to reduce the noise in the ouput logs and modularize the closing of containers that dodn't exit nicely
Update to the systemd build script to reduce the noise in the ouput logs and modularize the closing of containers that dodn't exit nicely
Shell
mit
warricksothr/RustBuild
shell
## Code Before: set -x # Build nightly, beta, and then stable start_time="$(date +%s)" machinectl terminate RustBuild systemd-nspawn -D /chroots/RustBuild /bin/bash /root/build-all.sh || machinectl terminate RustBuild systemd-nspawn -D /chroots/RustBuild /bin/bash /root/build-all.sh beta || machinectl terminate RustB...
e1ef5b9a6d92294f72979d07bac06119ad9f085f
src/components/buttonGroup/theme.css
src/components/buttonGroup/theme.css
@import '@teamleader/ui-utilities'; :root { --button-border-radius: calc(0.4 * var(--unit)); --button-margin: calc(0.6 * var(--unit)); } .group { display: flex; align-items: center; > * { margin-left: var(--button-margin); margin-right: var(--button-margin); } > *:first-child { margin-left...
@import '@teamleader/ui-utilities'; :root { --button-border-radius: calc(0.4 * var(--unit)); --button-margin: calc(0.6 * var(--unit)); } .group { display: flex; align-items: center; min-width: 0; > * { margin-left: var(--button-margin); margin-right: var(--button-margin); } > *:first-child {...
Add min-width to fix text overflow ellipsis
Add min-width to fix text overflow ellipsis
CSS
mit
teamleadercrm/teamleader-ui
css
## Code Before: @import '@teamleader/ui-utilities'; :root { --button-border-radius: calc(0.4 * var(--unit)); --button-margin: calc(0.6 * var(--unit)); } .group { display: flex; align-items: center; > * { margin-left: var(--button-margin); margin-right: var(--button-margin); } > *:first-child {...
07d1b62a66441231e6fed713333bcb89f9fb1c56
README.md
README.md
ReasonML language plugin for idea This is a test !
ReasonML language plugin for idea (!) This is a work in progress. Don't use it !! ## Features - Structured view - Syntax highlighting - Line commenting with ctrl-alt-l ###### Note This project is heavily inspired by : - [custom language tutorial](http://www.jetbrains.org/intellij/sdk/docs/tutorials/custom_languag...
Add link to other projects
Add link to other projects
Markdown
mit
giraud/reasonml-idea-plugin,reasonml-editor/reasonml-idea-plugin,giraud/reasonml-idea-plugin,giraud/reasonml-idea-plugin,reasonml-editor/reasonml-idea-plugin
markdown
## Code Before: ReasonML language plugin for idea This is a test ! ## Instruction: Add link to other projects ## Code After: ReasonML language plugin for idea (!) This is a work in progress. Don't use it !! ## Features - Structured view - Syntax highlighting - Line commenting with ctrl-alt-l ###### Note This p...
2a9d2f0c7aadb4f680ee2f31d6ecb8f734b43953
src/script.transform.js
src/script.transform.js
"use strict"; export function ScriptTransform(mimetype, value, document) { var el = document.createElement('script'); el.type = mimetype; el.appendChild(document.createTextNode(value)); return el; } ScriptTransform.mimetype = 'text/javascript';
"use strict"; export function ScriptTransform(mimetype, value, document) { var el = document.createElement('script'); el.type = mimetype; el.appendChild(document.createTextNode(value)); return el; } ScriptTransform.mimetype = ['text/javascript', 'application/javascript'];
Support both text and application mimetypes
Support both text and application mimetypes
JavaScript
bsd-3-clause
nteract/transformime-jupyter-renderers,nteract/transformime-jupyter-transformers
javascript
## Code Before: "use strict"; export function ScriptTransform(mimetype, value, document) { var el = document.createElement('script'); el.type = mimetype; el.appendChild(document.createTextNode(value)); return el; } ScriptTransform.mimetype = 'text/javascript'; ## Instruction: Support both text and app...
a3f650473ee323fece222576e4bd8f6d4bdefc55
src/main/java/co/phoenixlab/discord/api/entities/ReadyMessage.java
src/main/java/co/phoenixlab/discord/api/entities/ReadyMessage.java
package co.phoenixlab.discord.api.entities; import com.google.gson.annotations.SerializedName; public class ReadyMessage { @SerializedName("v") private int version; private User user; private String sessionId; @SerializedName("read_state") private ReadState[] readState; @SerializedName("...
package co.phoenixlab.discord.api.entities; import com.google.gson.annotations.SerializedName; public class ReadyMessage { @SerializedName("v") private int version; private User user; @SerializedName("session_id") private String sessionId; @SerializedName("read_state") private ReadState[...
Fix missing serialized name annotation
Fix missing serialized name annotation
Java
mit
vincentzhang96/VahrhedralBot
java
## Code Before: package co.phoenixlab.discord.api.entities; import com.google.gson.annotations.SerializedName; public class ReadyMessage { @SerializedName("v") private int version; private User user; private String sessionId; @SerializedName("read_state") private ReadState[] readState; @...
d45fac297190272fa46e6afe16c901fe29016fc6
tests/acceptance/document-title-test.js
tests/acceptance/document-title-test.js
import Ember from 'ember'; import { module, test } from 'qunit'; import startApp from '../helpers/start-app'; var application; module('Acceptance: DocumentTitle', { beforeEach: function() { application = startApp(); }, afterEach: function() { Ember.run(application, 'destroy'); } }); test('static tit...
import Ember from 'ember'; import { module, test } from 'qunit'; import startApp from '../helpers/start-app'; var application, router; module('Acceptance: DocumentTitle', { beforeEach: function() { application = startApp(); router = application.__container__.lookup('router:main'); }, afterEach: functio...
Refactor router lookup in tests
Refactor router lookup in tests
JavaScript
mit
rwjblue/ember-cli-document-title,lucas-clemente/ember-cli-document-title,kimroen/ember-cli-document-title,ronco/ember-cli-document-title,ssendev/ember-cli-document-title,rwjblue/ember-cli-document-title,ssendev/ember-cli-document-title,abulrim/ember-cli-document-title,lucas-clemente/ember-cli-document-title,kimroen/emb...
javascript
## Code Before: import Ember from 'ember'; import { module, test } from 'qunit'; import startApp from '../helpers/start-app'; var application; module('Acceptance: DocumentTitle', { beforeEach: function() { application = startApp(); }, afterEach: function() { Ember.run(application, 'destroy'); } }); ...
b8da5ac1bdf5edc5db61f211249bca70e343259f
docs/installation.rst
docs/installation.rst
.. highlight:: shell ============ Installation ============ Stable release -------------- Installing `landlab` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: .. code-block:: console $ conda config --add channels conda-forge Once the `conda-forge` channel has bee...
.. highlight:: shell ============ Installation ============ Stable release -------------- Installing *pymt* from the *conda-forge* channel can be achieved by adding *conda-forge* to your channels with: .. code-block:: console $ conda config --add channels conda-forge Once the *conda-forge* channel has been e...
Fix name of pymt package.
Fix name of pymt package.
reStructuredText
mit
csdms/coupling,csdms/pymt,csdms/coupling
restructuredtext
## Code Before: .. highlight:: shell ============ Installation ============ Stable release -------------- Installing `landlab` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: .. code-block:: console $ conda config --add channels conda-forge Once the `conda-forge`...
3fa40dd13c6c1c050c5672833ad397441a5fefb3
cpp/.travis/install-dependencies.sh
cpp/.travis/install-dependencies.sh
echo 'C++ install' ( sudo apt-get update #sudo apt-get install libboost-program-options-dev -y sudo apt-get install libboost-all-dev cd cpp/src BIOTOOL_CPP_PATH=`pwd` wget --no-check-certificate http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz tar xzf cmake-3.4.1.tar.gz cd cmake-3.4.1/ ./...
echo 'C++ install' ( sudo apt-get update sudo apt-get install libboost-program-options-dev -y sudo apt-get install libboost-log-dev -y #sudo apt-get install libboost-all-dev cd cpp/src BIOTOOL_CPP_PATH=`pwd` wget --no-check-certificate http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz tar xzf...
Update C++ install dependencies for travis to include boost-log-dev package for Ubuntu
Update C++ install dependencies for travis to include boost-log-dev package for Ubuntu
Shell
mit
biotool-paper/biotool,drpowell/biotool,drpowell/biotool,drpowell/biotool,drpowell/biotool,drpowell/biotool,drpowell/biotool,biotool-paper/biotool,biotool-paper/biotool,biotool-paper/biotool,bionitio-team/bionitio,biotool-paper/biotool,drpowell/biotool,biotool-paper/biotool,drpowell/biotool,drpowell/biotool,biotool-pape...
shell
## Code Before: echo 'C++ install' ( sudo apt-get update #sudo apt-get install libboost-program-options-dev -y sudo apt-get install libboost-all-dev cd cpp/src BIOTOOL_CPP_PATH=`pwd` wget --no-check-certificate http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz tar xzf cmake-3.4.1.tar.gz cd cm...
b6b3a906589be0b7f642cac13ae6004d52a252f0
packages/he/heredocs.yaml
packages/he/heredocs.yaml
homepage: http://github.com/cutsea110/heredoc.git changelog-type: '' hash: 8fcacc14d160a9d00140a8be3d217be6763ccd75b234a5a6307853c2eae5af98 test-bench-deps: base: -any text: ! '>=1.2.2.1' doctest: ! '>=0.11.0' heredocs: -any maintainer: cutsea110@gmail.com synopsis: heredocument changelog: '' basic-deps: base...
homepage: http://github.com/cutsea110/heredoc.git changelog-type: '' hash: c6f5305c86365e5af841406fd2349dc999dce9261e1622cdfbf566cf2de19c75 test-bench-deps: base: -any text: ! '>=1.2.2.1' doctest: ! '>=0.11.0' heredocs: -any maintainer: cutsea110@gmail.com synopsis: heredocument changelog: '' basic-deps: base...
Update from Hackage at 2016-04-28T06:47:29+0000
Update from Hackage at 2016-04-28T06:47:29+0000
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: http://github.com/cutsea110/heredoc.git changelog-type: '' hash: 8fcacc14d160a9d00140a8be3d217be6763ccd75b234a5a6307853c2eae5af98 test-bench-deps: base: -any text: ! '>=1.2.2.1' doctest: ! '>=0.11.0' heredocs: -any maintainer: cutsea110@gmail.com synopsis: heredocument changelog: '' ba...
d1330eb44b1842571ff7deacef175b9aa92e09c0
openacademy/models/res_partner.py
openacademy/models/res_partner.py
from openerp import models, fields class Partner(models.Model): _inherit = 'res.partner' instructor = fields.Boolean(help="This partner give train our course")
from openerp import models, fields class Partner(models.Model): _inherit = 'res.partner' instructor = fields.Boolean(default=False,help="This partner give train our course") sessions = fields.Many2many('session', string="Session as instructor", readonly=True)
Add partner view injerit and model inherit
[REF] openacademy: Add partner view injerit and model inherit
Python
apache-2.0
juancr83/DockerOpenacademy-proyect
python
## Code Before: from openerp import models, fields class Partner(models.Model): _inherit = 'res.partner' instructor = fields.Boolean(help="This partner give train our course") ## Instruction: [REF] openacademy: Add partner view injerit and model inherit ## Code After: from openerp import models, fields ...
dae11486c8e4da1adf43a2cf6526c517dfd17b0b
.travis.yml
.travis.yml
language: node_js node_js: - "8" install: - yarn global add lerna - yarn bootstrap script: - yarn run check after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 18e1eef105275451c25392c4f6b07ae0cc4ca3f6c280f9ccfcad7a16c9068d47 notifications: email: false
language: node_js node_js: - "8" - "10" - "12" - "node" install: - yarn global add lerna - yarn bootstrap script: - yarn run check after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 18e1eef105275451c25392c4f6b07ae0cc4ca3f6c280f9ccfcad7a16c9068d47 notif...
Add NodeJS 10, 12 and latest (13) to CI matrix
Add NodeJS 10, 12 and latest (13) to CI matrix
YAML
mit
rofrischmann/fela,risetechnologies/fela,rofrischmann/fela,rofrischmann/fela,risetechnologies/fela,risetechnologies/fela
yaml
## Code Before: language: node_js node_js: - "8" install: - yarn global add lerna - yarn bootstrap script: - yarn run check after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 18e1eef105275451c25392c4f6b07ae0cc4ca3f6c280f9ccfcad7a16c9068d47 notifications: e...
7066813ef8c46749f047184f0320917584c60acf
src/containers/App.jsx
src/containers/App.jsx
import React from 'react' import USMap from '../components/USMap' import { StyleSheet } from 'react-look' import { connect } from 'react-redux' const styles = StyleSheet.create({ map: { height: '80vh', width: 'auto' } }) function mapStateToProps(state) { return { events: state.events } } const Ap...
import React from 'react' import USMap from '../components/USMap' import { StyleSheet } from 'react-look' import { connect } from 'react-redux' const styles = StyleSheet.create({ map: { height: '70vmin' } }) function mapStateToProps(state) { return { events: state.events } } const App = ({ events }) ...
Use vmin to do better map size
Use vmin to do better map size
JSX
agpl-3.0
ryankopf/bnc-website,ryankopf/bnc-website,itstriz/website
jsx
## Code Before: import React from 'react' import USMap from '../components/USMap' import { StyleSheet } from 'react-look' import { connect } from 'react-redux' const styles = StyleSheet.create({ map: { height: '80vh', width: 'auto' } }) function mapStateToProps(state) { return { events: state.events...
7a07800edc9cca4ee05ae11a26070f358d73df12
server.js
server.js
const express = require('express'); const fs = require('fs'); const app = express(); const port = 3000; const gifFolder = './public/gifs'; app.use(express.static('public')); app.get('/', function(req, res) { res.sendFile(path.join(__dirname + '/public/index.html')); }); fs.readdir(gifFolder, (err, files) => { fs...
const express = require('express'); const fs = require('fs'); const app = express(); const port = 3000; const gifFolder = './public/gifs'; app.use(express.static('public')); app.get('/', function(req, res) { res.sendFile(path.join(__dirname + '/public/index.html')); }); fs.readdir(gifFolder, (err, files) => { if...
Add console.log error message in case gif folder is not found
Add console.log error message in case gif folder is not found
JavaScript
mit
davidrayoussef/full-screen-gif-slider,davidrayoussef/full-screen-gif-slider
javascript
## Code Before: const express = require('express'); const fs = require('fs'); const app = express(); const port = 3000; const gifFolder = './public/gifs'; app.use(express.static('public')); app.get('/', function(req, res) { res.sendFile(path.join(__dirname + '/public/index.html')); }); fs.readdir(gifFolder, (err, ...
c88487b5f46c39767b30415bf5c7f687d7934d06
packages/browser-info/tsconfig.json
packages/browser-info/tsconfig.json
{ "extends": "../../tsconfig.json", "compilerOptions": { "rootDir": "src", "outDir": "dist", "paths":{ } }, "include": [ "src" ], "exclude": [ "**/__mocks__", "**/__tests__" ] }
{ "extends": "../../tsconfig.json", "compilerOptions": { "baseUrl": ".", "rootDir": "src", "outDir": "dist", "paths":{ } }, "include": [ "src" ], "exclude": [ "**/__mocks__", "**/__tests__" ] }
Fix Browser-info build to still work with Lerna while we move to bazel
Fix Browser-info build to still work with Lerna while we move to bazel
JSON
apache-2.0
SeleniumHQ/selenium-ide,SeleniumHQ/selenium-ide,SeleniumHQ/selenium-ide
json
## Code Before: { "extends": "../../tsconfig.json", "compilerOptions": { "rootDir": "src", "outDir": "dist", "paths":{ } }, "include": [ "src" ], "exclude": [ "**/__mocks__", "**/__tests__" ] } ## Instruction: Fix Browser-info build to still work with Lerna while we mo...
60bdabfbea8791894b49ef768a2cf2fa7e8bb15d
{{cookiecutter.repo_name}}/index.rst
{{cookiecutter.repo_name}}/index.rst
.. Technote content. See https://developer.lsst.io/docs/rst_styleguide.html for a guide to reStructuredText writing. Do not put the title, authors or other metadata in this document; those are automatically added. Use the following syntax for sections: Sections ======== and Subsections -----...
.. Technote content. See https://developer.lsst.io/docs/rst_styleguide.html for a guide to reStructuredText writing. Do not put the title, authors or other metadata in this document; those are automatically added. Use the following syntax for sections: Sections ======== and Subsections -----...
Add sectnum directive to number sections
Add sectnum directive to number sections
reStructuredText
mit
lsst-sqre/lsst-technote-bootstrap
restructuredtext
## Code Before: .. Technote content. See https://developer.lsst.io/docs/rst_styleguide.html for a guide to reStructuredText writing. Do not put the title, authors or other metadata in this document; those are automatically added. Use the following syntax for sections: Sections ======== and Sub...
0355e125bf923d8f6157122de74906b013f1bedc
ci/linkcheck.sh
ci/linkcheck.sh
set -e set -o pipefail # https://docs.github.com/en/actions/reference/environment-variables if [ "$GITHUB_EVENT_NAME" = "schedule" ] ; then # running in scheduled job FLAGS="" echo "Doing full link check." set -x elif [ "$GITHUB_EVENT_NAME" = "pull_request" ] ; then # running in PR CI build if [ -z "$BASE_SH...
set -e set -o pipefail # https://docs.github.com/en/actions/reference/environment-variables if [ "$GITHUB_EVENT_NAME" = "schedule" ] ; then # running in scheduled job FLAGS="" echo "Doing full link check." set -x elif [ "$GITHUB_EVENT_NAME" = "pull_request" ] ; then # running in PR CI build if [ -z "$BASE_SH...
Remove the possible unnecessary flag
Remove the possible unnecessary flag
Shell
apache-2.0
rust-lang/rustc-dev-guide,rust-lang/rustc-dev-guide,rust-lang/rustc-dev-guide,rust-lang/rustc-dev-guide
shell
## Code Before: set -e set -o pipefail # https://docs.github.com/en/actions/reference/environment-variables if [ "$GITHUB_EVENT_NAME" = "schedule" ] ; then # running in scheduled job FLAGS="" echo "Doing full link check." set -x elif [ "$GITHUB_EVENT_NAME" = "pull_request" ] ; then # running in PR CI build i...
38fc46108d8210c87ee243f726f748e5b49ba674
package.json
package.json
{ "name": "html-to-xlsx", "version": "0.5.0", "author": { "name": "Jan Blaha", "email": "jan.blaha@hotmail.com" }, "contributors": [], "description": "Convert html to xlsx", "keywords": [ "html", "xlsx", "conversion" ], "homepage": "https://github.com/pofider/html-to-xlsx", "repo...
{ "name": "html-to-xlsx", "version": "0.5.0", "author": { "name": "Jan Blaha", "email": "jan.blaha@hotmail.com" }, "contributors": [], "description": "Convert html to xlsx", "keywords": [ "html", "xlsx", "conversion" ], "homepage": "https://github.com/pofider/html-to-xlsx", "repo...
Add postinstall for testing without publishing
Add postinstall for testing without publishing
JSON
mit
pofider/html-to-xlsx
json
## Code Before: { "name": "html-to-xlsx", "version": "0.5.0", "author": { "name": "Jan Blaha", "email": "jan.blaha@hotmail.com" }, "contributors": [], "description": "Convert html to xlsx", "keywords": [ "html", "xlsx", "conversion" ], "homepage": "https://github.com/pofider/html-t...
ae780c6e7d454e3d20b5ae34d15981eaf75cf062
pkgs/development/web/nodejs/v16.nix
pkgs/development/web/nodejs/v16.nix
{ callPackage, openssl, python3, enableNpm ? true }: let buildNodejs = callPackage ./nodejs.nix { inherit openssl; python = python3; }; in buildNodejs { inherit enableNpm; version = "16.6.0"; sha256 = "1ndrqx3k5m62r7nzl5za59m33bx10541n7xbaxxz7088ifh18msw"; }
{ callPackage, openssl, python3, enableNpm ? true }: let buildNodejs = callPackage ./nodejs.nix { inherit openssl; python = python3; }; in buildNodejs { inherit enableNpm; version = "16.5.0"; sha256 = "16dapj5pm2y1m3ldrjjlz8rq9axk85nn316iz02nk6qjs66y6drz"; }
Revert "nodejs-16_x: 16.5.0 -> 16.6.0"
Revert "nodejs-16_x: 16.5.0 -> 16.6.0" Node.js 16.6.0 fails to build on Darwin This reverts commit f5de4158dd462c51741ec48be2e47a3f8015930d.
Nix
mit
NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs
nix
## Code Before: { callPackage, openssl, python3, enableNpm ? true }: let buildNodejs = callPackage ./nodejs.nix { inherit openssl; python = python3; }; in buildNodejs { inherit enableNpm; version = "16.6.0"; sha256 = "1ndrqx3k5m62r7nzl5za59m33bx10541n7xbaxxz7088ifh18msw"; } ## Instruction:...
ac84104ae27fd2fe8adc6bdc501a41a502e2e3a8
addon/services/filesystem.js
addon/services/filesystem.js
import Ember from 'ember'; import fetch from 'ember-network/fetch'; export default Ember.Service.extend({ prompt(){ return new Promise((resolve, reject) => { const input = document.createElement('input'); input.setAttribute("type","file"); input.click(); Ember.$(input).change(() => { ...
import Ember from 'ember'; import config from 'degenerator-ui/config/environment'; export default Ember.Controller.extend({ filesystem: Ember.inject.service(), init() { this._super(...arguments); this.set('uploadFile', null); }, actions:{ selectPhoto() { this.get('filesystem').prompt().then...
Initialize input for proper behavior
Initialize input for proper behavior
JavaScript
mit
mhigbyflowers/ember-filesystem,mhigbyflowers/ember-filesystem
javascript
## Code Before: import Ember from 'ember'; import fetch from 'ember-network/fetch'; export default Ember.Service.extend({ prompt(){ return new Promise((resolve, reject) => { const input = document.createElement('input'); input.setAttribute("type","file"); input.click(); Ember.$(input).ch...
4adac8af05d6c0f28cedb20faed7ae58c448c7e9
src/SFA.DAS.Commitments.Database/StoredProcedures/ProcessFullyApprovedCohort.sql
src/SFA.DAS.Commitments.Database/StoredProcedures/ProcessFullyApprovedCohort.sql
CREATE PROCEDURE [dbo].[ProcessFullyApprovedCohort] @cohortId BIGINT, @accountId BIGINT, @apprenticeshipEmployerType INT AS BEGIN UPDATE [dbo].[Commitment] SET ApprenticeshipEmployerTypeOnApproval = @apprenticeshipEmployerType, IsFullApprovalProcessed = 1 WHERE Id = @cohortId UPDATE [d...
CREATE PROCEDURE [dbo].[ProcessFullyApprovedCohort] @cohortId BIGINT, @accountId BIGINT, @apprenticeshipEmployerType INT AS BEGIN UPDATE [dbo].[Commitment] SET ApprenticeshipEmployerTypeOnApproval = @apprenticeshipEmployerType, IsFullApprovalProcessed = 1 WHERE Id = @cohortId UPDATE [d...
Use actual start date if available.
Use actual start date if available.
SQL
mit
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
sql
## Code Before: CREATE PROCEDURE [dbo].[ProcessFullyApprovedCohort] @cohortId BIGINT, @accountId BIGINT, @apprenticeshipEmployerType INT AS BEGIN UPDATE [dbo].[Commitment] SET ApprenticeshipEmployerTypeOnApproval = @apprenticeshipEmployerType, IsFullApprovalProcessed = 1 WHERE Id = @cohortId ...
8ac142af2afc577a47197fe9bc821cb796883f38
virtual_machine.py
virtual_machine.py
class VirtualMachine: def __init__(self, bytecodes, ram_size=256, executing=True): self.bytecodes = bytecodes self.data = [None]*ram_size self.stack = [] self.executing = executing self.pc = 0 def push(self, value): """Push something onto the stack.""" se...
class VirtualMachine: def __init__(self, bytecodes, ram_size=256, executing=True): self.bytecodes = bytecodes self.data = [None]*ram_size self.stack = [] self.executing = executing self.pc = 0 def push(self, value): """Push something onto the stack.""" se...
Check for autoincrement before executing the instruction
Check for autoincrement before executing the instruction
Python
bsd-3-clause
darbaga/simple_compiler
python
## Code Before: class VirtualMachine: def __init__(self, bytecodes, ram_size=256, executing=True): self.bytecodes = bytecodes self.data = [None]*ram_size self.stack = [] self.executing = executing self.pc = 0 def push(self, value): """Push something onto the stac...
9730a869607be9b055a6ae9941c9b8c6cae60bac
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here. --> ## How Has This Been Tested?...
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here. --> ## How Has This Been Tested?...
Update the PR template checklist with line about `composer test`
Update the PR template checklist with line about `composer test`
Markdown
mit
ramsey/collection,ramsey/collection
markdown
## Code Before: <!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here. --> ## How Has T...
39271ba059ab0a3b228bec29abc98982a12f102c
src/main/java/org/cyclops/commoncapabilities/capability/wrench/WrenchConfig.java
src/main/java/org/cyclops/commoncapabilities/capability/wrench/WrenchConfig.java
package org.cyclops.commoncapabilities.capability.wrench; import net.minecraft.world.IWorldNameable; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.CapabilityInject; import org.cyclops.commoncapabilities.CommonCapabilities; import org.cyclops.commoncapabilities....
package org.cyclops.commoncapabilities.capability.wrench; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.CapabilityInject; import org.cyclops.commoncapabilities.CommonCapabilities; import org.cyclops.commoncapabilities.api.capability.wrench.DefaultWrench; import...
Fix wrench capability failing to register
Fix wrench capability failing to register
Java
mit
CyclopsMC/CommonCapabilities
java
## Code Before: package org.cyclops.commoncapabilities.capability.wrench; import net.minecraft.world.IWorldNameable; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.CapabilityInject; import org.cyclops.commoncapabilities.CommonCapabilities; import org.cyclops.com...
3023e39c4ce04be091a26648610c2a745e049451
scripts/start.sh
scripts/start.sh
chown -R $UID "$HOME" cd "$HOME" sudo -u "#$UID" /usr/bin/java $JENKINS_JAVA_ARGS -jar /opt/jenkins.war $JENKINS_ARGS
[ -z "$(cat /etc/passwd | grep jenkins)" ] && useradd -U -d "$HOME" -p 1234 -s /bin/false jenkins chown -R jenkins "$HOME" cd "$HOME" sudo -u jenkins /usr/bin/java $JENKINS_JAVA_ARGS -jar /opt/jenkins.war $JENKINS_ARGS
Create user "jenkins" in /etc/passwd ... Because git won't work without it
Create user "jenkins" in /etc/passwd ... Because git won't work without it
Shell
mit
ProcNULL/docker-jenkins
shell
## Code Before: chown -R $UID "$HOME" cd "$HOME" sudo -u "#$UID" /usr/bin/java $JENKINS_JAVA_ARGS -jar /opt/jenkins.war $JENKINS_ARGS ## Instruction: Create user "jenkins" in /etc/passwd ... Because git won't work without it ## Code After: [ -z "$(cat /etc/passwd | grep jenkins)" ] && useradd -U -d "$HOME" -p 1234 ...
07010a46b0f34bf7d0050bd2114dff3ddd72e5fe
README.mkd
README.mkd
Retro Gauge Arduino Source Code ================================ ## Dependencies Besides a standard Arduino development environment, the firmware also requires the [SwitecX25 library](https://github.com/clearwater/SwitecX25) to drive the stepper motor. This library is based on [Guy Carpenter's Gaugette project][gaug...
Retro Gauge Arduino Source Code ================================ ## Dependencies Run this from the top level directory to download the dependencies: $ git submodule update --init Besides a standard Arduino development environment, the firmware also requires the [SwitecX25 library](https://github.com/clearwater/...
Add some basic docs on using Makefile.
Add some basic docs on using Makefile.
Markdown
bsd-3-clause
openxc-retro-gauge/retro-gauge-firmware,openxc-retro-gauge/retro-gauge-firmware
markdown
## Code Before: Retro Gauge Arduino Source Code ================================ ## Dependencies Besides a standard Arduino development environment, the firmware also requires the [SwitecX25 library](https://github.com/clearwater/SwitecX25) to drive the stepper motor. This library is based on [Guy Carpenter's Gauget...
ef5ea8690e5d7ce01fb73bc373c78f95e798d661
vagrant/scripts/cluster_status.sh
vagrant/scripts/cluster_status.sh
set -e SCRIPT_DIR="$(dirname "$0")" export KUBECONFIG="${KUBECONFIG}:${SCRIPT_DIR}/../kubeconfig" kubectl config use-context vagrant-multi kubectl cluster-info
set -e SCRIPT_DIR="$(dirname "$0")" export KUBECONFIG="$(realpath ${SCRIPT_DIR}/../kubeconfig)" kubectl config use-context vagrant-multi kubectl cluster-info
Fix env var assignment for cluster-status check
Fix env var assignment for cluster-status check
Shell
bsd-3-clause
agalitsyn/yagoda,agalitsyn/yagoda,agalitsyn/yagoda
shell
## Code Before: set -e SCRIPT_DIR="$(dirname "$0")" export KUBECONFIG="${KUBECONFIG}:${SCRIPT_DIR}/../kubeconfig" kubectl config use-context vagrant-multi kubectl cluster-info ## Instruction: Fix env var assignment for cluster-status check ## Code After: set -e SCRIPT_DIR="$(dirname "$0")" export KUBECONFIG="$(...
a99e1ff77fcc22a6d1bb1415feca0f8705a54a6f
lib/relex/token.rb
lib/relex/token.rb
module Relex class Token attr_reader :palavras_reservadas, :delimitadores, :operadores_aritmeticos, :identificadores, :strings_numericas, :comando_atribuicao, :operador_relacional def initialize(valor, classificacao) self.palavras_reservadas = /program|var|begin|end|integer|if|then|else/ self.del...
module Relex class Token def initialize(valor, classificacao) @valor = valor @classificacao = classificacao end def to_s "#{@valor} #{@classificao}" end end end
Remove regexps de Token. Elas devem estar em cli.rb
Remove regexps de Token. Elas devem estar em cli.rb
Ruby
mit
vitorbaptista/relex
ruby
## Code Before: module Relex class Token attr_reader :palavras_reservadas, :delimitadores, :operadores_aritmeticos, :identificadores, :strings_numericas, :comando_atribuicao, :operador_relacional def initialize(valor, classificacao) self.palavras_reservadas = /program|var|begin|end|integer|if|then|else...
5172667eca0fb123ecc3a0beb304532ffcf624b7
lib/icapps/translations/http.rb
lib/icapps/translations/http.rb
require 'colorize' require 'net/http' require 'json' require 'openssl' module Icapps module Translations class Http class << self def authenticated_response(path, is_json = false) uri = URI("#{config.url}/#{path}") puts "[VERBOSE] Connecting to url '#{uri}'.".colorize(:white) if...
require 'colorize' require 'net/http' require 'json' require 'openssl' module Icapps module Translations class Http class << self def authenticated_response(path, is_json = false) uri = URI("#{config.url}/#{path}") puts "[VERBOSE] Connecting to url '#{uri}'.".colorize(:white) if...
Enable SSL (Cert is fixed)
Enable SSL (Cert is fixed)
Ruby
mit
icapps/translations
ruby
## Code Before: require 'colorize' require 'net/http' require 'json' require 'openssl' module Icapps module Translations class Http class << self def authenticated_response(path, is_json = false) uri = URI("#{config.url}/#{path}") puts "[VERBOSE] Connecting to url '#{uri}'.".col...
4ba0cfcdb33fadfe6086e455fd702097faeca0d8
README.md
README.md
fuseki-docker: Dockerized Jena Fuseki ===================================== Cloning this repo will provide you with a simple RDF workbench based on Jena Fuseki. ##Quickstart 1. Install vagrant 2. Clone repo 3. From the cloned folder, enter the following commands on the command line: ``` term$ make up_fuseki term$ ma...
fuseki-docker: Dockerized Jena Fuseki ===================================== Cloning this repo will provide you with a simple RDF workbench based on Jena Fuseki. ##Quickstart 1. Install vagrant 2. Clone repo 3. From the cloned folder, enter the following commands on the command line: ``` term$ make up_fuseki term$ ma...
Add line about using Fuseki
Add line about using Fuseki
Markdown
mit
brinxmat/fuseki-docker
markdown
## Code Before: fuseki-docker: Dockerized Jena Fuseki ===================================== Cloning this repo will provide you with a simple RDF workbench based on Jena Fuseki. ##Quickstart 1. Install vagrant 2. Clone repo 3. From the cloned folder, enter the following commands on the command line: ``` term$ make up...
f3797c1e388fc14aa88ddf9e36f78b973787fd14
linux/status_bar.sh
linux/status_bar.sh
function drawProgress { PERCENT=$1 SIZE=$(($2-2)) START=$3 PROGRESS=$((PERCENT*SIZE/100)) STRING="" for ((i=0; i<SIZE; i++)); do if [ $i -lt $PROGRESS ]; then STRING+="#" else STRING+="-" fi done echo -ne "\r\033[${START}C[$STRIN...
function drawProgress { PERCENT=$1 SIZE=$(($2)) START=$3 PROGRESS=$((START+PERCENT*SIZE/100)) END=$((START+SIZE)) if [ $PERCENT -eq 0 ]; then STRING="" for ((i=0; i<SIZE; i++)); do STRING+="░" done echo -ne "\r\033[${START}C$STRING" elif [ $PROGRESS -lt $END ]; then echo -ne "\r\033[${PROGR...
Make status bar more awesome!
Make status bar more awesome!
Shell
mit
matthewfleming/snippets,matthewfleming/snippets,matthewfleming/snippets,matthewfleming/snippets,matthewfleming/snippets
shell
## Code Before: function drawProgress { PERCENT=$1 SIZE=$(($2-2)) START=$3 PROGRESS=$((PERCENT*SIZE/100)) STRING="" for ((i=0; i<SIZE; i++)); do if [ $i -lt $PROGRESS ]; then STRING+="#" else STRING+="-" fi done echo -ne "\r\033[...
5687dd381da8ca71a0fc9bc658dea7df83fc61cf
next-highest-number/Readme.md
next-highest-number/Readme.md
Given a number, find the next higher number using only the digits in the given number. For example if the given number is 1234, next higher number with same digits is 1243. ## Source [http://www.ardendertat.com/2012/01/02/programming-interview-questions-24-find-next-higher-number-with-same-digits/](http://www.ardend...
Given a number, find the next higher number using only the digits in the given number. For example if the given number is 1234, next higher number with same digits is 1243. ## Source [http://stackoverflow.com/questions/9368205/given-a-number-find-the-next-higher-number-which-has-the-exact-same-set-of-digi#9368616](h...
Update source for next highest number
Update source for next highest number
Markdown
mit
AndrewKishino/code-problems,BastinRobin/code-problems,BastinRobin/code-problems,tahoeRobbo/code-problems,ankur-anand/code-problems,caoglish/code-problems,caoglish/code-problems,saurabhjn76/code-problems,Widea/code-problems,nickell-andrew/code-problems,angelkar/code-problems,diversedition/code-problems,rkho/code-problem...
markdown
## Code Before: Given a number, find the next higher number using only the digits in the given number. For example if the given number is 1234, next higher number with same digits is 1243. ## Source [http://www.ardendertat.com/2012/01/02/programming-interview-questions-24-find-next-higher-number-with-same-digits/](h...
5ae2a5cde11d31e3ee3c8f814e51b6377629629a
frontend/styles/component.less
frontend/styles/component.less
.components { } .component { background: #f6f6f6; box-shadow: 0 0 10px 2px rgba(0, 0, 0, .3); display: flex; padding: 20px 0 20px 40px; text-decoration: none; width: 100%; &--warn:before { content: 'LOL'; } &--error { // background: rgba(255, 0, 0, .2); } ...
.components { } .component { align-items: center; background: #f6f6f6; box-shadow: 0 0 10px 2px rgba(0, 0, 0, .3); display: flex; font-size: 18px; padding: 20px 0; text-decoration: none; width: 100%; &__status { text-align: center; width: 50px; } &__name { ...
Remove old status classes, add icon. Small visual adjustments
Remove old status classes, add icon. Small visual adjustments
Less
apache-2.0
Espenhh/panopticon,Espenhh/panopticon,Espenhh/panopticon,Espenhh/panopticon
less
## Code Before: .components { } .component { background: #f6f6f6; box-shadow: 0 0 10px 2px rgba(0, 0, 0, .3); display: flex; padding: 20px 0 20px 40px; text-decoration: none; width: 100%; &--warn:before { content: 'LOL'; } &--error { // background: rgba(255, 0, 0, ...
b096544f4dc5e98e2667e91182691feb0bdeddf4
hawtio-web/src/main/webapp/app/jmx/js/mbeans.ts
hawtio-web/src/main/webapp/app/jmx/js/mbeans.ts
module Jmx { export function MBeansController($scope, $location: ng.ILocationService, workspace: Workspace) { $scope.$on("$routeChangeSuccess", function (event, current, previous) { // lets do this asynchronously to avoid Error: $digest already in progress setTimeout(updateSelectionFromURL, 50); ...
module Jmx { export function MBeansController($scope, $location: ng.ILocationService, workspace: Workspace) { $scope.$on("$routeChangeSuccess", function (event, current, previous) { // lets do this asynchronously to avoid Error: $digest already in progress setTimeout(updateSelectionFromURL, 50); ...
Fix tree on integration tab, still need to sort a few things out post-refactor
Fix tree on integration tab, still need to sort a few things out post-refactor
TypeScript
apache-2.0
jfbreault/hawtio,samkeeleyong/hawtio,tadayosi/hawtio,andytaylor/hawtio,jfbreault/hawtio,mposolda/hawtio,Fatze/hawtio,mposolda/hawtio,jfbreault/hawtio,telefunken/hawtio,stalet/hawtio,fortyrunner/hawtio,uguy/hawtio,rajdavies/hawtio,telefunken/hawtio,mposolda/hawtio,andytaylor/hawtio,samkeeleyong/hawtio,stalet/hawtio,skar...
typescript
## Code Before: module Jmx { export function MBeansController($scope, $location: ng.ILocationService, workspace: Workspace) { $scope.$on("$routeChangeSuccess", function (event, current, previous) { // lets do this asynchronously to avoid Error: $digest already in progress setTimeout(updateSelectionF...
fab7591d922eb55f4a596a143526998f56bebcf5
karma.conf.js
karma.conf.js
module.exports = function(config) { config.set({ basePath: '', frameworks: ['jasmine'], files: [ 'bower_components/angular/angular.js', 'bower_components/underscore/underscore.js', 'bower_components/backbone/backbone.js', 'ng-backbone.js', 'bower_components/angular-mocks/angu...
module.exports = function(config) { config.set({ basePath: '', frameworks: ['jasmine'], files: [ 'node_modules/angular/angular.js', 'node_modules/underscore/underscore.js', 'node_modules/backbone/backbone.js', 'ng-backbone.js', 'node_modules/angular-mocks/angular-mocks.js', ...
Switch to use node_modules and fix reporters
test(karma): Switch to use node_modules and fix reporters
JavaScript
mit
adrianlee44/ng-backbone
javascript
## Code Before: module.exports = function(config) { config.set({ basePath: '', frameworks: ['jasmine'], files: [ 'bower_components/angular/angular.js', 'bower_components/underscore/underscore.js', 'bower_components/backbone/backbone.js', 'ng-backbone.js', 'bower_components/an...
bb80b2a9e154d89e8b1271236da1e4d12b12de41
.travis.yml
.travis.yml
language: php env: global: - SYMFONY_DEPRECATIONS_HELPER=weak git: depth: 10 sudo: false cache: directories: - $HOME/.composer/cache matrix: include: - php: 7.1 env: - SYMFONY_REQUIRE=^4 - COMPOSER_FLAGS="--prefer-lowest --prefer-stable" - php: 7.2 env: SYMFONY...
language: php env: global: - SYMFONY_DEPRECATIONS_HELPER=weak git: depth: 10 sudo: false cache: directories: - $HOME/.composer/cache matrix: include: - php: 7.1 env: - COMPOSER_FLAGS="--prefer-lowest --prefer-stable" - php: 7.2 - php: 7.3 - php: 7.4 - php: 7.2 ...
Remove un-used env vars in Travis config and remove duplicate test runs
Remove un-used env vars in Travis config and remove duplicate test runs
YAML
mit
Payum/Payum,Payum/Payum
yaml
## Code Before: language: php env: global: - SYMFONY_DEPRECATIONS_HELPER=weak git: depth: 10 sudo: false cache: directories: - $HOME/.composer/cache matrix: include: - php: 7.1 env: - SYMFONY_REQUIRE=^4 - COMPOSER_FLAGS="--prefer-lowest --prefer-stable" - php: 7.2 ...
e3311fcb1fe97870e0daea6b912b6059c0de97ff
metadata/awais.instagrabber.yml
metadata/awais.instagrabber.yml
AntiFeatures: - NonFreeNet Categories: - Internet License: GPL-3.0-or-later WebSite: https://gitlab.com/AwaisKing/Instagrabber SourceCode: https://gitlab.com/AwaisKing/Instagrabber/tree/HEAD IssueTracker: https://gitlab.com/AwaisKing/Instagrabber/issues AutoName: InstaGrabber RepoType: git Repo: https://gitlab.co...
AntiFeatures: - NonFreeNet Categories: - Internet License: GPL-3.0-or-later WebSite: https://gitlab.com/AwaisKing/Instagrabber SourceCode: https://gitlab.com/AwaisKing/Instagrabber/tree/HEAD IssueTracker: https://gitlab.com/AwaisKing/Instagrabber/issues AutoName: InstaGrabber RepoType: git Repo: https://gitlab.co...
Update InstaGrabber to 11.0-fdroid (11)
Update InstaGrabber to 11.0-fdroid (11)
YAML
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata
yaml
## Code Before: AntiFeatures: - NonFreeNet Categories: - Internet License: GPL-3.0-or-later WebSite: https://gitlab.com/AwaisKing/Instagrabber SourceCode: https://gitlab.com/AwaisKing/Instagrabber/tree/HEAD IssueTracker: https://gitlab.com/AwaisKing/Instagrabber/issues AutoName: InstaGrabber RepoType: git Repo: h...
cbfe3afc7615bc72c0cbc30ed3ed75e8277fc885
_config.yml
_config.yml
permalink: /:title/
permalink: /:title/ # prose configuration metadata: _posts: - name: "layout" field: element: hidden value: saying - name: "published" field: element: hidden value: true - name: "title" field: element: text
Add prose.io config to metadata.
Add prose.io config to metadata.
YAML
mit
parkr/yogi
yaml
## Code Before: permalink: /:title/ ## Instruction: Add prose.io config to metadata. ## Code After: permalink: /:title/ # prose configuration metadata: _posts: - name: "layout" field: element: hidden value: saying - name: "published" field: element: hidden value: ...
1383cbac3e27ce228b87ab5bed5f01d41d29625e
package.json
package.json
{ "name": "Bookshelf", "version": "0.0.0", "scripts": { "start": "node app.js", "production": "NODE_ENV=production pm2 restart app.js --name galant", "deploy": "cd config/deploy && ansible-playbook -i hosts site.yml" }, "dependencies": { "async": "~0.2.10", "bcrypt-nodejs": "~0.0.3", "...
{ "name": "Bookshelf", "version": "0.0.0", "scripts": { "start": "node app.js", "production": "pm2 stop galant && NODE_ENV=production pm2 start app.js --name galant", "deploy": "cd config/deploy && ansible-playbook -i hosts site.yml" }, "dependencies": { "async": "~0.2.10", "bcrypt-nodejs"...
Stop and start server correctly
Stop and start server correctly
JSON
mit
adammulligan/galant
json
## Code Before: { "name": "Bookshelf", "version": "0.0.0", "scripts": { "start": "node app.js", "production": "NODE_ENV=production pm2 restart app.js --name galant", "deploy": "cd config/deploy && ansible-playbook -i hosts site.yml" }, "dependencies": { "async": "~0.2.10", "bcrypt-nodejs":...