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
2bab85d2952eedde04cdcbe2dc8a35312fd18b29
src/search/searchresults.js
src/search/searchresults.js
import PropTypes from 'prop-types'; import React, { Fragment } from 'react'; import AUtextInput from '@gov.au/text-inputs'; /** * The Search Results component * * @disable-docs */ const SearchResults = ( page ) => { return ( <div className="container-fluid au-body"> <div className="row"> <div classN...
import PropTypes from 'prop-types'; import React, { Fragment } from 'react'; import AUtextInput from '@gov.au/text-inputs'; /** * The Search Results component * * @disable-docs */ const SearchResults = ( page ) => { return ( <div className="container-fluid au-body"> <div className="row"> <div classN...
Update width of search box
Update width of search box Minor fixes to classes, add new rounding classes for search box and button to achieve a neat join effect.
JavaScript
mit
govau/service-manual
javascript
## Code Before: import PropTypes from 'prop-types'; import React, { Fragment } from 'react'; import AUtextInput from '@gov.au/text-inputs'; /** * The Search Results component * * @disable-docs */ const SearchResults = ( page ) => { return ( <div className="container-fluid au-body"> <div className="row"> ...
832fecfe5bfc8951c0d302c2f913a81acfbc657c
solarnmf_main_ts.py
solarnmf_main_ts.py
import solarnmf_functions as snf import solarnmf_plot_routines as spr #Read in and format the time series results = snf.make_t_matrix("simulation",format="timeseries",filename='/home/wtb2/Desktop/gaussian_test.dat') #Get the dimensions of the T matrix ny,nx = results['T'].shape #Set the number of guessed sources Q =...
import solarnmf_functions as snf import solarnmf_plot_routines as spr #Read in and format the time series results = snf.make_t_matrix("simulation",format="timeseries",nx=100,ny=100,p=10,filename='/home/wtb2/Desktop/gaussian_test.dat') #Get the dimensions of the T matrix ny,nx = results['T'].shape #Set the number of ...
Fix for input options in make_t_matrix function
Fix for input options in make_t_matrix function
Python
mit
wtbarnes/solarnmf
python
## Code Before: import solarnmf_functions as snf import solarnmf_plot_routines as spr #Read in and format the time series results = snf.make_t_matrix("simulation",format="timeseries",filename='/home/wtb2/Desktop/gaussian_test.dat') #Get the dimensions of the T matrix ny,nx = results['T'].shape #Set the number of gue...
c3ac1a2085b0613635eccb50fc81cc60dd12c486
.travis.yml
.travis.yml
language: cpp compiler: - gcc - clang script: cmake -DCMAKE_INSTALL_PREFIX=. && make && make install && tar czf vsrd-Linux-x64.tar.gz -C bin vsrd
language: cpp compiler: - gcc - clang sudo: false script: cmake -DCMAKE_INSTALL_PREFIX=. && make && make install && tar czf vsrd-Linux-x64.tar.gz -C bin vsrd
Use new Travis CI infrastructure.
Use new Travis CI infrastructure.
YAML
mit
DoomHammer/Very-Simple-Resource-Dumper,DoomHammer/Very-Simple-Resource-Dumper,DoomHammer/Very-Simple-Resource-Dumper,DoomHammer/Very-Simple-Resource-Dumper
yaml
## Code Before: language: cpp compiler: - gcc - clang script: cmake -DCMAKE_INSTALL_PREFIX=. && make && make install && tar czf vsrd-Linux-x64.tar.gz -C bin vsrd ## Instruction: Use new Travis CI infrastructure. ## Code After: language: cpp compiler: - gcc - clang sudo: false script: cmake -DCMAKE_INSTALL_PRE...
afe792e50e6e30036f1ed718d7c3f5143a1e2da5
adhocracy4/follows/signals.py
adhocracy4/follows/signals.py
from django.conf import settings from django.db.models.signals import post_save from . import models def autofollow_hook(instance, **kwargs): if hasattr(instance.project, 'id'): models.Follow.objects.get_or_create( project=instance.project, creator=instance.creator, de...
from django.apps import apps from django.conf import settings from django.db.models.signals import post_save from . import models def autofollow_hook(instance, **kwargs): if hasattr(instance.project, 'id'): models.Follow.objects.get_or_create( project=instance.project, creator=ins...
Fix setting up AUTO_FOLLOWABLES models
Fix setting up AUTO_FOLLOWABLES models Note that `Signal.connect` expects the model class as the sender argument. Altough while using e.g. `post_save` it also works with a string `"apname.model"`
Python
agpl-3.0
liqd/adhocracy4,liqd/adhocracy4,liqd/adhocracy4,liqd/adhocracy4
python
## Code Before: from django.conf import settings from django.db.models.signals import post_save from . import models def autofollow_hook(instance, **kwargs): if hasattr(instance.project, 'id'): models.Follow.objects.get_or_create( project=instance.project, creator=instance.creator...
f9c54bbe8b92e1e05a93e66850cf143ccebe2811
.travis.yml
.travis.yml
language: ruby rvm: - 2.2 - 2.3 - jruby-9.0.1.0 - jruby-9.0.5.0 gemfile: - gemfiles/Gemfile.sidekiq-3.1.0 - gemfiles/Gemfile.sidekiq-3.3.4 - gemfiles/Gemfile.sidekiq-4.0.2 script: bundle exec rake test addons: code_climate: repo_token: b11e6d8ed83dd2e01424b088c469e2cef525a89e887414f81e6ee7f36b937a1d
language: ruby rvm: - 2.2 - 2.3 - jruby-9.0.1.0 - jruby-9.0.5.0 gemfile: - gemfiles/Gemfile.sidekiq-2.17.7 - gemfiles/Gemfile.sidekiq-3.1.0 - gemfiles/Gemfile.sidekiq-3.3.4 - gemfiles/Gemfile.sidekiq-4.0.2 script: bundle exec rake test addons: code_climate: repo_token: b11e6d8ed83dd2e01424b088c469e2cef525a89e887...
Add Sidekiq 2.17 Gemfile to the list
Add Sidekiq 2.17 Gemfile to the list
YAML
mit
NuckChorris/sidekiq-debounce,hummingbird-me/sidekiq-debounce
yaml
## Code Before: language: ruby rvm: - 2.2 - 2.3 - jruby-9.0.1.0 - jruby-9.0.5.0 gemfile: - gemfiles/Gemfile.sidekiq-3.1.0 - gemfiles/Gemfile.sidekiq-3.3.4 - gemfiles/Gemfile.sidekiq-4.0.2 script: bundle exec rake test addons: code_climate: repo_token: b11e6d8ed83dd2e01424b088c469e2cef525a89e887414f81e6ee7f36b937...
d3cea746432b1bfd1b5f2d38972c1b761b96e8eb
fetchroots.py
fetchroots.py
import os import base64 from requests import Session, Request from OpenSSL import crypto #url = 'http://ct.googleapis.com/aviator/ct/v1/get-roots' url = 'https://ct.api.venafi.com/ct/v1/get-roots' s = Session() r = Request('GET', url) prepped = r.prepare() r = s.send(prepped) if r.status_code == 20...
import os import base64 from requests import Session, Request from OpenSSL import crypto url = 'http://ct.googleapis.com/aviator/ct/v1/get-roots' s = Session() r = Request('GET', url) prepped = r.prepare() r = s.send(prepped) if r.status_code == 200: roots = r.json() # RFC 6962 defines the cert...
Update to use Google Aviator test log
Update to use Google Aviator test log
Python
apache-2.0
wgoulet/CTPyClient
python
## Code Before: import os import base64 from requests import Session, Request from OpenSSL import crypto #url = 'http://ct.googleapis.com/aviator/ct/v1/get-roots' url = 'https://ct.api.venafi.com/ct/v1/get-roots' s = Session() r = Request('GET', url) prepped = r.prepare() r = s.send(prepped) if r.s...
272ff93a8593d09b477f562c4a81f36e104854ed
app/controllers/authentications_controller.rb
app/controllers/authentications_controller.rb
class AuthenticationsController < ApplicationController before_action :only_admins def create if person = Person.authenticate(params[:authentication][:email], params[:authentication][:password]) render xml: person.to_xml(except: %w(salt encrypted_password feed_code api_key)), status: 201 elsif person...
class AuthenticationsController < ApplicationController before_action :only_admins def create if person = Person.authenticate(params[:authentication][:email], params[:authentication][:password]) render xml: person.to_xml(except: %w(salt encrypted_password password_salt password_hash feed_code api_key)), ...
Exclude password fields from authentication api
Exclude password fields from authentication api
Ruby
agpl-3.0
mattraykowski/onebody,hschin/onebody,mattraykowski/onebody,hschin/onebody,hschin/onebody,hschin/onebody,mattraykowski/onebody,mattraykowski/onebody
ruby
## Code Before: class AuthenticationsController < ApplicationController before_action :only_admins def create if person = Person.authenticate(params[:authentication][:email], params[:authentication][:password]) render xml: person.to_xml(except: %w(salt encrypted_password feed_code api_key)), status: 201 ...
b36ad25030e409d9b8339f5e379346bbe7d764f1
.cirrus.yml
.cirrus.yml
freebsd_instance: image_family: freebsd-12-0 task: prerequisites_script: - sed -i '' 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf - pkg update -f - pkg upgrade -y - pkg install -y pkgconf vips libnghttp2 node npm install_script: - npm install --unsafe-perm test_script: - npm test
freebsd_instance: image_family: freebsd-13-0-snap task: prerequisites_script: - pkg update -f - pkg upgrade -y - pkg install -y pkgconf vips node npm install_script: - npm install --unsafe-perm test_script: - npm test
Upgrade FreeBSD to version 13
CI: Upgrade FreeBSD to version 13 It currently provides only vips v8.8.3 so will (still) fail.
YAML
apache-2.0
lovell/sharp,lovell/sharp,lovell/sharp,lovell/sharp,lovell/sharp,lovell/sharp
yaml
## Code Before: freebsd_instance: image_family: freebsd-12-0 task: prerequisites_script: - sed -i '' 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf - pkg update -f - pkg upgrade -y - pkg install -y pkgconf vips libnghttp2 node npm install_script: - npm install --unsafe-perm test_script: -...
66e1a824599c6c0d320ec7d49450e4ead087b4e3
source/_posts/2014-06-30-gitlab-com-runs-ee.markdown
source/_posts/2014-06-30-gitlab-com-runs-ee.markdown
--- layout: post title: "GitLab.com now runs GitLab Enterprise Edition" date: 2014-06-30 16:18:54 +0300 comments: true categories: author: Sytse Sijbrandij --- [GitLab.com](https://about.gitlab.com/gitlab-com/) now runs [GitLab Enterprise Edition (EE)](https://about.gitlab.com/gitlab-ee/). GitLab.com is our free SaaS...
--- layout: post title: "GitLab.com now runs GitLab Enterprise Edition" date: 2014-06-30 16:18:54 +0300 comments: true categories: author: Sytse Sijbrandij --- [GitLab.com](https://about.gitlab.com/gitlab-com/) now runs [GitLab Enterprise Edition (EE)](https://about.gitlab.com/gitlab-ee/). GitLab.com is our free SaaS...
Improve wording or blog post.
Improve wording or blog post.
Markdown
mit
damianhakert/damianhakert.github.io
markdown
## Code Before: --- layout: post title: "GitLab.com now runs GitLab Enterprise Edition" date: 2014-06-30 16:18:54 +0300 comments: true categories: author: Sytse Sijbrandij --- [GitLab.com](https://about.gitlab.com/gitlab-com/) now runs [GitLab Enterprise Edition (EE)](https://about.gitlab.com/gitlab-ee/). GitLab.com ...
2f8bed0896bbac0df1575340383b26f482010c20
index.css
index.css
body { margin:1em auto; max-width:40em; padding:0 .62em; font:1.2em/1.62 Hack; } h1, h2, h3 { line-height:1.2; } @media print { body { max-width:none } }
body { margin:1em auto; max-width:40em; padding:0 .62em; font:1.2em/1.62 Hack; linear-gradient(141deg, #0fb8ad 0%, #1fc8db 51%, #2cb5e8 75%) } h1, h2, h3 { line-height:1.2; border-bottom: 1px solid black; } h1 { border-bottom: 2px solid black; /* This overrides the 1px bottom border from previous section */ ...
Add background, add underline to headings.
Add background, add underline to headings.
CSS
bsd-2-clause
benrob0329/totallynotashadyweb.site
css
## Code Before: body { margin:1em auto; max-width:40em; padding:0 .62em; font:1.2em/1.62 Hack; } h1, h2, h3 { line-height:1.2; } @media print { body { max-width:none } } ## Instruction: Add background, add underline to headings. ## Code After: body { margin:1em auto; max-width:40em; padding:0 .62em; fon...
ee1ce653a3007e503aa6d85a32dafbe716e16406
ext/lingua/extconf.rb
ext/lingua/extconf.rb
ENV['RC_ARCHS'] = '' if RUBY_PLATFORM =~ /darwin/ require "mkmf" ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')) LIBSTEMMER = File.join(ROOT, 'libstemmer_c') # build libstemmer_c # FreeBSD make is gmake make= (RUBY_PLATFORM =~ /freebsd/)? 'gmake' : 'make' # MacOS architecture mess up if RUBY_PL...
ENV['RC_ARCHS'] = '' if RUBY_PLATFORM =~ /darwin/ require "mkmf" ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')) LIBSTEMMER = File.join(ROOT, 'libstemmer_c') # build libstemmer_c # FreeBSD make is gmake make= (RUBY_PLATFORM =~ /freebsd/)? 'gmake' : 'make' # MacOS architecture mess up if RUBY_PL...
Expand paths for compiler flags Don't build libstemmer.o on windows - should be build manually
Expand paths for compiler flags Don't build libstemmer.o on windows - should be build manually
Ruby
mit
aurelian/ruby-stemmer,aurelian/ruby-stemmer
ruby
## Code Before: ENV['RC_ARCHS'] = '' if RUBY_PLATFORM =~ /darwin/ require "mkmf" ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')) LIBSTEMMER = File.join(ROOT, 'libstemmer_c') # build libstemmer_c # FreeBSD make is gmake make= (RUBY_PLATFORM =~ /freebsd/)? 'gmake' : 'make' # MacOS architecture me...
17b597513cb8c7aab777cd1ea5fe7228cd15c166
pogo-protos.js
pogo-protos.js
const fs = require('fs'), protobuf = require('protobufjs'); const builder = protobuf.newBuilder(), protoDir = __dirname + '/proto'; fs.readdirSync(protoDir) .filter(filename => filename.match(/\.proto$/)) .forEach(filename => protobuf.loadProtoFile(protoDir + '/' + filename, builder)); module.exports...
const fs = require('fs'), protobuf = require('protobufjs'); const builder = protobuf.newBuilder(), protoDir = __dirname + '/proto'; fs.readdirSync(protoDir) .filter(filename => filename.match(/\.proto$/)) .forEach(filename => protobuf.loadProtoFile(protoDir + '/' + filename, builder)); // Recursively...
Set packed=true for all repeated packable types
Set packed=true for all repeated packable types Workaround for https://github.com/dcodeIO/protobuf.js/issues/432
JavaScript
mit
cyraxx/node-pogo-protos,cyraxx/node-pogo-protos
javascript
## Code Before: const fs = require('fs'), protobuf = require('protobufjs'); const builder = protobuf.newBuilder(), protoDir = __dirname + '/proto'; fs.readdirSync(protoDir) .filter(filename => filename.match(/\.proto$/)) .forEach(filename => protobuf.loadProtoFile(protoDir + '/' + filename, builder));...
18303dd3b3f89874a225aabedb26df5f5b5fa237
tests/main.cpp
tests/main.cpp
static void error_callback(int error, const char* description) { FAIL() << "GLFW Failed (" << error << "): " << description; } TEST(GLFWTests, BuildInvisibleWindow) { GLFWwindow* window; glfwSetErrorCallback(error_callback); if (!glfwInit()) FAIL() << "GLFW failed to initialize"; glfwWindowHint(GLFW_V...
static void error_callback(int error, const char* description) { FAIL() << "GLFW Failed (" << error << "): " << description; } TEST(GLFWTests, BuildInvisibleWindow) { GLFWwindow* window; glfwSetErrorCallback(error_callback); if (!glfwInit()) FAIL() << "GLFW failed to initialize"; //glfwWindowHint(GLFW...
Remove window display. There is no X server on travis.
Remove window display. There is no X server on travis.
C++
mit
iauns/cpm-glfw,iauns/cpm-glfw
c++
## Code Before: static void error_callback(int error, const char* description) { FAIL() << "GLFW Failed (" << error << "): " << description; } TEST(GLFWTests, BuildInvisibleWindow) { GLFWwindow* window; glfwSetErrorCallback(error_callback); if (!glfwInit()) FAIL() << "GLFW failed to initialize"; glfwW...
75fd5af85c4c4bea520215f356f1db894632479e
src/parseQueryDocument.js
src/parseQueryDocument.js
import { parse, visit, visitWithTypeInfo, TypeInfo } from 'graphql'; export default function parseQueryDocument(queryDocument, schema) { const typeInfo = new TypeInfo(schema); const ast = parse(queryDocument); function source(location) { return queryDocument.slice(location.start, location.end); }...
import { parse, validate, visit, visitWithTypeInfo, TypeInfo } from 'graphql'; export default function parseQueryDocument(queryDocument, schema) { const ast = parse(queryDocument); const validationErrors = validate(schema, ast); if (validationErrors && validationErrors.length > 0) { for (const err...
Validate query document and output Xcode compatible errors
Validate query document and output Xcode compatible errors
JavaScript
mit
itajaja/apollo-codegen,KieranLafferty/apollo-codegen,KieranLafferty/apollo-codegen
javascript
## Code Before: import { parse, visit, visitWithTypeInfo, TypeInfo } from 'graphql'; export default function parseQueryDocument(queryDocument, schema) { const typeInfo = new TypeInfo(schema); const ast = parse(queryDocument); function source(location) { return queryDocument.slice(location.start, lo...
f546a7657a801540c47fe8a872fc91a3fa97afdb
Casks/macpaw-gemini.rb
Casks/macpaw-gemini.rb
cask :v1 => 'macpaw-gemini' do version :latest sha256 :no_check # devmate.com is the official download host per the vendor homepage url 'http://dl.devmate.com/download/com.macpaw.site.Gemini/macpaw%20gemini.dmg' appcast 'http://updates.devmate.com/com.macpaw.site.Gemini.xml' homepage 'http://macpaw.com/gem...
cask :v1 => 'macpaw-gemini' do version :latest sha256 :no_check # devmate.com is the official download host per the vendor homepage url 'http://dl.devmate.com/com.macpaw.site.Gemini/MacPawGemini.dmg' appcast 'http://updates.devmate.com/com.macpaw.site.Gemini.xml' homepage 'http://macpaw.com/gemini' licen...
Update url and license for MacPaw Gemini.app
Update url and license for MacPaw Gemini.app
Ruby
bsd-2-clause
fkrone/homebrew-cask,fharbe/homebrew-cask,kuno/homebrew-cask,paulbreslin/homebrew-cask,bsiddiqui/homebrew-cask,amatos/homebrew-cask,jpodlech/homebrew-cask,gyndav/homebrew-cask,vigosan/homebrew-cask,gerrypower/homebrew-cask,fazo96/homebrew-cask,diogodamiani/homebrew-cask,ericbn/homebrew-cask,squid314/homebrew-cask,Ibupr...
ruby
## Code Before: cask :v1 => 'macpaw-gemini' do version :latest sha256 :no_check # devmate.com is the official download host per the vendor homepage url 'http://dl.devmate.com/download/com.macpaw.site.Gemini/macpaw%20gemini.dmg' appcast 'http://updates.devmate.com/com.macpaw.site.Gemini.xml' homepage 'http:...
99f3ea770d1bbaf3d955bed7d72b60fa7d3c2d43
metadata.rb
metadata.rb
name 'yum-elrepo' maintainer 'Chef Software, Inc.' maintainer_email 'cookbooks@chef.io' license 'Apache 2.0' description 'Installs/Configures yum-elrepo' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.2.2' depends 'yum', '~> 3.0' source_url 'https://github.com/chef-cookbooks/yum-e...
name 'yum-elrepo' maintainer 'Chef Software, Inc.' maintainer_email 'cookbooks@chef.io' license 'Apache 2.0' description 'Installs and configures the elrepo yum repository' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.2.2' depends 'yum', '~> 3.2' source_url 'https://github.com/c...
Improve description, bump requirement to yum 3.2
Improve description, bump requirement to yum 3.2
Ruby
apache-2.0
chef-cookbooks/yum-elrepo
ruby
## Code Before: name 'yum-elrepo' maintainer 'Chef Software, Inc.' maintainer_email 'cookbooks@chef.io' license 'Apache 2.0' description 'Installs/Configures yum-elrepo' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.2.2' depends 'yum', '~> 3.0' source_url 'https://github.com/chef...
9df4be9793c7677339d7b686da3d37adbed84977
make.bat
make.bat
vcvarsall.bat x86 CL /I C:\OpenSSL-Win32\include /INCREMENTAL bmpow.c /MT /link /DLL /OUT:bmpow32.dll /LIBPATH:"C:\OpenSSL-Win32\lib" libeay32.lib ws2_32.lib
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat x86 CL /I C:\OpenSSL-Win32\include /INCREMENTAL bmpow.c /MT /link /DLL /OUT:bmpow32.dll /LIBPATH:"C:\OpenSSL-Win32\lib" libeay32.lib ws2_32.lib
Use full path to vcvarsall
Use full path to vcvarsall
Batchfile
mit
bmng-dev/bitmessage-pow,bmng-dev/bitmessage-pow,bmng-dev/bitmessage-pow
batchfile
## Code Before: vcvarsall.bat x86 CL /I C:\OpenSSL-Win32\include /INCREMENTAL bmpow.c /MT /link /DLL /OUT:bmpow32.dll /LIBPATH:"C:\OpenSSL-Win32\lib" libeay32.lib ws2_32.lib ## Instruction: Use full path to vcvarsall ## Code After: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat x86 CL /I C:\Open...
4e1e46cb989f56f8d69375f33cabbf565200fcdb
src/main/java/com/elmakers/mine/bukkit/action/BaseTeleportAction.java
src/main/java/com/elmakers/mine/bukkit/action/BaseTeleportAction.java
package com.elmakers.mine.bukkit.action; import com.elmakers.mine.bukkit.api.action.CastContext; import org.bukkit.Location; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Entity; public abstract class BaseTeleportAction extends BaseSpellAction { protected int verticalSearchDistanc...
package com.elmakers.mine.bukkit.action; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.spell.SpellResult; import org.bukkit.Location; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Entity; public abstract class BaseTeleportAction extends Ba...
Add require_build parameter to teleport actions
Add require_build parameter to teleport actions
Java
mit
elBukkit/MagicLib,elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
java
## Code Before: package com.elmakers.mine.bukkit.action; import com.elmakers.mine.bukkit.api.action.CastContext; import org.bukkit.Location; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Entity; public abstract class BaseTeleportAction extends BaseSpellAction { protected int verti...
1c55271f93544bd13be5dacc67ba213cee838785
Readme.md
Readme.md
Clinch ====== *easy command-line parsing for Python 3* ```python from clinch import application, arg git = application('a stupid content tracker') @git.command('Add things') def add(all: arg('-A', '--all', action='store_true', help='really make things match'), paths: arg('paths', nargs='*')...
Clinch ====== *easy command-line parsing for Python 3* [![Build Status](https://travis-ci.org/enaeseth/clinch.svg?branch=master)](https://travis-ci.org/enaeseth/clinch) ```python from clinch import application, arg git = application('a stupid content tracker') @git.command('Add things') def add(all: arg('-A', '--a...
Include Travis build status in readme
Include Travis build status in readme
Markdown
mit
enaeseth/clinch
markdown
## Code Before: Clinch ====== *easy command-line parsing for Python 3* ```python from clinch import application, arg git = application('a stupid content tracker') @git.command('Add things') def add(all: arg('-A', '--all', action='store_true', help='really make things match'), paths: arg('pa...
8da9505c384f849b3e0eb14508913e89880bbe1d
src/Sylius/Bundle/AdminBundle/Resources/config/grids/product_variant_with_catalog_promotion.yml
src/Sylius/Bundle/AdminBundle/Resources/config/grids/product_variant_with_catalog_promotion.yml
sylius_grid: grids: sylius_admin_product_variant_with_catalog_promotion: driver: name: doctrine/orm options: class: "%sylius.model.product_variant.class%" repository: method: createCatalogPromotionLis...
sylius_grid: grids: sylius_admin_product_variant_with_catalog_promotion: driver: name: doctrine/orm options: class: "%sylius.model.product_variant.class%" repository: method: createCatalogPromotionLis...
Add edit variant redirect action to affected variants list
[Admin][CatalogPromotion] Add edit variant redirect action to affected variants list
YAML
mit
diimpp/Sylius,diimpp/Sylius,Sylius/Sylius,diimpp/Sylius,Sylius/Sylius,Sylius/Sylius
yaml
## Code Before: sylius_grid: grids: sylius_admin_product_variant_with_catalog_promotion: driver: name: doctrine/orm options: class: "%sylius.model.product_variant.class%" repository: method: createCat...
b45af551c01a16ac8f570c5ddf82eb9fe37279a9
test/QuestionSet.js
test/QuestionSet.js
var assert = require('assert'); describe('Question set', function () { let QuestionSet = require('../src/QuestionSet'); let questions; beforeEach(function () { questions = new QuestionSet(); }); afterEach(function() { delete questions; }); it('can be chained', function() { assert.equal(ques...
var assert = require('assert'); describe('Question set', function () { let QuestionSet = require('../src/QuestionSet'); let questions; beforeEach(function () { questions = new QuestionSet(); }); afterEach(function() { delete questions; }); it('can be chained', function() { assert.equal(ques...
Change test for better coverage
Change test for better coverage
JavaScript
mit
puck7744/AES-Front-End-Test
javascript
## Code Before: var assert = require('assert'); describe('Question set', function () { let QuestionSet = require('../src/QuestionSet'); let questions; beforeEach(function () { questions = new QuestionSet(); }); afterEach(function() { delete questions; }); it('can be chained', function() { a...
e8b8c257c71b6c02fa691557618261e6832fba94
faker/providers/ssn/uk_UA/__init__.py
faker/providers/ssn/uk_UA/__init__.py
from __future__ import unicode_literals from .. import Provider as SsnProvider # Note: as there no SSN in Ukraine # we get value added tax identification number (VATIN) here. # It is also called "Ідентифікаційний номер платника податків" (in ukrainian). # It contains only digits and length if 12. class Provider(Ssn...
from __future__ import unicode_literals from datetime import date from .. import Provider as SsnProvider from faker.providers.date_time import Provider as DateTimeProvider class Provider(SsnProvider): @classmethod def ssn(cls): """ Ukrainian "Реєстраційний номер облікової картки платника под...
Make the Ukrainian SSN provider realer
Make the Ukrainian SSN provider realer
Python
mit
joke2k/faker,danhuss/faker,trtd/faker,joke2k/faker
python
## Code Before: from __future__ import unicode_literals from .. import Provider as SsnProvider # Note: as there no SSN in Ukraine # we get value added tax identification number (VATIN) here. # It is also called "Ідентифікаційний номер платника податків" (in ukrainian). # It contains only digits and length if 12. cl...
1365ea0a1412ae345c56e19fe8f581e82ce93b88
stagemonitor-core/src/main/java/org/stagemonitor/core/instrument/AbstractClassPathScanner.java
stagemonitor-core/src/main/java/org/stagemonitor/core/instrument/AbstractClassPathScanner.java
package org.stagemonitor.core.instrument; import net.bytebuddy.agent.builder.AgentBuilder; import net.bytebuddy.description.method.MethodDescription; import net.bytebuddy.description.type.TypeDescription; /** * This transformer does not modify classes but only searches for matching {@link TypeDescription} and {@link...
package org.stagemonitor.core.instrument; import net.bytebuddy.agent.builder.AgentBuilder; import net.bytebuddy.description.method.MethodDescription; import net.bytebuddy.description.type.TypeDescription; import net.bytebuddy.dynamic.DynamicType; /** * This transformer does not modify classes but only searches for m...
Fix Sla class path scanner
Fix Sla class path scanner
Java
apache-2.0
elevennl/stagemonitor,hexdecteam/stagemonitor,elevennl/stagemonitor,glamarre360/stagemonitor,stagemonitor/stagemonitor,stagemonitor/stagemonitor,stagemonitor/stagemonitor,trampi/stagemonitor,glamarre360/stagemonitor,hexdecteam/stagemonitor,hexdecteam/stagemonitor,glamarre360/stagemonitor,elevennl/stagemonitor,trampi/st...
java
## Code Before: package org.stagemonitor.core.instrument; import net.bytebuddy.agent.builder.AgentBuilder; import net.bytebuddy.description.method.MethodDescription; import net.bytebuddy.description.type.TypeDescription; /** * This transformer does not modify classes but only searches for matching {@link TypeDescrip...
bd1432aa6951b1610a816cc02d48d8926491ba04
lib/pronto/formatter/github_formatter.rb
lib/pronto/formatter/github_formatter.rb
require 'octokit' module Pronto module Formatter class GithubFormatter attr_writer :client def format(messages) messages.each do |message| @client.create_commit_comment(github_slug(message), sha(message), ...
require 'octokit' module Pronto module Formatter class GithubFormatter attr_writer :client def format(messages) messages.each do |message| @client.create_commit_comment(github_slug(message), sha(message), ...
Remove output message in GitHub formatter
Remove output message in GitHub formatter
Ruby
mit
HaiTo/pronto,jhass/pronto,mmozuras/pronto,mvz/pronto,prontolabs/pronto,treble37/pronto,aergonaut/pronto,gussan/pronto,Zauberstuhl/pronto
ruby
## Code Before: require 'octokit' module Pronto module Formatter class GithubFormatter attr_writer :client def format(messages) messages.each do |message| @client.create_commit_comment(github_slug(message), sha(message), ...
c226c7f60018c97e9d5abbbf69f242cb39e20833
.travis.yml
.travis.yml
language: ruby rvm: - 2.1.10 - 2.2.7 - 2.3.4 - 2.4.1 before_install: gem install bundler cache: bundler sudo: false fast_finish: true env: - SKIP_INTEGRATION_TESTS=true notifications: email: on_success: always on_failure: always
language: ruby rvm: - 2.3.4 - 2.4.1 before_install: gem install bundler cache: bundler sudo: false fast_finish: true env: - SKIP_INTEGRATION_TESTS=true notifications: email: on_success: always on_failure: always
Remove ruby versions 2.1 and 2.2, we require 2.3+
Remove ruby versions 2.1 and 2.2, we require 2.3+
YAML
mit
javierjulio/optimal_payments,javierjulio/paysafe,javierjulio/paysafe,javierjulio/optimal_payments
yaml
## Code Before: language: ruby rvm: - 2.1.10 - 2.2.7 - 2.3.4 - 2.4.1 before_install: gem install bundler cache: bundler sudo: false fast_finish: true env: - SKIP_INTEGRATION_TESTS=true notifications: email: on_success: always on_failure: always ## Instruction: Remove ruby versions 2.1 and 2.2, we r...
6ec3f74b9aa3996662901d9af7dcb0ee9e55deef
package.json
package.json
{ "name": "esparse", "version": "0.6.5", "description": "An ECMAScript Parser", "homepage": "https://github.com/zenparsing/esparse", "main": "dist/default.js", "module": "src/default.js", "devDependencies": { "babel-cli": "^6.26.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", ...
{ "name": "esparse", "version": "0.6.5", "description": "An ECMAScript Parser", "homepage": "https://github.com/zenparsing/esparse", "main": "dist/default.js", "module": "src/default.js", "devDependencies": { "babel-cli": "^6.26.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", ...
Add git clean to build script
Add git clean to build script
JSON
mit
zenparsing/esparse
json
## Code Before: { "name": "esparse", "version": "0.6.5", "description": "An ECMAScript Parser", "homepage": "https://github.com/zenparsing/esparse", "main": "dist/default.js", "module": "src/default.js", "devDependencies": { "babel-cli": "^6.26.0", "babel-plugin-transform-es2015-modules-commonjs":...
174bf1ed4e9f1d49419a1bb305cbf7fb8f0d9093
web-interface/web-interface-client/src/main/js/init.js
web-interface/web-interface-client/src/main/js/init.js
(function() { var setup = false; function ready() { if (setup) { return; } // TODO: Init setup = true; } if (document.readyState === 'complete') { setTimeout(ready, 0); } else if (document.addEventListener) { document.addEventListene...
(function() { var diffusion = require('diffusion'); function start() { console.log('Ready'); session .stream('?adapter/rest/model/store/') .asType(diffusion.datatypes.json()) .on('value', function(path, specification, newValue, oldValue) { c...
Connect the web interface to Diffusion.
Connect the web interface to Diffusion.
JavaScript
apache-2.0
pushtechnology/diffusion-rest-adapter,pushtechnology/diffusion-rest-adapter
javascript
## Code Before: (function() { var setup = false; function ready() { if (setup) { return; } // TODO: Init setup = true; } if (document.readyState === 'complete') { setTimeout(ready, 0); } else if (document.addEventListener) { document...
ed3597688b01f666ec716108bf7c348338ef14af
index.js
index.js
'use strict' var detect = require('acorn-globals'); var lastSRC = '(null)'; var lastRes = true; var lastConstants = undefined; module.exports = isConstant; function isConstant(src, constants) { src = '(' + src + ')'; if (lastSRC === src && lastConstants === constants) return lastRes; lastSRC = src; lastConst...
'use strict' var detect = require('acorn-globals'); var lastSRC = '(null)'; var lastRes = true; var lastConstants = undefined; module.exports = isConstant; function isConstant(src, constants) { src = '(' + src + ')'; if (lastSRC === src && lastConstants === constants) return lastRes; lastSRC = src; lastConst...
Use a safer test for isExpression
Use a safer test for isExpression It is now safe to use `isConstant` on un-trusted input, but it is still not safe to use `toConstant` on un-trusted input.
JavaScript
mit
ForbesLindesay/constantinople
javascript
## Code Before: 'use strict' var detect = require('acorn-globals'); var lastSRC = '(null)'; var lastRes = true; var lastConstants = undefined; module.exports = isConstant; function isConstant(src, constants) { src = '(' + src + ')'; if (lastSRC === src && lastConstants === constants) return lastRes; lastSRC = ...
279ecd20dec094fc33440c8fc27af4501c9a0ede
README.md
README.md
Simple danmaku game and engine. WIP. [Info] (https://titanpad.com/l0Vjfgw4UH)
Simple danmaku game and engine. WIP. [Info] (https://titanpad.com/l0Vjfgw4UH) # Engine Internals The engine is based on a single threaded entity-component system with reactive entities. All entities interact with the engine via events passed to them, and by creating and using preprovided components the engine supplie...
Add some info about the engine
Add some info about the engine
Markdown
isc
Luminarys/Nishikaku
markdown
## Code Before: Simple danmaku game and engine. WIP. [Info] (https://titanpad.com/l0Vjfgw4UH) ## Instruction: Add some info about the engine ## Code After: Simple danmaku game and engine. WIP. [Info] (https://titanpad.com/l0Vjfgw4UH) # Engine Internals The engine is based on a single threaded entity-component syst...
4cf8c5ea88887a167c216a16afb9605963564d73
frontend/src/app/routes.js
frontend/src/app/routes.js
import React from "react"; import {IndexRedirect, Route} from "react-router"; import Admin from "app/layouts/Admin"; import users from "app/users/routes"; export default ( <Route path="/"> <IndexRedirect to="admin/users"/> <Route component={Admin} path="admin"> <IndexRedirect to="user...
import React from "react"; import {IndexRedirect, Route} from "react-router"; import Admin from "app/layouts/Admin"; import RouteNotFound from "app/components/RouteNotFound"; import users from "app/users/routes"; export default ( <Route path="/"> <IndexRedirect to="admin/users"/> <Route component...
Add route that catches 404's
Add route that catches 404's
JavaScript
mit
scottwoodall/django-react-template,scottwoodall/django-react-template,scottwoodall/django-react-template
javascript
## Code Before: import React from "react"; import {IndexRedirect, Route} from "react-router"; import Admin from "app/layouts/Admin"; import users from "app/users/routes"; export default ( <Route path="/"> <IndexRedirect to="admin/users"/> <Route component={Admin} path="admin"> <IndexR...
cbf929904f63caf1f65e168bf77f564fcaab7184
lib/assets/javascripts/cartodb3/editor/style/style-form/style-properties-form/style-shape-properties-form-model.js
lib/assets/javascripts/cartodb3/editor/style/style-form/style-properties-form/style-shape-properties-form-model.js
var _ = require('underscore'); var StylesFactory = require('../../styles-factory'); var StyleFormDefaultModel = require('../style-form-default-model'); module.exports = StyleFormDefaultModel.extend({ parse: function (r) { var geom = r.geom; var attrs = { fill: r.fill, stroke: r.stroke, ble...
var _ = require('underscore'); var StylesFactory = require('../../styles-factory'); var StyleFormDefaultModel = require('../style-form-default-model'); module.exports = StyleFormDefaultModel.extend({ parse: function (r) { var geom = r.geom; var attrs = { fill: r.fill, stroke: r.stroke, ble...
Create a new object instead of modifying original
Create a new object instead of modifying original Fixing the root problem will require more severe changes, basically avoiding passing objects by reference to prevent this kind of bugs.
JavaScript
bsd-3-clause
CartoDB/cartodb,splashblot/dronedb,splashblot/dronedb,CartoDB/cartodb,CartoDB/cartodb,CartoDB/cartodb,splashblot/dronedb,CartoDB/cartodb,splashblot/dronedb,splashblot/dronedb
javascript
## Code Before: var _ = require('underscore'); var StylesFactory = require('../../styles-factory'); var StyleFormDefaultModel = require('../style-form-default-model'); module.exports = StyleFormDefaultModel.extend({ parse: function (r) { var geom = r.geom; var attrs = { fill: r.fill, stroke: r.s...
09ecbafd75e8b90b34b201826b16741883ab6dad
README.md
README.md
Rerun last command with different command line options ### Installation ```sh ln -siv `pwd`/r /usr/local/bin ``` ### Usage ```sh $ ls a b c $ r -G -> ls -G a b c ```
Rerun last command with different command line options ### Installation ```sh ln -siv `pwd`/r /usr/local/bin ``` ### Usage ```sh $ ls a b c $ r -G -> ls -G a b c ``` ### Longer Explanation Commands in the terminal are usually called with the following syntax: ``` $ builtin [-options] [args ...] ``` These comma...
Add a bit longer description
Add a bit longer description
Markdown
mit
jasonkliu/redo
markdown
## Code Before: Rerun last command with different command line options ### Installation ```sh ln -siv `pwd`/r /usr/local/bin ``` ### Usage ```sh $ ls a b c $ r -G -> ls -G a b c ``` ## Instruction: Add a bit longer description ## Code After: Rerun last command with different command line options ### Installat...
c3201037ef44d9e3074a8adbcedd30ea5436f85f
tox.ini
tox.ini
[tox] envlist = py{27,34,35}-dj{18,19} [testenv] deps = dj18: django==1.8 dj19: django==1.9 py27: mock factory_boy coverage commands = coverage run -a --rcfile={toxinidir}/.coveragerc setup.py test
[tox] envlist = py{27,34,35,36}-dj{18,19,110} [testenv] deps = dj18: django==1.8 dj19: django==1.9 dj110: django==1.10 py27: mock factory_boy coverage commands = coverage run -a --rcfile={toxinidir}/.coveragerc setup.py test
Add Python 3.6+Django 1.10 to build
Add Python 3.6+Django 1.10 to build
INI
mit
kako-nawao/django-group-by
ini
## Code Before: [tox] envlist = py{27,34,35}-dj{18,19} [testenv] deps = dj18: django==1.8 dj19: django==1.9 py27: mock factory_boy coverage commands = coverage run -a --rcfile={toxinidir}/.coveragerc setup.py test ## Instruction: Add Python 3.6+Django 1.10 to build ## Code After: [tox] envlis...
9031bfef780b27ecb3a93136e62197ab044a5ac7
README.md
README.md
[![Code Climate](https://codeclimate.com/github/gitlabhq/gitlab-ci-runner.png)](https://codeclimate.com/github/gitlabhq/gitlab-ci-runner) ![Screen](https://github.com/downloads/gitlabhq/gitlab-ci/gitlab_ci_preview.png) ## This is Runner repository. This code responsible for running tests ### Requirements **The pro...
[![Code Climate](https://codeclimate.com/github/gitlabhq/gitlab-ci-runner.png)](https://codeclimate.com/github/gitlabhq/gitlab-ci-runner) ![Screen](https://github.com/downloads/gitlabhq/gitlab-ci/gitlab_ci_preview.png) ## This is Runner repository. This code responsible for running tests ### Requirements **The pro...
Add extra step: SSH into GitLab to add host ID to known_hosts
Add extra step: SSH into GitLab to add host ID to known_hosts
Markdown
mit
cui-liqiang/gitlab-ci-runner,Wolfium/gitlab-ci-runner-centos,gitlabhq/gitlab-ci-runner,moos3/gitlab-ci-runner-centos,gitlabhq/gitlab-ci-runner,moos3/gitlab-ci-runner-centos,mfittko/gitlab-ci-runner,andrewmunsell/gitlab-ci-runner,Wolfium/gitlab-ci-runner-centos,mfittko/gitlab-ci-runner,cui-liqiang/gitlab-ci-runner,andre...
markdown
## Code Before: [![Code Climate](https://codeclimate.com/github/gitlabhq/gitlab-ci-runner.png)](https://codeclimate.com/github/gitlabhq/gitlab-ci-runner) ![Screen](https://github.com/downloads/gitlabhq/gitlab-ci/gitlab_ci_preview.png) ## This is Runner repository. This code responsible for running tests ### Require...
d8624f5fe754b3d3bcbb0836ecd9fdbb974b9ea1
Library/Homebrew/unpack_strategy/executable.rb
Library/Homebrew/unpack_strategy/executable.rb
require_relative "uncompressed" require "vendor/macho/macho" module UnpackStrategy class Executable < Uncompressed def self.can_extract?(path:, magic_number:) return true if magic_number.match?(/\A#!\s*\S+/n) begin path.file? && MachO.open(path).header.executable? rescue MachO::NotAMa...
require_relative "uncompressed" module UnpackStrategy class Executable < Uncompressed def self.can_extract?(path:, magic_number:) magic_number.match?(/\A#!\s*\S+/n) end end end
Remove `MachO` check for `Executable`.
Remove `MachO` check for `Executable`.
Ruby
bsd-2-clause
claui/brew,sjackman/homebrew,konqui/brew,nandub/brew,mahori/brew,vitorgalvao/brew,Linuxbrew/brew,reitermarkus/brew,EricFromCanada/brew,EricFromCanada/brew,JCount/brew,claui/brew,Homebrew/brew,JCount/brew,vitorgalvao/brew,MikeMcQuaid/brew,konqui/brew,maxim-belkin/brew,JCount/brew,vitorgalvao/brew,maxim-belkin/brew,Linux...
ruby
## Code Before: require_relative "uncompressed" require "vendor/macho/macho" module UnpackStrategy class Executable < Uncompressed def self.can_extract?(path:, magic_number:) return true if magic_number.match?(/\A#!\s*\S+/n) begin path.file? && MachO.open(path).header.executable? resc...
4fd0225ad318d05379d95c2184c4a78ed7fadcd8
recipe-server/normandy/recipes/migrations/0045_update_action_hashes.py
recipe-server/normandy/recipes/migrations/0045_update_action_hashes.py
from __future__ import unicode_literals import hashlib from base64 import b64encode, urlsafe_b64encode from django.db import migrations def make_hashes_urlsafe_sri(apps, schema_editor): Action = apps.get_model('recipes', 'Action') for action in Action.objects.all(): data = action.implementation.enc...
from __future__ import unicode_literals import hashlib from base64 import urlsafe_b64encode from django.db import migrations def make_hashes_urlsafe_sri(apps, schema_editor): Action = apps.get_model('recipes', 'Action') for action in Action.objects.all(): data = action.implementation.encode() ...
Fix lint checks in migration recipes/0045.
Fix lint checks in migration recipes/0045.
Python
mpl-2.0
mozilla/normandy,mozilla/normandy,mozilla/normandy,mozilla/normandy
python
## Code Before: from __future__ import unicode_literals import hashlib from base64 import b64encode, urlsafe_b64encode from django.db import migrations def make_hashes_urlsafe_sri(apps, schema_editor): Action = apps.get_model('recipes', 'Action') for action in Action.objects.all(): data = action.im...
b60f4373125dfbf2a38940e1a34c8c94162e5a06
ci/README.md
ci/README.md
Follow the steps in [BOSH: Configuring Concourse Pipelines][link], using "bosh-agent" as the value for `PROJECT_NAME`. [link]: (https://github.com/cloudfoundry/bosh/blob/develop/docs/configuring_concourse_pipelines.md)
Follow the steps in [BOSH: Configuring Concourse Pipelines](https://github.com/cloudfoundry/bosh/blob/develop/docs/configuring_concourse_pipelines.md), using "bosh-agent" as the value for `PROJECT_NAME`.
Fix link in CI readme
Fix link in CI readme Signed-off-by: Ben Moss <80bec717c12290923c80384e0a5fc28cdf75a97e@pivotal.io>
Markdown
apache-2.0
gu-bin/bosh-agent,gu-bin/bosh-agent,gu-bin/bosh-agent,mattcui/bosh-agent,cloudfoundry/bosh-agent,cloudfoundry/bosh-agent,mattcui/bosh-agent,mattcui/bosh-agent
markdown
## Code Before: Follow the steps in [BOSH: Configuring Concourse Pipelines][link], using "bosh-agent" as the value for `PROJECT_NAME`. [link]: (https://github.com/cloudfoundry/bosh/blob/develop/docs/configuring_concourse_pipelines.md) ## Instruction: Fix link in CI readme Signed-off-by: Ben Moss <80bec717c12290923c...
e30ef58232a578e81ef2478991f346aa2a2b86cc
Sources/Quick/QuickMain.swift
Sources/Quick/QuickMain.swift
import XCTest // NOTE: This file is not intended to be included in the Xcode project or CocoaPods. // It is picked up by the Swift Package Manager during its build process. @noreturn public func QCKMain(specs: [XCTestCase], configurations: [QuickConfiguration.Type] = []) { // Perform all configuration (ensu...
import XCTest // NOTE: This file is not intended to be included in the Xcode project or CocoaPods. // It is picked up by the Swift Package Manager during its build process. /// When using Quick with swift-corelibs-xctest, automatic discovery of specs and /// configurations is not available. Instead, you should ...
Add basic documentation for QCKMain
Add basic documentation for QCKMain
Swift
apache-2.0
marciok/Quick,jeffh/Quick,mokagio/Quick,dgdosen/Quick,jeffh/Quick,Quick/Quick,phatblat/Quick,ashfurrow/Quick,marciok/Quick,jeffh/Quick,ikesyo/Quick,ashfurrow/Quick,Quick/Quick,dgdosen/Quick,dgdosen/Quick,phatblat/Quick,phatblat/Quick,Quick/Quick,mokagio/Quick,marciok/Quick,ikesyo/Quick,DanielAsher/Quick,ikesyo/Quick,Qu...
swift
## Code Before: import XCTest // NOTE: This file is not intended to be included in the Xcode project or CocoaPods. // It is picked up by the Swift Package Manager during its build process. @noreturn public func QCKMain(specs: [XCTestCase], configurations: [QuickConfiguration.Type] = []) { // Perform all con...
6048ade60f9dc56387258fab4dc54a7dcef51e1c
config/locales/de.yml
config/locales/de.yml
de: activerecord: models: salary: Lohn attributes: salary: amount: Bruttolohn net_amount: Nettolohn bvg_amount: BVG social_amount: AHV/IV/EO/ALV/NBU customer: Arbeitgeber company: Arbeitnehmer crud: title: day: ...
de: activerecord: models: salary: Lohn attributes: salary: amount: Bruttolohn net_amount: Nettolohn bvg_amount: BVG social_amount: AHV/IV/EO/ALV/NBU employer: Arbeitgeber employee: Arbeitnehmer crud: title: day: ...
Fix locale for salary.employe{r,e} keys.
Fix locale for salary.employe{r,e} keys.
YAML
mit
silvermind/bookyt_salary,silvermind/bookyt_salary,huerlisi/bookyt_salary,silvermind/bookyt_salary,huerlisi/bookyt_salary,huerlisi/bookyt_salary
yaml
## Code Before: de: activerecord: models: salary: Lohn attributes: salary: amount: Bruttolohn net_amount: Nettolohn bvg_amount: BVG social_amount: AHV/IV/EO/ALV/NBU customer: Arbeitgeber company: Arbeitnehmer crud: tit...
95d6eeaf9ff4d2b28799dc4a86eda98c5d73c358
server/cat/catModel.js
server/cat/catModel.js
var mongoose = require('mongoose'); var CatSchema = new mongoose.Schema({ id: { type: String, required: true, unique: true }, name: String, age: String, description: String, photo: String, phone: String, email: String, zip: String }); module.exports = mongoose.model('Cat', CatS...
var mongoose = require('mongoose'); var CatSchema = new mongoose.Schema({ id: { type: String, required: true, unique: true }, name: String, age: String, description: String, photo: String, 'contact-name': String, phone: String, email: String, zip: String }); module.exports =...
Update CatSchema to include 'contact-name'
Update CatSchema to include 'contact-name'
JavaScript
mit
reinaisnothere/mvp,reinaisnothere/mvp
javascript
## Code Before: var mongoose = require('mongoose'); var CatSchema = new mongoose.Schema({ id: { type: String, required: true, unique: true }, name: String, age: String, description: String, photo: String, phone: String, email: String, zip: String }); module.exports = mongoose.m...
9ae69cbc9038a11be9423f436e279ce8817610d3
src/addDigits.js
src/addDigits.js
/** * Copyright 2003-present Greg Hurrell. All rights reserved. * Licensed under the terms of the MIT license. * * @flow */ export default function addDigits( aDigits: Array<number>, bDigits: Array<number>, base: number ): Array<number> { let result = []; let carry = 0; const aLength = aDigits.length;...
/** * Copyright 2003-present Greg Hurrell. All rights reserved. * Licensed under the terms of the MIT license. * * @flow */ export default function addDigits( aDigits: Array<number>, bDigits: Array<number>, base: number ): Array<number> { let result = []; let carry = 0; const aLength = aDigits.length;...
Revert "Replace `unshift()` with `push()` plus `reverse()`"
Revert "Replace `unshift()` with `push()` plus `reverse()`" This reverts commit f21c36ed85f277522593f1aed902d18f787a34b1.
JavaScript
mit
wincent/hextrapolate,wincent/hextrapolate,wincent/hextrapolate
javascript
## Code Before: /** * Copyright 2003-present Greg Hurrell. All rights reserved. * Licensed under the terms of the MIT license. * * @flow */ export default function addDigits( aDigits: Array<number>, bDigits: Array<number>, base: number ): Array<number> { let result = []; let carry = 0; const aLength =...
8a0510aac90cd48c125793ffcc9f31b203dfa062
.goxc.json
.goxc.json
{ "ConfigVersion": "0.9", "ArtifactsDest": "target", "Arch": "386,amd64", "Os": "darwin,linux,windows", "PackageVersion": "0.25.0", "PrereleaseInfo": "snapshot", "Verbosity": "v", "Resources": { "Include": "INSTALL*,README*,LICENSE*", "Exclude": "*.go" }, "TaskSettings": { "archive": { ...
{ "ConfigVersion": "0.9", "ArtifactsDest": "target", "Arch": "386,amd64", "Os": "darwin,linux,windows", "PackageVersion": "0.25.0", "PrereleaseInfo": "snapshot", "Verbosity": "v", "Resources": { "Include": "INSTALL*,README*,LICENSE*", "Exclude": "*.go" }, "TaskSettings": { "downloads-pag...
Use zip for darwin build
Use zip for darwin build
JSON
mit
jingweno/gh,jingweno/gh,beni55/gh,jingweno/gh,beni55/gh,beni55/gh
json
## Code Before: { "ConfigVersion": "0.9", "ArtifactsDest": "target", "Arch": "386,amd64", "Os": "darwin,linux,windows", "PackageVersion": "0.25.0", "PrereleaseInfo": "snapshot", "Verbosity": "v", "Resources": { "Include": "INSTALL*,README*,LICENSE*", "Exclude": "*.go" }, "TaskSettings": { ...
85fa57a6def7a1ab0ee9a460ac6fc3eb5443d039
package.js
package.js
Package.describe({ "summary": "Add feature flagging to Meteor" }); Package.on_use(function (api) { api.use('coffeescript', ['server', 'client']); api.use(['deps','handlebars','jquery'], 'client'); api.use('underscore', 'server'); api.use('accounts-base', ['client']) api.add_files('server/server...
Package.describe({ "summary": "Add feature flagging to Meteor" }); Package.on_use(function (api) { api.use('coffeescript', ['server', 'client']); api.use(['deps','ui','templating', 'jquery'], 'client'); api.use('underscore', 'server'); api.use('accounts-base', ['client']) api.add_files('server/...
Update deps to use new UI helpers
Update deps to use new UI helpers
JavaScript
mit
recursivefaults/meteor-feature-flag
javascript
## Code Before: Package.describe({ "summary": "Add feature flagging to Meteor" }); Package.on_use(function (api) { api.use('coffeescript', ['server', 'client']); api.use(['deps','handlebars','jquery'], 'client'); api.use('underscore', 'server'); api.use('accounts-base', ['client']) api.add_file...
fd8cfaaf7897076e1acd73becd0fbc940ad0add7
.travis.yml
.travis.yml
language: ruby rvm: - 1.9.3 - 2.0.0 env: global: secure: LW/HXahV3KYeaFjHXboWs37GHOeABPHkjOFgZN79vSz2ClJSckMAAU/sbQw6HWtIzIHlRawX4sDTd0KIXEpFH6hwWevwXMgLpNzRh2utdPwWuN96+/KrwPI/vnYjtFqpxouQqWEma5SlN1HGxrs5qCKmIBNplQGbpDVxiSfyWEo=
language: ruby rvm: - 1.9.3 - 2.0.0 - rbx-19mode env: global: secure: LW/HXahV3KYeaFjHXboWs37GHOeABPHkjOFgZN79vSz2ClJSckMAAU/sbQw6HWtIzIHlRawX4sDTd0KIXEpFH6hwWevwXMgLpNzRh2utdPwWuN96+/KrwPI/vnYjtFqpxouQqWEma5SlN1HGxrs5qCKmIBNplQGbpDVxiSfyWEo=
Add rubinius in 1.9 mode to Travis CI builds
Add rubinius in 1.9 mode to Travis CI builds
YAML
mit
gussan/pronto,treble37/pronto,HaiTo/pronto,mmozuras/pronto,Zauberstuhl/pronto,jhass/pronto,prontolabs/pronto,mvz/pronto,aergonaut/pronto
yaml
## Code Before: language: ruby rvm: - 1.9.3 - 2.0.0 env: global: secure: LW/HXahV3KYeaFjHXboWs37GHOeABPHkjOFgZN79vSz2ClJSckMAAU/sbQw6HWtIzIHlRawX4sDTd0KIXEpFH6hwWevwXMgLpNzRh2utdPwWuN96+/KrwPI/vnYjtFqpxouQqWEma5SlN1HGxrs5qCKmIBNplQGbpDVxiSfyWEo= ## Instruction: Add rubinius in 1.9 mode to Travis CI builds ## Co...
af6eb337c1bf72d78d3aac93d4d0c348d8053f6a
phpunit.xml.dist
phpunit.xml.dist
<?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd" bootstrap="vendor/autoload.php" executionOrder="depends,defects" forceCoversAnnotation="true" beStrictAboutCoversAnnotation="false" ...
<?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="vendor/autoload.php" executionOrder="depends,defects" forceCoversAnnotation="true" beStrictAboutCoversAnnotation="false" ...
Update PHPUnit configuration to match latest schema
Update PHPUnit configuration to match latest schema
unknown
mit
imbo/imbo,imbo/imbo
unknown
## Code Before: <?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd" bootstrap="vendor/autoload.php" executionOrder="depends,defects" forceCoversAnnotation="true" beStrictAboutCoversAnnot...
88326523e416595a600d1abce5f4da0b95ed9bb4
lib/paperclip_processors/metadata_extractor.rb
lib/paperclip_processors/metadata_extractor.rb
module Paperclip class MetadataExtractor < Paperclip::Processor def make # get the metadata from Yamdi metadata = Yamdi.new(file.path) # add values to the attachment instance (for db persistence, etc) # assumes duration is a column in the table this attachment is being # added...
module Paperclip class MetadataExtractor < Paperclip::Processor def make # get the metadata from Yamdi metadata = Yamdi.new(file.path) # add values to the attachment instance (for db persistence, etc) # assumes duration is a column in the table this attachment is being # added...
Add documentation for paperclip post processor and ensuring the attachment instance is saved when using background paperclip processing.
Add documentation for paperclip post processor and ensuring the attachment instance is saved when using background paperclip processing.
Ruby
mit
peregrinator/yamdi
ruby
## Code Before: module Paperclip class MetadataExtractor < Paperclip::Processor def make # get the metadata from Yamdi metadata = Yamdi.new(file.path) # add values to the attachment instance (for db persistence, etc) # assumes duration is a column in the table this attachment is bei...
7517d7674098ff9544c46c0e717f7dd87a6abb3c
test/rain/deployer_test.rb
test/rain/deployer_test.rb
require 'test_helper' class Rain::DeployerTest < ActiveSupport::TestCase describe "DeployerTest: bare invocation" do setup { @command = %x(./bin/rain) } should "deploy a new tag to stage" do skip "suck it" assert_match 'Got a handful of stacks better grab an umbrella', @command end shou...
require 'test_helper' class Rain::DeployerTest < ActiveSupport::TestCase describe "DeployerTest: bare invocation" do before { @command ||= %x(./bin/rain) } should "deploy to production" do assert_match 'Got a handful of stacks better grab an umbrella', @command end end describe "DeployerTest:...
Add tests for on stage and on prod
Add tests for on stage and on prod
Ruby
mit
eLocal/rain
ruby
## Code Before: require 'test_helper' class Rain::DeployerTest < ActiveSupport::TestCase describe "DeployerTest: bare invocation" do setup { @command = %x(./bin/rain) } should "deploy a new tag to stage" do skip "suck it" assert_match 'Got a handful of stacks better grab an umbrella', @command ...
fcdd0b808419bb32cd5b35d3467b0907bc81efd4
SpriteSheetPacker/main.cpp
SpriteSheetPacker/main.cpp
int commandLine(QCoreApplication& app); int main(int argc, char *argv[]) { QApplication app(argc, argv); #ifdef Q_OS_WIN32 QApplication::setStyle(QStyleFactory::create("Fusion")); #endif QCoreApplication::setOrganizationName("amakaseev"); QCoreApplication::setOrganizationDomain("spicyminds-lab.co...
int commandLine(QCoreApplication& app); int main(int argc, char *argv[]) { QApplication app(argc, argv); QCoreApplication::setOrganizationName("amakaseev"); QCoreApplication::setOrganizationDomain("spicyminds-lab.com"); QCoreApplication::setApplicationName("SpriteSheetPacker"); QCoreApplication::...
Use windows native look and feel
Use windows native look and feel
C++
mit
amakaseev/sprite-sheet-packer,TheCodez/sprite-sheet-packer,amakaseev/sprite-sheet-packer,TheCodez/sprite-sheet-packer,TheCodez/sprite-sheet-packer,amakaseev/sprite-sheet-packer,amakaseev/sprite-sheet-packer,TheCodez/sprite-sheet-packer
c++
## Code Before: int commandLine(QCoreApplication& app); int main(int argc, char *argv[]) { QApplication app(argc, argv); #ifdef Q_OS_WIN32 QApplication::setStyle(QStyleFactory::create("Fusion")); #endif QCoreApplication::setOrganizationName("amakaseev"); QCoreApplication::setOrganizationDomain("s...
751f81eec5dc82721fd5185c908dc8e7b604accf
app/views/_header.erb
app/views/_header.erb
<nav> <li><a href="/login">Login</a></li> <li><a href="/logout">Logout</a></li> <li><a href="/register">Register</a></li> <% if auth_logged_in? %> <li>Username: <%= auth_current_user.username %></li> <% end %> </nav>
<nav> <li><a href="/login">Login</a></li> <li><a href="/logout">Logout</a></li> <li><a href="/register">Register</a></li> <li><a href="/profile/<%= auth_current_user.id %>/edit">Edit</a></li> <% if auth_logged_in? %> <li>Username: <%= auth_current_user.username %></li> <% end %> </nav>
Add edit link on header layout
Add edit link on header layout
HTML+ERB
mit
philipyoo/basic-rpg,philipyoo/basic-rpg,philipyoo/basic-rpg
html+erb
## Code Before: <nav> <li><a href="/login">Login</a></li> <li><a href="/logout">Logout</a></li> <li><a href="/register">Register</a></li> <% if auth_logged_in? %> <li>Username: <%= auth_current_user.username %></li> <% end %> </nav> ## Instruction: Add edit link on header layout ## Code After: <nav> <...
3f037595535905890903e3eb57be2dba9d7091cf
src/MindOfMicah/LaravelDatatables/Datatable.php
src/MindOfMicah/LaravelDatatables/Datatable.php
<?php namespace MindOfMicah\LaravelDatatables; use Illuminate\Http\JsonResponse; class Datatable { protected $model; protected $columns; public function __construct($a) { $this->a = $a; } public function asJsonResponse() { $data = []; $total = $amount_displayed = 0; ...
<?php namespace MindOfMicah\LaravelDatatables; use Illuminate\Http\JsonResponse; class Datatable { protected $model; protected $columns; public function __construct($a) { $this->a = $a; } public function asJsonResponse() { $data = []; $total = $amount_displayed = 0; ...
Set a starting point for the datatables
Set a starting point for the datatables
PHP
mit
mindofmicah/laravel-datatables,mindofmicah/laravel-datatables
php
## Code Before: <?php namespace MindOfMicah\LaravelDatatables; use Illuminate\Http\JsonResponse; class Datatable { protected $model; protected $columns; public function __construct($a) { $this->a = $a; } public function asJsonResponse() { $data = []; $total = $amount_displ...
633af9808fc9502f652708d74f1ce32b2b8107e4
OctoKit/Time.swift
OctoKit/Time.swift
import Foundation struct Time { /// A date formatter for RFC 3339 style timestamps. Uses POSIX locale and GMT timezone so that date /// values are parsed as absolutes. /// - https://tools.ietf.org/html/rfc3339 /// - https://developer.apple.com/library/mac/qa/qa1480/_index.html /// - https://develo...
import Foundation struct Time { /** A date formatter for RFC 3339 style timestamps. Uses POSIX locale and GMT timezone so that date values are parsed as absolutes. - [https://tools.ietf.org/html/rfc3339](https://tools.ietf.org/html/rfc3339) - [https://developer.apple.com/library/mac/qa/qa1480/_index.ht...
Add documentation for time utils
Add documentation for time utils
Swift
mit
nerdishbynature/octokit.swift,phatblat/octokit.swift,phatblat/octokit.swift,nerdishbynature/octokit.swift,nerdishbynature/octokit.swift
swift
## Code Before: import Foundation struct Time { /// A date formatter for RFC 3339 style timestamps. Uses POSIX locale and GMT timezone so that date /// values are parsed as absolutes. /// - https://tools.ietf.org/html/rfc3339 /// - https://developer.apple.com/library/mac/qa/qa1480/_index.html /// ...
a3f1e58d6fe984287b38154b816189a2ffb7ac8b
src/sap.ui.core/test/sap/ui/core/demokit/sample/Commands/manifest.json
src/sap.ui.core/test/sap/ui/core/demokit/sample/Commands/manifest.json
{ "_version": "1.12.0", "sap.app": { "id": "sap.ui.core.sample.Commands", "type": "application" }, "sap.ui5": { "dependencies": { "libs": { "sap.ui.core": {}, "sap.m": {} } }, "commands": { "Save": { "name": "Save", "icon": "sap-icon://save", "caption": "test", "tooltip": ...
{ "_version": "1.12.0", "sap.app": { "id": "sap.ui.core.sample.Commands", "type": "application" }, "sap.ui5": { "dependencies": { "libs": { "sap.ui.core": {}, "sap.m": {} } }, "commands": { "Save": { "shortcut": "Ctrl+S" } }, "models": { "viewModel": { "type": "sap.ui.mo...
Remove unused properties from sample
[INTERNAL] commands: Remove unused properties from sample Change-Id: I2c4cd3ebf69ffb9ef064efb49dd93193a88604df
JSON
apache-2.0
SAP/openui5,SAP/openui5,SAP/openui5,SAP/openui5
json
## Code Before: { "_version": "1.12.0", "sap.app": { "id": "sap.ui.core.sample.Commands", "type": "application" }, "sap.ui5": { "dependencies": { "libs": { "sap.ui.core": {}, "sap.m": {} } }, "commands": { "Save": { "name": "Save", "icon": "sap-icon://save", "caption": "test",...
c4be964b9645261cebb142924288be7fad295a6d
setup.py
setup.py
from setuptools import find_packages, setup from platformio import (__author__, __description__, __email__, __license__, __title__, __url__, __version__) setup( name=__title__, version=__version__, description=__description__, long_description=open("README.rst").read(), au...
from sys import platform as sysplatform from setuptools import find_packages, setup from platformio import (__author__, __description__, __email__, __license__, __title__, __url__, __version__) setup( name=__title__, version=__version__, description=__description__, long_desc...
Install "colorama" if windows platform
Install "colorama" if windows platform
Python
apache-2.0
platformio/platformio-core,mplewis/platformio,eiginn/platformio,awong1900/platformio,dkuku/platformio,bkudria/platformio,bkudria/platformio,aphelps/platformio,TimJay/platformio,mseroczynski/platformio,awong1900/platformio,awong1900/platformio,platformio/platformio-core,bkudria/platformio,jrobeson/platformio,platformio/...
python
## Code Before: from setuptools import find_packages, setup from platformio import (__author__, __description__, __email__, __license__, __title__, __url__, __version__) setup( name=__title__, version=__version__, description=__description__, long_description=open("README.rst"...
1e1d46ae7f7250fe068c6048ba2323feee2f6277
documentation/assertions/any/with-xhr-mocked-out.md
documentation/assertions/any/with-xhr-mocked-out.md
Mock out uses of `XMLHttpRequest` within the browser. Let's say we've got some XHR code. In the example below we'll use [unexpected-http](https://github.com/unexpectedjs/unexpected-http/) to give us a nice syntax for issuing XHR requests, but in practice you'd be wrapping your client side side e.g. `jQuery.ajax()` cal...
Mock out uses of `XMLHttpRequest` within the browser. Let's say we've got some XHR code. In the example below we'll use [unexpected-http](https://github.com/unexpectedjs/unexpected-http/) to give us a nice syntax for issuing XHR requests, but in practice you'd be wrapping your client side side e.g. `jQuery.ajax()` cal...
Complete sentence in the documentation.
Complete sentence in the documentation.
Markdown
bsd-3-clause
alexjeffburke/unexpected-mxhr,alexjeffburke/unexpected-mxhr
markdown
## Code Before: Mock out uses of `XMLHttpRequest` within the browser. Let's say we've got some XHR code. In the example below we'll use [unexpected-http](https://github.com/unexpectedjs/unexpected-http/) to give us a nice syntax for issuing XHR requests, but in practice you'd be wrapping your client side side e.g. `jQ...
ae43fd8cacc01b74ddaa5718a41d58387bd35418
.travis.yml
.travis.yml
language: node_js node_js: - "0.10" before_script: - "IOJS_VERSION=v1.0.1; wget https://iojs.org/dist/${IOJS_VERSION}/iojs-${IOJS_VERSION}-linux-x64.tar.xz && tar xvfJ iojs-${IOJS_VERSION}-linux-x64.tar.xz && sudo mv iojs-${IOJS_VERSION}-linux-x64/bin/iojs /usr/local/bin" script: - "npm run build && npm test" -...
language: node_js node_js: - "0.10" - "0.12" - "iojs" script: - "npm run build && npm test" after_script: - "istanbul cover --verbose --dir coverage node_modules/.bin/_mocha tests/tests.js -- -u exports -R spec && cat coverage/lcov.info | coveralls; rm -rf coverage/lcov*"
Test in io.js and Node.js v0.12.x
Test in io.js and Node.js v0.12.x
YAML
mit
mathiasbynens/regexpu
yaml
## Code Before: language: node_js node_js: - "0.10" before_script: - "IOJS_VERSION=v1.0.1; wget https://iojs.org/dist/${IOJS_VERSION}/iojs-${IOJS_VERSION}-linux-x64.tar.xz && tar xvfJ iojs-${IOJS_VERSION}-linux-x64.tar.xz && sudo mv iojs-${IOJS_VERSION}-linux-x64/bin/iojs /usr/local/bin" script: - "npm run build ...
83f97dc8204133141365908c7ff13c3973f427e6
tools/llvm-xray/llvm-xray.cc
tools/llvm-xray/llvm-xray.cc
//===- llvm-xray.cc - XRay Tool Main Program ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- llvm-xray.cc - XRay Tool Main Program ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Remove unnecessary include of <unistd.h>
[XRay] Remove unnecessary include of <unistd.h> git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@285171 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror...
c++
## Code Before: //===- llvm-xray.cc - XRay Tool Main Program ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===---------------------------------------...
3375cd1c123c1748a60aa99a642d9c6e662e65e1
examples/native/hello/__tests__/App.js
examples/native/hello/__tests__/App.js
import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <App /> ); });
/* eslint-env jest */ import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <App /> ); });
Fix lint for react-native example
Fix lint for react-native example
JavaScript
mit
pH200/cycle-react
javascript
## Code Before: import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <App /> ); }); ## Instruction: Fix lint for react-n...
b47017282e23be837d469378e5d1ac307f8d99c1
client/app/scripts/directive/projectQuickView.js
client/app/scripts/directive/projectQuickView.js
angular .module('app') .directive('projectQuickView', function() { return { restrict: 'EA', replace: false, templateUrl: 'app/templates/partials/projectQuickView.html', link: function(scope, element, attrs) { scope.completed = attrs.completed; scope.hasDate = function() ...
angular .module('app') .directive('projectQuickView', function() { return { restrict: 'EA', replace: false, templateUrl: 'app/templates/partials/projectQuickView.html', link: function(scope, element, attrs) { scope.completed = attrs.completed; scope.hasDate = function() ...
Make a check if end_date exists on the project in the hasDate function
Make a check if end_date exists on the project in the hasDate function
JavaScript
mit
brettshollenberger/rootstrikers,brettshollenberger/rootstrikers
javascript
## Code Before: angular .module('app') .directive('projectQuickView', function() { return { restrict: 'EA', replace: false, templateUrl: 'app/templates/partials/projectQuickView.html', link: function(scope, element, attrs) { scope.completed = attrs.completed; scope.hasDa...
f7d62d32bc1314658e1f5a32f7279840a7ccd57d
lib/supervisord_templates/app.conf.erb
lib/supervisord_templates/app.conf.erb
[unix_http_server] file=/srv/stonepath-example/supervisor.sock [supervisord] logfile=/srv/stonepath-example/supervisord.log logfile_maxbytes=50MB logfile_backups=10 loglevel=error pidfile=/srv/stonepath-example/supervisord.pid nodaemon=false minfds=1024 minprocs=200 [rpcinterface:supervisor] supervisor.rpcinterface_f...
[unix_http_server] file=/srv/fourth-year-project-system/supervisor.sock [supervisord] logfile=/srv/fourth-year-project-system/supervisord.log logfile_maxbytes=50MB logfile_backups=10 loglevel=error pidfile=/srv/fourth-year-project-system/supervisord.pid nodaemon=false minfds=1024 minprocs=200 [rpcinterface:supervisor...
Use the correct application name
supervisor_templates: Use the correct application name
HTML+ERB
mit
WorkflowsOnRails/fourth-year-project-system,WorkflowsOnRails/fourth-year-project-system
html+erb
## Code Before: [unix_http_server] file=/srv/stonepath-example/supervisor.sock [supervisord] logfile=/srv/stonepath-example/supervisord.log logfile_maxbytes=50MB logfile_backups=10 loglevel=error pidfile=/srv/stonepath-example/supervisord.pid nodaemon=false minfds=1024 minprocs=200 [rpcinterface:supervisor] superviso...
0d413bd7372143b40dd463e8856b950b2f2e5af9
types/react-big-calendar/lib/addons/dragAndDrop.d.ts
types/react-big-calendar/lib/addons/dragAndDrop.d.ts
import BigCalendar, { BigCalendarProps, Event, stringOrDate } from '../../index'; import React = require('react'); interface withDragAndDropProps<TEvent> { onEventDrop?: (args: { event: TEvent, start: stringOrDate, end: stringOrDate, allDay: boolean }) => void; onEventResize?: (args: { event: TEvent, start: string...
import BigCalendar, { BigCalendarProps, Event, stringOrDate } from '../../index'; import React from 'react'; interface withDragAndDropProps<TEvent> { onEventDrop?: (args: { event: TEvent, start: stringOrDate, end: stringOrDate, allDay: boolean }) => void; onEventResize?: (args: { event: TEvent, start: stringOrDate...
Use ES import to see if it works
Use ES import to see if it works
TypeScript
mit
georgemarshall/DefinitelyTyped,borisyankov/DefinitelyTyped,mcliment/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,markogresak/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,borisyankov/DefinitelyTyped
typescript
## Code Before: import BigCalendar, { BigCalendarProps, Event, stringOrDate } from '../../index'; import React = require('react'); interface withDragAndDropProps<TEvent> { onEventDrop?: (args: { event: TEvent, start: stringOrDate, end: stringOrDate, allDay: boolean }) => void; onEventResize?: (args: { event: TEven...
304ea4aa98818f07bb4a42eb87108f5692da3ee7
css/style.css
css/style.css
body { color: white; } .header { margin-top: 50px; } .header-img { margin: 150, 1500, 150, 1500; width: 400px; height: 250px; border-radius: 4px; } .demo-layout-transparent { background: url('../img/background.jpg') center / cover; } .demo-layout-transparent .mdl-layout__header, .demo-layout-transparent .mdl...
body { color: white; } .header { margin-top: 50px; } .header-img { margin: 150, 1500, 150, 1500; width: 400px; height: 250px; border-radius: 4px; } .demo-layout-transparent { background: url('../img/background.jpg') center / cover; } .demo-layout-transparent .mdl-layout__header, .demo-layout-transparent .mdl-la...
Set min-width as 320px rather than 350px
Set min-width as 320px rather than 350px
CSS
mit
christoga/christoga.github.io,christoga/christoga.github.io
css
## Code Before: body { color: white; } .header { margin-top: 50px; } .header-img { margin: 150, 1500, 150, 1500; width: 400px; height: 250px; border-radius: 4px; } .demo-layout-transparent { background: url('../img/background.jpg') center / cover; } .demo-layout-transparent .mdl-layout__header, .demo-layout-...
a6cb8d3c2d79b609a6d5d0550af57aa2b9328f7f
mopidy_vkontakte/actor.py
mopidy_vkontakte/actor.py
from __future__ import unicode_literals import logging import pykka from mopidy.backends import base from .library import VKLibraryProvider from .playlists import VKPlaylistsProvider from .session import VKSession logger = logging.getLogger('mopidy.backends.vkontakte.actor') class VKBackend(pykka.ThreadingActor,...
from __future__ import unicode_literals import logging import pykka from mopidy.backends import base from .library import VKLibraryProvider from .playlists import VKPlaylistsProvider from .session import VKSession logger = logging.getLogger('mopidy.backends.vkontakte.actor') class VKBackend(pykka.ThreadingActor,...
Remove PlaybackProvider that does nothing
Remove PlaybackProvider that does nothing
Python
apache-2.0
sibuser/mopidy-vkontakte
python
## Code Before: from __future__ import unicode_literals import logging import pykka from mopidy.backends import base from .library import VKLibraryProvider from .playlists import VKPlaylistsProvider from .session import VKSession logger = logging.getLogger('mopidy.backends.vkontakte.actor') class VKBackend(pykka...
d57dd1a7c377c94d2a5880ef271936d642cb06a5
.zuul.yaml
.zuul.yaml
- project: templates: - check-requirements - lib-forward-testing-python3 - openstack-lower-constraints-jobs - openstack-python3-wallaby-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3
- job: name: cross-nova-tox-functional parent: openstack-tox description: | Run cross-project functional tests on nova. vars: zuul_work_dir: src/opendev.org/openstack/nova tox_envlist: functional required-projects: - openstack/nova - openstack/oslo.policy - job: na...
Add nova/neutron project unit/functional tests job in gate
Add nova/neutron project unit/functional tests job in gate We do not test the olso policy master code changes with services unit or functional tests. Tempest job initialize policy once and run with default rules so it will not be able to catch all the scenario what unit or functional job does. They initialize or overr...
YAML
apache-2.0
openstack/oslo.policy
yaml
## Code Before: - project: templates: - check-requirements - lib-forward-testing-python3 - openstack-lower-constraints-jobs - openstack-python3-wallaby-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 ## Instruction: Add nova/neutron pr...
54fb750d8389febff3fa254c4dd5d815b7a60f69
Nimble/Nimble.h
Nimble/Nimble.h
FOUNDATION_EXPORT double NimbleVersionNumber; FOUNDATION_EXPORT const unsigned char NimbleVersionString[];
FOUNDATION_EXPORT double NimbleVersionNumber; FOUNDATION_EXPORT const unsigned char NimbleVersionString[]; #import "DSL.h" #import "NMBExceptionCapture.h"
Add Objective-C headers to umbrella header to make project compile
Add Objective-C headers to umbrella header to make project compile
C
apache-2.0
DanielAsher/Nimble,AnthonyMDev/Nimble,abbeycode/Nimble,AnthonyMDev/Nimble,twobitlabs/Nimble,twobitlabs/Nimble,abbeycode/Nimble,feinstruktur/Nimble,phatblat/Nimble,AnthonyMDev/Nimble,Quick/Nimble,ashfurrow/Nimble,DanielAsher/Nimble,feinstruktur/Nimble,DanielAsher/Nimble,ashfurrow/Nimble,jeffh/Nimble,abbeycode/Nimble,mis...
c
## Code Before: FOUNDATION_EXPORT double NimbleVersionNumber; FOUNDATION_EXPORT const unsigned char NimbleVersionString[]; ## Instruction: Add Objective-C headers to umbrella header to make project compile ## Code After: FOUNDATION_EXPORT double NimbleVersionNumber; FOUNDATION_EXPORT const unsigned char NimbleVersi...
033994218bbc2aa0691c6ad0cb4445bc1f68e04e
cla_frontend/assets-src/javascripts/app/partials/call_centre/case_detail.invalid.html
cla_frontend/assets-src/javascripts/app/partials/call_centre/case_detail.invalid.html
<header> <h2>Incomplete case</h2> </header> <div class="Error Error--basic" ng-show="case_errors.length > 0" data-case-errors> <p>You must correct the following errors before you can assign a provider:</p> <ul> <li ng-repeat="error in case_errors">{{ error.message }}</li> </ul> </div> <div class="Notice" ...
<header> <h2>Incomplete case</h2> </header> <div class="Error Error--basic" ng-show="case_errors.length > 0" data-case-errors> <p>You must correct the following errors before you can assign a provider:</p> <ul> <li ng-repeat="error in case_errors">{{ error.message }}</li> </ul> </div> <div class="Notice" ...
Remove old SPOR refer link
Remove old SPOR refer link
HTML
mit
ministryofjustice/cla_frontend,ministryofjustice/cla_frontend,ministryofjustice/cla_frontend,ministryofjustice/cla_frontend
html
## Code Before: <header> <h2>Incomplete case</h2> </header> <div class="Error Error--basic" ng-show="case_errors.length > 0" data-case-errors> <p>You must correct the following errors before you can assign a provider:</p> <ul> <li ng-repeat="error in case_errors">{{ error.message }}</li> </ul> </div> <div...
ccdb3bd5c80094bc65a56053aa3ea782e2711b62
closure/goog/dom/textassert_test.js
closure/goog/dom/textassert_test.js
// Copyright 2017 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
// Copyright 2017 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
Add a test for HTML entities for goog.dom.textassert, and verify the thrown values in those tests.
Add a test for HTML entities for goog.dom.textassert, and verify the thrown values in those tests. (This was inspired by investigating the assertion code after having missed some HTML entities in cl/186648009. The assertion is working fine.) RELNOTES: n/a ------------- Created by MOE: https://github.com/google/moe M...
JavaScript
apache-2.0
lucidsoftware/closure-library,lucidsoftware/closure-library,google/closure-library,teppeis/closure-library,lucidsoftware/closure-library,google/closure-library,teppeis/closure-library,google/closure-library,teppeis/closure-library,google/closure-library,lucidsoftware/closure-library,teppeis/closure-library,google/closu...
javascript
## Code Before: // Copyright 2017 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 /...
3aeac6189227e4b97a868da33220ff28ab1a965c
.github/workflows/control-slycot-src.yml
.github/workflows/control-slycot-src.yml
name: Slycot from source on: [push, pull_request] jobs: build-linux: runs-on: ubuntu-latest steps: - name: Checkout python-control uses: actions/checkout@v3 with: path: python-control - name: Set up Python uses: actions/setup-python@v2 - name: Install Python dependenci...
name: Slycot from source on: [push, pull_request] jobs: build-linux: runs-on: ubuntu-latest steps: - name: Checkout python-control uses: actions/checkout@v3 with: path: python-control - name: Set up Python uses: actions/setup-python@v2 - name: Install Python dependenci...
Build Slycot from source using PyPI wheels
Build Slycot from source using PyPI wheels
YAML
bsd-3-clause
python-control/python-control
yaml
## Code Before: name: Slycot from source on: [push, pull_request] jobs: build-linux: runs-on: ubuntu-latest steps: - name: Checkout python-control uses: actions/checkout@v3 with: path: python-control - name: Set up Python uses: actions/setup-python@v2 - name: Install P...
aca158817c21b8baeeb64d7290d61c32a79124f9
tests/test_heat_demand.py
tests/test_heat_demand.py
import numpy as np from demandlib.examples import heat_demand_example def test_heat_example(): """Test the results of the heat example.""" ann_demands_per_type = {'efh': 25000, 'mfh': 80000, 'ghd': 140000} demands = heat_demand_example.heat_exampl...
import numpy as np from demandlib.examples import heat_demand_example def test_heat_example(): """Test the results of the heat example.""" ann_demands_per_type = {'efh': 25000, 'mfh': 80000, 'ghd': 140000} demands = heat_demand_example.heat_exampl...
Increase tollerance for heat demand test
Increase tollerance for heat demand test
Python
mit
oemof/demandlib
python
## Code Before: import numpy as np from demandlib.examples import heat_demand_example def test_heat_example(): """Test the results of the heat example.""" ann_demands_per_type = {'efh': 25000, 'mfh': 80000, 'ghd': 140000} demands = heat_demand_exa...
7b6fb2d4b594b2baed85b349df110b34a76dff12
README.md
README.md
The Steam Swiss API Knife ========================= A tool to explore the Steam API. The goal is to provide a simple way for exploration and documentation of the API requests. Feel free to contribute docs at http://wiki.teamfortress.com/wiki/WebAPI
A tool to explore the Steam API. The goal is to provide a simple way for exploration and documentation of the API requests. Feel free to contribute docs at http://wiki.teamfortress.com/wiki/WebAPI ### Using for API documentation ### There is a feature in the swiss API knife intended to assist in creating documentati...
Add instructions for wiki usage
Add instructions for wiki usage
Markdown
isc
Lagg/steam-swissapiknife
markdown
## Code Before: The Steam Swiss API Knife ========================= A tool to explore the Steam API. The goal is to provide a simple way for exploration and documentation of the API requests. Feel free to contribute docs at http://wiki.teamfortress.com/wiki/WebAPI ## Instruction: Add instructions for wiki usage ## C...
8e1e8d0f081e715ca6f48abab180376c017a7e4e
tenets/codelingo/effective-go/package-comment/codelingo.yaml
tenets/codelingo/effective-go/package-comment/codelingo.yaml
tenets: - name: package-comment flows: codelingo/docs: title: Package comment body: | Every package should have a package comment, a block comment preceding the package clause. For multi-file packages, the package comment only needs to be present in one file, and any one...
tenets: - name: package-comment flows: codelingo/docs: title: Package comment body: | Every package should have a package comment, a block comment preceding the package clause. For multi-file packages, the package comment only needs to be present in one file, and any one...
Edit tenet to just look for attached package comment in file
Edit tenet to just look for attached package comment in file
YAML
agpl-3.0
lingo-reviews/lingo,lingo-reviews/lingo
yaml
## Code Before: tenets: - name: package-comment flows: codelingo/docs: title: Package comment body: | Every package should have a package comment, a block comment preceding the package clause. For multi-file packages, the package comment only needs to be present in one f...
463e1938e893dec5049b8b1a83736e83783246f4
simple-git/src/lib/plugins/timout-plugin.ts
simple-git/src/lib/plugins/timout-plugin.ts
import { SimpleGitOptions } from '../types'; import { SimpleGitPlugin } from './simple-git-plugin'; import { GitPluginError } from '../errors/git-plugin-error'; export function timeoutPlugin({block}: Exclude<SimpleGitOptions['timeout'], undefined>): SimpleGitPlugin<'spawn.after'> | void { if (block > 0) { r...
import { SimpleGitOptions } from '../types'; import { SimpleGitPlugin } from './simple-git-plugin'; import { GitPluginError } from '../errors/git-plugin-error'; export function timeoutPlugin({block}: Exclude<SimpleGitOptions['timeout'], undefined>): SimpleGitPlugin<'spawn.after'> | void { if (block > 0) { r...
Clear timeout upon stop to avoid hanging the process
Clear timeout upon stop to avoid hanging the process
TypeScript
mit
steveukx/git-js,steveukx/git-js
typescript
## Code Before: import { SimpleGitOptions } from '../types'; import { SimpleGitPlugin } from './simple-git-plugin'; import { GitPluginError } from '../errors/git-plugin-error'; export function timeoutPlugin({block}: Exclude<SimpleGitOptions['timeout'], undefined>): SimpleGitPlugin<'spawn.after'> | void { if (bloc...
a3b50a4f17fe21ed2c90ccafe1f1a088780de9a6
src/core/stores/ApiStore.js
src/core/stores/ApiStore.js
var Reflux = require('reflux'); var config = require('./../../../config'); var ApiActions = require('./../actions/ApiActions'); var buffer = []; var ws; var ApiStore = Reflux.createStore({ init: function () { ws = new WebSocket('ws://' + config.host + ':' + config.port); ws.onmessage = fun...
var Reflux = require('reflux'); var config = require('./../../../config'); var ApiActions = require('./../actions/ApiActions'); var buffer = []; var ws; var ApiStore = Reflux.createStore({ init: function () { ws = new WebSocket('ws://' + window.document.location.host); ws.onmessage = funct...
Fix problem with ws host:port mismatch on heroku
Fix problem with ws host:port mismatch on heroku
JavaScript
mit
plouc/mozaik,backjo/mozaikdummyfork,danielw92/mozaik,beni55/mozaik,codeaudit/mozaik,tlenclos/mozaik,juhamust/mozaik,michaelchiche/mozaik,danielw92/mozaik,plouc/mozaik,juhamust/mozaik,beni55/mozaik,backjo/mozaikdummyfork,michaelchiche/mozaik,tlenclos/mozaik,codeaudit/mozaik
javascript
## Code Before: var Reflux = require('reflux'); var config = require('./../../../config'); var ApiActions = require('./../actions/ApiActions'); var buffer = []; var ws; var ApiStore = Reflux.createStore({ init: function () { ws = new WebSocket('ws://' + config.host + ':' + config.port); ws...
35d74c18380fe1955f7f6a495aef261a98f6be32
toolchains/syno-alpine-5.1/Makefile
toolchains/syno-alpine-5.1/Makefile
TC_NAME = syno-$(TC_ARCH) TC_ARCH = alpine TC_VERS = 5.1 TC_FIRMWARE = 5.1-5004 TC_DIST_NAME = gcc464_glibc217_alpine-GPL.tgz TC_EXT = tgz TC_DIST_SITE = http://sourceforge.net/projects/dsgpl/files/DSM%205.1%20Tool%20Chains/Annapurna%20Alpine%20Linux%203.2.40 TC_BASE_DIR = arm-cortex_a15-linux-gnueabi TC_PREFIX = a...
TC_NAME = syno-$(TC_ARCH) TC_ARCH = alpine TC_VERS = 5.1 TC_FIRMWARE = 5.1-5004 TC_DIST_NAME = gcc464_glibc217_alpine-GPL.tgz TC_EXT = tgz TC_DIST_SITE = http://sourceforge.net/projects/dsgpl/files/DSM%205.1%20Tool%20Chains/Annapurna%20Alpine%20Linux%203.2.40 TC_BASE_DIR = arm-cortex_a15-linux-gnueabi TC_PREFIX = a...
Fix compile issues with Alpine toolchain
Fix compile issues with Alpine toolchain
unknown
bsd-3-clause
Grimthorr/spksrc,demorfi/spksrc,Dr-Bean/spksrc,lysin/spksrc,astroganga/spksrc,Grimthorr/spksrc,sea3pea0/spksrc,markbastiaans/spksrc,hmflash/spksrc,Pyrex-FWI/spksrc,mirweb/spksrc,jdierkse/spksrc,sea3pea0/spksrc,sea3pea0/spksrc,GaetanCambier/spksrc,hmflash/spksrc,Grimthorr/spksrc,riverful/spksrc,Foncekar/spksrc,nickbroon...
unknown
## Code Before: TC_NAME = syno-$(TC_ARCH) TC_ARCH = alpine TC_VERS = 5.1 TC_FIRMWARE = 5.1-5004 TC_DIST_NAME = gcc464_glibc217_alpine-GPL.tgz TC_EXT = tgz TC_DIST_SITE = http://sourceforge.net/projects/dsgpl/files/DSM%205.1%20Tool%20Chains/Annapurna%20Alpine%20Linux%203.2.40 TC_BASE_DIR = arm-cortex_a15-linux-gnuea...
3e474eac6046a8d081953790a4bc7ce1e963dbc9
organize-photos.sh
organize-photos.sh
find unprocessed -type f -print0 | xargs -0 -I {} exiftool -P \ -d '%Y/%m/%Y%m%d_%H%M%S' \ '-filename<organized/${FileModifyDate}_${SubSecTimeOriginal;}%-c.%le' \ '-filename<organized/${GPSDateTime}_${SubSecTimeOriginal;}%-c.%le' \ '-filename<organized/${MediaCreateDate}_${SubSecTimeOriginal;}%-c.%le' ...
find Unprocessed -type f -print0 | xargs -0 -I {} exiftool -P \ -d '%Y/%m/%Y%m%d_%H%M%S' \ '-filename<Organized/${FileModifyDate}_${SubSecTimeOriginal;}%-c.%le' \ '-filename<Organized/${GPSDateTime}_${SubSecTimeOriginal;}%-c.%le' \ '-filename<Organized/${MediaCreateDate}_${SubSecTimeOriginal;}%-c.%le' ...
Rename the src and dest directories
Rename the src and dest directories
Shell
mit
lightster/random-docs
shell
## Code Before: find unprocessed -type f -print0 | xargs -0 -I {} exiftool -P \ -d '%Y/%m/%Y%m%d_%H%M%S' \ '-filename<organized/${FileModifyDate}_${SubSecTimeOriginal;}%-c.%le' \ '-filename<organized/${GPSDateTime}_${SubSecTimeOriginal;}%-c.%le' \ '-filename<organized/${MediaCreateDate}_${SubSecTimeOri...
94b259ef029664b556fc6882a48e6f427b3864fd
.travis.yml
.travis.yml
addons: apt: packages: - libgmp-dev after_success: - cd _hakyll/site - echo haskellweekly.news > CNAME - git init - git add . - git config --global user.email 'taylor@fausak.me' - git config --global user.name 'Taylor Fausak' - git commit --author 'Travis CI <builds@travis-ci.org>' --message "Automatic deploy...
addons: apt: packages: - libgmp-dev after_success: - cd _hakyll/site - echo haskellweekly.news > CNAME - git init - git add . - git config --global user.email 'taylor@fausak.me' - git config --global user.name 'Taylor Fausak' - git commit --author 'Haskell Weekly <info@haskellweekly.news>' --message "Automati...
Change automatic deploy commit author
Change automatic deploy commit author
YAML
mit
haskellweekly/haskellweekly.github.io,haskellweekly/haskellweekly.github.io
yaml
## Code Before: addons: apt: packages: - libgmp-dev after_success: - cd _hakyll/site - echo haskellweekly.news > CNAME - git init - git add . - git config --global user.email 'taylor@fausak.me' - git config --global user.name 'Taylor Fausak' - git commit --author 'Travis CI <builds@travis-ci.org>' --message "...
e5eb0db5a560368f2daa4e197e3cb9bfc0cf04cb
core/src/main/scala/me/shadaj/slinky/core/ExternalComponent.scala
core/src/main/scala/me/shadaj/slinky/core/ExternalComponent.scala
package me.shadaj.slinky.core import me.shadaj.slinky.core.facade.{ComponentInstance, React} import scala.language.implicitConversions import scala.scalajs.js class BuildingComponent[Props](e: ExternalComponent, props: Props, key: String, ref: js.Object => Unit, writer: Writer[Props]) { def apply(children: Compone...
package me.shadaj.slinky.core import me.shadaj.slinky.core.facade.{ComponentInstance, React} import scala.language.implicitConversions import scala.language.experimental.macros import scala.reflect.macros.blackbox.Context import scala.scalajs.js class BuildingComponent[P](e: ExternalComponent, props: P, key: String...
Add macro hack to make no-children compile in IntelliJ and SBT
Add macro hack to make no-children compile in IntelliJ and SBT
Scala
mit
shadaj/slinky
scala
## Code Before: package me.shadaj.slinky.core import me.shadaj.slinky.core.facade.{ComponentInstance, React} import scala.language.implicitConversions import scala.scalajs.js class BuildingComponent[Props](e: ExternalComponent, props: Props, key: String, ref: js.Object => Unit, writer: Writer[Props]) { def apply(c...
8b4b749eda3adce84db655abcc554f6c7ca38d4d
salt/roots/dotfiles/init.sls
salt/roots/dotfiles/init.sls
dotfiles-directory: file.directory: - user: wicksy - group: wicksy - mode: 755 - makedirs : True - require: - sls: users - names: - /home/wicksy/git - /home/wicksy/git/configfiles dotgiles-github: git.latest: - name: https://github.com/wicksy/configfiles.git - bran...
dotfiles-directory: file.directory: - user: root - group: root - mode: 755 - makedirs: True - recurse: - user - group - names: - /git - /git/wicksy dotgiles-github: git.latest: - name: git@github.com:wicksy/configfiles.git - branch: master - user: root ...
Rework dotfiles to pull via ssh and into /git/wicksy not wicksy /root
Rework dotfiles to pull via ssh and into /git/wicksy not wicksy /root
SaltStack
mit
wicksy/laptop-build,wicksy/laptop-build,wicksy/laptop-build,wicksy/laptop-build
saltstack
## Code Before: dotfiles-directory: file.directory: - user: wicksy - group: wicksy - mode: 755 - makedirs : True - require: - sls: users - names: - /home/wicksy/git - /home/wicksy/git/configfiles dotgiles-github: git.latest: - name: https://github.com/wicksy/configfile...
027d005057d1c1e3ab000481d27aeb60039c943c
resources/views/partials/inputs/tags.blade.php
resources/views/partials/inputs/tags.blade.php
@section("field") <div class="select2-tags"> <select name="{{ $prefixed_field_name }}[]" class="form-control" id="{{ $field_id }}" multiple> @foreach((array) $field_value as $value) <option value="{{ $value }}" selected>{{ $value }}</option> @endforeach </sele...
@section("field") <div class="select2-tags"> <select name="{{ $prefixed_field_name }}[]" class="form-control" id="{{ $field_id }}" multiple> @foreach((array) $field_value as $value) <option value="{{ $value }}" selected>{{ $value }}</option> @endforeach </sele...
Fix select2 tags, keeping the dropdown hidden
Fix select2 tags, keeping the dropdown hidden
PHP
mit
sodacms/sodacms,soda-framework/cms,sodacms/sodacms,soda-framework/cms,sodacms/sodacms,sodacms/sodacms,soda-framework/cms,sodacms/sodacms
php
## Code Before: @section("field") <div class="select2-tags"> <select name="{{ $prefixed_field_name }}[]" class="form-control" id="{{ $field_id }}" multiple> @foreach((array) $field_value as $value) <option value="{{ $value }}" selected>{{ $value }}</option> @endforeac...
94a106b27ca0e76ed4f7d4f3102ac152aaad1b62
lib/with_model.rb
lib/with_model.rb
require 'with_model/model' require 'with_model/model/dsl' require 'with_model/table' require 'with_model/version' module WithModel def with_model(name, options = {}, &block) options = options.dup scope = options.delete(:scope) { :each } model = Model.new name, options dsl = Model::DSL.new model ...
require 'with_model/model' require 'with_model/model/dsl' require 'with_model/table' require 'with_model/version' module WithModel def with_model(name, options = {}, &block) options = options.dup scope = options.delete(:scope) model = Model.new name, options dsl = Model::DSL.new model dsl.instan...
Allow before/after to naturally use their own defaults
Allow before/after to naturally use their own defaults Instead of explicitly specifying that it should be :each. (#18)
Ruby
mit
Casecommons/with_model
ruby
## Code Before: require 'with_model/model' require 'with_model/model/dsl' require 'with_model/table' require 'with_model/version' module WithModel def with_model(name, options = {}, &block) options = options.dup scope = options.delete(:scope) { :each } model = Model.new name, options dsl = Model::DS...
67e89526d5ff95902f98aa9a671d1681eeee2f9d
cas-mfa-java/README.md
cas-mfa-java/README.md
This module is for the Java source code of the multifactor authentication extensions for CAS. It builds to a .jar. This module is intended to include all the Java you need to add to a CAS implementation to take advantage of the extended multifactor authentication features in this project. Of course, it's kind of use...
This module is for the Java source code of the multifactor authentication extensions for CAS. It builds to a .jar. This module is intended to include all the Java you need to add to a CAS implementation to take advantage of the extended multifactor authentication features in this project. Of course, it's kind of use...
Document how to build cas-mfa-java
Document how to build cas-mfa-java
Markdown
apache-2.0
BYU-OIT/cas-mfa,Unicon/cas-mfa,byu-oit-appdev/cas-mfa,bzfoster/cas-mfa,bzfoster/cas-mfa,bzfoster/cas-mfa,BYU-OIT/cas-mfa,byu-oit-appdev/cas-mfa,Unicon/cas-mfa,BYU-OIT/cas-mfa,Unicon/cas-mfa,byu-oit-appdev/cas-mfa
markdown
## Code Before: This module is for the Java source code of the multifactor authentication extensions for CAS. It builds to a .jar. This module is intended to include all the Java you need to add to a CAS implementation to take advantage of the extended multifactor authentication features in this project. Of course, ...
3e5843c00cab61d8ad51eef05d72c44f7be96e8f
package.json
package.json
{ "name": "abc-environment", "version": "1.0.2", "description": "Get started with modern JavaScript development as simple as the ABC", "main": "src/index.js", "bin": { "abc": "src/index.js" }, "author": "queicherius@gmail.com", "license": "MIT", "repository": { "type": "git", "url": "https...
{ "name": "abc-environment", "version": "1.0.2", "description": "Get started with modern JavaScript development as simple as the ABC", "main": "src/index.js", "bin": { "abc": "src/index.js" }, "author": "queicherius@gmail.com", "license": "MIT", "repository": { "type": "git", "url": "https...
Make sure the dependencies dont break
Make sure the dependencies dont break
JSON
mit
queicherius/abc-environment,queicherius/abc-environment
json
## Code Before: { "name": "abc-environment", "version": "1.0.2", "description": "Get started with modern JavaScript development as simple as the ABC", "main": "src/index.js", "bin": { "abc": "src/index.js" }, "author": "queicherius@gmail.com", "license": "MIT", "repository": { "type": "git", ...
f03a2f0514aecd15676208788c6106ff2c14bc0e
circle.yml
circle.yml
machine: node: version: 7.9.0 dependencies: override: - npm install -g istanbul - npm install -g yarn - yarn install general: artifacts: - ./coverage deployment: dev: branch: dev commands: - git config user.email "web.jam.adm@gmail.com" - git config user.name "circleci" ...
machine: node: version: 7.9.0 dependencies: pre: - npm install -g istanbul yarn codeclimate-test-reporter override: - yarn install test: post: - codeclimate-test-reporter < coverage/lcov.info general: artifacts: - ./coverage deployment: dev: branch: dev commands: - git conf...
Add codeclimate test coverage reporting
Add codeclimate test coverage reporting
YAML
mit
WebJamApps/web-jam-back,WebJamApps/web-jam-back
yaml
## Code Before: machine: node: version: 7.9.0 dependencies: override: - npm install -g istanbul - npm install -g yarn - yarn install general: artifacts: - ./coverage deployment: dev: branch: dev commands: - git config user.email "web.jam.adm@gmail.com" - git config user.n...
b573d5ad08cfc3a909d62aa9464bfdc4b97c452a
config/config.go
config/config.go
package config import ( "encoding/json" "fmt" "io/ioutil" "log" "os" ) type Configuration struct { Username string `json:"username"` Password string RememberMe bool `json:"remember_me"` } func configWizard() *Configuration { configuration := new(Configuration) fmt.Println("Welcome to gotify !\nThis wiz...
package config import ( "encoding/json" "fmt" "io/ioutil" "log" "os" ) type Configuration struct { Username string `json:"username"` Password string RememberMe bool `json:"remember_me"` } // Starts the wizard config func configWizard() *Configuration { configuration := new(Configuration) fmt.Println("W...
Add some docstring and the saveConfiguration method
Add some docstring and the saveConfiguration method
Go
mit
adrien-f/gotify
go
## Code Before: package config import ( "encoding/json" "fmt" "io/ioutil" "log" "os" ) type Configuration struct { Username string `json:"username"` Password string RememberMe bool `json:"remember_me"` } func configWizard() *Configuration { configuration := new(Configuration) fmt.Println("Welcome to go...
28bbf60b5c157e9c6405db1a80de5e05f42cc10a
page/4about.md
page/4about.md
--- layout: page title: About permalink: /about/ icon: heart type: page --- * content {:toc} ## Briefs of An Engineer I'm ZWF ----- Research engineer and Team Leader(2017.4-Now) ----- Tsinghua Tongfang Knowledge Network Technology Co., Ltd. (Beijing) ## Beliefs of The engineer Life is beautiful! ---- Wings u...
--- layout: page title: About permalink: /about/ icon: heart type: page --- ## Briefs of An Engineer >Research engineer/Team Leader(2017.4-Now) >Tsinghua Tongfang Knowledge Network Technology Co., Ltd. (Beijing) ## Beliefs of The engineer >Life is beautiful! >Wings up! Rock & roll! ## Comments >Yeah, actually...
CHANGE THE INFO ABOUT MYSELF
CHANGE THE INFO ABOUT MYSELF
Markdown
mit
zhangwenfan123/zwf,zhangwenfan123/zwf
markdown
## Code Before: --- layout: page title: About permalink: /about/ icon: heart type: page --- * content {:toc} ## Briefs of An Engineer I'm ZWF ----- Research engineer and Team Leader(2017.4-Now) ----- Tsinghua Tongfang Knowledge Network Technology Co., Ltd. (Beijing) ## Beliefs of The engineer Life is beautiful...
15b3e34cb731762b4b861ffda6b9a12b2855474b
lib/sous_chef/recipe.rb
lib/sous_chef/recipe.rb
module SousChef class Recipe def initialize(*flags, &block) @flags = flags @resources = [] instance_eval(&block) end def to_script @resources.map do |resource| @context = resource script = "" script << %{# #{resource.name}\n} if verbose? && resource.name ...
module SousChef class Recipe def initialize(*flags, &block) @flags = flags @resources = [] instance_eval(&block) end def to_script @resources.map do |resource| @context = resource script = "" script << %{# #{resource.name}\n} if verbose? && resource.name ...
Add file and directory methods to Recipe.
Add file and directory methods to Recipe.
Ruby
mit
engineyard/sous_chef,engineyard/sous_chef
ruby
## Code Before: module SousChef class Recipe def initialize(*flags, &block) @flags = flags @resources = [] instance_eval(&block) end def to_script @resources.map do |resource| @context = resource script = "" script << %{# #{resource.name}\n} if verbose? && ...
baebe45349b6e7daa0ecdcc42d97066792dbefd3
etc/phantomjs/exec.js
etc/phantomjs/exec.js
/* * */ var cordova = require('cordova'); var execProxy = require('cordova/exec/proxy'); module.exports = function (success, fail, service, action, args) { if ((service === 'Device') && (action === 'getDeviceInfo')) { success({ platform: 'PhantomJS', version: '1.9.7', uuid: 'BD905752-CCBB-4C...
/* * */ var cordova = require('cordova'); var execProxy = require('cordova/exec/proxy'); module.exports = function (success, fail, service, action, args) { if ((service === 'Device') && (action === 'getDeviceInfo')) { success({ platform: 'PhantomJS', version: '1.9.7', uuid: 'BD905752-CCBB-4C...
Return wifi as network status.
Return wifi as network status.
JavaScript
mit
TeamPraxis/grunt-steroids-setup
javascript
## Code Before: /* * */ var cordova = require('cordova'); var execProxy = require('cordova/exec/proxy'); module.exports = function (success, fail, service, action, args) { if ((service === 'Device') && (action === 'getDeviceInfo')) { success({ platform: 'PhantomJS', version: '1.9.7', uuid: '...
75c1dedb6eddfcb540ee29de5ae31b99d9927d07
reddit/admin.py
reddit/admin.py
from django.contrib import admin from reddit.models import RedditAccount from reddit.forms import RedditAccountForm from datetime import date class RedditAccountAdmin(admin.ModelAdmin): list_display = ('username', 'user', 'date_created', 'link_karma', 'comment_karma', 'last_update', 'is_valid') search_fields ...
from django.contrib import admin from reddit.models import RedditAccount from reddit.forms import RedditAccountForm from datetime import date class RedditAccountAdmin(admin.ModelAdmin): list_display = ('username', 'user', 'date_created', 'link_karma', 'comment_karma', 'last_update', 'validated', 'is_valid') s...
Add validation details to the Admin interface
Add validation details to the Admin interface
Python
bsd-3-clause
nikdoof/test-auth
python
## Code Before: from django.contrib import admin from reddit.models import RedditAccount from reddit.forms import RedditAccountForm from datetime import date class RedditAccountAdmin(admin.ModelAdmin): list_display = ('username', 'user', 'date_created', 'link_karma', 'comment_karma', 'last_update', 'is_valid') ...
2ae87c4cd168c534d98e7a2ad96d13078788ae6b
widgets/number_with_target/number_with_target.html
widgets/number_with_target/number_with_target.html
<a data-bind-href="link"> <div class="title-wrapper"> <h1 class="title" data-bind="title"></h1> </div> <div class="number-with-target"> <h2 class="value"> <p> YTD: <span data-bind="current | shortenedNumber | prepend prefix | append suffix"></span> / <span data-bind="ytd_t...
<a data-bind-href="link"> <div class="title-wrapper"> <h1 class="title" data-bind="title"></h1> </div> <div class="number-with-target"> <h2 class="value"> <!--<p> YTD: <span data-bind="current | shortenedNumber | prepend prefix | append suffix"></span> / <span data-bind="y...
Remove YTD targets for now
Remove YTD targets for now For https://github.com/theodi/shared/issues/164
HTML
mit
theodi/dashboards,theodi/dashboards,theodi/dashboards
html
## Code Before: <a data-bind-href="link"> <div class="title-wrapper"> <h1 class="title" data-bind="title"></h1> </div> <div class="number-with-target"> <h2 class="value"> <p> YTD: <span data-bind="current | shortenedNumber | prepend prefix | append suffix"></span> / <span ...
fff0ecbd1f29bb0fbac5c57eaf117b052eda01e8
_config.yml
_config.yml
markdown: kramdown highlighter: pygments url: http://jmcomets.com lsi: false exclude: [LICENSE, CNAME, README.md, .gitignore] # Theme customization - please change from the defaults! theme: # Color for top bar, links, etc highlight_color: '#48257f' # Profile links on the left sidebar, leave blank to ignore so...
markdown: kramdown highlighter: pygments url: http://jmcomets.com lsi: false exclude: [LICENSE, CNAME, README.md, .gitignore] # Theme customization - please change from the defaults! theme: # Color for top bar, links, etc highlight_color: '#48257f' # Profile links on the left sidebar, leave blank to ignore so...
Add google analytics tracking id
Add google analytics tracking id
YAML
mit
jmcomets/jmcomets.github.io
yaml
## Code Before: markdown: kramdown highlighter: pygments url: http://jmcomets.com lsi: false exclude: [LICENSE, CNAME, README.md, .gitignore] # Theme customization - please change from the defaults! theme: # Color for top bar, links, etc highlight_color: '#48257f' # Profile links on the left sidebar, leave blan...
4af05f55cae56ab6cd41a49a9d8f6765d637dc30
tests/tests.lisp
tests/tests.lisp
(cl:defpackage #:enhanced-eval-when_tests (:use #:cl #:parachute) (:shadowing-import-from #:enhanced-eval-when #:eval-when)) (cl:in-package #:enhanced-eval-when_tests) (defmacro test-passthrough (situations) `(is equal (macroexpand-1 '(eval-when ,situations do-it)) '(cl:eval-when ,situations do-it...
(cl:defpackage #:enhanced-eval-when_tests (:use #:cl #:parachute) (:shadowing-import-from #:enhanced-eval-when #:eval-when)) (cl:in-package #:enhanced-eval-when_tests) (defmacro test-passthrough (situations) `(is equal '(cl:eval-when ,situations do-it) (macroexpand-1 '(eval-when ,situations do-it)))) (d...
Use proper argument order for IS.
Tests: Use proper argument order for IS.
Common Lisp
unlicense
Hexstream/enhanced-eval-when
common-lisp
## Code Before: (cl:defpackage #:enhanced-eval-when_tests (:use #:cl #:parachute) (:shadowing-import-from #:enhanced-eval-when #:eval-when)) (cl:in-package #:enhanced-eval-when_tests) (defmacro test-passthrough (situations) `(is equal (macroexpand-1 '(eval-when ,situations do-it)) '(cl:eval-when ,...
5ea108e372d706858bc34f43844c3e50170d9229
extensions/hibernate-search-orm-elasticsearch/deployment/src/main/resources/dev-templates/entity-types.html
extensions/hibernate-search-orm-elasticsearch/deployment/src/main/resources/dev-templates/entity-types.html
{#include main} {#title}Index Entities{/title} {#body} <form method="post" enctype="application/x-www-form-urlencoded"> <input id="index" type="submit" class="btn btn-primary mb-2" value="Reindex Entities" > <table id="table" class="table table-striped"> <thead class="thead-dark"> <tr> ...
{#include main} {#title}Index Entities{/title} {#body} <form method="post" enctype="application/x-www-form-urlencoded"> <input id="index" type="submit" class="btn btn-primary mb-2" value="Reindex Entities" > <table id="table" class="table table-striped"> <colgroup> <col span="1" style="width...
Tweak column size for Hibernate Search Dev UI
Tweak column size for Hibernate Search Dev UI
HTML
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
html
## Code Before: {#include main} {#title}Index Entities{/title} {#body} <form method="post" enctype="application/x-www-form-urlencoded"> <input id="index" type="submit" class="btn btn-primary mb-2" value="Reindex Entities" > <table id="table" class="table table-striped"> <thead class="thead-dark"> ...
11c87876af79a586905a52b6602af0a9fba1e308
.travis.yml
.travis.yml
language: ruby rvm: - 2.0.0 before_script: - cp config/database.travis.yml config/database.yml - bundle exec rake db:setup
language: ruby rvm: - 2.0.0 before_script: - cp config/secrets.yml.example config/secrets.yml - cp config/database.travis.yml config/database.yml - bundle exec rake db:setup
Use example secrets so that devise doesn't throw exception on tests
Use example secrets so that devise doesn't throw exception on tests
YAML
agpl-3.0
mysociety/publicwhip,mysociety/publicwhip,mysociety/publicwhip
yaml
## Code Before: language: ruby rvm: - 2.0.0 before_script: - cp config/database.travis.yml config/database.yml - bundle exec rake db:setup ## Instruction: Use example secrets so that devise doesn't throw exception on tests ## Code After: language: ruby rvm: - 2.0.0 before_script: - cp config/secrets.yml.exa...
a1aea68f3a37d2a14e814c627a82ba55a2c11a74
lib/asciidoctor-diagram/util/cli.rb
lib/asciidoctor-diagram/util/cli.rb
require 'tempfile' require 'open3' module Asciidoctor module Diagram # @private module Cli def self.run(*args) stdout, stderr, status = Open3.capture3(*args) if status != 0 raise "#{File.basename(args[0])} failed: #{stdout.empty? ? stderr : stdout}" end { ...
require 'tempfile' require 'open3' module Asciidoctor module Diagram # @private module Cli def self.run(*args) stdout, stderr, status = Open3.capture3(*args) if status.exitstatus != 0 raise "#{File.basename(args[0])} failed: #{stdout.empty? ? stderr : stdout}" end ...
Correct process exit code check
Correct process exit code check
Ruby
mit
asciidoctor/asciidoctor-diagram
ruby
## Code Before: require 'tempfile' require 'open3' module Asciidoctor module Diagram # @private module Cli def self.run(*args) stdout, stderr, status = Open3.capture3(*args) if status != 0 raise "#{File.basename(args[0])} failed: #{stdout.empty? ? stderr : stdout}" en...
ab96487072c6f6ac62ab07771891d1dd9b77d3ec
app/presenters/courses_presenter.rb
app/presenters/courses_presenter.rb
require "#{Rails.root}/lib/word_count" #= Presenter for courses / cohort view class CoursesPresenter attr_reader :current_user, :cohort_param def initialize(current_user, cohort_param) @current_user = current_user @cohort_param = cohort_param end def admin_courses return unless current_user && cu...
require "#{Rails.root}/lib/word_count" #= Presenter for courses / cohort view class CoursesPresenter attr_reader :current_user, :cohort_param def initialize(current_user, cohort_param) @current_user = current_user @cohort_param = cohort_param end def admin_courses return unless current_user && cu...
Sort courses secondarily by title
Sort courses secondarily by title
Ruby
mit
WikiEducationFoundation/WikiEduDashboard,feelfreelinux/WikiEduDashboard,majakomel/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,KarmaHater/WikiEduDashboard,KarmaHater/WikiEduDashboard,Wowu/WikiEduDashboard,sejalkhatri/WikiEduDashboard,alpha721/WikiEduDashboard,alpha721/WikiEduDa...
ruby
## Code Before: require "#{Rails.root}/lib/word_count" #= Presenter for courses / cohort view class CoursesPresenter attr_reader :current_user, :cohort_param def initialize(current_user, cohort_param) @current_user = current_user @cohort_param = cohort_param end def admin_courses return unless cu...
cfcf5f25f11237750e9ffa2cb42534d168b48b41
custom/01-pdf-tools.el
custom/01-pdf-tools.el
;; pdf-tools for viewing PDFs (use-package pdf-tools :init (pdf-tools-install) ;; Setup a hook when we kill a pdf take a bookmark (add-hook 'kill-buffer-hook 'kill-buffer-hook-setup) :defer 5 :config ;; Set a bookmark on kill (defun kill-buffer-hook-setup () ;; Test that we have a filename and fi...
;; pdf-tools for viewing PDFs (use-package pdf-tools :init (pdf-tools-install) ;; Setup a hook when we kill a pdf take a bookmark (add-hook 'kill-buffer-hook 'kill-buffer-hook-setup) :config ;; Set a bookmark on kill (defun kill-buffer-hook-setup () ;; Test that we have a filename and file extensio...
Remove defer for pdf tools
Remove defer for pdf tools
Emacs Lisp
mit
map7/emacs-config,map7/emacs-config,map7/emacs-config
emacs-lisp
## Code Before: ;; pdf-tools for viewing PDFs (use-package pdf-tools :init (pdf-tools-install) ;; Setup a hook when we kill a pdf take a bookmark (add-hook 'kill-buffer-hook 'kill-buffer-hook-setup) :defer 5 :config ;; Set a bookmark on kill (defun kill-buffer-hook-setup () ;; Test that we have a...
bb71e1385ee495533887f5af4f7e737de0cfebc2
metadata/com.michaldabski.filemanager.txt
metadata/com.michaldabski.filemanager.txt
Categories:System License:MIT Web Site: Source Code:https://github.com/mick88/filemanager Issue Tracker:https://github.com/mick88/filemanager/issues Auto Name:File Manager Pro Summary:File manager Description: A file manager. . Repo Type:git Repo:https://github.com/mick88/filemanager.git Build:0.3,5 commit=c1b37...
Categories:System License:MIT Web Site: Source Code:https://github.com/mick88/filemanager Issue Tracker:https://github.com/mick88/filemanager/issues Auto Name:File Manager Pro Summary:File manager Description: A file manager. . Repo Type:git Repo:https://github.com/mick88/filemanager.git Build:0.3,5 commit=c1b37...
Update File Manager Pro to 0.4 (6)
Update File Manager Pro to 0.4 (6)
Text
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata,f-droid/fdroid-data
text
## Code Before: Categories:System License:MIT Web Site: Source Code:https://github.com/mick88/filemanager Issue Tracker:https://github.com/mick88/filemanager/issues Auto Name:File Manager Pro Summary:File manager Description: A file manager. . Repo Type:git Repo:https://github.com/mick88/filemanager.git Build:0.3,5 ...
7608a6edc9179d915b541076a1c2d909e688dbf4
examples/room/Cargo.toml
examples/room/Cargo.toml
[package] name = "room_example" version = "0.1.0" authors = ["Imanol Fernandez <mortimergoro@gmail.com>"] build = "build.rs" [dependencies] glutin = "0.7.4" gleam = "0.4" cgmath = "0.12" image = "0.12" android_glue = "0.2" [target.'cfg(target_os = "android")'.dependencies] android_injected_glue = {git = "https://gith...
[package] name = "room_example" version = "0.1.0" authors = ["Imanol Fernandez <mortimergoro@gmail.com>"] build = "build.rs" [dependencies] glutin = { git = "https://github.com/MortimerGoro/glutin/", branch = "android_fixes" } gleam = "0.4" cgmath = "0.12" image = "0.12" android_glue = "0.2" [target.'cfg(target_os =...
Use a custom fork of glutin for a correct Android life cycle
Use a custom fork of glutin for a correct Android life cycle
TOML
mit
MortimerGoro/rust-webvr,MortimerGoro/rust-webvr,MortimerGoro/rust-webvr
toml
## Code Before: [package] name = "room_example" version = "0.1.0" authors = ["Imanol Fernandez <mortimergoro@gmail.com>"] build = "build.rs" [dependencies] glutin = "0.7.4" gleam = "0.4" cgmath = "0.12" image = "0.12" android_glue = "0.2" [target.'cfg(target_os = "android")'.dependencies] android_injected_glue = {git...
93bcf4b494111bb7d857363419103600e956bd85
modules/warning/script.js
modules/warning/script.js
$(function() { var $warning = $('#warning > ul'); // Configure the scrolling area var nbItems = $warning.find('li').length; var parentWidth = $warning.parent().css('width'); parentWidth = parentWidth.substr(0, parentWidth.indexOf('px')); $warning.css('width', (nbItems * 100) + '%'); // Shows the element and star...
$(function() { var $warning = $('#warning > ul'); // Configure the scrolling area var nbItems = $warning.find('li').length; var parentWidth = $warning.parent().css('width'); parentWidth = parentWidth.substr(0, parentWidth.indexOf('px')); $warning.css('width', (nbItems * 100) + '%'); // Shows the element and star...
Change scroll mode to linear for warning module
Modules: Change scroll mode to linear for warning module
JavaScript
agpl-3.0
ECAM-Brussels/ECAMTV,ECAM-Brussels/ECAMTV,ECAM-Brussels/ECAMTV
javascript
## Code Before: $(function() { var $warning = $('#warning > ul'); // Configure the scrolling area var nbItems = $warning.find('li').length; var parentWidth = $warning.parent().css('width'); parentWidth = parentWidth.substr(0, parentWidth.indexOf('px')); $warning.css('width', (nbItems * 100) + '%'); // Shows the ...
c40c8d873a3c929da7fb4d1622f53dc1350bc053
gradle.properties
gradle.properties
VERSION_NAME=1.0.0 GROUP=com.chrishorner POM_DESCRIPTION=An overlay of lines to verify your UI elements adhere to specified intervals. POM_URL=https://github.com/chris-horner/RhythmSticks/ POM_SCM_URL=https://github.com/chris-horner/RhythmSticks/ POM_SCM_CONNECTION=scm:git@github.com:chris-horner/RhythmSticks.git POM_...
VERSION_NAME=1.0.1-SNAPSHOT GROUP=com.chrishorner POM_DESCRIPTION=An overlay of lines to verify your UI elements adhere to specified intervals. POM_URL=https://github.com/chris-horner/RhythmSticks/ POM_SCM_URL=https://github.com/chris-horner/RhythmSticks/ POM_SCM_CONNECTION=scm:git@github.com:chris-horner/RhythmSticks...
Prepare for next development iteration
Prepare for next development iteration
INI
apache-2.0
chris-horner/RhythmSticks,0359xiaodong/RhythmSticks
ini
## Code Before: VERSION_NAME=1.0.0 GROUP=com.chrishorner POM_DESCRIPTION=An overlay of lines to verify your UI elements adhere to specified intervals. POM_URL=https://github.com/chris-horner/RhythmSticks/ POM_SCM_URL=https://github.com/chris-horner/RhythmSticks/ POM_SCM_CONNECTION=scm:git@github.com:chris-horner/Rhyth...
cb0eb26634b31bad7468f516a80fdac8ef10d276
app/views/admin/shared/_topbar.html.erb
app/views/admin/shared/_topbar.html.erb
<nav class="topbar"> <div class="logo"> <%= link_to root_path do %> <%= image_tag 'logo.png' %> <% end %> </div> <div class="button-container"> <ul> <li><%= link_to "Sign Out", destroy_admin_session_path, method: :delete %></li> <li><%= link_to "Admin Home", admin_path %></li> <...
<nav class="topbar"> <div class="logo"> <%= link_to root_path do %> <%= image_tag 'logo.png' %> <% end %> </div> <div class="button-container"> <ul> <li><%= link_to "Sign Out", destroy_admin_session_path, method: :delete %></li> <li><%= link_to "Admin Home", admin_path %></li> ...
Add products link to admin tobbar
Add products link to admin tobbar Added a link to the admin topbar so you can navigate easilly to the admin products page
HTML+ERB
mit
gjh33/SimpleDream,gjh33/SimpleDream,gjh33/SimpleDream
html+erb
## Code Before: <nav class="topbar"> <div class="logo"> <%= link_to root_path do %> <%= image_tag 'logo.png' %> <% end %> </div> <div class="button-container"> <ul> <li><%= link_to "Sign Out", destroy_admin_session_path, method: :delete %></li> <li><%= link_to "Admin Home", admin_pa...