commit
stringlengths
40
40
old_file
stringlengths
4
184
new_file
stringlengths
4
184
old_contents
stringlengths
1
3.6k
new_contents
stringlengths
5
3.38k
subject
stringlengths
15
778
message
stringlengths
16
6.74k
lang
stringclasses
201 values
license
stringclasses
13 values
repos
stringlengths
6
116k
config
stringclasses
201 values
content
stringlengths
137
7.24k
diff
stringlengths
26
5.55k
diff_length
int64
1
123
relative_diff_length
float64
0.01
89
n_lines_added
int64
0
108
n_lines_deleted
int64
0
106
d94887d20a9b985593ae2566bc100345a4700021
example/stats.dart
example/stats.dart
import "package:osx/osx.dart"; void main() { say("Battery is at ${Battery.getLevel()}%"); }
import "package:osx/osx.dart"; void main() { say("Battery is at ${Battery.getLevel()}%"); say("There are ${Applications.list().length} apps installed"); }
Add More to Stats Example
Add More to Stats Example
Dart
mit
DirectMyFile/osx.dart
dart
## Code Before: import "package:osx/osx.dart"; void main() { say("Battery is at ${Battery.getLevel()}%"); } ## Instruction: Add More to Stats Example ## Code After: import "package:osx/osx.dart"; void main() { say("Battery is at ${Battery.getLevel()}%"); say("There are ${Applications.list().length} apps insta...
import "package:osx/osx.dart"; void main() { say("Battery is at ${Battery.getLevel()}%"); + say("There are ${Applications.list().length} apps installed"); }
1
0.2
1
0
805add46aee33c91774cdc1b9a3792d7261637c9
lib/specinfra/backend/base.rb
lib/specinfra/backend/base.rb
require 'singleton' require 'specinfra/command_result' module SpecInfra module Backend class Base include Singleton def set_commands(c) @commands = c end def set_example(e) @example = e end def commands @commands end def check_zero(cmd, ...
require 'singleton' require 'specinfra/command_result' module SpecInfra module Backend class Base include Singleton def set_commands(c) @commands = c end def set_example(e) @example = e end def commands @commands end def check_zero(cmd, ...
Return SpecInfra::CommandResult object when method name not start with `check_`
Return SpecInfra::CommandResult object when method name not start with `check_`
Ruby
mit
chinthakagodawita/specinfra,r7kamura/specinfra,hideyuki/specinfra,RoboticCheese/specinfra,serverspec/specinfra,thenexus6/specinfra,sergueik/specinfra,doc75/specinfra,ryotarai/specinfra,lurdan/specinfra,chef-partners/specinfra-cisco,minimum2scp/specinfra,chorrell/specinfra,seroron/specinfra,higanworks/specinfra,ihassin/...
ruby
## Code Before: require 'singleton' require 'specinfra/command_result' module SpecInfra module Backend class Base include Singleton def set_commands(c) @commands = c end def set_example(e) @example = e end def commands @commands end def ...
require 'singleton' require 'specinfra/command_result' module SpecInfra module Backend class Base include Singleton def set_commands(c) @commands = c end def set_example(e) @example = e end def commands @commands ...
6
0.193548
5
1
30452fdb4136930093bdf515969012b0b3fa73cf
src/mixins/_word-break.scss
src/mixins/_word-break.scss
/// Break long words, hyphenate if possible (requires `lang` attribute) /// @link http://kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/ /// @link http://caniuse.com/#feat=css-hyphens /// @link http://caniuse.com/#feat=wordwrap /// /// @ignore Demo http://jsbin.com/fubor /// @ignore - Hyphenation not cu...
/// Break long words, hyphenate if possible (requires `lang` attribute) /// @link http://kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/ /// @link https://justmarkup.com/log/2015/07/dealing-with-long-words-in-css/ /// @link http://caniuse.com/#feat=css-hyphens /// @link http://caniuse.com/#feat=wordwrap...
Comment update, add source link
Comment update, add source link
SCSS
mit
Threespot/frontline-sass
scss
## Code Before: /// Break long words, hyphenate if possible (requires `lang` attribute) /// @link http://kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/ /// @link http://caniuse.com/#feat=css-hyphens /// @link http://caniuse.com/#feat=wordwrap /// /// @ignore Demo http://jsbin.com/fubor /// @ignore - Hy...
/// Break long words, hyphenate if possible (requires `lang` attribute) /// @link http://kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/ + /// @link https://justmarkup.com/log/2015/07/dealing-with-long-words-in-css/ /// @link http://caniuse.com/#feat=css-hyphens /// @link http://caniuse.com/#fea...
1
0.066667
1
0
e21514e05ab43724163020fed0ba9c95911761eb
.travis.yml
.travis.yml
language: node_js node_js: - "node" - "7" - "6.8.1" env: - NODE_ENV=production before_script: - npm install -g mocha - npm install chai - npm install supertest
language: node_js node_js: - "node" - "7" - "6.8.1" env: - NODE_ENV=production before_script: - npm install -g mocha - npm install chai - npm install supertest - npm install cheerio
Add cheerio to Travis deps
Add cheerio to Travis deps
YAML
mit
slavapavlutin/pavlutin-node,slavapavlutin/pavlutin-node
yaml
## Code Before: language: node_js node_js: - "node" - "7" - "6.8.1" env: - NODE_ENV=production before_script: - npm install -g mocha - npm install chai - npm install supertest ## Instruction: Add cheerio to Travis deps ## Code After: language: node_js node_js: - "node" - "7" - "6.8.1" env: - NOD...
language: node_js node_js: - "node" - "7" - "6.8.1" env: - NODE_ENV=production before_script: - npm install -g mocha - npm install chai - npm install supertest + - npm install cheerio
1
0.090909
1
0
e913429cfbcd11dbaa9610f89d69b2747e28ca1b
patrons/PatronAdd.js
patrons/PatronAdd.js
import React, { Component, PropTypes } from 'react'; import { connect } from 'stripes-connect'; import PatronForm from './PatronForm'; // One of multiple stripes-connected components in the patrons module export default class PatronAdd extends Component { static contextTypes = { router: PropTypes.object.isRequir...
import React, { Component, PropTypes } from 'react'; import { connect } from 'stripes-connect'; import PatronForm from './PatronForm'; // One of multiple stripes-connected components in the patrons module export default class PatronAdd extends Component { static contextTypes = { router: PropTypes.object.isRequir...
Remove obsolete setting. Tweak comments.
Remove obsolete setting. Tweak comments.
JavaScript
apache-2.0
folio-org/stripes-experiments,folio-org/stripes-experiments
javascript
## Code Before: import React, { Component, PropTypes } from 'react'; import { connect } from 'stripes-connect'; import PatronForm from './PatronForm'; // One of multiple stripes-connected components in the patrons module export default class PatronAdd extends Component { static contextTypes = { router: PropTypes...
import React, { Component, PropTypes } from 'react'; import { connect } from 'stripes-connect'; import PatronForm from './PatronForm'; // One of multiple stripes-connected components in the patrons module export default class PatronAdd extends Component { static contextTypes = { router: PropTypes...
8
0.210526
3
5
5cba3170fdc0c65d53e6198f89dc4e78c7159a66
resources/views/layouts/app_login_admin.blade.php
resources/views/layouts/app_login_admin.blade.php
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{__('...
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="csrf-token" content...
Fix in admin meta tags
Fix in admin meta tags
PHP
mit
kirilkirkov/Shopping-Cart-Solution-Laravel,kirilkirkov/Shopping-Cart-Solution-Laravel,kirilkirkov/Shopping-Cart-Solution-Laravel
php
## Code Before: <!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="{{ csrf_token() }}"> ...
<!DOCTYPE html> <html lang="{{ app()->getLocale() }}"> <head> - <meta charset="utf-8"> + <meta charset="utf-8" /> ? ++ - <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> ? ...
10
0.434783
5
5
3343252dc4ac07c50d53de60bb7f364cdb49c970
docs/basic-http-auth/README.md
docs/basic-http-auth/README.md
Remote **CIKit** host is Nginx based web server which protects web-traffic using basic HTTP authentication. You will [set the credentials for it during server provisioning](../../scripts/provision.yml#L41-57). Besides, you can set the list of IP addresses which will be whitelisted for authentication omitting. [Add IP...
Remote **CIKit** host is Nginx based web server which protects web-traffic using basic HTTP authentication. You can configure the credentials for in different ways: using `.env-config.yml`, passing `--http-auth-user=admin --http-auth-pass=password` options to `cikit` utility or leaving everything as is, and get passwo...
Fix docs for basic HTTP auth
[CIKit] Fix docs for basic HTTP auth
Markdown
apache-2.0
BR0kEN-/cikit,BR0kEN-/cikit,BR0kEN-/cikit,BR0kEN-/cikit,BR0kEN-/cikit
markdown
## Code Before: Remote **CIKit** host is Nginx based web server which protects web-traffic using basic HTTP authentication. You will [set the credentials for it during server provisioning](../../scripts/provision.yml#L41-57). Besides, you can set the list of IP addresses which will be whitelisted for authentication o...
- Remote **CIKit** host is Nginx based web server which protects web-traffic using basic HTTP authentication. You will [set the credentials for it during server provisioning](../../scripts/provision.yml#L41-57). + Remote **CIKit** host is Nginx based web server which protects web-traffic using basic HTTP authenticat...
14
0.777778
12
2
56d7265655f2ec6811b1b705f892bb843b735b1d
dev-tests/run.sh
dev-tests/run.sh
get_script_dir () { SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$( readlink "$SOURCE" )" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" done cd -P "$( dirname "$SOURCE" )" pwd } ROOT_DIR="$(get_scr...
get_script_dir () { SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$( readlink "$SOURCE" )" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" done cd -P "$( dirname "$SOURCE" )" pwd } ROOT_DIR="$(get_scr...
Add tests to ensure that the containers starts without problems
Add tests to ensure that the containers starts without problems
Shell
apache-2.0
HBPSP8Repo/workflow,HBPSP8Repo/workflow,LREN-CHUV/workflow,LREN-CHUV/workflow
shell
## Code Before: get_script_dir () { SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$( readlink "$SOURCE" )" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" done cd -P "$( dirname "$SOURCE" )" pwd } ROO...
get_script_dir () { SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$( readlink "$SOURCE" )" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" done cd -P "$( dirname "$SOURCE" )" pwd ...
14
0.538462
14
0
06b21e9e374761410637f063a90d235abd0e5326
.travis.yml
.travis.yml
language: clojure lein: lein2 script: "lein2 do test-phantom*, test-node*" jdk: - oraclejdk8 sudo: false
language: clojure lein: lein2 before_script: - phantomjs -v - node -v script: "lein2 do test-phantom*, test-node*" jdk: - oraclejdk8 sudo: false
Add version display of current testing harness
Add version display of current testing harness
YAML
epl-1.0
Lambda-X/replumb,Lambda-X/replumb,ScalaConsultants/replumb,ScalaConsultants/replumb,ScalaConsultants/replumb,Lambda-X/replumb
yaml
## Code Before: language: clojure lein: lein2 script: "lein2 do test-phantom*, test-node*" jdk: - oraclejdk8 sudo: false ## Instruction: Add version display of current testing harness ## Code After: language: clojure lein: lein2 before_script: - phantomjs -v - node -v script: "lein2 do test-phantom*, test...
language: clojure lein: lein2 + before_script: + - phantomjs -v + - node -v script: "lein2 do test-phantom*, test-node*" jdk: - oraclejdk8 sudo: false
3
0.5
3
0
cc79cbc7e09587596bec2bda5bb4ef954a2f6137
javascript/graph-widget/src/webapi.js
javascript/graph-widget/src/webapi.js
import 'isomorphic-fetch' /** * Fetch a list of nodes and their relation types */ export function fetchNodeList() { return fetch('//localhost:8000/admin/chemtrails_permissions/accessrule/nodelist/').then((response) => { if (response.status >= 400) { throw new Error('Bad response from the server') } ...
import 'isomorphic-fetch' /** * Fetch a list of nodes and their relation types */ export function fetchNodeList() { return fetch('//localhost:8000/admin/chemtrails_permissions/accessrule/nodelist/', { credentials: 'include' }).then((response) => { if (response.status >= 400) { throw new Error('Bad ...
Include credentials in API call
Include credentials in API call
JavaScript
mit
inonit/django-chemtrails,inonit/django-chemtrails,inonit/django-chemtrails
javascript
## Code Before: import 'isomorphic-fetch' /** * Fetch a list of nodes and their relation types */ export function fetchNodeList() { return fetch('//localhost:8000/admin/chemtrails_permissions/accessrule/nodelist/').then((response) => { if (response.status >= 400) { throw new Error('Bad response from the ...
import 'isomorphic-fetch' /** * Fetch a list of nodes and their relation types */ export function fetchNodeList() { - return fetch('//localhost:8000/admin/chemtrails_permissions/accessrule/nodelist/').then((response) => { ? ...
4
0.307692
3
1
c2f2acc518f017a0d7b8ccfa6640595f2769aa98
nib/plugins/prettyurls.py
nib/plugins/prettyurls.py
from __future__ import absolute_import, division, print_function, unicode_literals from os import path from nib import Resource, Processor, after apache_redirects = b""" RewriteCond %{DOCUMENT_ROOT}/$1/index.html -f RewriteRule ^(.*)$ /$1/index.html [L] RewriteCond %{DOCUMENT_ROOT}/$1.html -f RewriteRule ^(.*)$ /$1...
from __future__ import absolute_import, division, print_function, unicode_literals from os import path from nib import Resource, Processor, after apache_redirects = b""" RewriteCond %{DOCUMENT_ROOT}/$1/index.html -f RewriteRule ^(.*)$ /$1/index.html [L] RewriteCond %{DOCUMENT_ROOT}/$1.html -f RewriteRule ^(.*)$ /$1...
Add nginx rules for pretty URLs
Add nginx rules for pretty URLs
Python
mit
jreese/nib
python
## Code Before: from __future__ import absolute_import, division, print_function, unicode_literals from os import path from nib import Resource, Processor, after apache_redirects = b""" RewriteCond %{DOCUMENT_ROOT}/$1/index.html -f RewriteRule ^(.*)$ /$1/index.html [L] RewriteCond %{DOCUMENT_ROOT}/$1.html -f Rewrit...
from __future__ import absolute_import, division, print_function, unicode_literals from os import path from nib import Resource, Processor, after apache_redirects = b""" RewriteCond %{DOCUMENT_ROOT}/$1/index.html -f RewriteRule ^(.*)$ /$1/index.html [L] RewriteCond %{DOCUMENT_ROOT}/$1.html -f ...
12
0.25
12
0
e86ad1b8fe54269e865ecb78346b4c3a8f211388
Gulpfile.js
Gulpfile.js
'use-strict'; ////////////////////////////// // Requires ////////////////////////////// var gulp = require('gulp'); var svgSprite = require('gulp-svg-sprite'); var rename = require('gulp-rename'); // SVG Config var config = { mode: { symbol: { // symbol mode to build the SVG dest: 'sprite', // destinatio...
'use-strict'; ////////////////////////////// // Requires ////////////////////////////// var gulp = require('gulp'); var svgSprite = require('gulp-svg-sprite'); // SVG Config var config = { mode: { symbol: { // symbol mode to build the SVG dest: 'sprite', // destination foldeer sprite: 'sprite.svg', ...
Remove rename since gulp.dest will copy files on its own
Remove rename since gulp.dest will copy files on its own
JavaScript
mit
una/svg-icon-system-boilerplate,una/svg-icon-system-boilerplate
javascript
## Code Before: 'use-strict'; ////////////////////////////// // Requires ////////////////////////////// var gulp = require('gulp'); var svgSprite = require('gulp-svg-sprite'); var rename = require('gulp-rename'); // SVG Config var config = { mode: { symbol: { // symbol mode to build the SVG dest: 'sprite...
'use-strict'; ////////////////////////////// // Requires ////////////////////////////// var gulp = require('gulp'); var svgSprite = require('gulp-svg-sprite'); - var rename = require('gulp-rename'); - // SVG Config var config = { mode: { symbol: { // symbol mode to build the SVG ...
3
0.085714
0
3
6837e4c5b8b0a6b9566ef91ef0ae33e789bb6fd4
doom.d/config.el
doom.d/config.el
;;; ~/.doom.d/config.el -*- lexical-binding: t; -*- ;; Place your private configuration here (setq doom-font (font-spec :family "Iosevka" :size 16) doom-theme 'doom-one-light) ; doom-theme 'doom-molokai) ; ln -s /Users/david/Library/Mobile\ Documents/iCloud\~com\~appsonthemove\~beorg/Documents/org org (setq org-a...
;;; ~/.doom.d/config.el -*- lexical-binding: t; -*- ;; Place your private configuration here (setq doom-font (font-spec :family "Iosevka" :size 16) doom-theme 'leuven) ; doom-theme 'doom-molokai) ; ln -s /Users/david/Library/Mobile\ Documents/iCloud\~com\~appsonthemove\~beorg/Documents/org org (setq org-agenda-fi...
Change color theme, track all under ~/org
Change color theme, track all under ~/org
Emacs Lisp
mit
drmohundro/dotfiles
emacs-lisp
## Code Before: ;;; ~/.doom.d/config.el -*- lexical-binding: t; -*- ;; Place your private configuration here (setq doom-font (font-spec :family "Iosevka" :size 16) doom-theme 'doom-one-light) ; doom-theme 'doom-molokai) ; ln -s /Users/david/Library/Mobile\ Documents/iCloud\~com\~appsonthemove\~beorg/Documents/org...
;;; ~/.doom.d/config.el -*- lexical-binding: t; -*- ;; Place your private configuration here (setq doom-font (font-spec :family "Iosevka" :size 16) - doom-theme 'doom-one-light) + doom-theme 'leuven) ; doom-theme 'doom-molokai) ; ln -s /Users/david/Library/Mobile\ Documents/iCloud\~com\~appso...
8
0.210526
2
6
0c218695366ef92082d91b98d12e74ec73c014f9
.travis.yml
.travis.yml
language: python python: - "2.7" install: "pip install -r requirements.txt --use-mirrors" before_script: - npm install -g jshint - cp settings.sample.py settings.py - export=LINTREVIEW_SETTINGS=./settings.py script: "nosetests" notifications: email: on_failure: change
language: python python: - "2.7" install: "pip install -r requirements.txt --use-mirrors" before_script: - npm install -g jshint - cp settings.sample.py settings.py env: - LINTREVIEW_SETTINGS="./settings.py" script: "nosetests" notifications: email: on_failure: change
Update how environment vars are set.
Update how environment vars are set.
YAML
mit
zoidbergwill/lint-review,adrianmoisey/lint-review,markstory/lint-review,markstory/lint-review,adrianmoisey/lint-review,markstory/lint-review,zoidbergwill/lint-review,zoidbergwill/lint-review
yaml
## Code Before: language: python python: - "2.7" install: "pip install -r requirements.txt --use-mirrors" before_script: - npm install -g jshint - cp settings.sample.py settings.py - export=LINTREVIEW_SETTINGS=./settings.py script: "nosetests" notifications: email: on_failure: change ## Instruction: Updat...
language: python python: - "2.7" install: "pip install -r requirements.txt --use-mirrors" before_script: - npm install -g jshint - cp settings.sample.py settings.py + env: - - export=LINTREVIEW_SETTINGS=./settings.py ? ------- + - LINTREVIEW_SETTINGS="./settings.py" ? ...
3
0.25
2
1
5830d21a0304704d10ea5173ab4596848eefff26
subreddit.js
subreddit.js
var bar = $('.sr-list'); var subreddits = ['nba', 'madmen', 'gameofthrones', 'programming', 'python', 'starcraft', 'malefashionadvice', 'wow', 'arduino', 'videos']; bar.empty(); bar.append('<ul class="flat-list sr-bar hover">'+ '<li><a href="http://www.reddit.com/r/all">all</a></li>'+ ...
var $bar = $('.sr-list'); var $customBar = $('.flat-list.sr-bar.hover:eq(1)'); var subreddits = ['nba', 'madmen', 'gameofthrones', 'programming', 'python', 'starcraft', 'malefashionadvice', 'wow', 'arduino', 'videos']; var i, len; $customBar.empty(); $bar.children('span.separator:eq(1)').remove(); $b...
Use eq() to select correct elements
Use eq() to select correct elements
JavaScript
mit
oliviert/pinnit
javascript
## Code Before: var bar = $('.sr-list'); var subreddits = ['nba', 'madmen', 'gameofthrones', 'programming', 'python', 'starcraft', 'malefashionadvice', 'wow', 'arduino', 'videos']; bar.empty(); bar.append('<ul class="flat-list sr-bar hover">'+ '<li><a href="http://www.reddit.com/r/all">all...
- var bar = $('.sr-list'); + var $bar = $('.sr-list'); ? + + var $customBar = $('.flat-list.sr-bar.hover:eq(1)'); var subreddits = ['nba', 'madmen', 'gameofthrones', 'programming', 'python', 'starcraft', 'malefashionadvice', 'wow', 'arduino', 'videos']; - bar.empty(); - bar.append('<ul class...
18
0.9
7
11
554d61a3ba43fe0d1416376f0eb4201b25c95481
client/templates/photos/photo_new.html
client/templates/photos/photo_new.html
<template name="photoNew"> <form name="photo" class="item-form form" enctype="multipart/form-data"> <div class="form-group"> <div class="controls"> <div class="fileUpload btn btn-primary btn-lg"> <span class="glyphicon glyphicon-camera"></span> <input class="upload" id="fileinput"...
<template name="photoNew"> <form name="photo" class="item-form form" enctype="multipart/form-data"> <div class="form-group"> <div class="controls"> <div class="fileUpload btn btn-primary btn-lg"> <span class="glyphicon glyphicon-camera"></span> <input class="upload" id="fileinput"...
Add camera as capture device
Add camera as capture device
HTML
mit
mxipartners/mijnmxi,mxipartners/mijnmxi,mxipartners/mijnmxi
html
## Code Before: <template name="photoNew"> <form name="photo" class="item-form form" enctype="multipart/form-data"> <div class="form-group"> <div class="controls"> <div class="fileUpload btn btn-primary btn-lg"> <span class="glyphicon glyphicon-camera"></span> <input class="upload...
<template name="photoNew"> <form name="photo" class="item-form form" enctype="multipart/form-data"> <div class="form-group"> <div class="controls"> <div class="fileUpload btn btn-primary btn-lg"> <span class="glyphicon glyphicon-camera"></span> - <input class="upload" ...
2
0.0625
1
1
acb1a34584a2f31dbe59b77d48f782042293b049
include/ieeefp.h
include/ieeefp.h
/* $NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $ */ /* * Written by J.T. Conklin, Apr 6, 1995 * Public domain. */ #ifndef _IEEEFP_H_ #define _IEEEFP_H_ #include <sys/cdefs.h> #include <machine/ieeefp.h> #ifdef __i386__ #include <machine/floatingpoint.h> #else /* !__i386__ */ extern fp_rnd fpgetroun...
/* $NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $ */ /* * Written by J.T. Conklin, Apr 6, 1995 * Public domain. */ #ifndef _IEEEFP_H_ #define _IEEEFP_H_ #include <sys/cdefs.h> #include <machine/ieeefp.h> #ifdef __i386__ #include <machine/floatingpoint.h> #else /* !__i386__ */ __BEGIN_DECLS extern fp_rn...
Allow fpsetmask(3) and friends to be used from a C++ program on the Alpha.
Allow fpsetmask(3) and friends to be used from a C++ program on the Alpha. Reviewed by: dfr
C
bsd-3-clause
jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase
c
## Code Before: /* $NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $ */ /* * Written by J.T. Conklin, Apr 6, 1995 * Public domain. */ #ifndef _IEEEFP_H_ #define _IEEEFP_H_ #include <sys/cdefs.h> #include <machine/ieeefp.h> #ifdef __i386__ #include <machine/floatingpoint.h> #else /* !__i386__ */ extern fp_...
/* $NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $ */ /* * Written by J.T. Conklin, Apr 6, 1995 * Public domain. */ #ifndef _IEEEFP_H_ #define _IEEEFP_H_ #include <sys/cdefs.h> #include <machine/ieeefp.h> #ifdef __i386__ #include <machine/floatingpoint.h> #else /* !__i386...
2
0.08
2
0
61a290dc7541a7931c24728323651fbd0ad56d09
app/views/documentation/api_examples/_php.html.haml
app/views/documentation/api_examples/_php.html.haml
%p Use the following code snippet to get data from the API. :coderay #!php <?php $morph_api_url = "https://api.morph.io/[USERNAME]/[SCRAPER NAME]/data.json"; $morph_api_key="[API KEY]"; $query="select * from 'data' limit 10"; $response=file_get_contents($morph_api_url.'?key='.$morph_api_key.'&query='.url...
%p Use the following code snippet to get data from the API. - block = capture do :coderay #!php <?php $morph_api_url = "[scraper_url]/data.json"; $morph_api_key="[api_key]"; $query="[query]"; $response=file_get_contents($morph_api_url.'?key='.$morph_api_key.'&query='.urlencode($query)); ...
Make values in php example live updating
Make values in php example live updating
Haml
agpl-3.0
openaustralia/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph
haml
## Code Before: %p Use the following code snippet to get data from the API. :coderay #!php <?php $morph_api_url = "https://api.morph.io/[USERNAME]/[SCRAPER NAME]/data.json"; $morph_api_key="[API KEY]"; $query="select * from 'data' limit 10"; $response=file_get_contents($morph_api_url.'?key='.$morph_api_k...
%p Use the following code snippet to get data from the API. + - block = capture do - :coderay + :coderay ? ++ - #!php + #!php ? ++ - <?php + <?php ? ++ - $morph_api_url = "https://api.morph.io/[USERNAME]/[SCRAPER NAME]/data.json"; - $morph_api_key="[API KEY]"; + $morph_api_url = "[scraper_...
27
1.588235
15
12
3c8c62370d1b12a81883df429d448353a96160c9
bower.sh
bower.sh
cwd=$(pwd) function install_bower { dir=$1 cwd=$2 for folder in ${dir}; do dirname="$cwd/$folder" echo "$dirname\n" if [[ ! -d "$dirname" ]]; then continue fi; cd $dirname echo $dirname if [ -e bower.json ]; then bower i...
cwd=$(pwd) function install_bower { dir=$1 cwd=$2 for folder in ${dir}; do dirname="$cwd/$folder" if [[ ! -d "$dirname" ]]; then continue fi; cd $dirname if [ -e bower.json ]; then bower install fi done cd $cwd } install...
Remove debug and fix shebang
Remove debug and fix shebang
Shell
mit
WeareJH/Hub,WeareJH/Hub,WeareJH/Hub
shell
## Code Before: cwd=$(pwd) function install_bower { dir=$1 cwd=$2 for folder in ${dir}; do dirname="$cwd/$folder" echo "$dirname\n" if [[ ! -d "$dirname" ]]; then continue fi; cd $dirname echo $dirname if [ -e bower.json ]; then ...
cwd=$(pwd) function install_bower { dir=$1 cwd=$2 for folder in ${dir}; do dirname="$cwd/$folder" - echo "$dirname\n" - if [[ ! -d "$dirname" ]]; then continue fi; - cd $dirname - echo $dirname - if [...
5
0.142857
0
5
361edf438eaa7bbe7e0b14cc5c78c238be7c650c
plugins/system/conntrack-metrics.rb
plugins/system/conntrack-metrics.rb
require 'sensu-plugin/metric/cli' require 'socket' class Conntrack < Sensu::Plugin::Metric::CLI::Graphite option :scheme, description: 'Metric naming scheme, text to prepend to .$parent.$child', long: '--scheme SCHEME', default: "#{Socket.gethostname}.conntrack.connections" option :tab...
require 'sensu-plugin/metric/cli' require 'socket' class Conntrack < Sensu::Plugin::Metric::CLI::Graphite option :scheme, description: 'Metric naming scheme, text to prepend to .$parent.$child', long: '--scheme SCHEME', default: "#{Socket.gethostname}.conntrack.connections" option :tab...
Exclude errors in the conntrack shell output
Exclude errors in the conntrack shell output This keeps warning messages from being sent to graphite in addition to the metric values.
Ruby
mit
alexhjlee/sensu-community-plugins,justanshulsharma/sensu-community-plugins,gferguson-gd/sensu-community-plugins,gferguson-gd/sensu-community-plugins,jbehrends/sensu-community-plugins,tuenti/sensu-community-plugins,pkaeding/sensu-community-plugins,zerOnepal/sensu-community-plugins,nilroy/sensu-community-plugins,shnmorim...
ruby
## Code Before: require 'sensu-plugin/metric/cli' require 'socket' class Conntrack < Sensu::Plugin::Metric::CLI::Graphite option :scheme, description: 'Metric naming scheme, text to prepend to .$parent.$child', long: '--scheme SCHEME', default: "#{Socket.gethostname}.conntrack.connections...
require 'sensu-plugin/metric/cli' require 'socket' class Conntrack < Sensu::Plugin::Metric::CLI::Graphite option :scheme, description: 'Metric naming scheme, text to prepend to .$parent.$child', long: '--scheme SCHEME', default: "#{Socket.gethostname}.conntrack.connectio...
2
0.083333
1
1
b3f1c64ff54ec808961534f7d7352d0eb87d40a1
modules/org.pathvisio.launcher/build.xml
modules/org.pathvisio.launcher/build.xml
<?xml version="1.0"?> <project name="org.pathvisio.launcher" default="jar" basedir="."> <import file="../../build-common.xml" /> <property name="jar.name" value="org.pathvisio.launcher.jar"/> <target name="prepare" depends="svnversion"> <echo file="resources/version.props"> pathvisio.revision = ${subversion_re...
<?xml version="1.0"?> <project name="org.pathvisio.launcher" default="jar" basedir="."> <import file="../../build-common.xml" /> <property name="jar.name" value="org.pathvisio.launcher.jar"/> <target name="prepare" depends="svnversion"> <mkdir dir="resources"/> <echo file="resources/version.props"> pathvisio...
Fix missing resources dir when writing version.props
Fix missing resources dir when writing version.props git-svn-id: 6d8cdd4af04c6f63acdc5840a680025514bef303@3669 4f21837e-9f06-0410-ae49-bac5c3a7b9b6
XML
apache-2.0
egonw/pathvisio,egonw/pathvisio,egonw/pathvisio,egonw/pathvisio,egonw/pathvisio
xml
## Code Before: <?xml version="1.0"?> <project name="org.pathvisio.launcher" default="jar" basedir="."> <import file="../../build-common.xml" /> <property name="jar.name" value="org.pathvisio.launcher.jar"/> <target name="prepare" depends="svnversion"> <echo file="resources/version.props"> pathvisio.revision =...
<?xml version="1.0"?> <project name="org.pathvisio.launcher" default="jar" basedir="."> <import file="../../build-common.xml" /> <property name="jar.name" value="org.pathvisio.launcher.jar"/> <target name="prepare" depends="svnversion"> + <mkdir dir="resources"/> <echo file="resources/versi...
1
0.027027
1
0
59b53507960d88a3f6d270c4996ac1e95a1c7c00
src/js/letters/containers/LettersApp.jsx
src/js/letters/containers/LettersApp.jsx
import React from 'react'; import { connect } from 'react-redux'; import RequiredLoginView from '../../common/components/RequiredLoginView'; // This needs to be a React component for RequiredLoginView to pass down // the isDataAvailable prop, which is only passed on failure. function AppContent({ children, isDataAvai...
import React from 'react'; import { connect } from 'react-redux'; import RequiredLoginView from '../../common/components/RequiredLoginView'; // This needs to be a React component for RequiredLoginView to pass down // the isDataAvailable prop, which is only passed on failure. function AppContent({ children, isDataAvai...
Change basic error message content
Change basic error message content
JSX
cc0-1.0
department-of-veterans-affairs/vets-website,department-of-veterans-affairs/vets-website
jsx
## Code Before: import React from 'react'; import { connect } from 'react-redux'; import RequiredLoginView from '../../common/components/RequiredLoginView'; // This needs to be a React component for RequiredLoginView to pass down // the isDataAvailable prop, which is only passed on failure. function AppContent({ chil...
import React from 'react'; import { connect } from 'react-redux'; import RequiredLoginView from '../../common/components/RequiredLoginView'; // This needs to be a React component for RequiredLoginView to pass down // the isDataAvailable prop, which is only passed on failure. function AppContent({ chil...
3
0.052632
2
1
9729fb382435520b50fa7ed4a71323b4c948ca00
vim/after/vimrc_after.vim
vim/after/vimrc_after.vim
let g:yadr_disable_solarized_enhancements = 1 let g:hybrid_use_iTerm_colors = 1 colorscheme hybrid
let g:yadr_disable_solarized_enhancements = 1 let g:hybrid_use_Xresources = 1 colorscheme hybrid
Update hybrid settings due to vim-hybrid update
Update hybrid settings due to vim-hybrid update
VimL
bsd-2-clause
stevenbarragan/dotfiles,stevenbarragan/dotfiles
viml
## Code Before: let g:yadr_disable_solarized_enhancements = 1 let g:hybrid_use_iTerm_colors = 1 colorscheme hybrid ## Instruction: Update hybrid settings due to vim-hybrid update ## Code After: let g:yadr_disable_solarized_enhancements = 1 let g:hybrid_use_Xresources = 1 colorscheme hybrid
let g:yadr_disable_solarized_enhancements = 1 - let g:hybrid_use_iTerm_colors = 1 ? ^^ -- ^^^^ + let g:hybrid_use_Xresources = 1 ? ^^ +++ ^ + colorscheme hybrid
3
1
2
1
fb56756ae5c704166bc79c60fc8a5aa6c59b34e4
requirements.txt
requirements.txt
backoff==1.4.0 google-cloud-error-reporting==0.23.0 google-cloud-language==0.23.0 google-cloud-logging==0.23.1 holidays==0.8.1 lxml==3.7.3 oauth2==1.9.0.post1 pytest==3.0.6 pytz==2016.10 requests==2.13.0 simplejson==3.10.0 tweepy==3.5.0
backoff==1.4.0 google-cloud==0.22.0 holidays==0.8.1 lxml==3.7.3 oauth2==1.9.0.post1 pytest==3.0.6 pytz==2016.10 requests==2.13.0 simplejson==3.10.0 tweepy==3.5.0
Revert back to 0.22.0 of google-cloud.
Revert back to 0.22.0 of google-cloud. The error reporting in 0.23.0 crashes and the logging and language libraries need to match. Also now listing just one entry for all.
Text
mit
maxbbraun/trump2cash
text
## Code Before: backoff==1.4.0 google-cloud-error-reporting==0.23.0 google-cloud-language==0.23.0 google-cloud-logging==0.23.1 holidays==0.8.1 lxml==3.7.3 oauth2==1.9.0.post1 pytest==3.0.6 pytz==2016.10 requests==2.13.0 simplejson==3.10.0 tweepy==3.5.0 ## Instruction: Revert back to 0.22.0 of google-cloud. The error ...
backoff==1.4.0 - google-cloud-error-reporting==0.23.0 - google-cloud-language==0.23.0 ? --------- ^ + google-cloud==0.22.0 ? ^ - google-cloud-logging==0.23.1 holidays==0.8.1 lxml==3.7.3 oauth2==1.9.0.post1 pytest==3.0.6 pytz==2016.10 requests==2.13.0 simplejson==3.10.0...
4
0.333333
1
3
33793017933028ea196e9df30a055380dec5ca33
test/setupTest.js
test/setupTest.js
/* eslint-env mocha */ // TODO : Do not reference the server from here or any related files import { dropTestDb } from './utils' import { SERVER_PORTS } from './constants' import nconf from 'nconf' // TODO : Remove the need for this nconf.set('router', { httpPort: SERVER_PORTS.httpPort }) before(async () => { await...
/* eslint-env mocha */ require('../src/config/config') import { SERVER_PORTS } from './constants' import nconf from 'nconf' // Set the router http port to the mocked constant value for the tests nconf.set('router', { httpPort: SERVER_PORTS.httpPort })
Remove the clearing of the database from the script
Remove the clearing of the database from the script This was causing race conditions with some of the files which were already connected to a mongo connection and then not having a reference to an existing collection. This was picked up in the LogsAPITests were the tests were failing intermittently. Replaced the inclu...
JavaScript
mpl-2.0
jembi/openhim-core-js,jembi/openhim-core-js
javascript
## Code Before: /* eslint-env mocha */ // TODO : Do not reference the server from here or any related files import { dropTestDb } from './utils' import { SERVER_PORTS } from './constants' import nconf from 'nconf' // TODO : Remove the need for this nconf.set('router', { httpPort: SERVER_PORTS.httpPort }) before(async...
/* eslint-env mocha */ - // TODO : Do not reference the server from here or any related files - import { dropTestDb } from './utils' + require('../src/config/config') + import { SERVER_PORTS } from './constants' import nconf from 'nconf' - // TODO : Remove the need for this + // Set the router http port to th...
10
0.833333
3
7
a5fdffe2f37e2e1c34044c259ef56c0e5feca0cb
allegedb/allegedb/tests/test_branch_plan.py
allegedb/allegedb/tests/test_branch_plan.py
import pytest import allegedb @pytest.fixture(scope='function') def orm(): with allegedb.ORM("sqlite:///:memory:") as it: yield it def test_single_plan(orm): g = orm.new_graph('graph') g.add_node(0) orm.turn = 1 g.add_node(1) with orm.plan(): orm.turn = 2 g.add_node(2...
import pytest import allegedb @pytest.fixture(scope='function') def orm(): with allegedb.ORM("sqlite:///:memory:") as it: yield it def test_single_plan(orm): g = orm.new_graph('graph') g.add_node(0) orm.turn = 1 g.add_node(1) with orm.plan(): orm.turn = 2 g.add_node(2...
Add an extra check in that test
Add an extra check in that test
Python
agpl-3.0
LogicalDash/LiSE,LogicalDash/LiSE
python
## Code Before: import pytest import allegedb @pytest.fixture(scope='function') def orm(): with allegedb.ORM("sqlite:///:memory:") as it: yield it def test_single_plan(orm): g = orm.new_graph('graph') g.add_node(0) orm.turn = 1 g.add_node(1) with orm.plan(): orm.turn = 2 ...
import pytest import allegedb @pytest.fixture(scope='function') def orm(): with allegedb.ORM("sqlite:///:memory:") as it: yield it def test_single_plan(orm): g = orm.new_graph('graph') g.add_node(0) orm.turn = 1 g.add_node(1) with orm.plan(): ...
4
0.121212
4
0
e5b6619b7eacf0b341b84b76725da69106a1f420
public/js/js.thirdparty.bat
public/js/js.thirdparty.bat
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.autocomplete.js ^ --js=jquery/jquery.tablesor...
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.autocomplete.js ^ --js=jquery/jquery.tablesor...
Remove another jsBeizer reference as we weren't using it
Remove another jsBeizer reference as we weren't using it
Batchfile
mit
marekr/siggy,marekr/siggy,marekr/siggy,marekr/siggy
batchfile
## Code Before: "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.autocomplete.js ^ --js=jquery/jquery....
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.autocomplete.js ^ --js=jquery/jquer...
1
0.041667
0
1
d1534795736c5938eba07a288e9996236211025b
README.md
README.md
> A Hierarchical Filesystem simulation in C++. This is a project I made during my Masters at Computer Applications course at Dept. of Computer Science, university of Delhi. The program lets you create a filesystem as a file and allows you to do file/directory operations in a Linux like terminal interface. See `help....
> A Hierarchical Filesystem simulation in C++. This is a project I made during my Masters at Computer Applications course at Dept. of Computer Science, university of Delhi. > See also: https://github.com/sidvishnoi/filesystem-assignment (Teaching material based on this assignment) : A file handling assignment made to...
Add link to teaching material
Add link to teaching material
Markdown
mit
sidvishnoi/filesystem-simulation
markdown
## Code Before: > A Hierarchical Filesystem simulation in C++. This is a project I made during my Masters at Computer Applications course at Dept. of Computer Science, university of Delhi. The program lets you create a filesystem as a file and allows you to do file/directory operations in a Linux like terminal interf...
> A Hierarchical Filesystem simulation in C++. This is a project I made during my Masters at Computer Applications course at Dept. of Computer Science, university of Delhi. + + > See also: https://github.com/sidvishnoi/filesystem-assignment (Teaching material based on this assignment) : A file handling assignme...
2
0.090909
2
0
61c45c0d3311ce2bc348b44aaf40311b128f023c
app/assets/stylesheets/georgia/overrides/_flatly.scss
app/assets/stylesheets/georgia/overrides/_flatly.scss
table a, .table a { text-decoration: none; }
table a, .table a { text-decoration: none; } .nav > li > a.btn-info:hover, .nav > li > a.btn-info:focus { background-color: #2077b2; } .nav > li > a.btn-warning:hover, .nav > li > a.btn-warning:focus { background-color: #be780a; }
Add btn styling fixes on hover
Add btn styling fixes on hover
SCSS
mit
georgia-cms/georgia,georgia-cms/georgia,georgia-cms/georgia
scss
## Code Before: table a, .table a { text-decoration: none; } ## Instruction: Add btn styling fixes on hover ## Code After: table a, .table a { text-decoration: none; } .nav > li > a.btn-info:hover, .nav > li > a.btn-info:focus { background-color: #2077b2; } .nav > li > a.btn-warning:hover, .nav > li > a.btn-warnin...
table a, .table a { text-decoration: none; } + + .nav > li > a.btn-info:hover, + .nav > li > a.btn-info:focus { + background-color: #2077b2; + } + + .nav > li > a.btn-warning:hover, + .nav > li > a.btn-warning:focus { + background-color: #be780a; + }
10
10
10
0
c29d2f92456d35b5f92e521f551e089c7f8c94f8
src/Paths.js
src/Paths.js
let argv = require('yargs').argv; class Paths { /** * Create a new Paths instance. */ constructor() { if (argv['$0'].includes('ava')) { this.rootPath = path.resolve(__dirname, '../'); } else { this.rootPath = process.cwd(); } } /** * Set t...
let argv = require('yargs').argv; class Paths { /** * Create a new Paths instance. */ constructor() { if (argv['$0'].includes('ava')) { this.rootPath = path.resolve(__dirname, '../'); } else { this.rootPath = process.cwd(); } } /** * Set t...
Use real env var for custom mix file
Use real env var for custom mix file The previous approach doesn’t work with current webpack cli now.
JavaScript
mit
JeffreyWay/laravel-mix
javascript
## Code Before: let argv = require('yargs').argv; class Paths { /** * Create a new Paths instance. */ constructor() { if (argv['$0'].includes('ava')) { this.rootPath = path.resolve(__dirname, '../'); } else { this.rootPath = process.cwd(); } } ...
let argv = require('yargs').argv; class Paths { /** * Create a new Paths instance. */ constructor() { if (argv['$0'].includes('ava')) { this.rootPath = path.resolve(__dirname, '../'); } else { this.rootPath = process.cwd(); } ...
4
0.088889
3
1
3a3cc6ea2a38118c58caeefbd5566339129b40a7
app/controllers/lti_launches_controller.rb
app/controllers/lti_launches_controller.rb
class LtiLaunchesController < ApplicationController include Concerns::CanvasSupport include Concerns::LtiSupport layout "client" skip_before_action :verify_authenticity_token before_action :do_lti def index @canvas_api = canvas_api @canvas_auth_required = @canvas_api.blank? set_lti_launch_val...
class LtiLaunchesController < ApplicationController include Concerns::CanvasSupport include Concerns::LtiSupport layout "client" skip_before_action :verify_authenticity_token before_action :do_lti def index begin @canvas_api = canvas_api @canvas_auth_required = @canvas_api.blank? resc...
Add code to capture token required error
Add code to capture token required error
Ruby
mit
atomicjolt/lti_starter_app,atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/lti_starter_app,atomicjolt/lti_starter_app,atomicjolt/lti_starter_app
ruby
## Code Before: class LtiLaunchesController < ApplicationController include Concerns::CanvasSupport include Concerns::LtiSupport layout "client" skip_before_action :verify_authenticity_token before_action :do_lti def index @canvas_api = canvas_api @canvas_auth_required = @canvas_api.blank? se...
class LtiLaunchesController < ApplicationController include Concerns::CanvasSupport include Concerns::LtiSupport layout "client" skip_before_action :verify_authenticity_token before_action :do_lti def index + begin - @canvas_api = canvas_api + @canvas_api = canvas_api ? ...
8
0.470588
6
2
bc1313024509d25470eaac2ad74c48e27d492fd7
composer.json
composer.json
{ "name": "mybuilder/supervisor-bundle", "description": "Symfony 2/3/4 bundle which allows you to use @Supervisor annotations to configure how Supervisor runs your console commands.", "keywords": ["supervisor", "supervisord"], "minimum-stability": "stable", "license": "MIT", "authors": [ { "name":...
{ "name": "mybuilder/supervisor-bundle", "description": "Symfony 3/4 bundle which allows you to use @Supervisor annotations to configure how Supervisor runs your console commands.", "keywords": [ "supervisor", "supervisord" ], "minimum-stability": "stable", "license": "MIT", "authors": [ { ...
Drop support for Symfony 2 and lower PHP versions
Drop support for Symfony 2 and lower PHP versions
JSON
mit
mybuilder/supervisor-bundle
json
## Code Before: { "name": "mybuilder/supervisor-bundle", "description": "Symfony 2/3/4 bundle which allows you to use @Supervisor annotations to configure how Supervisor runs your console commands.", "keywords": ["supervisor", "supervisord"], "minimum-stability": "stable", "license": "MIT", "authors": [ ...
{ "name": "mybuilder/supervisor-bundle", - "description": "Symfony 2/3/4 bundle which allows you to use @Supervisor annotations to configure how Supervisor runs your console commands.", ? -- + "description": "Symfony 3/4 bundle which allows you to use @Supervisor annotations to conf...
15
0.454545
9
6
85cb1155db0e4e14761cf65d56230e508185fc0f
quality-metrics/qm-003-license.md
quality-metrics/qm-003-license.md
--- SMQM: 003 Author: Nathen Harvey <nharvey@chef.io> Status: In Progress License: Apache 2.0 --- # Cookbook has an open source license Cookbook is licensed using an open source license. Acceptable licenses are: * Apache 2.0 * GNU Public License 2.0 * GNU Public License 3.0 * MIT Cookbooks without open source lice...
--- SMQM: 003 Author: Nathen Harvey <nharvey@chef.io> Status: In Progress License: Apache 2.0 --- # Cookbook has an open source license Cookbook is licensed using an open source license. Acceptable licenses are: * Apache-2.0, apachev2 * GPL-2.0, gplv2 * GPL-3.0, gplv3 * MIT, mit Cookbooks without open source licen...
Update the valid license strings
Update the valid license strings Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
Markdown
apache-2.0
chef-cookbooks/cookbook-quality-metrics
markdown
## Code Before: --- SMQM: 003 Author: Nathen Harvey <nharvey@chef.io> Status: In Progress License: Apache 2.0 --- # Cookbook has an open source license Cookbook is licensed using an open source license. Acceptable licenses are: * Apache 2.0 * GNU Public License 2.0 * GNU Public License 3.0 * MIT Cookbooks without ...
--- SMQM: 003 Author: Nathen Harvey <nharvey@chef.io> Status: In Progress License: Apache 2.0 --- # Cookbook has an open source license Cookbook is licensed using an open source license. Acceptable licenses are: - * Apache 2.0 - * GNU Public License 2.0 - * GNU Public License 3.0 - * MIT +...
10
0.37037
5
5
6bbb9f172c0011f822dfe27d91f8a8906373757d
modules/dialog/closefullscreen_control.js
modules/dialog/closefullscreen_control.js
/** * # Control to close the full screen dialog. * * See [L.Control](https://www.mapbox.com/mapbox.js/api/v2.3.0/l-control/) * documentation for more details. * * @class Kartographer.Dialog.CloseFullScreenControl * @extends L.Control */ var CloseFullScreenControl = L.Control.extend( { options: { position: 't...
/** * # Control to close the full screen dialog. * * See [L.Control](https://www.mapbox.com/mapbox.js/api/v2.3.0/l-control/) * documentation for more details. * * @class Kartographer.Dialog.CloseFullScreenControl * @extends L.Control */ var CloseFullScreenControl = L.Control.extend( { options: { position: 't...
Mark the close map dialog button with role button
Mark the close map dialog button with role button Bug: T308320 Change-Id: I429ec8a081614d90e2b82e5e31918b9e61ca602d
JavaScript
mit
wikimedia/mediawiki-extensions-Kartographer,wikimedia/mediawiki-extensions-Kartographer,wikimedia/mediawiki-extensions-Kartographer
javascript
## Code Before: /** * # Control to close the full screen dialog. * * See [L.Control](https://www.mapbox.com/mapbox.js/api/v2.3.0/l-control/) * documentation for more details. * * @class Kartographer.Dialog.CloseFullScreenControl * @extends L.Control */ var CloseFullScreenControl = L.Control.extend( { options: ...
/** * # Control to close the full screen dialog. * * See [L.Control](https://www.mapbox.com/mapbox.js/api/v2.3.0/l-control/) * documentation for more details. * * @class Kartographer.Dialog.CloseFullScreenControl * @extends L.Control */ var CloseFullScreenControl = L.Control.extend( { opt...
3
0.06383
2
1
60fb0bc9d6046e443d5ce141accc8123a9182e32
CHANGELOG.md
CHANGELOG.md
* It is now possible to install the latest major release of Minecraft using `minecraft_version: latest`. This will be the default behaviour in the next major version of this role (3). * Only generate ACL JSON files if the variables (e.g., `minecraft_ops`) are non-empty. ## 2.1.1 (2016-03-08) * Notify Galaxy on succe...
* (#5) Manage `server.properties` by setting `minecraft_server_properties` (Mark Côté). * (#6) Hooks: Include additional tasks at specific points during execution. ### Changed * Install latest major release of Minecraft by default. ### Fixed * (#4) Improved build documentation. ## 2.2.0 (2016-05-30) * It is now ...
Update change log for upcoming release
Update change log for upcoming release
Markdown
apache-2.0
devops-coop/ansible-minecraft,devops-coop/ansible-minecraft,devops-coop/ansible-minecraft
markdown
## Code Before: * It is now possible to install the latest major release of Minecraft using `minecraft_version: latest`. This will be the default behaviour in the next major version of this role (3). * Only generate ACL JSON files if the variables (e.g., `minecraft_ops`) are non-empty. ## 2.1.1 (2016-03-08) * Notify...
+ + * (#5) Manage `server.properties` by setting `minecraft_server_properties` (Mark Côté). + * (#6) Hooks: Include additional tasks at specific points during execution. + + ### Changed + + * Install latest major release of Minecraft by default. + + ### Fixed + + * (#4) Improved build documentation. + + ## 2.2.0 ...
13
0.590909
13
0
35769fcf0ae00e293c000647eb5acc6f5c2561ea
doc/vga_signal_explain_3.txt
doc/vga_signal_explain_3.txt
HSYNC timings 1.91 ...
HSYNC timings 1.91 ...
Split microseconds to two rows in HSYNC timings doc
Split microseconds to two rows in HSYNC timings doc
Text
apache-2.0
Jartza/attiny85-vga,Jartza/octapentaveega,Jartza/octapentaveega,Jartza/attiny85-vga
text
## Code Before: HSYNC timings ...
HSYNC timings ...
28
0.7
4
24
024ce19bb0c2459c5867e95c507ff6566742b158
modules/govuk/templates/apps/review_o_matic_explore/upstart.conf.erb
modules/govuk/templates/apps/review_o_matic_explore/upstart.conf.erb
description "Proxy for Review-O-Matic Explore" start on runlevel [2345] stop on runlevel [!2345] env PORT=3023 env UPSTREAM_AUTH=betademo:nottobeshared env UPSTREAM_HOST="reviewomatic.<%= govuk_platform %>.alphagov.co.uk" # Have to use this roundabout method of chuid'ing because lucid's upstart doesn't # support the...
description "Proxy for Review-O-Matic Explore" start on runlevel [2345] stop on runlevel [!2345] env PORT=3023 env UPSTREAM_AUTH=betademo:nottobeshared env UPSTREAM_HOST="reviewomatic.<%= govuk_platform %>.alphagov.co.uk" # Have to use this roundabout method of chuid'ing because lucid's upstart doesn't # support the...
Use a pidfile for review-o-matic-explore
Use a pidfile for review-o-matic-explore
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
html+erb
## Code Before: description "Proxy for Review-O-Matic Explore" start on runlevel [2345] stop on runlevel [!2345] env PORT=3023 env UPSTREAM_AUTH=betademo:nottobeshared env UPSTREAM_HOST="reviewomatic.<%= govuk_platform %>.alphagov.co.uk" # Have to use this roundabout method of chuid'ing because lucid's upstart doesn...
description "Proxy for Review-O-Matic Explore" start on runlevel [2345] stop on runlevel [!2345] env PORT=3023 env UPSTREAM_AUTH=betademo:nottobeshared env UPSTREAM_HOST="reviewomatic.<%= govuk_platform %>.alphagov.co.uk" # Have to use this roundabout method of chuid'ing because lucid's upstart d...
2
0.133333
1
1
80b53951ffffe20c18c92cb567f07c2bda28936c
README.md
README.md
Buggy hack that sometimes can copy visible content from Atom text buffer into clipboard preserving fonts and colors. ![Demo](.github/demo.gif)
Buggy hack that sometimes can copy visible content from Atom text buffer into clipboard preserving fonts and colors. ![Demo](https://raw.githubusercontent.com/frantic/copy-with-syntax/master/.github/demo.gif)
Fix demo gif URL for Atom website
Fix demo gif URL for Atom website
Markdown
mit
frantic/copy-with-syntax
markdown
## Code Before: Buggy hack that sometimes can copy visible content from Atom text buffer into clipboard preserving fonts and colors. ![Demo](.github/demo.gif) ## Instruction: Fix demo gif URL for Atom website ## Code After: Buggy hack that sometimes can copy visible content from Atom text buffer into clipboard pre...
Buggy hack that sometimes can copy visible content from Atom text buffer into clipboard preserving fonts and colors. - ![Demo](.github/demo.gif) + ![Demo](https://raw.githubusercontent.com/frantic/copy-with-syntax/master/.github/demo.gif)
2
0.5
1
1
0cb33bf9562811f5cb68c53b0198c180233f953d
lib/generators/serviceworker/templates/serviceworker.js
lib/generators/serviceworker/templates/serviceworker.js
function onInstall() { console.log('[Serviceworker]', "Installing!"); } function onActivate() { console.log('[Serviceworker]', "Activating!"); } function onFetch() { } self.addEventListener('install', onInstall); self.addEventListener('activate', onActivate); self.addEventListener('fetch', onFetch);
// function onInstall(event) { // console.log('[Serviceworker]', "Installing!", event); // event.waitUntil( // caches.open('cached-assets-v1').then(function prefill(cache) { // return cache.addAll([ // '<%#= asset_path "application.js" %>', // '<%#= asset_path "application.css" %>', // ...
Add commented snippets for service worker
Add commented snippets for service worker
JavaScript
mit
rossta/serviceworker-rails,rossta/serviceworker-rails,rossta/serviceworker-rails,rossta/serviceworker-rails
javascript
## Code Before: function onInstall() { console.log('[Serviceworker]', "Installing!"); } function onActivate() { console.log('[Serviceworker]', "Activating!"); } function onFetch() { } self.addEventListener('install', onInstall); self.addEventListener('activate', onActivate); self.addEventListener('fetch', onFetc...
- function onInstall() { + // function onInstall(event) { ? +++ +++++ - console.log('[Serviceworker]', "Installing!"); + // console.log('[Serviceworker]', "Installing!", event); ? +++ +++++++ - } - + // event.waitUntil( + // caches.open('cached...
58
4.142857
44
14
ad676e36e9756335841fa81621be35f59f95cb0a
models/product_model.js
models/product_model.js
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ObjectId = mongoose.Schema.Types.ObjectId; var ProductType = require("./producttype_model"); var Location = require("./location_model"); var ProductSchema = new Schema({ name: String, description: String, location_id: { type: ObjectI...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ObjectId = mongoose.Schema.Types.ObjectId; var ProductType = require("./producttype_model"); var Location = require("./location_model"); var ProductSchema = new Schema({ name: String, description: String, location_id: { type: ObjectI...
Drop recurring_cost in favour of pro_rata boolean
Drop recurring_cost in favour of pro_rata boolean
JavaScript
mit
10layer/jexpress,10layer/jexpress
javascript
## Code Before: var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ObjectId = mongoose.Schema.Types.ObjectId; var ProductType = require("./producttype_model"); var Location = require("./location_model"); var ProductSchema = new Schema({ name: String, description: String, location_id:...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ObjectId = mongoose.Schema.Types.ObjectId; var ProductType = require("./producttype_model"); var Location = require("./location_model"); var ProductSchema = new Schema({ name: String, description: String, locati...
2
0.055556
1
1
5796c780ba6472781f7a64b8e2071aac77a36415
src/Symfony/Component/Mailer/Event/MessageEvent.php
src/Symfony/Component/Mailer/Event/MessageEvent.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Event; use Symfony\Component\EventDispatcher\E...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Event; use Symfony\Component\EventDispatcher\E...
Fix SmtpEnvelope renaming to Envelope
[Mailer] Fix SmtpEnvelope renaming to Envelope
PHP
mit
ogizanagi/symfony,sgehrig/symfony,xabbuh/symfony,nicolas-grekas/symfony,jvasseur/symfony,tucksaun/symfony,garak/symfony,stof/symfony,jvasseur/symfony,ogizanagi/symfony,ro0NL/symfony,Simperfit/symfony,docteurklein/symfony,HeahDude/symfony,ro0NL/symfony,lyrixx/symfony,derrabus/symfony,Tobion/symfony,mpdude/symfony,curry6...
php
## Code Before: <?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Event; use Symfony\Component\E...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Event; use Symfony...
6
0.089552
3
3
88f201d6c61befff81524d88418de66e3921a201
roles/gateway/defaults/main.yml
roles/gateway/defaults/main.yml
--- gateway_long_name: "moteino-gateway" gateway_short_name: "gateway" moteino_username: "moteino" moteino_home_dir: "/srv/moteino" #gateway_repo_url: "git@github.com:LowPowerLab/RaspberryPi-Gateway.git" gateway_log_filename: "/var/log/{{gateway_long_name}}.log" gateway_repo_url: "https://github.com/LowPowerLab/Rasp...
--- gateway_long_name: "moteino-gateway" gateway_short_name: "gateway" moteino_username: "moteino" moteino_home_dir: "/srv/moteino" #gateway_repo_url: "git@github.com:LowPowerLab/RaspberryPi-Gateway.git" gateway_log_filename: "/var/log/{{gateway_long_name}}.log" gateway_repo_url: "https://github.com/LowPowerLab/Rasp...
Use short name variable in dir path.
Use short name variable in dir path.
YAML
mit
cacack/ansible-moteino-gateway
yaml
## Code Before: --- gateway_long_name: "moteino-gateway" gateway_short_name: "gateway" moteino_username: "moteino" moteino_home_dir: "/srv/moteino" #gateway_repo_url: "git@github.com:LowPowerLab/RaspberryPi-Gateway.git" gateway_log_filename: "/var/log/{{gateway_long_name}}.log" gateway_repo_url: "https://github.com/...
--- gateway_long_name: "moteino-gateway" gateway_short_name: "gateway" moteino_username: "moteino" moteino_home_dir: "/srv/moteino" #gateway_repo_url: "git@github.com:LowPowerLab/RaspberryPi-Gateway.git" gateway_log_filename: "/var/log/{{gateway_long_name}}.log" gateway_repo_url: "https://githu...
2
0.111111
1
1
8c6ff1de879eb3644e3a635b29c169604fdd9d82
requirements.txt
requirements.txt
pypandoc~=1.4 # linting flake8~=3.7.9 # testing pytest~=5.3.2 pytest-cov~=2.8.1
pypandoc~=1.4 # linting flake8~=3.7.9 # testing pytest~=4.6.8 # versions >=5.x require Python 3.5 or later pytest-cov~=2.8.1
Reduce version of pytest to a 2.7/3.4 compatible version
Reduce version of pytest to a 2.7/3.4 compatible version
Text
unlicense
Bobspadger/python-amazon-mws,jameshiew/mws
text
## Code Before: pypandoc~=1.4 # linting flake8~=3.7.9 # testing pytest~=5.3.2 pytest-cov~=2.8.1 ## Instruction: Reduce version of pytest to a 2.7/3.4 compatible version ## Code After: pypandoc~=1.4 # linting flake8~=3.7.9 # testing pytest~=4.6.8 # versions >=5.x require Python 3.5 or later pytest-cov~=2.8.1
pypandoc~=1.4 # linting flake8~=3.7.9 # testing - pytest~=5.3.2 + pytest~=4.6.8 # versions >=5.x require Python 3.5 or later pytest-cov~=2.8.1
2
0.25
1
1
4481b72136fcf9460aa6eb22568430c549e7875d
README.md
README.md
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/zedesk/chrome-tabs) # \<chrome-tabs\> Chrome tabs Inspired by the project [chrome-tabs][1] by @adamschwartz, this project aims to create a webcomponent. ![chrome-tabs](chrome-...
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/zedesk/chrome-tabs) # \<chrome-tabs\> Chrome tabs Inspired by the project [chrome-tabs][1] by @adamschwartz, this project aims to create a webcomponent. ![chrome-tabs](chrome-...
Add a demo for webcomponents.org
Add a demo for webcomponents.org
Markdown
isc
zedesk/chrome-tabs
markdown
## Code Before: [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/zedesk/chrome-tabs) # \<chrome-tabs\> Chrome tabs Inspired by the project [chrome-tabs][1] by @adamschwartz, this project aims to create a webcomponent. ![chro...
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/zedesk/chrome-tabs) # \<chrome-tabs\> Chrome tabs Inspired by the project [chrome-tabs][1] by @adamschwartz, this project aims to create a webcomponent. ![ch...
20
1.333333
20
0
61b5bc8a7e81225a83d195e016bc4adbd7ca1db5
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pymediainfo', version='2.1.5', author='Louis Sautier', author_email='sautier.louis@gmail.com', url='https://github.com/sbraz/pymediainfo', description="""A Python wrapper for the mediainfo library.""", packages=find_packages(), na...
from setuptools import setup, find_packages setup( name='pymediainfo', version='2.1.5', author='Louis Sautier', author_email='sautier.louis@gmail.com', url='https://github.com/sbraz/pymediainfo', description="""A Python wrapper for the mediainfo library.""", packages=find_packages(), na...
Add Python 2.6 to classifiers
Add Python 2.6 to classifiers
Python
mit
paltman/pymediainfo,paltman-archive/pymediainfo
python
## Code Before: from setuptools import setup, find_packages setup( name='pymediainfo', version='2.1.5', author='Louis Sautier', author_email='sautier.louis@gmail.com', url='https://github.com/sbraz/pymediainfo', description="""A Python wrapper for the mediainfo library.""", packages=find_pa...
from setuptools import setup, find_packages setup( name='pymediainfo', version='2.1.5', author='Louis Sautier', author_email='sautier.louis@gmail.com', url='https://github.com/sbraz/pymediainfo', description="""A Python wrapper for the mediainfo library.""", packages=fin...
1
0.037037
1
0
82245cc973619abf1d746da8af7ef137454ca6e9
Cargo.toml
Cargo.toml
[package] authors = ["Eric Kidd <git@randomhacks.net>"] description = "Fetch secrets from either environment variables or Hashicorp's Vault" documentation = "http://docs.randomhacks.net/credentials/" license = "CC0-1.0" name = "credentials" readme = "README.md" repository = "https://github.com/emk/credentials" version ...
[package] authors = ["Eric Kidd <git@randomhacks.net>"] description = "Fetch secrets from either environment variables or Hashicorp's Vault" documentation = "http://docs.randomhacks.net/credentials/" license = "CC0-1.0" name = "credentials" readme = "README.md" repository = "https://github.com/emk/credentials" version ...
Update dependencies and allow building hyper without SSL
v0.4.1: Update dependencies and allow building hyper without SSL This shouldn't affect any of our public APIs.
TOML
cc0-1.0
emk/credentials
toml
## Code Before: [package] authors = ["Eric Kidd <git@randomhacks.net>"] description = "Fetch secrets from either environment variables or Hashicorp's Vault" documentation = "http://docs.randomhacks.net/credentials/" license = "CC0-1.0" name = "credentials" readme = "README.md" repository = "https://github.com/emk/crede...
[package] authors = ["Eric Kidd <git@randomhacks.net>"] description = "Fetch secrets from either environment variables or Hashicorp's Vault" documentation = "http://docs.randomhacks.net/credentials/" license = "CC0-1.0" name = "credentials" readme = "README.md" repository = "https://github.com/emk/crede...
12
0.521739
9
3
487b13a78729cfd4e505dd3b3a466ed3ced1fe15
app/views/resources/_display_resources.html.erb
app/views/resources/_display_resources.html.erb
<li><%= link_to resource.title, resource_path(resource) %> - <%= link_to resource.language_name, language_path(resource.language) %></li>
<li><%= link_to resource.title, resource_path(resource) %> <ul> <% resource.languages.each do |language| %> <li><%= link_to language.name, language_path(language) %></li> <% end %> </ul> </li>
Add languages list to resource display partial.
Add languages list to resource display partial.
HTML+ERB
mit
abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/code_learning_resources_manager
html+erb
## Code Before: <li><%= link_to resource.title, resource_path(resource) %> - <%= link_to resource.language_name, language_path(resource.language) %></li> ## Instruction: Add languages list to resource display partial. ## Code After: <li><%= link_to resource.title, resource_path(resource) %> <ul> <% resource.lan...
- <li><%= link_to resource.title, resource_path(resource) %> - <%= link_to resource.language_name, language_path(resource.language) %></li> + <li><%= link_to resource.title, resource_path(resource) %> + <ul> + <% resource.languages.each do |language| %> + <li><%= link_to language.name, language_path(languag...
8
8
7
1
727fd5ee6382ebee8aac5cb717b212647866d818
templates/rc.local.erb
templates/rc.local.erb
touch /var/lock/subsys/local /root/.ip_info.sh & <% if @print_console_login == true -%> /root/.console_login.sh & <% else -%> /root/.ssh_keygen.sh & <% end -%> <% if @hostname == "student" -%> if ! puppet -V; then curl -k https://master.puppetlabs.vm:8140/packages/current/install.bash | sudo bash fi <% end -%>
touch /var/lock/subsys/local /root/.ip_info.sh & <% if @print_console_login == true -%> /root/.console_login.sh & <% else -%> /root/.ssh_keygen.sh & <% end -%> <% if @hostname == "student" -%> if ! hash puppet 2>/dev/null; then curl -k https://master.puppetlabs.vm:8140/packages/current/install.bash | sudo bash fi ...
Correct check if puppet command exists
Correct check if puppet command exists
HTML+ERB
apache-2.0
puppetlabs/pltraining-bootstrap,carthik/pltraining-bootstrap,samuelson/pltraining-bootstrap,klynton/pltraining-bootstrap,puppetlabs/pltraining-bootstrap,joshsamuelson/pltraining-bootstrap,kjhenner/pltraining-bootstrap,carthik/pltraining-bootstrap,samuelson/pltraining-bootstrap,binford2k/pltraining-bootstrap,klynton/plt...
html+erb
## Code Before: touch /var/lock/subsys/local /root/.ip_info.sh & <% if @print_console_login == true -%> /root/.console_login.sh & <% else -%> /root/.ssh_keygen.sh & <% end -%> <% if @hostname == "student" -%> if ! puppet -V; then curl -k https://master.puppetlabs.vm:8140/packages/current/install.bash | sudo bash f...
touch /var/lock/subsys/local /root/.ip_info.sh & <% if @print_console_login == true -%> /root/.console_login.sh & <% else -%> /root/.ssh_keygen.sh & <% end -%> <% if @hostname == "student" -%> - if ! puppet -V; then + if ! hash puppet 2>/dev/null; then curl -k https://master.puppetlabs.vm:814...
2
0.142857
1
1
845e0db2d83e8c4771053ee1e46459ac47fa5aad
FileKit/FileKit.swift
FileKit/FileKit.swift
// // FileKit.swift // FileKit // // Created by Nikolai Vazquez on 9/1/15. // Copyright © 2015 Nikolai Vazquez. All rights reserved. // import Foundation public class File: StringLiteralConvertible { // MARK: - File public var path: Path public init(path: Path) { self.path = pat...
// // FileKit.swift // FileKit // // Created by Nikolai Vazquez on 9/1/15. // Copyright © 2015 Nikolai Vazquez. All rights reserved. // import Foundation public class File: StringLiteralConvertible { // MARK: - File public var path: Path public init(path: Path) { self.path = pat...
Add moveToPath(_:) method to File
Add moveToPath(_:) method to File
Swift
mit
RyanTech/FileKit,alessandrostone/FileKit,hejunbinlan/FileKit,alessandrostone/FileKit,voidException/FileKit,voidException/FileKit,RyanTech/FileKit,carabina/FileKit,hejunbinlan/FileKit,carabina/FileKit
swift
## Code Before: // // FileKit.swift // FileKit // // Created by Nikolai Vazquez on 9/1/15. // Copyright © 2015 Nikolai Vazquez. All rights reserved. // import Foundation public class File: StringLiteralConvertible { // MARK: - File public var path: Path public init(path: Path) { ...
// // FileKit.swift // FileKit // // Created by Nikolai Vazquez on 9/1/15. // Copyright © 2015 Nikolai Vazquez. All rights reserved. // import Foundation public class File: StringLiteralConvertible { // MARK: - File public var path: Path public init(pat...
5
0.128205
5
0
2017f9efc0a748d2c8cf6b1e6cc4a24ac009315c
src/commands/CreateUserCommand.php
src/commands/CreateUserCommand.php
<?php namespace solutionweb\gatekeeper\utils\commands; /** * Command to create a user. * * @author Bert Peters <bert.ljpeters@gmail.com> */ class CreateUserCommand extends GatekeeperCommand { protected $commandInformation = [ "description" => "Create a new user.", "options" => [ "n...
<?php namespace solutionweb\gatekeeper\utils\commands; /** * Command to create a user. * * @author Bert Peters <bert.ljpeters@gmail.com> */ class CreateUserCommand extends GatekeeperCommand { protected $commandInformation = [ "description" => "Create a new user.", "options" => [ "n...
Allow user creation from script.
Allow user creation from script.
PHP
mit
bertptrs/gatekeeper-utils,SolutionWeb/gatekeeper-utils
php
## Code Before: <?php namespace solutionweb\gatekeeper\utils\commands; /** * Command to create a user. * * @author Bert Peters <bert.ljpeters@gmail.com> */ class CreateUserCommand extends GatekeeperCommand { protected $commandInformation = [ "description" => "Create a new user.", "options" => ...
<?php namespace solutionweb\gatekeeper\utils\commands; /** * Command to create a user. * * @author Bert Peters <bert.ljpeters@gmail.com> */ class CreateUserCommand extends GatekeeperCommand { protected $commandInformation = [ "description" => "Create a new user.", "...
41
0.87234
30
11
5575a1cbb26f1494aaf292c12884741571823074
README.md
README.md
All my useful dotfiles Simply download and run the script to install my dotfile ## Requirements ### VIM If you want to use RFC plugin, you must to compile your vim with ruby support, and install the nokogiri gem ``` gem install nokogiri curl https://raw.githubusercontent.com/PixiBixi/dotfiles/master/init.sh | bash...
All my useful dotfiles Simply download and run the script to install my dotfile ## Requirements ### zsh Notre configuration zsh est évidemment basée sur celle qui est fournie en défaut par [oh-my-zsh](https://ohmyz.sh/). Pour l'installer, une simple ligne : ``` sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/oh...
Add installations note for zsh
feat(readme): Add installations note for zsh
Markdown
apache-2.0
PixiBixi/dotfiles,PixiBixi/dotfiles
markdown
## Code Before: All my useful dotfiles Simply download and run the script to install my dotfile ## Requirements ### VIM If you want to use RFC plugin, you must to compile your vim with ruby support, and install the nokogiri gem ``` gem install nokogiri curl https://raw.githubusercontent.com/PixiBixi/dotfiles/maste...
All my useful dotfiles Simply download and run the script to install my dotfile ## Requirements - ### VIM + ### zsh + + Notre configuration zsh est évidemment basée sur celle qui est fournie en défaut par [oh-my-zsh](https://ohmyz.sh/). Pour l'installer, une simple ligne : + + ``` + sh -c "$(curl -fsSL...
18
0.409091
16
2
5543318f30c0e61f140b66af0789440ccaeabde5
lib/go-cda-tools/import/go-importer.rb
lib/go-cda-tools/import/go-importer.rb
require 'ffi' require 'health-data-standards' require 'os' module GoCDATools module Import class GoImporter include Singleton extend FFI::Library if OS.linux? ffi_lib File.expand_path("../../../ext/libgocda-linux.so", File.dirname(__FILE__)) end if OS.mac? ffi...
require 'ffi' require 'health-data-standards' require 'os' module GoCDATools module Import class GoImporter include Singleton extend FFI::Library if OS.linux? ffi_lib File.expand_path("../../../ext/libgocda-linux.so", File.dirname(__FILE__)) end if OS.mac? ffi...
Change inner_html to to_xml. Since we are parsing XML files
Change inner_html to to_xml. Since we are parsing XML files
Ruby
apache-2.0
projectcypress/go-cda-tools,projectcypress/go-cda-tools,projectcypress/go-cda-tools
ruby
## Code Before: require 'ffi' require 'health-data-standards' require 'os' module GoCDATools module Import class GoImporter include Singleton extend FFI::Library if OS.linux? ffi_lib File.expand_path("../../../ext/libgocda-linux.so", File.dirname(__FILE__)) end if OS.m...
require 'ffi' require 'health-data-standards' require 'os' module GoCDATools module Import class GoImporter include Singleton extend FFI::Library if OS.linux? ffi_lib File.expand_path("../../../ext/libgocda-linux.so", File.dirname(__FILE__)) end ...
3
0.090909
1
2
4fb4b8a3ef0463c81d4413c8bfa5eff8b8cd7b21
.travis.yml
.travis.yml
language: python branches: only: - master python: - "2.7" sudo: required services: - docker install: - "sudo apt-get update -qq" - "sudo apt-get install -y nodejs python-demjson" - "pip install --allow-all-external -r requirements.txt" - "pip install --allow-all-external demjson" env: - MAKE_TARGET=...
language: python branches: only: - master python: - "2.7" sudo: required services: - docker install: - "sudo apt-get update -qq" - "sudo apt-get install -y nodejs python-demjson" - "pip install --allow-all-external -r requirements.txt" - "pip install --allow-all-external demjson" env: - MAKE_TARGET=...
Build all make targets, even if some fail
Build all make targets, even if some fail
YAML
agpl-3.0
gsehub/configuration,appsembler/configuration,CredoReference/configuration,Stanford-Online/configuration,usernamenumber/configuration,appsembler/configuration,pobrejuanito/configuration,michaelsteiner19/open-edx-configuration,alu042/configuration,Stanford-Online/configuration,edx/configuration,open-craft/configuration,...
yaml
## Code Before: language: python branches: only: - master python: - "2.7" sudo: required services: - docker install: - "sudo apt-get update -qq" - "sudo apt-get install -y nodejs python-demjson" - "pip install --allow-all-external -r requirements.txt" - "pip install --allow-all-external demjson" env: ...
language: python branches: only: - master python: - "2.7" sudo: required services: - docker install: - "sudo apt-get update -qq" - "sudo apt-get install -y nodejs python-demjson" - "pip install --allow-all-external -r requirements.txt" - "pip install --allow-all-external de...
2
0.1
1
1
d3386bead33f17383d80da81b45723e68ec27efc
sparkle/src/Foreign/Java/Types.hs
sparkle/src/Foreign/Java/Types.hs
{-# LANGUAGE GeneralizedNewtypeDeriving #-} module Foreign.Java.Types where import Foreign.C import Foreign.Ptr import Foreign.Storable (Storable(..)) newtype JVM = JVM (Ptr JVM) deriving (Eq, Show, Storable) newtype JNIEnv = JNIEnv (Ptr JNIEnv) deriving (Eq, Show, Storable) newtype JObject = JObject (Ptr JObj...
{-# LANGUAGE GeneralizedNewtypeDeriving #-} module Foreign.Java.Types where import Foreign.C import Foreign.Ptr import Foreign.Storable (Storable(..)) newtype JVM = JVM (Ptr JVM) deriving (Eq, Show, Storable) newtype JNIEnv = JNIEnv (Ptr JNIEnv) deriving (Eq, Show, Storable) newtype JObject = JObject (Ptr JObj...
Make JClass a type synonym for JObject.
Make JClass a type synonym for JObject. Since jclass is just a typedef for jobject according to the JNI spec.
Haskell
bsd-3-clause
tweag/sparkle,tweag/sparkle
haskell
## Code Before: {-# LANGUAGE GeneralizedNewtypeDeriving #-} module Foreign.Java.Types where import Foreign.C import Foreign.Ptr import Foreign.Storable (Storable(..)) newtype JVM = JVM (Ptr JVM) deriving (Eq, Show, Storable) newtype JNIEnv = JNIEnv (Ptr JNIEnv) deriving (Eq, Show, Storable) newtype JObject = J...
{-# LANGUAGE GeneralizedNewtypeDeriving #-} module Foreign.Java.Types where import Foreign.C import Foreign.Ptr import Foreign.Storable (Storable(..)) newtype JVM = JVM (Ptr JVM) deriving (Eq, Show, Storable) newtype JNIEnv = JNIEnv (Ptr JNIEnv) deriving (Eq, Show, Storable) newty...
4
0.081633
1
3
6d0df03ae599e6bae9d9b914c35fdbba7267b86d
gulpfile.js
gulpfile.js
'use strict' const paths = require('./config/paths.json') const gulp = require('gulp') const cssnano = require('gulp-cssnano') const del = require('del') const rename = require('gulp-rename') const sass = require('gulp-sass') // Clean task ---------------------------- // Deletes the /public directory // -------------...
'use strict' const paths = require('./config/paths.json') const gulp = require('gulp') const cssnano = require('gulp-cssnano') const del = require('del') const rename = require('gulp-rename') const sass = require('gulp-sass') // Clean task ---------------------------- // Deletes the /public directory // -------------...
Add a Scripts build task
Add a Scripts build task Copies JavaScript to /public/javascripts
JavaScript
mit
alphagov/govuk_elements,alphagov/govuk_elements,alphagov/govuk_elements,alphagov/govuk_elements
javascript
## Code Before: 'use strict' const paths = require('./config/paths.json') const gulp = require('gulp') const cssnano = require('gulp-cssnano') const del = require('del') const rename = require('gulp-rename') const sass = require('gulp-sass') // Clean task ---------------------------- // Deletes the /public directory ...
'use strict' const paths = require('./config/paths.json') const gulp = require('gulp') const cssnano = require('gulp-cssnano') const del = require('del') const rename = require('gulp-rename') const sass = require('gulp-sass') // Clean task ---------------------------- // Deletes the /public dire...
7
0.159091
7
0
9129cc04474d90ae287236351eb64265ed89cacb
verify/go-tools/verify-gometalinter.sh
verify/go-tools/verify-gometalinter.sh
set -o errexit set -o nounset set -o pipefail gometalinter --deadline=180s --vendor \ --cyclo-over=50 --dupl-threshold=100 \ --exclude=".*should not use dot imports \(golint\)$" \ --disable-all \ --enable=vet \ --enable=deadcode \ --enable=golint \ --enable=vetshadow \ --enable=gocyclo...
set -o errexit set -o nounset set -o pipefail gometalinter --deadline="${GOMETALINTER_DEADLINE:-180s}" --vendor \ --cyclo-over=50 --dupl-threshold=100 \ --exclude=".*should not use dot imports \(golint\)$" \ --disable-all \ --enable=vet \ --enable=deadcode \ --enable=golint \ --enable=vets...
Adjust gometalinter's by using an env
Adjust gometalinter's by using an env Signed-off-by: Nick Jüttner <75ef9faee755c70589550b513ad881e5a603182c@zalando.de>
Shell
apache-2.0
kubernetes/repo-infra,kubernetes/repo-infra,kubernetes/repo-infra
shell
## Code Before: set -o errexit set -o nounset set -o pipefail gometalinter --deadline=180s --vendor \ --cyclo-over=50 --dupl-threshold=100 \ --exclude=".*should not use dot imports \(golint\)$" \ --disable-all \ --enable=vet \ --enable=deadcode \ --enable=golint \ --enable=vetshadow \ ...
set -o errexit set -o nounset set -o pipefail - gometalinter --deadline=180s --vendor \ + gometalinter --deadline="${GOMETALINTER_DEADLINE:-180s}" --vendor \ --cyclo-over=50 --dupl-threshold=100 \ --exclude=".*should not use dot imports \(golint\)$" \ --disable-all \ --enable=vet \ ...
2
0.105263
1
1
874e62f4a0083ded15470e480508bf798db70d53
metadata/naman14.timber.txt
metadata/naman14.timber.txt
Categories:Multimedia License:GPLv3+ Web Site: Source Code:https://github.com/naman14/Timber Issue Tracker:https://github.com/naman14/Timber/issues Auto Name:Timber Summary:Material Design Music Player Description: Timber is a Music Player currently in Beta . Repo Type:git Repo:https://github.com/naman14/Timber Buil...
Categories:Multimedia License:GPLv3+ Web Site:https://github.com/naman14/Timber/blob/HEAD/README.md Source Code:https://github.com/naman14/Timber Issue Tracker:https://github.com/naman14/Timber/issues Changelog:https://github.com/naman14/Timber/blob/HEAD/Changelog.md Auto Name:Timber Summary:Material Design Music Play...
Update Timber to 0.122b (6)
Update Timber to 0.122b (6)
Text
agpl-3.0
f-droid/fdroid-data,f-droid/fdroiddata,f-droid/fdroiddata
text
## Code Before: Categories:Multimedia License:GPLv3+ Web Site: Source Code:https://github.com/naman14/Timber Issue Tracker:https://github.com/naman14/Timber/issues Auto Name:Timber Summary:Material Design Music Player Description: Timber is a Music Player currently in Beta . Repo Type:git Repo:https://github.com/nama...
Categories:Multimedia License:GPLv3+ - Web Site: + Web Site:https://github.com/naman14/Timber/blob/HEAD/README.md Source Code:https://github.com/naman14/Timber Issue Tracker:https://github.com/naman14/Timber/issues + Changelog:https://github.com/naman14/Timber/blob/HEAD/Changelog.md Auto Name:Timber Summ...
8
0.333333
7
1
d5412179a7891359caf7e5f7f42b210587712c47
conf/environment.yml
conf/environment.yml
name: cfu-common channels: - defaults - litex-hub dependencies: - litex-hub::gcc-riscv32-elf-newlib - litex-hub::dfu-util - litex-hub::flterm - litex-hub::openocd - litex-hub::verilator - litex-hub::nextpnr-nexus - litex-hub::nextpnr-ecp5 - litex-hub::nextpnr-ice40 - litex-hub::iceprog - litex-h...
name: cfu-common channels: - defaults - litex-hub dependencies: - litex-hub::gcc-riscv32-elf-newlib - litex-hub::dfu-util - litex-hub::flterm - litex-hub::openocd - litex-hub::verilator - litex-hub::nextpnr-nexus - litex-hub::nextpnr-ecp5 - litex-hub::nextpnr-ice40 - litex-hub::iceprog - litex-h...
Add SymbiFlow Yosys plugins even for non-Xilinx env.
Add SymbiFlow Yosys plugins even for non-Xilinx env. (required for some Lattice Nexus optimization) Signed-off-by: Tim Callahan <ea16a3c075a6a229c9a452aa4faba7441b41c040@google.com>
YAML
apache-2.0
google/CFU-Playground,google/CFU-Playground,google/CFU-Playground,google/CFU-Playground
yaml
## Code Before: name: cfu-common channels: - defaults - litex-hub dependencies: - litex-hub::gcc-riscv32-elf-newlib - litex-hub::dfu-util - litex-hub::flterm - litex-hub::openocd - litex-hub::verilator - litex-hub::nextpnr-nexus - litex-hub::nextpnr-ecp5 - litex-hub::nextpnr-ice40 - litex-hub::ice...
name: cfu-common channels: - defaults - litex-hub dependencies: - litex-hub::gcc-riscv32-elf-newlib - litex-hub::dfu-util - litex-hub::flterm - litex-hub::openocd - litex-hub::verilator - litex-hub::nextpnr-nexus - litex-hub::nextpnr-ecp5 - litex-hub::nextpnr-ice40 - li...
1
0.052632
1
0
d20e92cac8aafd60568ede6524e7194a2bd00807
README.md
README.md
Sign in with Twitter ==================== Sign in with Twitter is a very basic Rails 3 application that demonstrates how to use the [Sign in with Twitter][siwt] workflow using version 1 of the [twitter gem][twitter] (which has removed built-in OAuth support) and the [omniauth gem][omniauth]. [siwt]: http://dev.twitter...
Sign in with Twitter ==================== Sign in with Twitter is a very basic Rails 3 application that demonstrates how to use the [Sign in with Twitter][siwt] workflow using version 1 of the [twitter gem][twitter] (which has removed built-in OAuth support) and the [omniauth gem][omniauth]. [siwt]: http://dev.twitter...
Add link to Travis CI
Add link to Travis CI
Markdown
mit
arrogantgamer/ludum_dare_28,sferik/sign-in-with-twitter,ksmetana/rails-app-twitter-test,ksmetana/rails-app-twitter-test,sferik/sign-in-with-twitter,sferik/sign-in-with-twitter,theonlyjames/garbage,theonlyjames/garbage,maxogden/ciccflip,arrogantgamer/ludum_dare_28,maxogden/ciccflip
markdown
## Code Before: Sign in with Twitter ==================== Sign in with Twitter is a very basic Rails 3 application that demonstrates how to use the [Sign in with Twitter][siwt] workflow using version 1 of the [twitter gem][twitter] (which has removed built-in OAuth support) and the [omniauth gem][omniauth]. [siwt]: ht...
Sign in with Twitter ==================== Sign in with Twitter is a very basic Rails 3 application that demonstrates how to use the [Sign in with Twitter][siwt] workflow using version 1 of the [twitter gem][twitter] (which has removed built-in OAuth support) and the [omniauth gem][omniauth]. [siwt]: ht...
4
0.129032
4
0
f7c27dcb0857639c546f7bc6dd454e0554ecbd7b
src/SearchInRotatedSortedArray.cpp
src/SearchInRotatedSortedArray.cpp
int SearchInRotatedSortedArray::search(vector<int>& nums, int target) { if (nums.empty()) return -1; int p = 0; while (p + 1 < nums.size() && nums[p] < nums[p + 1]) p++; if (p + 1 == nums.size()) return partialSearch(nums, 0, nums.size() - 1, target); if (target <= nums[nums.size() - 1]) retur...
int SearchInRotatedSortedArray::search(vector<int>& nums, int target) { if (nums.empty()) return -1; return partialSearch(nums, 0, nums.size() - 1, target); } int SearchInRotatedSortedArray::partialSearch(vector<int>& nums, int p, int q, int target) { if (p > q) return -1; int m = (p + q) / 2; if (nums[m...
Update Problem 33. Search in Rotated Sorted Array
Update Problem 33. Search in Rotated Sorted Array
C++
mit
yanzhe-chen/leetcode
c++
## Code Before: int SearchInRotatedSortedArray::search(vector<int>& nums, int target) { if (nums.empty()) return -1; int p = 0; while (p + 1 < nums.size() && nums[p] < nums[p + 1]) p++; if (p + 1 == nums.size()) return partialSearch(nums, 0, nums.size() - 1, target); if (target <= nums[nums.size()...
int SearchInRotatedSortedArray::search(vector<int>& nums, int target) { if (nums.empty()) return -1; - int p = 0; - while (p + 1 < nums.size() && nums[p] < nums[p + 1]) - p++; - - if (p + 1 == nums.size()) - return partialSearch(nums, 0, nums.size() - 1, target); ? -- + return partialSea...
35
1.09375
14
21
5ef1f60e9ec5d3094e49e72c3b74e7877e785c51
script/config.rb
script/config.rb
UPLOAD_TO = 'sitnik@sitnik.ru:/home/sitnik/data/www/sitnik.ru/' require 'pathname' ROOT = Pathname.new(__FILE__).dirname.parent.realpath PUBLIC = ROOT.join('public') CONTENT = ROOT.join('content') def build load Pathname.new(__FILE__).dirname.join('build') end
UPLOAD_TO = 'ai@sitnik.ru:/home/ai/sitnik.ru/' require 'pathname' ROOT = Pathname.new(__FILE__).dirname.parent.realpath PUBLIC = ROOT.join('public') CONTENT = ROOT.join('content') def build load Pathname.new(__FILE__).dirname.join('build') end
Change rsync path on server
Change rsync path on server
Ruby
mit
ai/sitnik.ru
ruby
## Code Before: UPLOAD_TO = 'sitnik@sitnik.ru:/home/sitnik/data/www/sitnik.ru/' require 'pathname' ROOT = Pathname.new(__FILE__).dirname.parent.realpath PUBLIC = ROOT.join('public') CONTENT = ROOT.join('content') def build load Pathname.new(__FILE__).dirname.join('build') end ## Instruction: Change rsync pat...
- UPLOAD_TO = 'sitnik@sitnik.ru:/home/sitnik/data/www/sitnik.ru/' ? ^ ---- ^ ------------- + UPLOAD_TO = 'ai@sitnik.ru:/home/ai/sitnik.ru/' ? ^ ^ - require 'pathname' ROOT = Pathname.new(__FILE__).dirname.parent.realpath PUBLIC = ROOT.join('p...
3
0.25
1
2
a52a535f004d3474a546f8a692ed19d90ec884f5
home/.config/pop-shell/config.json
home/.config/pop-shell/config.json
{ "float": [ { "class": "pop-shell-example", "title": "pop-shell-example" }, { "class": "ulauncher" }, { "class": "Steam" }, { "class": "ocs-url" }, { "class": "gnome-terminal-server", "title": "Preferences – Profile “Unnamed”" }, {...
{ "float": [ { "class": "pop-shell-example", "title": "pop-shell-example" }, { "class": "ulauncher" }, { "class": "Steam" }, { "class": "ocs-url" }, { "class": "gnome-terminal-server", "title": "Preferences – Profile “Unnamed”" }, {...
Add update-manager to pop-shell exceptions
Add update-manager to pop-shell exceptions
JSON
mit
NullVoxPopuli/dotfiles,NullVoxPopuli/dotfiles,NullVoxPopuli/dotfiles
json
## Code Before: { "float": [ { "class": "pop-shell-example", "title": "pop-shell-example" }, { "class": "ulauncher" }, { "class": "Steam" }, { "class": "ocs-url" }, { "class": "gnome-terminal-server", "title": "Preferences – Profile “Unname...
{ "float": [ { "class": "pop-shell-example", "title": "pop-shell-example" }, { "class": "ulauncher" }, { "class": "Steam" }, { "class": "ocs-url" }, { "class": "gnome-terminal-server", "title": "Preferenc...
3
0.107143
3
0
fc9a443c3dffe7eabc70596f0f173c013ae90a6f
lib/shore/client/uuid_helpers.rb
lib/shore/client/uuid_helpers.rb
module Shore module Client module UUID UUID_FORMAT = 'H8H4H4H4H12' # from_urlsafe("uUtUi3QLle6IvU1oOYIezg") # => "b94b548b-740b-95ee-88bd-4d6839821ece" def self.from_urlsafe(url) url = url.gsub('_','/').gsub('-','+') url.unpack('m').first.unpack(UUID_FORMAT).join('-') end # t...
module Shore module Client module UUID UUID_FORMAT = 'H8H4H4H4H12' # from_urlsafe("uUtUi3QLle6IvU1oOYIezg") # => "b94b548b-740b-95ee-88bd-4d6839821ece" def self.from_urlsafe(url) url = url.gsub('_','/').gsub('-','+') url.unpack('m').first.unpack(UUID_FORMAT).join('-') ...
Fix formatting in UUID helper
Fix formatting in UUID helper
Ruby
mit
shore-gmbh/shore-ruby-client,shore-gmbh/shore-ruby-client
ruby
## Code Before: module Shore module Client module UUID UUID_FORMAT = 'H8H4H4H4H12' # from_urlsafe("uUtUi3QLle6IvU1oOYIezg") # => "b94b548b-740b-95ee-88bd-4d6839821ece" def self.from_urlsafe(url) url = url.gsub('_','/').gsub('-','+') url.unpack('m').first.unpack(UUID_FORMAT).join('-'...
module Shore module Client module UUID - UUID_FORMAT = 'H8H4H4H4H12' ? ^^^ + UUID_FORMAT = 'H8H4H4H4H12' ? ^^^^^^ # from_urlsafe("uUtUi3QLle6IvU1oOYIezg") - # => "b94b548b-740b-95ee-88bd-4d6839821ece" ? ^^^ + # => "b94b548b-740b-95ee-88bd-4d6839821ece" ? ^^^^^^ def s...
16
0.761905
8
8
e0c185166a7337daccb288d5ee328b6e42550d4d
README.md
README.md
A Webpack plugin to download translations from Phraseapp and place them in your project
Webpack plugin for generating translations files from PhraseApp. This plugin uses the download API endpoint from PhraseApp, for further information please see the following [link](https://phraseapp.com/docs/api/v2/locales/#download) ## Usage In your `webpack.config.js` ```javascript var PhraseAppBuilderPlugin = req...
Update readme with the proper description
Update readme with the proper description
Markdown
mit
cornerjob/webpack-phraseapp-builder
markdown
## Code Before: A Webpack plugin to download translations from Phraseapp and place them in your project ## Instruction: Update readme with the proper description ## Code After: Webpack plugin for generating translations files from PhraseApp. This plugin uses the download API endpoint from PhraseApp, for further info...
- A Webpack plugin to download translations from Phraseapp and place them in your project + + Webpack plugin for generating translations files from PhraseApp. + This plugin uses the download API endpoint from PhraseApp, for further information please see the following [link](https://phraseapp.com/docs/api/v2/locales/#...
41
41
40
1
2a1f827ab67562ecf7957effeca3ba3f75f4b45f
components/terminal/init.js
components/terminal/init.js
/* * Copyright (c) Codiad & Kent Safranski (codiad.com), distributed * as-is and without warranty under the MIT License. See * [root]/license.txt for more. This information must remain intact. */ (function(global, $){ global.codiad.terminal = { termWidth: $(window) .outerWidth() - 500, ...
/* * Copyright (c) Codiad & Kent Safranski (codiad.com), distributed * as-is and without warranty under the MIT License. See * [root]/license.txt for more. This information must remain intact. */ (function(global, $){ global.codiad.terminal = { termWidth: $(window) .outerWidth() - 500, ...
Remove overlay so files/editor still accessible when terminal is open
Remove overlay so files/editor still accessible when terminal is open
JavaScript
mit
cobisimo/Codiad,BogusCurry/Codiad,cobisimo/Codiad,l3dlp/Codiad,Tepira/Codiad,titiushko/Codiad,dragonro/Codiad,evertton/Codiad,begemot-amp/Codiad,dragonro/Codiad,titiushko/Codiad,justintime4tea/Codiad,AlphaStaxLLC/Codiad,evertton/Codiad,hoksi/Codiad,lucasfurlani/ACIDE,justintime4tea/Codiad,begemot-amp/Codiad,AlphaStaxLL...
javascript
## Code Before: /* * Copyright (c) Codiad & Kent Safranski (codiad.com), distributed * as-is and without warranty under the MIT License. See * [root]/license.txt for more. This information must remain intact. */ (function(global, $){ global.codiad.terminal = { termWidth: $(window) .oute...
/* * Copyright (c) Codiad & Kent Safranski (codiad.com), distributed * as-is and without warranty under the MIT License. See * [root]/license.txt for more. This information must remain intact. */ (function(global, $){ global.codiad.terminal = { termWidth: $(window) ...
1
0.055556
1
0
990129dee1726f0c86efc3763ea406dcf0e0e328
CHANGELOG.md
CHANGELOG.md
v0.3.0 ====== * Added support for XML based web services ([jschaedl](https://github.com/jschaedl))
v0.3.0 ====== * Added support for XML based web services ([jschaedl](https://github.com/jschaedl)) v0.4.0 ====== * PHP 5.4 support has been dropped and PHP 7.1 was added to the travis config. * All the production dependencies has been updated to the latest versions. ** behat/behat to 3.3.0 ** justinrainbow/json-schema...
Change log for version 0.4.0
Change log for version 0.4.0
Markdown
mit
theDisco/Arachne
markdown
## Code Before: v0.3.0 ====== * Added support for XML based web services ([jschaedl](https://github.com/jschaedl)) ## Instruction: Change log for version 0.4.0 ## Code After: v0.3.0 ====== * Added support for XML based web services ([jschaedl](https://github.com/jschaedl)) v0.4.0 ====== * PHP 5.4 support has been dr...
v0.3.0 ====== * Added support for XML based web services ([jschaedl](https://github.com/jschaedl)) + + v0.4.0 + ====== + * PHP 5.4 support has been dropped and PHP 7.1 was added to the travis config. + * All the production dependencies has been updated to the latest versions. + ** behat/behat to 3.3.0 + ** justi...
10
3.333333
10
0
be22adbf134224dc99a82b97ae9e1e39766a0718
models/_query/BbiiMemberQuery.php
models/_query/BbiiMemberQuery.php
<?php namespace frontend\modules\bbii\models\_query; use yii\db\ActiveQuery; /** * Created to replace Yii1's scope concept. Yii2 uses query classes * * @since 0.0.5 */ class BbiiMemberQuery extends ActiveQuery { public function find() { return $this; } public function findAll() { return $this; } ...
<?php namespace frontend\modules\bbii\models\_query; use yii\db\ActiveQuery; /** * Created to replace Yii1's scope concept. Yii2 uses query classes * * @since 0.0.5 */ class BbiiMemberQuery extends ActiveQuery { public function find() { return $this; } public function findAll() { return $this; } ...
FIX query class for Member MDL
FIX query class for Member MDL
PHP
bsd-2-clause
sourcetoad/bbii2,sourcetoad/bbii2
php
## Code Before: <?php namespace frontend\modules\bbii\models\_query; use yii\db\ActiveQuery; /** * Created to replace Yii1's scope concept. Yii2 uses query classes * * @since 0.0.5 */ class BbiiMemberQuery extends ActiveQuery { public function find() { return $this; } public function findAll() { ret...
<?php namespace frontend\modules\bbii\models\_query; use yii\db\ActiveQuery; /** * Created to replace Yii1's scope concept. Yii2 uses query classes * * @since 0.0.5 */ class BbiiMemberQuery extends ActiveQuery { public function find() { return $this; } public func...
9
0.169811
7
2
f11fc45ca6c22f1ac9c5284f27be8c5b92c9c5e7
app/src/main/res/xml/prefs.xml
app/src/main/res/xml/prefs.xml
<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceCategory android:title="@string/reminders"> <RingtonePreference android:title="@string/reminder_ringtone" android:key="reminder_tone" ...
<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceCategory android:title="@string/general_settings"> <CheckBoxPreference android:key="auto_update" android:title="@string/pref_auto_download" ...
Add a general PreferenceCategory to get consistent layout
Add a general PreferenceCategory to get consistent layout
XML
apache-2.0
EventFahrplan/EventFahrplan,EventFahrplan/EventFahrplan
xml
## Code Before: <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceCategory android:title="@string/reminders"> <RingtonePreference android:title="@string/reminder_ringtone" android:key="remin...
<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen - xmlns:android="http://schemas.android.com/apk/res/android"> ? ---- + xmlns:android="http://schemas.android.com/apk/res/android"> - <PreferenceCategory android:title="@string/reminders"> ? ^ ...
27
1.35
14
13
0055c44df7839720c733909bafae9b3d6c8a4844
blog-index.html
blog-index.html
--- --- <div class="spacer"> </div> {% for post in site.posts %} <article> <h2><a href="{{ post.url | prepend: site.baseurl}}">{{ post.title }}</a></h2> <div class="tags"> <strong>Tags:</strong> {% for tag in post.tags%} {{ tag }} {% endfor %} </div><!-- end tags --> <section class="post-preview"> {...
--- --- <div class="spacer"> </div> {% for post in site.posts %} <article> <h2><a href="{{ post.url | prepend: site.baseurl}}">{{ post.title }}</a></h2> <section class="post-preview"> {{ post.excerpt | strip_html }} </section> <div class="tags"> <strong>Tags:</strong> {% for tag in post.tags%} {{ ta...
Reorder an article such that the excerpt comes before the tags.
Reorder an article such that the excerpt comes before the tags.
HTML
mit
StevenXL/stevenxl.github.io,StevenXL/stevenxl.github.io
html
## Code Before: --- --- <div class="spacer"> </div> {% for post in site.posts %} <article> <h2><a href="{{ post.url | prepend: site.baseurl}}">{{ post.title }}</a></h2> <div class="tags"> <strong>Tags:</strong> {% for tag in post.tags%} {{ tag }} {% endfor %} </div><!-- end tags --> <section class="post...
--- --- <div class="spacer"> </div> {% for post in site.posts %} <article> <h2><a href="{{ post.url | prepend: site.baseurl}}">{{ post.title }}</a></h2> + <section class="post-preview"> + {{ post.excerpt | strip_html }} + </section> + <div class="tags"> <strong>Tags:</strong>...
10
0.416667
6
4
542ffbafe17055988e580e71dd834600efca7495
meta-oe/recipes-support/libgusb/libgusb_0.3.8.bb
meta-oe/recipes-support/libgusb/libgusb_0.3.8.bb
SUMMARY = "GUsb is a GObject wrapper for libusb1" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS = "glib-2.0 libusb" inherit meson gobject-introspection gtk-doc gettext vala PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" PACK...
SUMMARY = "GUsb is a GObject wrapper for libusb1" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS = "glib-2.0 libusb" inherit meson gobject-introspection gtk-doc gettext vala PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" PACK...
Revert "libgusb: Use the correct args to disable vala support"
Revert "libgusb: Use the correct args to disable vala support" This reverts commit cb1968b5410fa415f5c6c70264ce83c4112b6d4d. There is already vapi PACKAGECONFIG added in: https://git.openembedded.org/meta-openembedded/commit/?id=8e816f6fd17ae4142e67b2224ef88dae97435a1c which resolves this. Signed-off-by: Martin Jans...
BitBake
mit
schnitzeltony/meta-openembedded,schnitzeltony/meta-openembedded,moto-timo/meta-openembedded,openembedded/meta-openembedded,rehsack/meta-openembedded,moto-timo/meta-openembedded,openembedded/meta-openembedded,rehsack/meta-openembedded,schnitzeltony/meta-openembedded,rehsack/meta-openembedded,rehsack/meta-openembedded,op...
bitbake
## Code Before: SUMMARY = "GUsb is a GObject wrapper for libusb1" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS = "glib-2.0 libusb" inherit meson gobject-introspection gtk-doc gettext vala PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi...
SUMMARY = "GUsb is a GObject wrapper for libusb1" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS = "glib-2.0 libusb" inherit meson gobject-introspection gtk-doc gettext vala PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'va...
2
0.125
0
2
64590261f431e181b3c8bb11cf5ac6930c73a0a9
index.js
index.js
var exec = require('child_process').exec; var through = require('through2'); var gutil = require('gulp-util'); var merge = require('merge'); var PluginError = gutil.PluginError; var vnuJar = require('vnu-jar'); module.exports = function(opt) { var vnuCmd = 'java -Xss512k -jar ' + vnuJar + ' '; var options = merge...
var exec = require('child_process').exec; var through = require('through2'); var gutil = require('gulp-util'); var merge = require('merge'); var PluginError = gutil.PluginError; var vnuJar = require('vnu-jar'); module.exports = function(opt) { var vnuCmd = 'java -Xss512k -jar ' + vnuJar + ' '; var options = merge...
Use stdout when stderr is empty
Use stdout when stderr is empty
JavaScript
mit
watilde/gulp-html,watilde/gulp-html
javascript
## Code Before: var exec = require('child_process').exec; var through = require('through2'); var gutil = require('gulp-util'); var merge = require('merge'); var PluginError = gutil.PluginError; var vnuJar = require('vnu-jar'); module.exports = function(opt) { var vnuCmd = 'java -Xss512k -jar ' + vnuJar + ' '; var...
var exec = require('child_process').exec; var through = require('through2'); var gutil = require('gulp-util'); var merge = require('merge'); var PluginError = gutil.PluginError; var vnuJar = require('vnu-jar'); module.exports = function(opt) { var vnuCmd = 'java -Xss512k -jar ' + vnuJar + ' '; ...
2
0.051282
1
1
7cfe48aef3115348bda0e48c21d752e703770e19
maven-ant.xml
maven-ant.xml
<?xml version="1.0"?> <project name="maven-ant" basedir="." xmlns:artifact="urn:maven-artifact-ant"> <property name="maven-ant.vers" value="2.1.1"/> <property name="maven-ant.dir" value="${user.home}/.m2/ant-support"/> <property name="maven-ant.jar" value="${maven-ant.dir}/maven-ant-tasks-${maven-ant.vers}.jar"/>...
<?xml version="1.0"?> <project name="maven-ant" basedir="." xmlns:artifact="urn:maven-artifact-ant"> <property name="maven-ant.vers" value="2.1.3"/> <property name="maven-ant.dir" value="${user.home}/.m2/ant-support"/> <property name="maven-ant.jar" value="${maven-ant.dir}/maven-ant-tasks-${maven-ant.vers}.jar"/>...
Update the location and version of the maven ant task
Update the location and version of the maven ant task
XML
bsd-3-clause
threerings/game-gardens
xml
## Code Before: <?xml version="1.0"?> <project name="maven-ant" basedir="." xmlns:artifact="urn:maven-artifact-ant"> <property name="maven-ant.vers" value="2.1.1"/> <property name="maven-ant.dir" value="${user.home}/.m2/ant-support"/> <property name="maven-ant.jar" value="${maven-ant.dir}/maven-ant-tasks-${maven-...
<?xml version="1.0"?> <project name="maven-ant" basedir="." xmlns:artifact="urn:maven-artifact-ant"> - <property name="maven-ant.vers" value="2.1.1"/> ? ^ + <property name="maven-ant.vers" value="2.1.3"/> ? ^ <proper...
4
0.2
2
2
9c0a82fa20aa07697d8b170bbbfae9f2e5f2675d
bookmarklets/tumblr-share.js
bookmarklets/tumblr-share.js
((window, document) => { const encode = window.encodeURIComponent; const $ = document.querySelector.bind(document); const $$ = document.querySelectorAll.bind(document); const url = ((t=$("link[rel=canonical]")) && t.href) || ((t=$('meta[property="og:url"],meta[property="twitter:url"]')) && t.content) ...
((window, document) => { const encode = window.encodeURIComponent; const $ = document.querySelector.bind(document); const $$ = document.querySelectorAll.bind(document); const url = ((t=$("link[rel=canonical]")) && t.href) || ((t=$('meta[property="og:url"],meta[property="twitter:url"]')) && t.content) ...
Use external window for tumlr share
Use external window for tumlr share
JavaScript
unlicense
kui/dotfiles,kui/dotfiles,kui/dotfiles,kui/dotfiles
javascript
## Code Before: ((window, document) => { const encode = window.encodeURIComponent; const $ = document.querySelector.bind(document); const $$ = document.querySelectorAll.bind(document); const url = ((t=$("link[rel=canonical]")) && t.href) || ((t=$('meta[property="og:url"],meta[property="twitter:url"]')) ...
((window, document) => { const encode = window.encodeURIComponent; const $ = document.querySelector.bind(document); const $$ = document.querySelectorAll.bind(document); const url = ((t=$("link[rel=canonical]")) && t.href) || ((t=$('meta[property="og:url"],meta[property="twitter:url"]')) && t...
6
0.222222
4
2
d4a464f02df7ef674f159a96f5b0bbe018a92079
capistrano.gemspec
capistrano.gemspec
require './lib/capistrano/version' Gem::Specification.new do |s| s.name = 'capistrano' s.version = PKG_VERSION s.platform = Gem::Platform::RUBY s.summary = <<-DESC.strip.gsub(/\n\s+/, " ") Capistrano is a framework and utility for executing commands in parallel on multiple remote machines, via SSH. Th...
require './lib/capistrano/version' Gem::Specification.new do |s| s.name = 'capistrano' s.version = PKG_VERSION s.platform = Gem::Platform::RUBY s.summary = <<-DESC.strip.gsub(/\n\s+/, " ") Capistrano is a framework and utility for executing commands in parallel on multiple remote machines, via SSH. Th...
Fix gemspec to include license file, etc.
Fix gemspec to include license file, etc. git-svn-id: 9d685678486d2699cf6cf82c17578cbe0280bb1f@4832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Ruby
mit
ascarter/capistrano,dstrctrng/alpha_omega,dstrctrng/alpha_omega,halorgium/capistrano
ruby
## Code Before: require './lib/capistrano/version' Gem::Specification.new do |s| s.name = 'capistrano' s.version = PKG_VERSION s.platform = Gem::Platform::RUBY s.summary = <<-DESC.strip.gsub(/\n\s+/, " ") Capistrano is a framework and utility for executing commands in parallel on multiple remote machi...
require './lib/capistrano/version' Gem::Specification.new do |s| s.name = 'capistrano' s.version = PKG_VERSION s.platform = Gem::Platform::RUBY s.summary = <<-DESC.strip.gsub(/\n\s+/, " ") Capistrano is a framework and utility for executing commands in parallel on multiple remote m...
3
0.096774
1
2
2d0e01f41420efa222ff0fe3a068fa6e231dfd35
installation_instructions.txt
installation_instructions.txt
1. Requirements: http://ph7cms.com/doc/en/requirements 2. Installation: http://ph7cms.com/doc/en/install 3. Once you finished the installation, your admin panel URL will be: http://YOUR-PH7CMS-SITE.com/admin123/
1. Requirements: http://ph7cms.com/doc/en/requirements 2. Installation: http://ph7cms.com/doc/en/install 3. Once you finished the installation, your admin panel URL will be: http://YOUR-PH7CMS-SITE.com/admin123 --- Good Hosting --- http://ph7cms.com/hosting/ --- Useful doc --- Documentation: http://ph7cms.com/doc/ K...
Add more useful details after, when the installation is finished
Add more useful details after, when the installation is finished
Text
mit
pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS
text
## Code Before: 1. Requirements: http://ph7cms.com/doc/en/requirements 2. Installation: http://ph7cms.com/doc/en/install 3. Once you finished the installation, your admin panel URL will be: http://YOUR-PH7CMS-SITE.com/admin123/ ## Instruction: Add more useful details after, when the installation is finished ## Code Af...
1. Requirements: http://ph7cms.com/doc/en/requirements 2. Installation: http://ph7cms.com/doc/en/install - 3. Once you finished the installation, your admin panel URL will be: http://YOUR-PH7CMS-SITE.com/admin123/ ? ...
12
4
11
1
c1579779f1267ad942bc9b293c5880396b05e155
.travis.yml
.travis.yml
language: bash sudo: required addons: apt: sources: - debian-sid packages: - shellcheck before_install: - sudo add-apt-repository ppa:duggan/bats -y - sudo apt-get -qq update - sudo apt-get install -y bats jq script: - ./test.sh
language: bash sudo: required # addons: # apt: # sources: # - debian-sid # packages: # - shellcheck # # before_install: # - sudo add-apt-repository ppa:duggan/bats -y # - sudo apt-get -qq update # - sudo apt-get install -y bats jq script: - ./test.sh
Fix apt dependencies issues on TRAVIS
Fix apt dependencies issues on TRAVIS
YAML
mit
Josef-Friedrich/Hue-shell,Josef-Friedrich/Hue-shell
yaml
## Code Before: language: bash sudo: required addons: apt: sources: - debian-sid packages: - shellcheck before_install: - sudo add-apt-repository ppa:duggan/bats -y - sudo apt-get -qq update - sudo apt-get install -y bats jq script: - ./test.sh ## Instruction: Fix apt dependencies issues on...
language: bash sudo: required - addons: + # addons: ? ++ - apt: + # apt: ? ++ - sources: + # sources: ? ++ - - debian-sid + # - debian-sid ? ++ - packages: + # packages: ? ++ - - shellcheck + # - shellcheck ? ++ - + # - before_install: + # before_install: ? ++ - - su...
22
1.375
11
11
22f0702ccb5f08d94ee00690bad0145316be258c
metadata/com.willhauck.linconnectclient.txt
metadata/com.willhauck.linconnectclient.txt
Categories:System License:GPLv3 Web Site: Source Code:https://github.com/hauckwill/linconnect-client Issue Tracker:https://github.com/hauckwill/linconnect-client/issues Auto Name:LinConnect Summary:Mirror notifications to desktop Description: Install the server on the desktop: see the source code page. * Extremely si...
Categories:System License:GPLv3 Web Site: Source Code:https://github.com/hauckwill/linconnect-client Issue Tracker:https://github.com/hauckwill/linconnect-client/issues Auto Name:LinConnect Summary:Mirror notifications to desktop Description: Install the server on the desktop: see the source code page. * Extremely si...
Update LinConnect to 2.21 (221)
Update LinConnect to 2.21 (221)
Text
agpl-3.0
f-droid/fdroid-data,f-droid/fdroiddata,f-droid/fdroiddata
text
## Code Before: Categories:System License:GPLv3 Web Site: Source Code:https://github.com/hauckwill/linconnect-client Issue Tracker:https://github.com/hauckwill/linconnect-client/issues Auto Name:LinConnect Summary:Mirror notifications to desktop Description: Install the server on the desktop: see the source code page....
Categories:System License:GPLv3 Web Site: Source Code:https://github.com/hauckwill/linconnect-client Issue Tracker:https://github.com/hauckwill/linconnect-client/issues Auto Name:LinConnect Summary:Mirror notifications to desktop Description: Install the server on the desktop: see the source code p...
10
0.25
8
2
f4972dd70f0d23c6c66533a077a19eaf8419a7a9
tests/integration/components/bs-datetimepicker-test.js
tests/integration/components/bs-datetimepicker-test.js
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('bs-datetimepicker', 'Integration | Component | bs datetimepicker', { integration: true }); test('it renders iconClasses and iconText', function(assert) { assert.expect(2); this.render(hbs`{...
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('bs-datetimepicker', 'Integration | Component | bs datetimepicker', { integration: true }); test('it renders iconClasses and iconText', function(assert) { assert.expect(2); this.render(hbs`{...
Fix `iconClasses` and `iconText` tests
Fix `iconClasses` and `iconText` tests
JavaScript
mit
asux/ember-cli-bootstrap-datetimepicker,btecu/ember-cli-bootstrap-datetimepicker,asux/ember-cli-bootstrap-datetimepicker,btecu/ember-cli-bootstrap-datetimepicker
javascript
## Code Before: import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('bs-datetimepicker', 'Integration | Component | bs datetimepicker', { integration: true }); test('it renders iconClasses and iconText', function(assert) { assert.expect(2); t...
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('bs-datetimepicker', 'Integration | Component | bs datetimepicker', { integration: true }); test('it renders iconClasses and iconText', function(assert) { assert.expect(2); ...
5
0.208333
2
3
fa14501694570c745c323e9537fb7947a70da783
src/CMakeLists.txt
src/CMakeLists.txt
include_directories(${mosquitto_SOURCE_DIR} ${mosquitto_SOURCE_DIR}/src ${mosquitto_SOURCE_DIR}/lib) add_executable(mosquitto bridge.c conf.c context.c database.c logging.c ../lib/memory_mosq.c ../lib/memory_mosq.h mosquitto.c mqtt3.h net.c ../lib/net_mosq.c ../lib/net_mosq.h raw_send.c raw_send_client.c...
include_directories(${mosquitto_SOURCE_DIR} ${mosquitto_SOURCE_DIR}/src ${mosquitto_SOURCE_DIR}/lib) add_executable(mosquitto bridge.c conf.c context.c database.c logging.c ../lib/memory_mosq.c ../lib/memory_mosq.h mosquitto.c mqtt3.h net.c ../lib/net_mosq.c ../lib/net_mosq.h raw_send.c raw_send_client.c...
Add options list for compiling broker under CMake.
Add options list for compiling broker under CMake.
Text
bsd-3-clause
zlargon/mosquitto,zlargon/mosquitto,zlargon/mosquitto,zlargon/mosquitto,zlargon/mosquitto
text
## Code Before: include_directories(${mosquitto_SOURCE_DIR} ${mosquitto_SOURCE_DIR}/src ${mosquitto_SOURCE_DIR}/lib) add_executable(mosquitto bridge.c conf.c context.c database.c logging.c ../lib/memory_mosq.c ../lib/memory_mosq.h mosquitto.c mqtt3.h net.c ../lib/net_mosq.c ../lib/net_mosq.h raw_send.c r...
include_directories(${mosquitto_SOURCE_DIR} ${mosquitto_SOURCE_DIR}/src ${mosquitto_SOURCE_DIR}/lib) add_executable(mosquitto bridge.c conf.c context.c database.c logging.c ../lib/memory_mosq.c ../lib/memory_mosq.h mosquitto.c mqtt3.h net.c ../lib/net_mosq.c ../lib/net_mosq.h ...
9
0.3
9
0
5e07e41c6e9f21a9ce204661fc22941127f4032c
.travis.yml
.travis.yml
sudo: false language: java jdk: oraclejdk8 cache: directories: - $HOME/.m2 env: DISPLAY=:99.0 addons: apt: packages: - metacity before_install: # maven version is 3.2.5 by default on travis. Polyglot projects need Maven 3.3.1 - wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apach...
sudo: false language: java jdk: oraclejdk8 cache: directories: - $HOME/.m2 env: DISPLAY=:99.0 addons: apt: packages: - metacity - oracle-java8-installer before_install: # maven version is 3.2.5 by default on travis. Polyglot projects need Maven 3.3.1 - wget https://archive.apache.org/dist/maven/...
Include hack to run a newer JDK 8
Include hack to run a newer JDK 8 see: travis-ci/travis-ci#3259
YAML
epl-1.0
cchabanois/mesfavoris,cchabanois/mesfavoris
yaml
## Code Before: sudo: false language: java jdk: oraclejdk8 cache: directories: - $HOME/.m2 env: DISPLAY=:99.0 addons: apt: packages: - metacity before_install: # maven version is 3.2.5 by default on travis. Polyglot projects need Maven 3.3.1 - wget https://archive.apache.org/dist/maven/maven-3/3.3....
sudo: false language: java - jdk: oraclejdk8 cache: directories: - $HOME/.m2 env: DISPLAY=:99.0 addons: apt: packages: - metacity + - oracle-java8-installer before_install: # maven version is 3.2.5 by default on travis. Polyglot projects need Maven 3.3.1 - ...
2
0.04878
1
1
ca223de9eafbf0442e1d7c00e30f5f5f1d5399a1
README.md
README.md
![Icon](https://raw.githubusercontent.com/kangwang1988/RecordScreen-iOS9-/master/recordscreen.gif) ## Overview RecordScreen-iOS9+ is a project which implements screen recording in iOS9 and above. ## Feature a.A video recording your screen in your app with ReplayKit. b.Red dots indicating user action. c.A log file...
![Icon](https://raw.githubusercontent.com/kangwang1988/RecordScreen-iOS9-/master/recordscreen.gif) ## Overview RecordScreen-iOS9+ is a project which implements screen recording in iOS9 and above. ## Feature a.A video recording your screen in your app with ReplayKit. b.Red dots indicating user action. c.A log file...
Refactor for iOS9 below usage.
Refactor for iOS9 below usage.
Markdown
mit
kangwang1988/RecordScreen-iOS9-,kangwang1988/RecordScreen-iOS9-
markdown
## Code Before: ![Icon](https://raw.githubusercontent.com/kangwang1988/RecordScreen-iOS9-/master/recordscreen.gif) ## Overview RecordScreen-iOS9+ is a project which implements screen recording in iOS9 and above. ## Feature a.A video recording your screen in your app with ReplayKit. b.Red dots indicating user actio...
![Icon](https://raw.githubusercontent.com/kangwang1988/RecordScreen-iOS9-/master/recordscreen.gif) ## Overview RecordScreen-iOS9+ is a project which implements screen recording in iOS9 and above. ## Feature a.A video recording your screen in your app with ReplayKit. b.Red dots indicating user act...
12
0.631579
10
2
d4568f5bb20638b493ed336a64ef277107d45d06
.travis.yml
.travis.yml
language: ruby sudo: false cache: bundler: true rvm: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - jruby-9.1 - jruby before_install: # Keep track of which version of node and phantomjs we're running the specs against - gem update --system - node -v - phantomjs -v
language: ruby sudo: false cache: bundler: true rvm: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - jruby-9.1 - jruby matrix: allow_failures: - rvm: 2.6 before_install: # Keep track of which version of node and phantomjs we're running the specs against - gem update --system - node -v - phantomjs -v
Allow build failures on MRI 2.6
Allow build failures on MRI 2.6
YAML
mit
clearwater-rb/clearwater,clearwater-rb/clearwater
yaml
## Code Before: language: ruby sudo: false cache: bundler: true rvm: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - jruby-9.1 - jruby before_install: # Keep track of which version of node and phantomjs we're running the specs against - gem update --system - node -v - phantomjs -v ## Instruction: Allow bui...
language: ruby sudo: false cache: bundler: true rvm: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - jruby-9.1 - jruby + matrix: + allow_failures: + - rvm: 2.6 + before_install: # Keep track of which version of node and phantomjs we're running the specs against - gem u...
4
0.190476
4
0
4fa157dbb0fc7323ca89b3e655469062935f84c1
Main.py
Main.py
"""Main Module of PDF Splitter""" import argparse import os from PyPDF2 import PdfFileWriter from Util import all_pdf_files_in_directory, split_on_condition, concat_pdf_pages parser = \ argparse.ArgumentParser( description='Split all the pages of multiple PDF files in a directory by document number' ...
"""Main Module of PDF Splitter""" import argparse import os from PyPDF2 import PdfFileWriter from Util import all_pdf_files_in_directory, split_on_condition, concat_pdf_pages parser = \ argparse.ArgumentParser( description='Split all the pages of multiple PDF files in a directory by document number' ...
Refactor main as a separate function
Refactor main as a separate function
Python
mit
shunghsiyu/pdf-processor
python
## Code Before: """Main Module of PDF Splitter""" import argparse import os from PyPDF2 import PdfFileWriter from Util import all_pdf_files_in_directory, split_on_condition, concat_pdf_pages parser = \ argparse.ArgumentParser( description='Split all the pages of multiple PDF files in a directory by docum...
"""Main Module of PDF Splitter""" import argparse import os from PyPDF2 import PdfFileWriter from Util import all_pdf_files_in_directory, split_on_condition, concat_pdf_pages parser = \ argparse.ArgumentParser( description='Split all the pages of multiple PDF files in a directory by...
16
0.372093
10
6
06b5a93fe98887a51000184016cc3400f08647cc
system/blueprints/user/account.yaml
system/blueprints/user/account.yaml
title: Site form: validation: loose fields: content: type: section title: Account fields: username: type: text size: large label: Username disabled: true ...
title: Site form: validation: loose fields: content: type: section title: Account fields: username: type: text size: large label: Username disabled: true ...
Add language to user blueprint
Add language to user blueprint
YAML
mit
userfrosting/learn,Pumpapa/lucaswalters.nl,toovy/grav,DonLiborio/grav,TheHiddenHaku/alessiobottiroli-website-grav,stell/grav,tomzx/blog.tomrochette.com,beacloudgenius/grav,webuxr/iamrs,joeyhenricks/a-broke-vegan,iMoonThailand/grav,toovy/grav,tomzx/blog.tomrochette.com,JamesPan/gravbox,JamesPan/gravbox,sylvestrelucia/gr...
yaml
## Code Before: title: Site form: validation: loose fields: content: type: section title: Account fields: username: type: text size: large label: Username disabled: true ...
title: Site form: validation: loose fields: content: type: section title: Account fields: username: type: text size: large label: Username d...
7
0.152174
7
0
ac0ac8962a82ad295faf11f7df66db4999e9fc4b
src/Tacit/Middleware/ContentTypes.php
src/Tacit/Middleware/ContentTypes.php
<?php /* * This file is part of the Tacit package. * * Copyright (c) Jason Coward <jason@opengeek.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tacit\Middleware; class ContentTypes extends \Slim\Middleware\Conte...
<?php /* * This file is part of the Tacit package. * * Copyright (c) Jason Coward <jason@opengeek.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tacit\Middleware; class ContentTypes extends \Slim\Middleware\Conte...
Fix ContentType middleware to return array for empty body
Fix ContentType middleware to return array for empty body
PHP
mit
opengeek/tacit
php
## Code Before: <?php /* * This file is part of the Tacit package. * * Copyright (c) Jason Coward <jason@opengeek.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tacit\Middleware; class ContentTypes extends \Slim\...
<?php /* * This file is part of the Tacit package. * * Copyright (c) Jason Coward <jason@opengeek.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tacit\Middleware; class ContentTypes ex...
41
1.518519
41
0
27a70dc0dd006e5898bf40c3ea4f36b6278ff3c3
src/main/java/com/demigodsrpg/chitchat/command/CCMuteCommand.java
src/main/java/com/demigodsrpg/chitchat/command/CCMuteCommand.java
package com.demigodsrpg.chitchat.command; import com.demigodsrpg.chitchat.Chitchat; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class CCMuteCommand implements CommandExecutor...
package com.demigodsrpg.chitchat.command; import com.demigodsrpg.chitchat.Chitchat; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class CCMuteCommand implements CommandExecutor...
Add a quick and dirty mute list.
Add a quick and dirty mute list.
Java
mit
DemigodsRPG/Chitchat
java
## Code Before: package com.demigodsrpg.chitchat.command; import com.demigodsrpg.chitchat.Chitchat; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class CCMuteCommand implements...
package com.demigodsrpg.chitchat.command; import com.demigodsrpg.chitchat.Chitchat; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class CCMuteCommand implem...
7
0.233333
7
0
9cb05046c66f39575e1d38542a5dcf656209840a
src/main/java/org/hummingbirdlang/types/concrete/IntegerType.java
src/main/java/org/hummingbirdlang/types/concrete/IntegerType.java
package org.hummingbirdlang.types.concrete; import org.hummingbirdlang.nodes.builtins.BuiltinNodes; import org.hummingbirdlang.types.MethodProperty; import org.hummingbirdlang.types.Property; import org.hummingbirdlang.types.PropertyNotFoundException; import org.hummingbirdlang.types.UnknownType; import org.hummingbir...
package org.hummingbirdlang.types.concrete; import org.hummingbirdlang.nodes.builtins.BuiltinNodes; import org.hummingbirdlang.types.MethodProperty; import org.hummingbirdlang.types.Property; import org.hummingbirdlang.types.PropertyNotFoundException; import org.hummingbirdlang.types.UnknownType; import org.hummingbir...
Add debug string representation of integer concrete type
Add debug string representation of integer concrete type
Java
bsd-3-clause
dirk/hummingbird2,dirk/hummingbird2,dirk/hummingbird2
java
## Code Before: package org.hummingbirdlang.types.concrete; import org.hummingbirdlang.nodes.builtins.BuiltinNodes; import org.hummingbirdlang.types.MethodProperty; import org.hummingbirdlang.types.Property; import org.hummingbirdlang.types.PropertyNotFoundException; import org.hummingbirdlang.types.UnknownType; impor...
package org.hummingbirdlang.types.concrete; import org.hummingbirdlang.nodes.builtins.BuiltinNodes; import org.hummingbirdlang.types.MethodProperty; import org.hummingbirdlang.types.Property; import org.hummingbirdlang.types.PropertyNotFoundException; import org.hummingbirdlang.types.UnknownType; impor...
5
0.128205
5
0
577697928ed04a29803620c38a090a36e21dc73a
angular/core/components/poll/proposal/vote_form/poll_proposal_vote_form.haml
angular/core/components/poll/proposal/vote_form/poll_proposal_vote_form.haml
%form.poll-proposal-vote-form %h3.lmo-card-subheading{translate: "poll_common.your_response"} .poll-proposal-vote-form__option %md-radio-group{ng-model: "stance.selectedOption"} %md-radio-button.poll-common-vote-form__radio-button{class: "poll-common-vote-form__radio-button--{{option.name}}", ng-repeat: "...
%form.poll-proposal-vote-form %h3.lmo-card-subheading{translate: "poll_common.your_response"} .poll-proposal-vote-form__option %md-radio-group{ng-model: "stance.selectedOption"} %md-radio-button.poll-common-vote-form__radio-button{class: "poll-common-vote-form__radio-button--{{option.name}}", ng-repeat: "...
Add selector to vote form
Add selector to vote form
Haml
agpl-3.0
piratas-ar/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio,piratas-ar/loomio,loomio/loomio,loomio/loomio,loomio/loomio
haml
## Code Before: %form.poll-proposal-vote-form %h3.lmo-card-subheading{translate: "poll_common.your_response"} .poll-proposal-vote-form__option %md-radio-group{ng-model: "stance.selectedOption"} %md-radio-button.poll-common-vote-form__radio-button{class: "poll-common-vote-form__radio-button--{{option.name}...
%form.poll-proposal-vote-form %h3.lmo-card-subheading{translate: "poll_common.your_response"} .poll-proposal-vote-form__option %md-radio-group{ng-model: "stance.selectedOption"} %md-radio-button.poll-common-vote-form__radio-button{class: "poll-common-vote-form__radio-button--{{option.name}}", ng...
2
0.111111
1
1
24d0638eca1854f298d2ead54afaa9dd3ce84deb
app/controllers/users_controller.rb
app/controllers/users_controller.rb
class UsersController < ApplicationController def edit @user = current_user @vouchers = current_user.vouchers.includes(:product, :claimed_by) @private_server = PrivateServer.new if @user.has_private_server_option? end def update if current_user.update_attributes(user_params) flash[:notice]...
class UsersController < ApplicationController def edit @user = current_user @vouchers = current_user.vouchers.includes(:product, :claimed_by) @private_server = PrivateServer.new if @user.has_private_server_option? end def update if current_user.update(user_params) flash[:notice] = 'Setting...
Fix Rails 6.1 deprecation warning
Fix Rails 6.1 deprecation warning
Ruby
apache-2.0
Arie/serveme,Arie/serveme,Arie/serveme,Arie/serveme
ruby
## Code Before: class UsersController < ApplicationController def edit @user = current_user @vouchers = current_user.vouchers.includes(:product, :claimed_by) @private_server = PrivateServer.new if @user.has_private_server_option? end def update if current_user.update_attributes(user_params) ...
class UsersController < ApplicationController def edit @user = current_user @vouchers = current_user.vouchers.includes(:product, :claimed_by) @private_server = PrivateServer.new if @user.has_private_server_option? end def update - if current_user.update_attributes(user_params) ...
2
0.095238
1
1
a388cd35701e03319991fa5fa5f558c20b9fa2c9
gattaca/Model/Session/MSessionStatus.swift
gattaca/Model/Session/MSessionStatus.swift
import Foundation extension MSession { enum Status { case new case loading case loaded } }
import Foundation extension MSession { enum Status { case new case loading case sync case loaded } }
Add case sync to status
Add case sync to status
Swift
mit
turingcorp/gattaca,turingcorp/gattaca
swift
## Code Before: import Foundation extension MSession { enum Status { case new case loading case loaded } } ## Instruction: Add case sync to status ## Code After: import Foundation extension MSession { enum Status { case new case loading case sync ...
import Foundation extension MSession { enum Status { case new case loading + case sync case loaded } }
1
0.090909
1
0
a4a9b9960504ea7ae642b912965b8438dc4eefa6
TODO.md
TODO.md
- Development - Integrate `flake8-import-order` into ci - Integrate flake8-docstrings (add 'docstring-convention = numpy' in [flake8] section of .flake8 file) - **Improve test coverage** - Manifolds: - Stiefel [@118](./pymanopt/manifolds/stiefel.py#L118): simplify expressions if possible - Solvers - nel...
- Development - Integrate flake8-docstrings (add 'docstring-convention = numpy' in [flake8] section of .flake8 file) - **Improve test coverage** - Manifolds: - Stiefel [@118](./pymanopt/manifolds/stiefel.py#L118): simplify expressions if possible - Solvers - nelder_mead [@31](./pymanopt/solvers/nelder_mea...
Update to-do list after recent changes
Update to-do list after recent changes Signed-off-by: Niklas Koep <342d5290239d9c5264c8f98185afedb99596601a@gmail.com>
Markdown
bsd-3-clause
pymanopt/pymanopt,pymanopt/pymanopt
markdown
## Code Before: - Development - Integrate `flake8-import-order` into ci - Integrate flake8-docstrings (add 'docstring-convention = numpy' in [flake8] section of .flake8 file) - **Improve test coverage** - Manifolds: - Stiefel [@118](./pymanopt/manifolds/stiefel.py#L118): simplify expressions if possible -...
- Development - - Integrate `flake8-import-order` into ci - Integrate flake8-docstrings (add 'docstring-convention = numpy' in [flake8] section of .flake8 file) - **Improve test coverage** - Manifolds: - Stiefel [@118](./pymanopt/manifolds/stiefel.py#L118): simplify expressions if possibl...
5
0.2
0
5
b23e9cbb391ec2727a33523be298ac3952013764
_includes/current-news.html
_includes/current-news.html
<div class="featured-section current-news-section post-content"> <div class="wrapper"> <h2>Most Recent Post</h2> {% for post in site.posts limit:1 %} <div class="v-wrap flex-container flex-column-on-palm"> {% if post.thumb %} <div class="featured-section-image"> ...
<div class="featured-section current-news-section post-content"> <div class="wrapper"> <h2>Most Recent Post</h2> {% for post in site.posts limit:1 %} <div class="v-wrap flex-container flex-column-on-palm"> {% if post.thumb %} <div class="featured-section-image"> ...
Fix blog author display name on homepage
Fix blog author display name on homepage
HTML
unlicense
open-austin/open-austin.github.io,open-austin/open-austin.org,open-austin/open-austin.org,open-austin/open-austin.org,open-austin/open-austin.github.io,open-austin/open-austin.github.io
html
## Code Before: <div class="featured-section current-news-section post-content"> <div class="wrapper"> <h2>Most Recent Post</h2> {% for post in site.posts limit:1 %} <div class="v-wrap flex-container flex-column-on-palm"> {% if post.thumb %} <div class="featured-sec...
<div class="featured-section current-news-section post-content"> <div class="wrapper"> <h2>Most Recent Post</h2> {% for post in site.posts limit:1 %} <div class="v-wrap flex-container flex-column-on-palm"> {% if post.thumb %} <div class="featured-secti...
6
0.176471
3
3
737002f11c454d94077d23f9c0ecad4f65739477
scripts/jenkins/test-unit.sh
scripts/jenkins/test-unit.sh
composer install echo 'Running Unit tests' ./vendor/bin/phpunit
composer install echo 'Running Unit tests' phpunit
Fix unit test script 2
Fix unit test script 2
Shell
apache-2.0
olx-inc/octopush,olx-inc/octopush,olx-inc/octopush,olx-inc/octopush,olx-inc/octopush,olx-inc/octopush
shell
## Code Before: composer install echo 'Running Unit tests' ./vendor/bin/phpunit ## Instruction: Fix unit test script 2 ## Code After: composer install echo 'Running Unit tests' phpunit
composer install echo 'Running Unit tests' - ./vendor/bin/phpunit + phpunit
2
0.333333
1
1
47bf8a8351b6a5bd4e4ad0b1943a329009cd7f87
index.js
index.js
/* jshint node: true */ 'use strict'; var path = require('path'); var mergeTrees = require('broccoli-merge-trees'); module.exports = { name: 'lodash', treeForAddon: function(tree) { var lodashPath = path.join(this.project.root, 'node_modules', 'ember-lodash', 'node_modules', 'lodash-es'); if (this.app.n...
/* jshint node: true */ 'use strict'; var path = require('path'); var mergeTrees = require('broccoli-merge-trees'); module.exports = { name: 'lodash', treeForAddon: function(tree) { var lodashPath = path.join(this.project.addonPackages['ember-lodash'].path, 'node_modules', 'lodash-es'); var lodashTree = ...
Use this.project.addonPackages to resolve head of addon path
Use this.project.addonPackages to resolve head of addon path
JavaScript
mit
samselikoff/ember-lodash,levanto-financial/ember-lodash,levanto-financial/ember-lodash,jmccune/ember-jm-lodash,mike-north/ember-lodash,mike-north/ember-lodash,truenorth/ember-lodash,samselikoff/ember-lodash,truenorth/ember-lodash,jmccune/ember-jm-lodash
javascript
## Code Before: /* jshint node: true */ 'use strict'; var path = require('path'); var mergeTrees = require('broccoli-merge-trees'); module.exports = { name: 'lodash', treeForAddon: function(tree) { var lodashPath = path.join(this.project.root, 'node_modules', 'ember-lodash', 'node_modules', 'lodash-es'); ...
/* jshint node: true */ 'use strict'; var path = require('path'); var mergeTrees = require('broccoli-merge-trees'); module.exports = { name: 'lodash', treeForAddon: function(tree) { - var lodashPath = path.join(this.project.root, 'node_modules', 'ember-lodash', 'node_modules', 'lodash-es'...
9
0.36
2
7
406dd5d9c16064484fdffbefe2c659fc577dc7c7
_posts/2018-07-07-update-first-steam-release.md
_posts/2018-07-07-update-first-steam-release.md
--- title: "Update - First game released on Steam" date: 2018-07-07 20:00:00 +0200 tags: corpsemob --- I haven't posted to this blog for quite a while, here's some update. <!--more--> Although I haven't been so active on this site lately that doesn't mean I was doing nothing gamedev related. On the contrary, I have...
--- title: "Update - First game released on Steam" date: 2018-07-07 20:00:00 +0200 tags: corpsemob --- I haven't posted to this blog for quite a while, here's some update. <!--more--> Although I haven't been so active on this site lately that doesn't mean I was doing nothing gamedev related. On the contrary, I have...
Fix Corpse Mob trailer link
Fix Corpse Mob trailer link
Markdown
mit
mattsnippets1/mattsnippets1.github.io,mattsnippets1/mattsnippets1.github.io,mattsnippets1/mattsnippets1.github.io
markdown
## Code Before: --- title: "Update - First game released on Steam" date: 2018-07-07 20:00:00 +0200 tags: corpsemob --- I haven't posted to this blog for quite a while, here's some update. <!--more--> Although I haven't been so active on this site lately that doesn't mean I was doing nothing gamedev related. On the ...
--- title: "Update - First game released on Steam" date: 2018-07-07 20:00:00 +0200 tags: corpsemob --- I haven't posted to this blog for quite a while, here's some update. <!--more--> Although I haven't been so active on this site lately that doesn't mean I was doing nothing gamedev related. On th...
2
0.142857
1
1
cc188cfcd7cf3df47643e1257203bb49b54e6656
server/security.coffee
server/security.coffee
BrowserPolicy.content.allowImageOrigin '*' BrowserPolicy.content.allowMediaOrigin '*' BrowserPolicy.content.allowFontOrigin '*' BrowserPolicy.content.allowStyleOrigin '*' BrowserPolicy.content.allowConnectOrigin '*'
BrowserPolicy.content.allowImageOrigin '*' BrowserPolicy.content.allowMediaOrigin '*' BrowserPolicy.content.allowFontOrigin '*' BrowserPolicy.content.allowStyleOrigin '*' BrowserPolicy.content.allowConnectOrigin '*' ## Allow blob source for images, as needed by pdf.js BrowserPolicy.content.allowImageOrigin 'blob:'
Fix PDFs with embedded images via BrowserPolicy
Fix PDFs with embedded images via BrowserPolicy pdf.js embeds blob: objects into <img> tags (when the PDF has embedded images), and we need to explicitly allow this.
CoffeeScript
mit
edemaine/coauthor,edemaine/coauthor
coffeescript
## Code Before: BrowserPolicy.content.allowImageOrigin '*' BrowserPolicy.content.allowMediaOrigin '*' BrowserPolicy.content.allowFontOrigin '*' BrowserPolicy.content.allowStyleOrigin '*' BrowserPolicy.content.allowConnectOrigin '*' ## Instruction: Fix PDFs with embedded images via BrowserPolicy pdf.js embeds blob: ob...
BrowserPolicy.content.allowImageOrigin '*' BrowserPolicy.content.allowMediaOrigin '*' BrowserPolicy.content.allowFontOrigin '*' BrowserPolicy.content.allowStyleOrigin '*' BrowserPolicy.content.allowConnectOrigin '*' + + ## Allow blob source for images, as needed by pdf.js + BrowserPolicy.content.allowImageOr...
3
0.6
3
0
e27c288f8a50c1379cbfa22448e8ec4ca66d04ce
app/models/clusters/concerns/application_data.rb
app/models/clusters/concerns/application_data.rb
module Clusters module Concerns module ApplicationData extend ActiveSupport::Concern included do def uninstall_command Gitlab::Kubernetes::Helm::DeleteCommand.new( name: name, rbac: cluster.platform_kubernetes_rbac?, files: files ) ...
module Clusters module Concerns module ApplicationData def uninstall_command Gitlab::Kubernetes::Helm::DeleteCommand.new( name: name, rbac: cluster.platform_kubernetes_rbac?, files: files ) end def repository nil end def values...
Make ApplicationData a plain module include
Make ApplicationData a plain module include
Ruby
mit
mmkassem/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,stoplightio/gitlabhq
ruby
## Code Before: module Clusters module Concerns module ApplicationData extend ActiveSupport::Concern included do def uninstall_command Gitlab::Kubernetes::Helm::DeleteCommand.new( name: name, rbac: cluster.platform_kubernetes_rbac?, files: files ...
module Clusters module Concerns module ApplicationData - extend ActiveSupport::Concern + def uninstall_command + Gitlab::Kubernetes::Helm::DeleteCommand.new( + name: name, + rbac: cluster.platform_kubernetes_rbac?, + files: files + ) + end ...
82
1.413793
39
43
fe6862f8ab65e34b6b746fa950d0e92edd1c2f3e
pkgs/development/libraries/esdl/default.nix
pkgs/development/libraries/esdl/default.nix
{stdenv, fetchurl, SDL, mesa, erlang}: stdenv.mkDerivation rec { name = "esdl-1.2"; src = fetchurl { url = "mirror://sourceforge/esdl/${name}.src.tar.gz"; sha256 = "0zbnwhy2diivrrs55n96y3sfnbs6lsgz91xjaq15sfi858k9ha29"; }; buildInputs = [ erlang ]; propagatedBuildInputs = [ SDL mesa ]; preBuild ...
{stdenv, fetchurl, SDL, mesa, erlang}: stdenv.mkDerivation rec { name = "esdl-1.0.1"; src = fetchurl { url = "mirror://sourceforge/esdl/${name}.src.tar.gz"; sha256 = "0zc7cmr44v10sb593dismdm5qc2v7sm3z9yh22g4r9g6asbg5z0n"; }; buildInputs = [ erlang ]; propagatedBuildInputs = [ SDL mesa ]; preBuil...
Revert "esdl: update from 1.0.1 to 1.2"
Revert "esdl: update from 1.0.1 to 1.2" Api change breaks dependencies. This reverts commit d3b47ef72575ccf2f1c885d325f2e3427e7abe2b.
Nix
mit
SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,triton/triton,NixOS/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,triton/triton,NixOS/nixpkgs,triton/triton,NixOS/nixpkgs,NixOS/nixpkgs,triton/triton,triton/triton,triton/triton,SymbiFlow/nixpkgs,triton/triton,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,SymbiF...
nix
## Code Before: {stdenv, fetchurl, SDL, mesa, erlang}: stdenv.mkDerivation rec { name = "esdl-1.2"; src = fetchurl { url = "mirror://sourceforge/esdl/${name}.src.tar.gz"; sha256 = "0zbnwhy2diivrrs55n96y3sfnbs6lsgz91xjaq15sfi858k9ha29"; }; buildInputs = [ erlang ]; propagatedBuildInputs = [ SDL mesa...
{stdenv, fetchurl, SDL, mesa, erlang}: stdenv.mkDerivation rec { - name = "esdl-1.2"; ? ^ + name = "esdl-1.0.1"; ? ^^^ src = fetchurl { url = "mirror://sourceforge/esdl/${name}.src.tar.gz"; - sha256 = "0zbnwhy2diivrrs55n96y3sfnbs6lsgz91xjaq15sfi858k9ha29";...
4
0.173913
2
2
14fd2c4be7af5c247ec829eaab4bbe7b35027775
test/e2e/scenarios.js
test/e2e/scenarios.js
'use strict'; describe('my angular musicbrainz app', function () { beforeEach(function () { browser().navigateTo('app/index.html'); }); it('should automatically redirect to /search when location hash/fragment is empty', function () { expect(browser().location().url()).toBe('/search'); ...
'use strict'; describe('my angular musicbrainz app', function () { beforeEach(function () { browser().navigateTo('app/index.html'); }); describe('search', function () { beforeEach(function () { browser().navigateTo('#/search'); }); it('should render search wh...
Fix assertion into info e2e-test
Fix assertion into info e2e-test
JavaScript
mit
arey/angular-musicbrainz,arey/angular-musicbrainz,arey/angular-musicbrainz,arey/angular-musicbrainz,arey/angular-musicbrainz
javascript
## Code Before: 'use strict'; describe('my angular musicbrainz app', function () { beforeEach(function () { browser().navigateTo('app/index.html'); }); it('should automatically redirect to /search when location hash/fragment is empty', function () { expect(browser().location().url()).toB...
'use strict'; describe('my angular musicbrainz app', function () { beforeEach(function () { browser().navigateTo('app/index.html'); }); - - it('should automatically redirect to /search when location hash/fragment is empty', function () { - expect(browser().location().url(...
18
0.352941
7
11
f26e3716c848bf548d99015da6fb1a26bd975823
lambda-selenium-java/src/main/java/com/blackboard/testing/common/LambdaBaseTest.java
lambda-selenium-java/src/main/java/com/blackboard/testing/common/LambdaBaseTest.java
package com.blackboard.testing.common; import com.blackboard.testing.driver.LambdaWebDriverThreadLocalContainer; import com.blackboard.testing.testcontext.EnvironmentDetector; import com.codeborne.selenide.Configuration; import com.codeborne.selenide.WebDriverRunner; import com.gargoylesoftware.htmlunit.javascript.con...
package com.blackboard.testing.common; import com.blackboard.testing.driver.LambdaWebDriverThreadLocalContainer; import com.blackboard.testing.lambda.LambdaTestHandler; import com.blackboard.testing.testcontext.EnvironmentDetector; import com.codeborne.selenide.Configuration; import com.codeborne.selenide.Selenide; im...
Add screenshot capability to base test
Add screenshot capability to base test
Java
mit
blackboard/lambda-selenium,blackboard/lambda-selenium
java
## Code Before: package com.blackboard.testing.common; import com.blackboard.testing.driver.LambdaWebDriverThreadLocalContainer; import com.blackboard.testing.testcontext.EnvironmentDetector; import com.codeborne.selenide.Configuration; import com.codeborne.selenide.WebDriverRunner; import com.gargoylesoftware.htmluni...
package com.blackboard.testing.common; import com.blackboard.testing.driver.LambdaWebDriverThreadLocalContainer; + import com.blackboard.testing.lambda.LambdaTestHandler; import com.blackboard.testing.testcontext.EnvironmentDetector; import com.codeborne.selenide.Configuration; + import com.codeborne.selenid...
18
0.818182
15
3