commit stringlengths 40 40 | old_file stringlengths 4 217 | new_file stringlengths 4 217 | old_code stringlengths 0 3.94k | new_code stringlengths 1 4.42k | subject stringlengths 15 736 | message stringlengths 15 9.92k | lang stringclasses 218
values | license stringclasses 13
values | repos stringlengths 6 114k | udiff stringlengths 42 4.57k |
|---|---|---|---|---|---|---|---|---|---|---|
db140493afab616f7da7c3212c5e0ae44650b72f | .circleci/config.yml | .circleci/config.yml | # Clojure CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-clojure/ for more details
#
version: 2.1
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/clojure:tools-deps-1.9.0.394
# Specify service dependencies here if necessary
# ... | # Clojure CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-clojure/ for more details
#
version: 2.1
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/clojure:tools-deps-1.10.1.727
# Specify service dependencies here if necessary
#... | Use a more recent version of Clojure | Use a more recent version of Clojure
| YAML | epl-1.0 | cddr/ksml | ---
+++
@@ -7,7 +7,7 @@
build:
docker:
# specify the version you desire here
- - image: circleci/clojure:tools-deps-1.9.0.394
+ - image: circleci/clojure:tools-deps-1.10.1.727
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
|
925b24a73ccc90fbdb0dc99d6484baf882d221fd | src/main/java/EvenElement.java | src/main/java/EvenElement.java | /**
* Copyright (c) 2012 by Tyson Gern
* Licensed under the MIT License
*/
import java.util.*;
/**
* This class stores an element of a Coxeter group of rank "rank" as a
* signed permutation, oneLine. The methods contained in this class
* can preform elementary operations on the element.
* @author Tyson Gern ... | /**
* Copyright (c) 2012 by Tyson Gern
* Licensed under the MIT License
*/
import java.util.*;
/**
* This class stores an element of a Coxeter group of rank "rank" as a
* signed permutation, oneLine. The methods contained in this class
* can preform elementary operations on the element.
* @author Tyson Gern ... | Add sign counting for future use in type B length function. | Add sign counting for future use in type B length function. | Java | mit | tygern/BuildDomino | ---
+++
@@ -13,4 +13,14 @@
*/
abstract class EvenElement extends Element {
+ protected int countNeg() {
+ int count = 0;
+
+ for (int i = 1; i <= size; i++) {
+ if (mapsto(i) < 0) count ++;
+ }
+
+ return count;
+ }
+
}
|
89a8e62c03aa2cfe044c9023ec3bbaefb835a7df | test/profile/Posix/instrprof-get-filename-merge-mode.c | test/profile/Posix/instrprof-get-filename-merge-mode.c | // Test __llvm_profile_get_filename when the on-line merging mode is enabled.
//
// RUN: %clang_pgogen -dynamiclib -o %t.dso %p/Inputs/instrprof-get-filename-dso.c
// RUN: %clang_pgogen -o %t %s %t.dso
// RUN: env LLVM_PROFILE_FILE="%t-%m.profraw" %run %t
#include <string.h>
const char *__llvm_profile_get_filename(vo... | // Test __llvm_profile_get_filename when the on-line merging mode is enabled.
//
// RUN: %clang_pgogen -fPIC -shared -o %t.dso %p/../Inputs/instrprof-get-filename-dso.c
// RUN: %clang_pgogen -o %t %s %t.dso
// RUN: env LLVM_PROFILE_FILE="%t-%m.profraw" %run %t
#include <string.h>
const char *__llvm_profile_get_filena... | Use -fPIC -shared in a test instead of -dynamiclib | [profile] Use -fPIC -shared in a test instead of -dynamiclib
This is more portable than -dynamiclib. Also, fix the path to an input
file that broke when the test was moved in r375315.
git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@375317 91177308-0d34-0410-b5e6-96231b3b80d8
| C | apache-2.0 | llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt | ---
+++
@@ -1,6 +1,6 @@
// Test __llvm_profile_get_filename when the on-line merging mode is enabled.
//
-// RUN: %clang_pgogen -dynamiclib -o %t.dso %p/Inputs/instrprof-get-filename-dso.c
+// RUN: %clang_pgogen -fPIC -shared -o %t.dso %p/../Inputs/instrprof-get-filename-dso.c
// RUN: %clang_pgogen -o %t %s %t.dso... |
6f0e236760db70ec2ddf062f8abcc46c939d4dc4 | _posts/2014-06-17-Package-Delivered.md | _posts/2014-06-17-Package-Delivered.md | ---
layout: post
title: Package Delivered
author: Josh
---
Over the course of the past year we have received a number of packages and
letters from family and friends. We are really grateful to all of you who
thought to send us something. It was a nice way of continuing to feel
connected to and supported by those who w... | Add a new post about sending packages. | Add a new post about sending packages.
| Markdown | mit | jbranchaud/joshanderin.com | ---
+++
@@ -0,0 +1,22 @@
+---
+layout: post
+title: Package Delivered
+author: Josh
+---
+
+Over the course of the past year we have received a number of packages and
+letters from family and friends. We are really grateful to all of you who
+thought to send us something. It was a nice way of continuing to feel
+conn... | |
21dd95a43b7bec0ea1c8618eec46a0e4b134b02c | CHANGELOG.md | CHANGELOG.md | # Changelog
All notable changes to this project will be documented in this file.
## Unreleased
### Added
- Add links to tweet posts more easily in the admin
- Twitter card on show pages
### Changed
### Fixed
### Removed
## v1.1.0 - 2015-10-02
### Added
- Submission of new plays
- Ability for admins to validate and... | # Changelog
All notable changes to this project will be documented in this file.
## Unreleased
### Added
### Changed
### Fixed
### Removed
## v1.1.1 - 2015-10-10
### Added
- Add links to tweet posts more easily in the admin
- Twitter card on show pages
## v1.1.0 - 2015-10-02
### Added
- Submission of new plays
- ... | Update the changelog for the v1.1.1 version | Update the changelog for the v1.1.1 version
| Markdown | mit | rocketgif/app,rocketgif/app,rocketgif/app,rocketgif/app | ---
+++
@@ -3,14 +3,17 @@
## Unreleased
### Added
-- Add links to tweet posts more easily in the admin
-- Twitter card on show pages
### Changed
### Fixed
### Removed
+
+## v1.1.1 - 2015-10-10
+### Added
+- Add links to tweet posts more easily in the admin
+- Twitter card on show pages
## v1.1.0 - 201... |
d2beabe061e00d9e1b516bb256030ecc1b00c5fd | Licence.md | Licence.md | Copyright 2017 Robert Haines, University of Manchester, UK
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ... | Copyright 2017, 2018 Robert Haines, University of Manchester, UK
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the foll... | Update year in licence file. | Update year in licence file.
| Markdown | bsd-3-clause | hainesr/mvc-dev,hainesr/mvc-dev | ---
+++
@@ -1,4 +1,4 @@
-Copyright 2017 Robert Haines, University of Manchester, UK
+Copyright 2017, 2018 Robert Haines, University of Manchester, UK
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
dbf022534fd3155671f911ea4503d59d2aaa56d7 | app/scripts/controllers/repository-detail-controller.js | app/scripts/controllers/repository-detail-controller.js | 'use strict';
/**
* @ngdoc function
* @name docker-registry-frontend.controller:RepositoryDetailController
* @description
* # RepositoryController
* Controller of the docker-registry-frontend
*/
angular.module('repository-detail-controller', ['app-mode-services'])
.controller('RepositoryDetailController', ['$s... | 'use strict';
/**
* @ngdoc function
* @name docker-registry-frontend.controller:RepositoryDetailController
* @description
* # RepositoryDetailController
* Controller of the docker-registry-frontend
*/
angular.module('repository-detail-controller', ['app-mode-services'])
.controller('RepositoryDetailController'... | Adjust documentation and remove unnecessary code | Adjust documentation and remove unnecessary code
| JavaScript | mit | inn1983/docker-registry-frontend,cxxly/docker-registry-frontend,kwk/docker-registry-frontend,yut148/docker-registry-frontend,kwk/docker-registry-frontend,mariolameiras/docker-distribution-ui,FrontSide/docker-registry-frontend,pgrund/docker-registry-frontend,AlphaStaxLLC/docker-registry-frontend,harrisonfeng/docker-regi... | ---
+++
@@ -4,21 +4,11 @@
* @ngdoc function
* @name docker-registry-frontend.controller:RepositoryDetailController
* @description
- * # RepositoryController
+ * # RepositoryDetailController
* Controller of the docker-registry-frontend
*/
angular.module('repository-detail-controller', ['app-mode-services'])... |
7c41858dcbfe4da36d9ba5a570a3d8e3d8efa649 | locales/ru/encrypt.properties | locales/ru/encrypt.properties | join_mozilla=Присоединиться к Mozilla
update_my_info=Обновить мою информацию
signup_header_variant_a=Станьте чемпионом шифрования
join_the_convo=Присоединиться к обсуждению
take_the_pledge=Дать обещание
become_champ=Станьте чемпионом шифрования
sign_now=Подписаться
thank_you=Спасибо!
share_this_now=Поделитесь этим сейч... | Update Russian (ru) localization of Mozilla Advocacy | Pontoon: Update Russian (ru) localization of Mozilla Advocacy
Localization authors:
- Victor Bychek <a@bychek.ru>
| INI | mpl-2.0 | mozilla/advocacy.mozilla.org | ---
+++
@@ -0,0 +1,34 @@
+join_mozilla=Присоединиться к Mozilla
+update_my_info=Обновить мою информацию
+signup_header_variant_a=Станьте чемпионом шифрования
+join_the_convo=Присоединиться к обсуждению
+take_the_pledge=Дать обещание
+become_champ=Станьте чемпионом шифрования
+sign_now=Подписаться
+thank_you=Спасибо!
... | |
926dd6e83da4d45702f7940c55978568568deb86 | appbuilder/appbuilder-bootstrap.ts | appbuilder/appbuilder-bootstrap.ts | require("../bootstrap");
$injector.require("projectConstants", "./appbuilder/project-constants");
$injector.require("projectFilesProvider", "./appbuilder/providers/project-files-provider");
$injector.require("pathFilteringService", "./appbuilder/services/path-filtering");
$injector.require("liveSyncServiceBase", "./ser... | require("../bootstrap");
$injector.require("projectConstants", "./appbuilder/project-constants");
$injector.require("projectFilesProvider", "./appbuilder/providers/project-files-provider");
$injector.require("pathFilteringService", "./appbuilder/services/path-filtering");
$injector.require("liveSyncServiceBase", "./ser... | Fix cannot find module ios-log-filter | Fix cannot find module ios-log-filter
Change the path to ios-log-filter to point to the correct folder.
| TypeScript | apache-2.0 | telerik/mobile-cli-lib,telerik/mobile-cli-lib | ---
+++
@@ -11,4 +11,4 @@
$injector.require("cordovaProjectCapabilities", "./appbuilder/project/cordova-project-capabilities");
$injector.require("mobilePlatformsCapabilities", "./appbuilder/mobile-platforms-capabilities");
$injector.requirePublic("npmService", "./appbuilder/services/npm-service");
-$injector.requ... |
08f8ebc8bffc055d62711ca8524fc1bfa8ec10f0 | jsoo/todomvc-react/index.html | jsoo/todomvc-react/index.html | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Js_of_ocaml • TodoMVC</title>
<link rel="stylesheet" href="node_modules/todomvc-common/base.css">
<link rel="stylesheet" href="node_modules/todomvc-app-css/index.css">
<... | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Js_of_ocaml • TodoMVC</title>
<link rel="stylesheet" href="node_modules/todomvc-common/base.css">
<link rel="stylesheet" href="node_modules/todomvc-app-css/index.css">
<... | Remove white background under footer | Remove white background under footer
| HTML | mit | slegrand45/examples_ocsigen,slegrand45/examples_ocsigen | ---
+++
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="node_modules/todomvc-app-css/index.css">
</head>
<body>
- <div id="todomvc" class="todoapp"></div>
+ <div id="todomvc"></div>
<script src="js/todomvc.js"></script>
</body>
</html>
|
408824bd1d4eb1c3b72129631b7f44860315cbd3 | .github/workflows/build.yaml | .github/workflows/build.yaml | name: Build Aiven Client
on:
push:
branches:
- master
tags:
- '**'
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
# only use one version for the lint step
python-version: [3.8]
steps:
- id: checkout-code
uses: actions/che... | name: Build Aiven Client
on:
push:
branches:
- master
tags:
- '**'
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
# only use one version for the lint step
python-version: [3.8]
steps:
- id: checkout-code
uses: actions/che... | Use pypy-3.7 and pypy-3.8 on CI | Use pypy-3.7 and pypy-3.8 on CI
`pypy3` stands for Python 3.6, which was dropped recently.
| YAML | apache-2.0 | aiven/aiven-client | ---
+++
@@ -49,7 +49,7 @@
needs: lint
strategy:
matrix:
- python-version: ['3.7', '3.8', '3.9', '3.10', 'pypy3']
+ python-version: ['3.7', '3.8', '3.9', '3.10', 'pypy-3.7', 'pypy-3.8']
os: [ubuntu-latest, windows-latest]
steps:
|
fd50592307016358e3bac0f0097d738abc85c199 | spec/requests/authorization_spec.rb | spec/requests/authorization_spec.rb | require 'rails_helper'
RSpec.describe 'Authorization' do
context 'with an unauthorized user' do
let(:user) { FactoryBot.create(:user) }
context 'when visiting a restricted page like GET /site/edit' do
include_examples 'renders page not found'
end
end
end
| Add missing spec for authorization | Add missing spec for authorization
| Ruby | mit | obduk/cms,obduk/cms,obduk/cms,obduk/cms | ---
+++
@@ -0,0 +1,11 @@
+require 'rails_helper'
+
+RSpec.describe 'Authorization' do
+ context 'with an unauthorized user' do
+ let(:user) { FactoryBot.create(:user) }
+
+ context 'when visiting a restricted page like GET /site/edit' do
+ include_examples 'renders page not found'
+ end
+ end
+end
| |
233c29710d2c2d5f19c56093fc145d28f24deb38 | core/app/assets/javascripts/jquery_ujs_override.coffee | core/app/assets/javascripts/jquery_ujs_override.coffee | #This patches jquery_ujs, such that it grabs csrf token from localStorage
#instead of from the meta tag.
# Make sure that every Ajax request sends the CSRF token
$.rails.CSRFProtection = (xhr) ->
token = safeLocalStorage.factlink_csrf_token
if token
xhr.setRequestHeader('X-CSRF-Token', token)
# making sure th... | #This patches jquery_ujs, such that it grabs csrf token from localStorage
#instead of from the meta tag.
updateRailsCsrfMetaTags = ->
if !$('meta[name=csrf-token]').length
$('<meta name="csrf-token">').appendTo(document.head)
$('<meta name="csrf-param">').appendTo(document.head)
$('meta[name=csrf-token]').... | Update meta tags instead of reimplementing ujs functionality | Update meta tags instead of reimplementing ujs functionality
| CoffeeScript | mit | Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core | ---
+++
@@ -1,14 +1,17 @@
#This patches jquery_ujs, such that it grabs csrf token from localStorage
#instead of from the meta tag.
-# Make sure that every Ajax request sends the CSRF token
-$.rails.CSRFProtection = (xhr) ->
- token = safeLocalStorage.factlink_csrf_token
- if token
- xhr.setRequestHeader('X-C... |
a2f52c318db53d54e0a31068b935c5f2f7581513 | src/webpackConfigBase.coffee | src/webpackConfigBase.coffee | webpack = require 'webpack'
LANGS = ['en_gb']
module.exports =
resolve:
# Add automatically the following extensions to required modules
extensions: ['', '.coffee', '.cjsx', '.js']
plugins: [
new webpack.ContextReplacementPlugin /moment[\\\/]locale$/, new RegExp ".[\\\/](#{LANGS.join '|'})"
]
de... | webpack = require 'webpack'
LANGS = ['en_gb']
module.exports =
resolve:
# Add automatically the following extensions to required modules
extensions: ['', '.coffee', '.cjsx', '.js']
plugins: [
new webpack.ContextReplacementPlugin /moment[\\\/]locale$/, new RegExp ".[\\\/](#{LANGS.join '|'})"
]
##... | Remove Webpack devtool configuration (not allowed for Chrome extensions) | Remove Webpack devtool configuration (not allowed for Chrome extensions)
| CoffeeScript | mit | guigrpa/storyboard,guigrpa/storyboard | ---
+++
@@ -11,7 +11,7 @@
new webpack.ContextReplacementPlugin /moment[\\\/]locale$/, new RegExp ".[\\\/](#{LANGS.join '|'})"
]
- devtool: if process.env.NODE_ENV isnt 'production' then 'eval'
+ ## devtool: if process.env.NODE_ENV isnt 'production' then 'eval'
module:
loaders: [
|
ac0a77edf9238154351e36e04a99a2b5444963d9 | tox.ini | tox.ini | [tox]
args_are_paths = false
envlist =
docs,
{py27,py32,py33,py34}-{1.7,1.8},
{py27,py34,py35}-{1.9,master}
[testenv]
basepython =
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
py35: python3.5
usedevelop = true
pip_pre = true
commands =
invoke test {posargs}
deps =... | [tox]
args_are_paths = false
envlist =
docs,
{py27,py32,py33,py34}-{1.7,1.8},
{py27,py34,py35}-{1.9,master}
[testenv]
basepython =
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
py35: python3.5
usedevelop = true
pip_pre = true
commands =
invoke test {posargs}
deps =... | Use Django 1.9 (release) in tests. | Use Django 1.9 (release) in tests.
| INI | bsd-3-clause | rsalmaso/django-localflavor,django/django-localflavor,jieter/django-localflavor,agustin380/django-localflavor,thor/django-localflavor,maisim/django-localflavor,infoxchange/django-localflavor | ---
+++
@@ -19,7 +19,7 @@
deps =
1.7: Django>=1.7,<1.8
1.8: Django>=1.8,<1.9
- 1.9: Django==1.9rc2
+ 1.9: Django>=1.9,<1.10
master: https://github.com/django/django/archive/master.tar.gz
-r{toxinidir}/tests/requirements.txt
|
ca2ccc379bab731e9d1659f3d77961ebb1058829 | test/Transforms/Internalize/stackguard.ll | test/Transforms/Internalize/stackguard.ll | ; __stack_chk_guard and __stack_chk_fail should not be internalized.
; RUN: opt < %s -internalize -S | FileCheck %s
; RUN: opt < %s -passes=internalize -S | FileCheck %s
; CHECK: @__stack_chk_guard = hidden global [8 x i64] zeroinitializer, align 16
@__stack_chk_guard = hidden global [8 x i64] zeroinitializer, align 1... | Test that __stack_chk_{guard, fail} are not internalized. | [Internalize] Test that __stack_chk_{guard, fail} are not internalized.
r154645 introduced this feature without test. This should have better
coverage now.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@271853 91177308-0d34-0410-b5e6-96231b3b80d8
| LLVM | apache-2.0 | llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift... | ---
+++
@@ -0,0 +1,9 @@
+; __stack_chk_guard and __stack_chk_fail should not be internalized.
+; RUN: opt < %s -internalize -S | FileCheck %s
+; RUN: opt < %s -passes=internalize -S | FileCheck %s
+
+; CHECK: @__stack_chk_guard = hidden global [8 x i64] zeroinitializer, align 16
+@__stack_chk_guard = hidden global [8... | |
ae84ebfe30d7ec5607e6d734e5416d6e4a0e94f4 | centos-6.4-x86_64/Readme.md | centos-6.4-x86_64/Readme.md | # CentOS 6 x86_64
Installes the current CentOS 6 64bit plus:
* ruby-install and chruby
* ruby 1.9.3-p429 as "system-ruby" in "/usr" so it is available for root (chef and co.)
* chef-solo 11.6.x (via rubygems)
* VMwareTools (if build as such, uses local iso file which must be present)
* VirtualBoxGuestAddition (if bui... | # CentOS 6 x86_64
Installes the current CentOS 6 64bit plus:
* ruby-install and chruby
* ruby 1.9.3-p429 and bundler for "vagrant" (in user-space)
* chef-solo 11.6.x (via omnibus)
* VMwareTools (if build as such, uses local iso file which must be present)
* VirtualBoxGuestAddition (if build as such, uses local iso fi... | Fix centos-readme to reflect correct ruby installations | Fix centos-readme to reflect correct ruby installations
| Markdown | mpl-2.0 | dotless-de/packer-templates | ---
+++
@@ -3,7 +3,7 @@
Installes the current CentOS 6 64bit plus:
* ruby-install and chruby
-* ruby 1.9.3-p429 as "system-ruby" in "/usr" so it is available for root (chef and co.)
-* chef-solo 11.6.x (via rubygems)
+* ruby 1.9.3-p429 and bundler for "vagrant" (in user-space)
+* chef-solo 11.6.x (via omnibus)
*... |
e4836389c9e158cb7fbe3112106def5c1a8be344 | requirements/local.txt | requirements/local.txt | -r ./base.txt
Sphinx==2.0.1 # https://github.com/sphinx-doc/sphinx
psycopg2-binary==2.8.2 # https://github.com/psycopg/psycopg2
# Testing
# ------------------------------------------------------------------------------
mypy==0.670 # https://github.com/python/mypy
pytest==4.5.0 # https://github.com/pytest-dev/pyte... | -r ./base.txt
Sphinx==2.1.2 # https://github.com/sphinx-doc/sphinx
psycopg2-binary==2.8.2 # https://github.com/psycopg/psycopg2
# Testing
# ------------------------------------------------------------------------------
mypy==0.670 # https://github.com/python/mypy
pytest==4.5.0 # https://github.com/pytest-dev/pyte... | Update sphinx from 2.0.1 to 2.1.2 | Update sphinx from 2.0.1 to 2.1.2 | Text | mit | uccser/cs4teachers,uccser/cs4teachers,uccser/cs4teachers,uccser/cs4teachers | ---
+++
@@ -1,6 +1,6 @@
-r ./base.txt
-Sphinx==2.0.1 # https://github.com/sphinx-doc/sphinx
+Sphinx==2.1.2 # https://github.com/sphinx-doc/sphinx
psycopg2-binary==2.8.2 # https://github.com/psycopg/psycopg2
# Testing
|
2e477cb74a7d6daa9b99eb327607dcf54785ed41 | .travis.yml | .travis.yml | language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
matrix:
allow_failures:
- php: nightly
before_script:
- composer self-update
- travis_retry composer install --prefer-source --no-interaction --dev
script:
- composer test
after_success:
- bash <(curl -s https://codecov.io/bash)
| language: php
php:
- 7.2
- nightly
matrix:
allow_failures:
- php: nightly
before_script:
- composer self-update
- travis_retry composer install --prefer-source --no-interaction --dev
script:
- composer test
after_success:
- bash <(curl -s https://codecov.io/bash)
| Drop PHP versions older than 7.2 from CI matrix | Drop PHP versions older than 7.2 from CI matrix
| YAML | mit | Ayesh/case-insensitive-array | ---
+++
@@ -1,8 +1,5 @@
language: php
php:
- - 5.6
- - 7.0
- - 7.1
- 7.2
- nightly
matrix:
|
b88a0992e36c00db37eba823931f9b0fdcf385db | etc/build-helper/project.clj | etc/build-helper/project.clj | ;; Copyright 2014 Red Hat, Inc, and individual contributors.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by appl... | ;; Copyright 2014 Red Hat, Inc, and individual contributors.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by appl... | Switch to the canonical markdown-clj. | Switch to the canonical markdown-clj.
| Clojure | apache-2.0 | coopsource/immutant,immutant/immutant,kbaribeau/immutant,coopsource/immutant,kbaribeau/immutant,immutant/immutant,immutant/immutant,kbaribeau/immutant,immutant/immutant,coopsource/immutant | ---
+++
@@ -21,8 +21,6 @@
:distribution :repo}
:dependencies [[org.clojars.tcrawley/codox.core "0.8.0a"]
;;[codox/codox.core "0.8.0"]
- [org.clojars.tcrawley/markdown-clj "0.9.43a"]
- ;;[markdown-clj "0.9.43"]
- ]
+ [mar... |
bae2a92def8371b317f9f22010b562bc2cb2d579 | openfisca_tunisia/parameters/impot_revenu/deductions/fam/infirme.yaml | openfisca_tunisia/parameters/impot_revenu/deductions/fam/infirme.yaml | description: Enfant infirme
# TODO dates
unit: currency
values:
1990-01-01:
value: 500
2004-01-01:
value: 600
2005-01-01:
value: 750
reference: Article 50 de la loi no 2004-90 du 31-12-2004 portant Loi de finances 2005
2010-01-01:
value: 1000
reference: Article 40 de la loi no 2009-71 du... | description: Enfant infirme
# TODO dates
unit: currency
values:
1990-01-01:
value: 500
2004-01-01:
value: 600
2005-01-01:
value: 750
reference: Article 50 de la loi no 2004-90 du 31-12-2004 portant Loi de finances 2005
2010-01-01:
value: 1000
reference: Article 40 de la loi no 2009-71 du... | Fix wrong dates in reference | Fix wrong dates in reference | YAML | agpl-3.0 | openfisca/openfisca-tunisia,openfisca/openfisca-tunisia | ---
+++
@@ -11,9 +11,9 @@
reference: Article 50 de la loi no 2004-90 du 31-12-2004 portant Loi de finances 2005
2010-01-01:
value: 1000
- reference: Article 40 de la loi no 2009-71 du 21-12-2004 portant Loi de finances 2010
+ reference: Article 40 de la loi no 2009-71 du 21-12-2009 portant Loi de f... |
cdc3da6b4139cf607cd07e70f619612161189b53 | cairis/config/sizes.json | cairis/config/sizes.json | {
"AssetParameters" : {
"theName" : 50,
"theShortCode" : 20,
"theDescription" : 1000,
"theSignificance" : 1000
},
"Asset" : {
"theName" : 50,
"theShortCode" : 20,
"theDescription" : 1000,
"theSignificance" : 1000
},
"EnvironmentParameters" : {
"theName" : 50,
"theShortC... | {
"AssetParameters" : {
"theName" : 50,
"theShortCode" : 20,
"theDescription" : 1000,
"theSignificance" : 1000
},
"Asset" : {
"theName" : 50,
"theShortCode" : 20,
"theDescription" : 1000,
"theSignificance" : 1000
},
"EnvironmentParameters" : {
"theName" : 50,
"theShortC... | Correct originator attribute size for domain properties | Correct originator attribute size for domain properties
| JSON | apache-2.0 | nathanbjenx/cairis,nathanbjenx/cairis,nathanbjenx/cairis,failys/CAIRIS,failys/CAIRIS,failys/CAIRIS,nathanbjenx/cairis | ---
+++
@@ -23,12 +23,12 @@
},
"DomainPropertyParameters" : {
"theName" : 255,
- "theOriginator" : 20,
+ "theOriginator" : 100,
"theDescription" : 4000
},
"DomainProperty" : {
"theName" : 255,
- "theOriginator" : 20,
+ "theOriginator" : 100,
"theDescription" : 4000
}
}
|
3dbb61d9af82700c2936f5f469334a82746384ca | .pre-commit-config.yaml | .pre-commit-config.yaml | repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: autopep8-wrapper
- id: check-docstring-first
- id: check-json
- id: check-yaml
- id: debug-statements
- id: name-tests-test
... | repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-json
- id: check-yaml
- id: debug-statements
- id: name-tests-test
- id: requirements-txt-f... | Migrate from autopep8-wrapper to mirrors-autopep8 | Migrate from autopep8-wrapper to mirrors-autopep8
Committed via https://github.com/asottile/all-repos
| YAML | mit | pre-commit/pre-commit,pre-commit/pre-commit,pre-commit/pre-commit,pre-commit/pre-commit,pre-commit/pre-commit,pre-commit/pre-commit,pre-commit/pre-commit,pre-commit/pre-commit,pre-commit/pre-commit,pre-commit/pre-commit,pre-commit/pre-commit | ---
+++
@@ -1,10 +1,9 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v1.4.0
+ rev: v2.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- - id: autopep8-wrapper
- id: check-docstring-first
- id: check-json
- id: check-yaml
@@ -... |
a97711be44b2c13af2cf728aa173774f6070f3c5 | bin/pipeline.ts | bin/pipeline.ts | import 'source-map-support/register';
import * as cdk from '@aws-cdk/core';
import { AppStack } from '../lib/app-stack';
import { SetupStack } from '../lib/setup-stack'
const app = new cdk.App();
const region = "us-west-1";
const account = '084374970894';
new SetupStack(app, "ApiTestToolSetupStack", {
e... | import * as cdk from '@aws-cdk/core';
import { AppStack } from '../lib/app-stack';
import { SetupStack } from '../lib/setup-stack'
const app = new cdk.App();
new SetupStack(app, "ApiTestToolSetupStack", {
env: {
account: process.env.CDK_DEFAULT_ACCOUNT,
region: process.env.CDK_DEFAULT_R... | Remove region and account information. | Remove region and account information.
| TypeScript | apache-2.0 | Brightspace/util-api-test-tool,Brightspace/util-api-test-tool,Brightspace/util-api-test-tool | ---
+++
@@ -1,23 +1,20 @@
-import 'source-map-support/register';
import * as cdk from '@aws-cdk/core';
import { AppStack } from '../lib/app-stack';
import { SetupStack } from '../lib/setup-stack'
const app = new cdk.App();
-const region = "us-west-1";
-const account = '084374970894';
new SetupStack(... |
c00a6a3112e432fa4fc4ff12e44ff1fa9ac5c7bf | Casks/font-geo-sans-light.rb | Casks/font-geo-sans-light.rb | class FontGeoSansLight < Cask
url 'http://img.dafont.com/dl/?f=geo_sans_light'
homepage 'http://www.dafont.com/geo-sans-light.font'
version 'latest'
sha1 'no_checksum'
font 'GeosansLight-Oblique.ttf'
font 'GeosansLight.ttf'
end
| Create cask for Geo Sans Light font | Create cask for Geo Sans Light font
| Ruby | bsd-2-clause | ahbeng/homebrew-fonts,zorosteven/homebrew-fonts,mtakayuki/homebrew-fonts,bkudria/homebrew-fonts,kostasdizas/homebrew-fonts,herblover/homebrew-fonts,guerrero/homebrew-fonts,ahbeng/homebrew-fonts,psibre/homebrew-fonts,caskroom/homebrew-fonts,caskroom/homebrew-fonts,unasuke/homebrew-fonts,victorpopkov/homebrew-fonts,andre... | ---
+++
@@ -0,0 +1,8 @@
+class FontGeoSansLight < Cask
+ url 'http://img.dafont.com/dl/?f=geo_sans_light'
+ homepage 'http://www.dafont.com/geo-sans-light.font'
+ version 'latest'
+ sha1 'no_checksum'
+ font 'GeosansLight-Oblique.ttf'
+ font 'GeosansLight.ttf'
+end
| |
a74368975ef661de454a9fc4111bc4f9c5a15e9a | test/module.mk | test/module.mk |
$(call assert-variable,iso.path)
/:=$(BUILD_DIR)/test/
$/%: /:=$/
test: test-integration
clean: $/clean-integration-test-cache-file
.PHONY: $/clean-integration-test-cache-file
$/clean-integration-test-environment:
test -f $/environment-id && \
python test/integration.py -l INFO --cache-file $(abspath $/envir... |
$(call assert-variable,iso.path)
/:=$(BUILD_DIR)/test/
$/%: /:=$/
test: test-integration
clean: $/clean-integration-test-cache-file
.PHONY: $/clean-integration-test-cache-file
$/clean-integration-test-environment:
test -f $/environment-id.candidate && \
python test/integration.py -l INFO --cache-file $(abspa... | Fix clean to remove broken environments also | [test] Fix clean to remove broken environments also
| Makefile | apache-2.0 | eayunstack/fuel-web,ddepaoli3/fuel-main-dev,teselkin/fuel-main,eayunstack/fuel-web,eayunstack/fuel-main,Fiware/ops.Fuel-main-dev,stackforge/fuel-web,eayunstack/fuel-main,prmtl/fuel-web,nebril/fuel-web,koder-ua/nailgun-fcert,stackforge/fuel-web,nebril/fuel-web,huntxu/fuel-main,prmtl/fuel-web,dancn/fuel-main-dev,AnselZha... | ---
+++
@@ -13,6 +13,8 @@
.PHONY: $/clean-integration-test-cache-file
$/clean-integration-test-environment:
+ test -f $/environment-id.candidate && \
+ python test/integration.py -l INFO --cache-file $(abspath $/environment-id.candidate) destroy
test -f $/environment-id && \
python test/integration.py -l IN... |
4ff53333659f1537d3d3e6112e3570478aa71104 | app/assets/stylesheets/goals.scss | app/assets/stylesheets/goals.scss | // Place all the styles related to the Goals controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
| // Place all the styles related to the Goals controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
label.active {
font-size: 150%;
}
.new_goal {
font-size: 100%;
}
| Change font size on form | Change font size on form
| SCSS | mit | AliasHendrickson/progress,AliasHendrickson/progress,AliasHendrickson/progress | ---
+++
@@ -1,3 +1,12 @@
// Place all the styles related to the Goals controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
+
+label.active {
+ font-size: 150%;
+}
+
+.new_goal {
+ font-size: 100%;
+}
+
|
cce8bf4e6bae95518132fd7d46cc420ca430dcf6 | .travis.yml | .travis.yml | language: node_js
node_js:
- "11"
cache:
npm: true
directories:
- ~/.cache
addons:
postgresql: "9.6"
before_script:
- cp .env.travis api/.env && cp .env.travis map/.env
- cd api && yarn test:init && cd ..
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.9.2
- exp... | language: node_js
node_js:
- "12"
cache:
npm: true
directories:
- ~/.cache
addons:
postgresql: "9.6"
before_script:
- cp .env.travis api/.env && cp .env.travis map/.env
- cd api && yarn test:init && cd ..
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.9.2
- exp... | Use node 12 in Travis CI | Chore: Use node 12 in Travis CI
| YAML | agpl-3.0 | teikei/teikei,teikei/teikei,teikei/teikei | ---
+++
@@ -1,6 +1,6 @@
language: node_js
node_js:
- - "11"
+ - "12"
cache:
npm: true
directories:
|
422a960cad378dad571503e6f191d73ee9a6c5d8 | SETUP.md | SETUP.md | Deploying a schema change
=========================
Log into EC2 instance in security group w/ access to the database
(e.g. an API instance)
sudo apt-get install postgresql-client
sudo apt-get install git
sudo apt-get install ruby
git clone git://github.com/gilt/schema-evolution-manager.git
cd schema-evolut... | Deploying a schema change
=========================
Log into EC2 instance in security group w/ access to the database
(e.g. an API instance)
sudo apt-get install postgresql-client
sudo apt-get install git
sudo apt-get install ruby
git clone git://github.com/gilt/schema-evolution-manager.git
cd schema-evolut... | Update setup for db configuration | Update setup for db configuration
| Markdown | mit | gheine/apidoc,Seanstoppable/apidoc,movio/apidoc,apicollective/apibuilder,movio/apidoc,mbryzek/apidoc,movio/apidoc,apicollective/apibuilder,mbryzek/apidoc,gheine/apidoc,apicollective/apibuilder,mbryzek/apidoc,gheine/apidoc,Seanstoppable/apidoc,Seanstoppable/apidoc | ---
+++
@@ -11,4 +11,9 @@
cd schema-evolution-manager
git checkout 0.9.12
ruby ./configure.rb
- sudo ruby ./install.rb+ sudo ruby ./install.rb
+
+ echo "apidoc2.cqe9ob8rnh0u.us-east-1.rds.amazonaws.com:5432:apidoc:web:PASSWORD" > ~/.pgass
+ chmod 0600 ~/.pgpass
+
+ sem-apply --host apidoc2.cqe9ob8rnh0u.... |
3b10811e61ed71ec331dd606b0234c7cb934f2bb | samples/HelloWorld/Startup.cs | samples/HelloWorld/Startup.cs | using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace HelloWorld
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().AddFluentActions();
... | using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
namespace HelloWorld
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services... | Set compatibility version to 2.2 in hello world sample project | Set compatibility version to 2.2 in hello world sample project
| C# | mit | ExplicitlyImplicit/AspNetCore.Mvc.FluentActions,ExplicitlyImplicit/AspNetCore.Mvc.FluentActions | ---
+++
@@ -1,5 +1,6 @@
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
namespace HelloWorld
@@ -8,7 +9,10 @@
{
public void ConfigureServices(IServiceCollection services)
... |
41c9a6a691e73d9bdf994095bb72a3cd46eb4bb8 | src/e2e/security/security.e2e.js | src/e2e/security/security.e2e.js | var helpers = require("../helpers")
describe('Security', function() {
it("Initializes a (hopefully secret) cookie and navigates to the security test page", function(){
browser.ignoreSynchronization = true;
browser.get("http://localhost:9855/init")
helpers.waitForEl("#confirm-cookie")
... | var helpers = require("../helpers")
describe('Security', function() {
it("Initializes a (hopefully secret) cookie and navigates to the security test page", function(){
browser.ignoreSynchronization = true;
browser.get("http://localhost:9855/init")
helpers.waitForEl("#confirm-cookie")
... | Remove console log that never hits anyway. | Remove console log that never hits anyway.
| JavaScript | mit | mattzeunert/FromJS,mattzeunert/FromJS,mattzeunert/FromJS,mattzeunert/FromJS | ---
+++
@@ -24,8 +24,5 @@
expect(resultHtml.indexOf("FAILED")).toBe(-1)
});
})
- .catch(function(){
- console.log("FAIL")
- })
})
});
|
b36d600757216d99c46b4c696c165582d71812df | lib/arrthorizer/rails/controller_configuration.rb | lib/arrthorizer/rails/controller_configuration.rb | module Arrthorizer
module Rails
class ControllerConfiguration
Error = Class.new(Arrthorizer::ArrthorizerException)
def initialize(&block)
yield self
rescue LocalJumpError
raise Error, "No builder block provided to ContextBuilder.new"
end
def defaults(&block)
... | module Arrthorizer
module Rails
class ControllerConfiguration
Error = Class.new(Arrthorizer::ArrthorizerException)
def initialize(&block)
yield self
rescue LocalJumpError
raise Error, "No builder block provided to ContextBuilder.new"
end
def defaults(&block)
... | Allow configuration of multiple actions at the same time | Allow configuration of multiple actions at the same time
for_action is now aliased as for_actions, and both accept multiple
actions to configure using the same block. Fixes #23.
| Ruby | mit | BUS-OGD/arrthorizer,BUS-OGD/arrthorizer,BUS-OGD/arrthorizer | ---
+++
@@ -13,9 +13,12 @@
self.defaults_block = block
end
- def for_action(action, &block)
- add_action_block(action, &block)
+ def for_action(*actions, &block)
+ actions.each do |action|
+ add_action_block(action, &block)
+ end
end
+ alias_method... |
7e25a0097c3a4e7d37d75f6e90bcee2883df0a46 | analysis/opening_plot.py | analysis/opening_plot.py | #!/usr/bin/python
import sys
def parse_opening_list(filename):
with open(filename) as f:
open_count = dict()
openings = []
for line in (raw.strip() for raw in f):
open_count.setdefault(line, 0)
open_count[line] += 1
openings.append(line)
top10 = lis... | #!/usr/bin/python
import sys
def parse_opening_list(filename):
with open(filename) as f:
open_count = dict()
openings = []
for line in (raw.strip() for raw in f):
open_count.setdefault(line, 0)
open_count[line] += 1
openings.append(line)
top10 = lis... | Write correct titles for opening plots | Write correct titles for opening plots
| Python | mit | MarkZH/Genetic_Chess,MarkZH/Genetic_Chess,MarkZH/Genetic_Chess,MarkZH/Genetic_Chess,MarkZH/Genetic_Chess | ---
+++
@@ -21,7 +21,7 @@
for data in [[top10, '_top_opening_data.txt'], [top10_rate, '_top_opening_rate_data.txt']]:
with open(filename + data[1] , 'w') as out:
- out.write(','.join(top10) + '\n')
+ out.write(','.join(data[0]) + '\n')
for opening in openings:
... |
a77eb24def5ba577f8545a0ae61c606392099342 | _notes/tool/linux/shell_script/built_in.md | _notes/tool/linux/shell_script/built_in.md | ---
---
## Set
```shell
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
set -x
set -o xtrace
```
## Random
```shell
echo $(( RANDOM % 10 ))
```
## Print
```shell
printf %s "${MYVAR}" # Without new line
printf %s\\n "${MYVAR}" # With new line
```
| ---
---
## Set
```shell
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
set -e # Exit on error
set -u # Throw error on undefined variables
set -o pipefail # Throw error on command pipe failures
set -x # Print the commands (-o xtrace)
```
## Random
```shell
ec... | Add more notes for shell script's set built in | Add more notes for shell script's set built in
| Markdown | mit | Yutsuten/Yutsuten.github.io,Yutsuten/Yutsuten.github.io,Yutsuten/Yutsuten.github.io | ---
+++
@@ -5,8 +5,10 @@
```shell
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
-set -x
-set -o xtrace
+set -e # Exit on error
+set -u # Throw error on undefined variables
+set -o pipefail # Throw error on command pipe failures
+set -x # Print the command... |
fd6555b31a117ab699324ffb9b78fa6eadd53cb4 | script.js | script.js | $(function() {
$("td").dblclick(function() {
var td = $(this), OriginalContent = td.text();
td.addClass("cellEditing");
td.html("<input type='text' value='" + OriginalContent + "' />");
td.children().first().focus();
td.children().first().keypress(function(e) {
if (e.which == 13) {
... | $(function() {
$("td").dblclick(function() {
var td = $(this), originalContent = td.text();
td.addClass("cellEditing");
td.data("originalContent", originalContent);
td.html("<input type='text' value='" + originalContent + "' />");
td.children().first().focus();
td.children().first().keypress... | Use html5 data attributes to save the original content. | Use html5 data attributes to save the original content.
| JavaScript | mit | hnakamur/editable_html_table_example | ---
+++
@@ -1,9 +1,10 @@
$(function() {
$("td").dblclick(function() {
- var td = $(this), OriginalContent = td.text();
+ var td = $(this), originalContent = td.text();
td.addClass("cellEditing");
- td.html("<input type='text' value='" + OriginalContent + "' />");
+ td.data("originalContent", or... |
709eb1e44020a19d819cd05a9e52bb341cd6a2c0 | src/main/java/org/purescript/psi/typeconstructor/TypeConstructorReference.kt | src/main/java/org/purescript/psi/typeconstructor/TypeConstructorReference.kt | package org.purescript.psi.typeconstructor
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiReferenceBase
class TypeConstructorReference(typeConstructor: PSTypeConstructor) :
PsiReferenceBase<PSTypeConstructor>(
typeConstructor,
typeConstructor.textRangeInParent,
false
) {... | package org.purescript.psi.typeconstructor
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiReferenceBase
import org.purescript.psi.PSPsiElement
class TypeConstructorReference(typeConstructor: PSTypeConstructor) :
PsiReferenceBase<PSTypeConstructor>(
typeConstructor,
typeConstructor.t... | Add reference support between type constructors and data declarations and newtype declarations | Add reference support between type constructors and data declarations and newtype declarations
| Kotlin | bsd-3-clause | intellij-purescript/intellij-purescript,intellij-purescript/intellij-purescript | ---
+++
@@ -2,6 +2,7 @@
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiReferenceBase
+import org.purescript.psi.PSPsiElement
class TypeConstructorReference(typeConstructor: PSTypeConstructor) :
PsiReferenceBase<PSTypeConstructor>(
@@ -9,7 +10,20 @@
typeConstructor.textRangeInParent... |
3fc109a396ccbdf1f9b26a0cf89e2a92d3f87fb0 | setup.py | setup.py | #!/usr/bin/env python
"""
setup.py file for afnumpy
"""
from distutils.core import setup
from afnumpy import __version__
setup (name = 'afnumpy',
version = __version__,
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeMaia/afnumpy',
... | #!/usr/bin/env python
"""
setup.py file for afnumpy
"""
from distutils.core import setup
from afnumpy import __version__
setup (name = 'afnumpy',
version = __version__,
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeMaia/afnumpy',
... | Correct again the pip URL | Correct again the pip URL
| Python | bsd-2-clause | FilipeMaia/afnumpy,daurer/afnumpy | ---
+++
@@ -13,7 +13,7 @@
author = "Filipe Maia",
author_email = "filipe.c.maia@gmail.com",
url = 'https://github.com/FilipeMaia/afnumpy',
- download_url = 'https://github.com/FilipeMaia/afnumpy/archive/'+__version__,
+ download_url = 'https://github.com/FilipeMaia/afnumpy/arc... |
74d4cdc8e13ce273ba45aff525c44602b9ac7278 | oss-licenses-plugin/gradle/wrapper/gradle-wrapper.properties | oss-licenses-plugin/gradle/wrapper/gradle-wrapper.properties | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
| distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
| Update Gradle version to 6.6.1 | Update Gradle version to 6.6.1
| INI | apache-2.0 | google/play-services-plugins,google/play-services-plugins | ---
+++
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
|
ec21184bd1ef3538a0418d8d45a8c82522ba9bcb | platformio.ini | platformio.ini | ; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http:/... | ; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http:/... | Add Adafruit VCNL4010 library as PIO dependency | Add Adafruit VCNL4010 library as PIO dependency | INI | mit | stonehippo/purry | ---
+++
@@ -14,3 +14,4 @@
framework = arduino
lib_deps =
1250
+ 2064
|
0763a918e6355f4b67100f090f3a86e2a68b584c | app/helpers/application_helper/button/container_timeline.rb | app/helpers/application_helper/button/container_timeline.rb | class ApplicationHelper::Button::ContainerTimeline < ApplicationHelper::Button::Container
needs :@record
def disabled?
@error_message = _('No Timeline data has been collected for this %{entity}') %
{:entity => @entity} unless proper_events?
@error_message.present?
end
private
d... | Create button a class for container timeline buttons | Create button a class for container timeline buttons
| Ruby | apache-2.0 | NaNi-Z/manageiq,aufi/manageiq,billfitzgerald0120/manageiq,kbrock/manageiq,mfeifer/manageiq,andyvesel/manageiq,romanblanco/manageiq,branic/manageiq,andyvesel/manageiq,tzumainn/manageiq,branic/manageiq,jrafanie/manageiq,durandom/manageiq,NaNi-Z/manageiq,hstastna/manageiq,josejulio/manageiq,ailisp/manageiq,jntullo/managei... | ---
+++
@@ -0,0 +1,15 @@
+class ApplicationHelper::Button::ContainerTimeline < ApplicationHelper::Button::Container
+ needs :@record
+
+ def disabled?
+ @error_message = _('No Timeline data has been collected for this %{entity}') %
+ {:entity => @entity} unless proper_events?
+ @error_mess... | |
3a0907f6eb974bb1afeb278645848ab9cc0bffab | src/main/resources/log4j.properties | src/main/resources/log4j.properties | # Define the root logger with the appender = console
# Supported Logging Levels in low-high order is
# DEBUG < INFO < WARN < ERROR < FATAL
# Logging levels are inherited from the root logger, and, logging levels
# are enabled in a low-high order for e.g. logging level ERROR will enable
# ERROR and FATAL log messages to... | # Define the root logger with the appender = console
# Supported Logging Levels in low-high order is
# DEBUG < INFO < WARN < ERROR < FATAL
# Logging levels are inherited from the root logger, and, logging levels
# are enabled in a low-high order for e.g. logging level ERROR will enable
# ERROR and FATAL log messages to... | Revert "Log errors to stderr so they can be captured by non-java software" | Revert "Log errors to stderr so they can be captured by non-java software"
This reverts commit 353d29deeb20305b396278093173d6f0ceafe225.
| INI | apache-2.0 | Netflix/photon,Netflix/photon | ---
+++
@@ -4,7 +4,7 @@
# Logging levels are inherited from the root logger, and, logging levels
# are enabled in a low-high order for e.g. logging level ERROR will enable
# ERROR and FATAL log messages to be displayed on the appender.
-log4j.rootLogger = INFO, CONSOLE, STDERR
+log4j.rootLogger = INFO, CONSOLE
... |
6cabf9c03cd40ae748d03f1a2fd3f4f3db6c47a5 | protocols/models.py | protocols/models.py | from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models.PositiveIntegerField()
voted_against... | from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models.PositiveIntegerField(blank=True, null=Tr... | Add option for blank voting | Add option for blank voting
| Python | mit | Hackfmi/Diaphanum,Hackfmi/Diaphanum | ---
+++
@@ -7,10 +7,10 @@
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
- voted_for = models.PositiveIntegerField()
- voted_against = models.PositiveIntegerField()
- voted_abstain = mo... |
02f7a546cda7b8b3ce31616a74f3aa3518632885 | djangocms_spa_vue_js/templatetags/router_tags.py | djangocms_spa_vue_js/templatetags/router_tags.py | import json
from django import template
from django.utils.safestring import mark_safe
from ..menu_helpers import get_vue_js_router
register = template.Library()
@register.simple_tag(takes_context=True)
def vue_js_router(context):
if context.has_key('vue_js_router'):
router = context['vue_js_router']
... | import json
from django import template
from django.utils.safestring import mark_safe
from ..menu_helpers import get_vue_js_router
register = template.Library()
@register.simple_tag(takes_context=True)
def vue_js_router(context):
if 'vue_js_router' in context:
router = context['vue_js_router']
else... | Use `in` rather than `has_key` | Use `in` rather than `has_key`
| Python | mit | dreipol/djangocms-spa-vue-js | ---
+++
@@ -10,7 +10,7 @@
@register.simple_tag(takes_context=True)
def vue_js_router(context):
- if context.has_key('vue_js_router'):
+ if 'vue_js_router' in context:
router = context['vue_js_router']
else:
router = get_vue_js_router(context=context)
|
7ff139f097603085685f3a152f67ce566dd40932 | .github/workflows/check_transport.yml | .github/workflows/check_transport.yml | name: Check Matrix
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
transport: [native, nio]
exclude:
# excludes native on Windows (there's none)
- os:... | name: Check Matrix
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, macos-10.15, windows-2019]
transport: [native, nio]
exclude:
# excludes native on Windows (there's none)
- os: win... | Switch to a fixed version instead of latest version for CI VMs | Switch to a fixed version instead of latest version for CI VMs
| YAML | apache-2.0 | reactor/reactor-netty,reactor/reactor-netty | ---
+++
@@ -9,7 +9,7 @@
strategy:
fail-fast: false
matrix:
- os: [ubuntu-latest, macOS-latest, windows-latest]
+ os: [ubuntu-18.04, macos-10.15, windows-2019]
transport: [native, nio]
exclude:
# excludes native on Windows (there's none)
|
cbb0b65464c7f6895d612aab65f554431062ce2c | modules/projects/README.md | modules/projects/README.md | # Project Manifests
Project manifests live in `modules/projects/manifests/$project.pp`. A
simple project manifest example:
```puppet
class projects::boxen {
$dir = "${boxen::config::srcdir}/boxen"
repository { $dir:
source => 'boxen/boxen'
}
ruby::local { $dir:
version => 'system',
require => R... | # Project Manifests
Project manifests live in `modules/projects/manifests/$project.pp`. A
simple project manifest example:
```puppet
class projects::boxen {
include qt # requires the qt module in Puppetfile
$dir = "${boxen::config::srcdir}/boxen"
repository { $dir:
source => 'boxen/boxen'
}
ruby::lo... | Update docs a bit for projects example | Update docs a bit for projects example
| Markdown | mit | vincentpeyrouse/my-boxen,arntzel/BoxenRepo,chrissav/2u_boxen,concordia-publishing-house/boxen,blamarvt/boxen,uniite/my-boxen,schlick/my-boxen,otternq/our-boxen,testboxenmissinformed/boxen-test,albertofem/boxen,phase2/our-confroom-boxen,cade/my-boxen,darthmacdougal/boxen,RossKinsella/our-boxen,atomaka/my-boxen,yuma-iwas... | ---
+++
@@ -5,6 +5,8 @@
```puppet
class projects::boxen {
+ include qt # requires the qt module in Puppetfile
+
$dir = "${boxen::config::srcdir}/boxen"
repository { $dir:
|
166af23675bcd0453b0da0b1d93d6bb3bb6028d8 | apps/account/lib/account/service.ex | apps/account/lib/account/service.ex | defmodule HELM.Account.Service do
use GenServer
alias HELM.Account
alias HELF.Broker
alias HELF.Router
def start_link(state \\ []) do
Router.register("account.create", "account:create")
Router.register("account.login", "account:login")
Router.register("account.get", "account:get")
GenServe... | defmodule HELM.Account.Service do
use GenServer
alias HELM.Account
alias HELF.Broker
alias HELF.Router
def start_link(state \\ []) do
Router.register("account.create", "account:create")
Router.register("account.login", "account:login")
Router.register("account.get", "account:get")
GenServe... | Remove wrong todo from `Account.Service`. | Remove wrong todo from `Account.Service`.
| Elixir | agpl-3.0 | renatomassaro/Helix,HackerExperience/Helix,renatomassaro/Helix,mememori/Helix,HackerExperience/Helix | ---
+++
@@ -33,8 +33,6 @@
{:reply, response}
end)
- # TODO: fix this return
{:ok, %{}}
end
-
end
|
8f84fe5cd431130113928621149bf1ceb3b76c90 | scripts/runner.sh | scripts/runner.sh | #!/usr/bin/env bash
echo "Fetching credentials from $REGISTRY_USERS"
curl -o /etc/nginx/.htpasswd $REGISTRY_USERS
/usr/sbin/nginx -c /etc/nginx/nginx.conf
| #!/usr/bin/env bash
echo "Fetching credentials from $REGISTRY_USERS"
curl -o /etc/nginx/.htpasswd $REGISTRY_USERS
cat /etc/nginx/.htpasswd
/usr/sbin/nginx -c /etc/nginx/nginx.conf
| Print the contents to be sure | Print the contents to be sure
| Shell | mit | tco/screwdriver-docker-proxy | ---
+++
@@ -3,4 +3,6 @@
curl -o /etc/nginx/.htpasswd $REGISTRY_USERS
+cat /etc/nginx/.htpasswd
+
/usr/sbin/nginx -c /etc/nginx/nginx.conf
|
ad325d79139348b260d54bf58063877795c05176 | requirements/base.txt | requirements/base.txt | git+git://github.com/liqd/adhocracy4.git@31bd992a1813208c5aa44a0cebb2fe00bdea6f34#egg=adhocracy4
bcrypt==3.1.4
django-capture-tag==1.0
django_csp==3.4
requests==2.18.4
wagtail==1.13.1 # pyup: <2.0
zeep==2.5.0
# Inherited a4-core requirements
bleach==2.1.3
Django==1.11.12 # pyup: <2.0
django-allauth==0.35.0
django-auto... | git+git://github.com/liqd/adhocracy4.git@31bd992a1813208c5aa44a0cebb2fe00bdea6f34#egg=adhocracy4
bcrypt==3.1.4
django-capture-tag==1.0
django_csp==3.4
requests==2.18.4
wagtail==1.13.1 # pyup: <2.0
zeep==2.5.0
# Inherited a4-core requirements
bleach==2.1.3
Django==1.11.13 # pyup: <2.0
django-allauth==0.35.0
django-auto... | Update django from 1.11.12 to 1.11.13 | Update django from 1.11.12 to 1.11.13 | Text | agpl-3.0 | liqd/a4-meinberlin,liqd/a4-meinberlin,liqd/a4-meinberlin,liqd/a4-meinberlin | ---
+++
@@ -8,7 +8,7 @@
# Inherited a4-core requirements
bleach==2.1.3
-Django==1.11.12 # pyup: <2.0
+Django==1.11.13 # pyup: <2.0
django-allauth==0.35.0
django-autoslug==1.9.3
django-background-tasks==1.1.13
|
a4b5cdde1843dca8c08fc3d6ddf2b763ef4e873d | lib/constants.js | lib/constants.js | var fs = require('fs')
var pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json').toString())
exports.VERSION = pkg.version
exports.DEFAULT_PORT = process.env.PORT || 9876
exports.DEFAULT_HOSTNAME = process.env.IP || 'localhost'
// log levels
exports.LOG_DISABLE = 'OFF'
exports.LOG_ERROR = 'ERROR'
exports... | var fs = require('fs')
var pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json').toString())
exports.VERSION = pkg.version
exports.DEFAULT_PORT = process.env.PORT || 9876
exports.DEFAULT_HOSTNAME = process.env.IP || 'localhost'
// log levels
exports.LOG_DISABLE = 'OFF'
exports.LOG_ERROR = 'ERROR'
exports... | Add date/time stamp to log output | feat(logger): Add date/time stamp to log output
The `"%d{DATE}"` in the log pattern adds a date and time stamp to log
lines.
So you get output like this from karma's logging:
```
30 06 2015 15:19:56.562:DEBUG [temp-dir]: Creating temp dir at /tmp/karma-43808925
```
The date and time are handy for figuring out if karma... | JavaScript | mit | pmq20/karma,youprofit/karma,chrisirhc/karma,astorije/karma,aiboy/karma,jamestalmage/karma,hitesh97/karma,vtsvang/karma,patrickporto/karma,aiboy/karma,karma-runner/karma,shirish87/karma,kahwee/karma,buley/karma,IsaacChapman/karma,hitesh97/karma,harme199497/karma,astorije/karma,tomkuk/karma,pedrotcaraujo/karma,Klaudit/ka... | ---
+++
@@ -15,8 +15,8 @@
exports.LOG_DEBUG = 'DEBUG'
// Default patterns for the pattern layout.
-exports.COLOR_PATTERN = '%[%p [%c]: %]%m'
-exports.NO_COLOR_PATTERN = '%p [%c]: %m'
+exports.COLOR_PATTERN = '%[%d{DATE}:%p [%c]: %]%m'
+exports.NO_COLOR_PATTERN = '%d{DATE}:%p [%c]: %m'
// Default console append... |
e71b34dbd6ff3fbdf2eb7485762136eda2926a98 | lib/phrender.rb | lib/phrender.rb | require "phrender/version"
require "phrender/logger"
require "phrender/phantom_js_engine"
require "phrender/phantom_js_session"
require "phrender/rack_base"
require "phrender/rack_middleware"
require "phrender/rack_static"
class Phrender
end
| require "phrender/version"
require "phrender/logger"
require "phrender/phantom_js_engine"
require "phrender/phantom_js_session"
require "phrender/rack_middleware"
require "phrender/rack_static"
class Phrender
end
| Remove reference to deleted file. | Remove reference to deleted file.
| Ruby | mit | scoremedia/phrender,scoremedia/phrender | ---
+++
@@ -2,7 +2,6 @@
require "phrender/logger"
require "phrender/phantom_js_engine"
require "phrender/phantom_js_session"
-require "phrender/rack_base"
require "phrender/rack_middleware"
require "phrender/rack_static"
|
dfe85877d689f0a465e1a4649159541d11d4002d | senlin_dashboard/cluster/profiles/templates/profiles/_create.html | senlin_dashboard/cluster/profiles/templates/profiles/_create.html | {% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% block modal-body-right %}
<h3>{% trans "Description:" %}</h3>
<p>{% trans "A profile encodes the information needed for node creation." %}</p>
<a target="_blank" href="https://github.com/openstack/senlin/tree/master/examples/profiles">
{% tra... | {% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% block form_id %}create_profile_form{% endblock %}
{% block form_action %}{% url 'horizon:cluster:profiles:create' %}{% endblock %}
{% block form_attrs %}enctype="multipart/form-data"{% endblock %}
{% block modal-body-right %}
<h3>{% trans "Descripti... | Fix senlin profile create through file upload. | Fix senlin profile create through file upload.
The senlin profile create is failing to pass the file name on form submit
due to missing encode type in the POST request.
Change-Id: I2a3d1a34725e60b6f59c355980fa48be580eceec
| HTML | apache-2.0 | openstack/senlin-dashboard,openstack/senlin-dashboard,openstack/senlin-dashboard,stackforge/senlin-dashboard,stackforge/senlin-dashboard,openstack/senlin-dashboard,stackforge/senlin-dashboard | ---
+++
@@ -1,5 +1,9 @@
{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
+
+{% block form_id %}create_profile_form{% endblock %}
+{% block form_action %}{% url 'horizon:cluster:profiles:create' %}{% endblock %}
+{% block form_attrs %}enctype="multipart/form-data"{% endblock %}
{% block modal-body-... |
353d89f62bfc8b74456de02f2a3bb234760d2b79 | ITWedding/ITWeddingv2016.05/app/src/main/res/layout/activity_main.xml | ITWedding/ITWeddingv2016.05/app/src/main/res/layout/activity_main.xml | <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizonta... | <?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:con... | Change project ITWeddingv2016.05. Add main activity with WebViewer component. | Change project ITWeddingv2016.05. Add main activity with WebViewer component.
| XML | mit | nevmaks/UAGames | ---
+++
@@ -1,17 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout
+<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- ... |
7c67b3453eebcfea74f18611ad44cf1a3919b4e3 | api/person-add.php | api/person-add.php | <?
include '../scat.php';
$name= $_REQUEST['name'];
$company= $_REQUEST['company'];
$phone= $_REQUEST['phone'];
if (empty($name) && empty($company) && empty($phone))
die_jsonp("You need to supply at least a name, company, or phone number.");
$list= array();
foreach(array('name', 'company', 'address',
... | <?
include '../scat.php';
$name= $_REQUEST['name'];
$company= $_REQUEST['company'];
$phone= $_REQUEST['phone'];
if (empty($name) && empty($company) && empty($phone))
die_jsonp("You need to supply at least a name, company, or phone number.");
$list= array();
foreach(array('name', 'role', 'company', 'address',
... | Save role when adding new person | Save role when adding new person
| PHP | mit | jimwins/scat,jimwins/scat,jimwins/scat,jimwins/scat | ---
+++
@@ -8,7 +8,7 @@
die_jsonp("You need to supply at least a name, company, or phone number.");
$list= array();
-foreach(array('name', 'company', 'address',
+foreach(array('name', 'role', 'company', 'address',
'email', 'phone', 'tax_id') as $field) {
$list[]= "$field = '" . $db->escape($_R... |
6d6739357119d9a2fd78d82c6f0cc640fa3878ea | metadata/com.github.alijc.cricketsalarm.yml | metadata/com.github.alijc.cricketsalarm.yml | Categories:
- Time
License: GPL-3.0-only
SourceCode: https://github.com/alijc/CricketsAlarm
IssueTracker: https://github.com/alijc/CricketsAlarm/issues
AutoName: Cricket’s Alarm
Description: |-
A widget for keeping track of a pet’s medications.
This is a simple widget timer that rings an alarm to remind me ... | Categories:
- Time
License: GPL-3.0-only
SourceCode: https://github.com/alijc/CricketsAlarm
IssueTracker: https://github.com/alijc/CricketsAlarm/issues
AutoName: Cricket's Alarm
Description: |-
A widget for keeping track of a pet’s medications.
This is a simple widget timer that rings an alarm to remind me ... | Set autoname of Cricket's Alarm | Set autoname of Cricket's Alarm
| YAML | agpl-3.0 | f-droid/fdroiddata,f-droid/fdroiddata | ---
+++
@@ -4,7 +4,7 @@
SourceCode: https://github.com/alijc/CricketsAlarm
IssueTracker: https://github.com/alijc/CricketsAlarm/issues
-AutoName: Cricket’s Alarm
+AutoName: Cricket's Alarm
Description: |-
A widget for keeping track of a pet’s medications.
|
5b7a5673f4c5d3e796e46661fe5503885134366c | .travis.yml | .travis.yml | dist: xenial
language: bash
services: docker
git:
quiet: true
env:
global:
- TARGETS=""
matrix:
include:
# Run multi arch cases on only cron mode at first, as it takes 30+ minutes.
- env: SERVICE=fedora30_aarch64 TARGETS="qemu build"
if: type = cron
- env: SERVICE=fedora30
- env: SERVICE... | dist: xenial
language: bash
services: docker
git:
quiet: true
env:
global:
- TARGETS=""
matrix:
include:
# Run multi arch cases on only cron mode at first, as it takes 30+ minutes.
- name: fedora30_aarch64
env: SERVICE=fedora30_aarch64 TARGETS="qemu build"
# if: type = cron
- env: SERV... | Update Fedora 30 aarch64 case as regular task, setting it as allows_failures. | Update Fedora 30 aarch64 case as regular task, setting it as allows_failures.
To see the content of the failures. It's temporary workflow.
| YAML | mit | junaruga/rpm-py-installer,junaruga/rpm-py-installer | ---
+++
@@ -9,8 +9,9 @@
matrix:
include:
# Run multi arch cases on only cron mode at first, as it takes 30+ minutes.
- - env: SERVICE=fedora30_aarch64 TARGETS="qemu build"
- if: type = cron
+ - name: fedora30_aarch64
+ env: SERVICE=fedora30_aarch64 TARGETS="qemu build"
+ # if: type = cro... |
c86569d46aac2372107a5e2af66208de8c4a4c1d | kaleo/receivers.py | kaleo/receivers.py | from django.db.models.signals import post_save
from django.dispatch import receiver
from django.contrib.auth.models import User
from account.models import SignupCodeResult, EmailConfirmation
from account.signals import signup_code_used, email_confirmed
from kaleo.models import JoinInvitation, InvitationStat
@recei... | from django.db.models.signals import post_save
from django.dispatch import receiver
from django.contrib.auth.models import User
from account.models import SignupCodeResult, EmailConfirmation
from account.signals import signup_code_used, email_confirmed, user_signed_up
from kaleo.models import JoinInvitation, Invitat... | Handle case where a user skips email confirmation | Handle case where a user skips email confirmation
In DUA, if you are invited to a site and you end
up signing up with the same email address, DUA will
skip the confirmation cycle and count it as
confirmed already.
| Python | bsd-3-clause | JPWKU/kaleo,abramia/kaleo,rizumu/pinax-invitations,ntucker/kaleo,jacobwegner/pinax-invitations,pinax/pinax-invitations,eldarion/kaleo | ---
+++
@@ -4,7 +4,7 @@
from django.contrib.auth.models import User
from account.models import SignupCodeResult, EmailConfirmation
-from account.signals import signup_code_used, email_confirmed
+from account.signals import signup_code_used, email_confirmed, user_signed_up
from kaleo.models import JoinInvitatio... |
4beff77908c4098cd389f086c2188ecd8d27c468 | .drone.yml | .drone.yml | kind: pipeline
type: kubernetes
name: default
steps:
- name: build site
image: jojomi/hugo
commands:
- hugo
- name: build server
image: golang
commands:
- CG0_ENABLED=0 go build -s server -ldflags '-s' src/main.go
| kind: pipeline
type: kubernetes
name: default
steps:
- name: build site
image: jojomi/hugo
commands:
- hugo
- name: build server
image: golang
commands:
- CG0_ENABLED=0 go build -o server -ldflags '-s' src/main.go
| Correct typo in build script | Correct typo in build script
| YAML | mit | nsmith5/website | ---
+++
@@ -10,4 +10,4 @@
- name: build server
image: golang
commands:
- - CG0_ENABLED=0 go build -s server -ldflags '-s' src/main.go
+ - CG0_ENABLED=0 go build -o server -ldflags '-s' src/main.go
|
3a54e84abaa195956a8ad4d264892acd12f90ac1 | cosmos-gui/conf/cosmos-gui.json | cosmos-gui/conf/cosmos-gui.json | {
"gui": {
"port": 9090
},
"oauth2": {
"idmURL": "",
"client_id": "",
"client_secret": "",
"callbackURL": "http://localhost/login",
"response_type": "code"
},
"mysql": {
"host": "130.206.81.225",
"port": 3306,
"user": "cb",
"password": "cbpass",
"database": "cosmos_... | {
"gui": {
"port": 9090
},
"hdfs": {
"quota": 5
},
"oauth2": {
"idmURL": "",
"client_id": "",
"client_secret": "",
"callbackURL": "http://localhost/login",
"response_type": "code"
},
"mysql": {
"host": "",
"port": 3306,
"user": "",
"password": "",
"database"... | ADD a HDFS section in config file | ADD a HDFS section in config file
| JSON | agpl-3.0 | ffr4nz/fiware-cosmos,telefonicaid/fiware-cosmos,telefonicaid/fiware-cosmos,telefonicaid/fiware-cosmos,telefonicaid/fiware-cosmos,ffr4nz/fiware-cosmos,ffr4nz/fiware-cosmos,telefonicaid/fiware-cosmos | ---
+++
@@ -1,6 +1,9 @@
{
"gui": {
"port": 9090
+ },
+ "hdfs": {
+ "quota": 5
},
"oauth2": {
"idmURL": "",
@@ -10,10 +13,10 @@
"response_type": "code"
},
"mysql": {
- "host": "130.206.81.225",
+ "host": "",
"port": 3306,
- "user": "cb",
- "password": "cbpass",
+ ... |
4c1e4a67c31021f5c5cd40e27da5b10fb2c5c498 | source/calendar.html.erb | source/calendar.html.erb | ---
pageable: true
---
<h1>Archive for
<% case page_type
when 'day' %>
<%= Date.new(year, month, day).strftime('%e %B %Y') %>
<% when 'month' %>
<%= Date.new(year, month, 1).strftime('%B %Y') %>
<% when 'year' %>
<%= year %>
<% end %>
</h1>
<% if paginate && num_pages > 1 %>
<p>Page <%= page... | ---
pageable: true
---
<h1>Archive for
<% case page_type
when 'day' %>
<%= Date.new(year, month, day).strftime('%e %B %Y') %>
<% when 'month' %>
<%= Date.new(year, month, 1).strftime('%B %Y') %>
<% when 'year' %>
<%= year %>
<% end %>
</h1>
<% if paginate && num_pages > 1 %>
<p>Page <%= page... | Add Disqus comment count to calendar pages. | Add Disqus comment count to calendar pages.
| HTML+ERB | mit | martincostello/blog,martincostello/blog,martincostello/blog | ---
+++
@@ -22,7 +22,7 @@
<ul>
<% page_articles.each_with_index do |article, i| %>
- <li><%= link_to article.title, article %> - <span><%= article.date.strftime('%d/%m/%y') %></span></li>
+ <li><%= link_to article.title, article %> - <span><%= article.date.strftime('%d/%m/%y') %></span> | <a href="<%= art... |
76b32ea39a944585155f8f5fcab407f8e0b968b1 | src/erlcfg_data.erl | src/erlcfg_data.erl | -module(erlcfg_data, [Node]).
-export([
raw/0,
get/1,
get/2
]).
raw() ->
Node.
get(Key, Default) ->
case THIS:get(Key) of
{error, _Reason} ->
Default;
Value ->
Value
end.
get(Key) ->
case erlcfg_node:get(Node, Key) of
{not_f... | -module(erlcfg_data, [Node]).
-export([
raw/0,
get/1,
get/2,
ensure_get/1
]).
raw() ->
Node.
get(Key, Default) ->
case THIS:get(Key) of
{error, _Reason} ->
Default;
Value ->
Value
end.
get(Key) ->
case erlcfg_node:get(Node, ... | Implement erlcfg:ensure_get/1 which crashes when key is not found | Implement erlcfg:ensure_get/1 which crashes when key is not found
| Erlang | bsd-3-clause | saleyn/erlcfg | ---
+++
@@ -2,7 +2,8 @@
-export([
raw/0,
get/1,
- get/2
+ get/2,
+ ensure_get/1
]).
@@ -24,3 +25,11 @@
{value, Value} ->
Value
end.
+
+ensure_get(Key) ->
+ case THIS:get(Key) of
+ {error, Reason} ->
+ throw(Reason);
+ ... |
0eac14610cd422ded0e9882530ad4cd8dcaa2281 | .travis.yml | .travis.yml | language: python
python: 2.7
os:
- linux
- osx
env:
- TOX_ENV=py27
- TOX_ENV=py34
- TOX_ENV=pypy
install: pip install tox
script: tox -e $TOX_ENV
after_success:
- coveralls
notifications:
email:
- jturk@sunlightfoundation.com
| language: python
python: 2.7
env:
- TOX_ENV=py27
- TOX_ENV=py34
- TOX_ENV=pypy
install: pip install tox
script: tox -e $TOX_ENV
after_success:
- coveralls
notifications:
email:
- jturk@sunlightfoundation.com
| Revert "try building on OSX, why not" | Revert "try building on OSX, why not"
This reverts commit 6e4fb1355abbf97107c9c475f732b0c3ea0e6b3b.
| YAML | bsd-2-clause | J535D165/jellyfish,pombredanne/jellyfish,pombredanne/jellyfish,gdtm86/jellyfish,jamesturk/jellyfish,J535D165/jellyfish,gdtm86/jellyfish,jamesturk/jellyfish | ---
+++
@@ -1,8 +1,5 @@
language: python
python: 2.7
-os:
- - linux
- - osx
env:
- TOX_ENV=py27
- TOX_ENV=py34
|
8c6618fd10bbb337571937b2791ee608c31b2cd4 | doc/book/SUMMARY.md | doc/book/SUMMARY.md | # Summary
* [Background](background/index.md)
* [Goals](background/goals.md)
* [Why a virtual machine?](background/why-vm.md)
* [Why Lisp?](background/why-lisp.md)
* [Influences](background/influences.md)
* [Implementation](implementation/README.md)
* [Why Rust?](implementation/why-rust.md)
* [... | # Summary
* [Background](background/index.md)
* [Goals](background/goals.md)
* [Why a virtual machine?](background/why-vm.md)
* [Why Lisp?](background/why-lisp.md)
* [The Scheme Programming Langauge](background/scheme.md)
* [Influences](background/influences.md)
* [Implementation](implementation/RE... | Add new pages to the index | Add new pages to the index
| Markdown | mit | hawkw/seax,hawkw/seax | ---
+++
@@ -4,6 +4,7 @@
* [Goals](background/goals.md)
* [Why a virtual machine?](background/why-vm.md)
* [Why Lisp?](background/why-lisp.md)
+ * [The Scheme Programming Langauge](background/scheme.md)
* [Influences](background/influences.md)
* [Implementation](implementation/README.md)
*... |
97c80b9b09b5ccfd53a5f6bdbf75f3d6f35746da | views/site/profile.php | views/site/profile.php | <?php
/**
* @project: Intern Portal.
* @author: nkmathew
* @date: 20/06/2016
* @time: 17:09
*/
/* @var $this yii\web\View */
use yii\helpers\Html;
use yii\widgets\ActiveForm;
?>
<div class="site-profile">
<p>
Update your profile below
</p>
<div class="row">
<d... | <?php
/**
* @project: Intern Portal.
* @author: nkmathew
* @date: 20/06/2016
* @time: 17:09
*/
/* @var $this yii\web\View */
/* @var $model app\models\Profile */
use yii\helpers\Html;
use yii\widgets\ActiveForm;
?>
<div class="site-profile">
<p>
Update your profile below
<... | Add default values for form fields | Add default values for form fields
| PHP | bsd-3-clause | nkmathew/intern-portal,nkmathew/intern-portal | ---
+++
@@ -8,6 +8,7 @@
*/
/* @var $this yii\web\View */
+/* @var $model app\models\Profile */
use yii\helpers\Html;
use yii\widgets\ActiveForm;
@@ -20,10 +21,11 @@
</p>
<div class="row">
<div class="col-lg-5">
+ <?= var_dump($profile); ?>
<?php $form = ... |
09197b95803dae25c8e3009b13556dc41402f529 | app/views/_sprint31/e2e/includes/title_phase-tag_navigation.html | app/views/_sprint31/e2e/includes/title_phase-tag_navigation.html | <div class="header-container">
<a href="/_sprint{{currentSprint}}/e2e" class="header-title">National Careers Service</a>
<nav class="explorecareers_nav">
<ul id="navigation" aria-label="Top Level Navigation">
<li>
<a class="govuk-header__link active" href="/_sprint{{currentSprint}}... | <div class="header-container">
<a href="/_sprint{{currentSprint}}/e2e" class="header-title">National Careers Service</a>
<nav class="explorecareers_nav">
<ul id="navigation" aria-label="Top Level Navigation">
<li>
<a class="govuk-header__link active" href="/_sprint{{currentSprint}}... | Change to external contact us | Change to external contact us
| HTML | mit | citizendigitalalpha/careers_beta,citizendigitalalpha/careers_beta,citizendigitalalpha/careers_beta | ---
+++
@@ -8,7 +8,7 @@
</a>
</li>
<li class="govuk-header__navigation-item">
- <a class="govuk-header__link" href="/_sprint{{currentSprint}}/e2e/contactus">
+ <a class="govuk-header__link" href="/_sprint{{currentSprint}}/e2e/bau-contactus">
... |
4f4b1e4518a9894f2ace869d4c06eebc08cfe073 | docs/events.md | docs/events.md | # Hooking in with events
The `Client` class has a build-in EventDispatcher.
It will trigger events at all important phases of the SOAP call:
- Events::REQUEST (RequestEvent)
- Events::RESPONSE (ResponseEvent)
- Events::FAULT (FaultEvent)
You can subscribe your own listeners to the configured `EventDispatcher`. For... | # Hooking in with events
The `Client` class has a build-in EventDispatcher.
It will trigger events at all important phases of the SOAP call:
- Events::REQUEST (RequestEvent)
- Events::RESPONSE (ResponseEvent)
- Events::FAULT (FaultEvent)
You can subscribe your own listeners to the configured `EventDispatcher`. For... | Fix link in Events documentation | Fix link in Events documentation
| Markdown | mit | phpro/soap-client,janvernieuwe/soap-client | ---
+++
@@ -21,5 +21,5 @@
This package ships with some default subscriber plugins:
- [Logger plugin](plugins/logger.md)
-- [Validator plugin](docs/plugins/validator.md)
+- [Validator plugin](plugins/validator.md)
- [Caching plugin](plugins/caching.md)
|
adf079b8bbbce2f7dd774b4fa9774370c01a79d3 | raven/src/test/resources/logging-test.properties | raven/src/test/resources/logging-test.properties | handlers=java.util.logging.ConsoleHandler
.level=OFF
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format=[RAVEN] [%4$.4s] %3$s - %5$s%n
| handlers=java.util.logging.ConsoleHandler
.level=OFF
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.ConsoleHandler.level=ALL
java.util.logging.SimpleFormatter.format=[RAVEN] [%4$.4s] %3$s - %5$s%n
| Add a line to ensure that the consoleHandler will print everything that is logged | Add a line to ensure that the consoleHandler will print everything that is logged
| INI | bsd-3-clause | buckett/raven-java,galmeida/raven-java,reki2000/raven-java6,reki2000/raven-java6,littleyang/raven-java,buckett/raven-java,littleyang/raven-java,galmeida/raven-java | ---
+++
@@ -2,4 +2,5 @@
.level=OFF
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
+java.util.logging.ConsoleHandler.level=ALL
java.util.logging.SimpleFormatter.format=[RAVEN] [%4$.4s] %3$s - %5$s%n
|
0a0e64f7d72cc7418b185603397cd2bc0b09d156 | config/initializers/_patch.rb | config/initializers/_patch.rb | # patch to correct utf8 string wrongly encoded as ASCII-8BIT
# tested on linux with ruby 2.2.7-p470
module ProxyPacRb
# Encodes strings as UTF-8
module Encoding
def encode(string)
if string.encoding.name == 'ASCII-8BIT'
data = string.dup
data.force_encoding('UTF-8')
unless data.va... | # patch to correct utf8 string wrongly encoded as ASCII-8BIT and suppress file system proxy load
# tested on linux with ruby 2.2.7-p470
module ProxyPacRb
# Encodes strings as UTF-8
module Encoding
def encode(string)
if string.encoding.name == 'ASCII-8BIT'
data = string.dup
data.force_encod... | Patch ProxyPacRb to disallow use of proxypac on file system (for security) | Patch ProxyPacRb to disallow use of proxypac on file system (for security)
| Ruby | mit | net1957/ProxyCheck,net1957/ProxyCheck,net1957/ProxyCheck,net1957/ProxyCheck | ---
+++
@@ -1,4 +1,4 @@
-# patch to correct utf8 string wrongly encoded as ASCII-8BIT
+# patch to correct utf8 string wrongly encoded as ASCII-8BIT and suppress file system proxy load
# tested on linux with ruby 2.2.7-p470
module ProxyPacRb
# Encodes strings as UTF-8
@@ -17,4 +17,29 @@
data
end
en... |
acb15ae41190f4a749b9cdbb3a54154f2e020a54 | README.md | README.md | # zend-eventmanager
The `Zend\EventManager` is a component designed for the following use cases:
- Implementing simple subject/observer patterns.
- Implementing Aspect-Oriented designs.
- Implementing event-driven architectures.
The basic architecture allows you to attach and detach listeners to named events,
both o... | # zend-eventmanager
[](https://secure.travis-ci.org/zendframework/zend-eventmanager)
[](https://coveralls.io/r/zendframewo... | Add Travis-CI and Coveralls badges for master branch | [readme] Add Travis-CI and Coveralls badges for master branch
| Markdown | bsd-3-clause | ezimuel/zend-eventmanager,Maks3w/zend-eventmanager,matwright/zend-eventmanager,codeliner/zend-eventmanager,MadCat34/zend-eventmanager | ---
+++
@@ -1,4 +1,7 @@
# zend-eventmanager
+
+[](https://secure.travis-ci.org/zendframework/zend-eventmanager)
+[](http... |
15d08b3c088a1ca46a48a7c1d6e648b0058c86dd | bash_scripts/destiny2_subclass.sh | bash_scripts/destiny2_subclass.sh | #!/usr/bin/env bash
set -e
API_KEY=`less ../secrets.yaml | grep destiny2_api_key | awk '{print $2}'`
STRIKER=2958378809
SUNBREAKER=3105935002
SENTINEL=3382391785
NIGHTSTALKER=3225959819
ARCSTRIDER=1334959255
GUNSLINGER=3635991036
VOIDWALKER=3887892656
DAWNBLADE=3481861797
STORMCALLER=1751782730
RES=`curl -s --he... | #!/usr/bin/env bash
set -e
API_KEY=`less /config/secrets.yaml | grep destiny2_api_key | awk '{print $2}'`
STRIKER=2958378809
SUNBREAKER=3105935002
SENTINEL=3382391785
NIGHTSTALKER=3225959819
ARCSTRIDER=1334959255
GUNSLINGER=3635991036
VOIDWALKER=3887892656
DAWNBLADE=3481861797
STORMCALLER=1751782730
RES=`curl -s... | Fix to Destiny 2 bash scrip | Fix to Destiny 2 bash scrip
| Shell | unlicense | danrspencer/hass-config,danrspencer/hass-config | ---
+++
@@ -2,7 +2,7 @@
set -e
-API_KEY=`less ../secrets.yaml | grep destiny2_api_key | awk '{print $2}'`
+API_KEY=`less /config/secrets.yaml | grep destiny2_api_key | awk '{print $2}'`
STRIKER=2958378809
SUNBREAKER=3105935002
|
260e72acb1653c37f2138f6e272ec6d49710e0a1 | .travis.yml | .travis.yml | language: python
python:
- 3.5
install:
- pip install -r requirements-test.txt
- pip install coveralls
- pip install flake8
before_script:
- flake8 --max-line-length=120
after_success:
- coveralls
script: pytest | language: python
python:
- 3.5
install:
- pip install -r requirements-test.txt
- pip install flake8
- pip install pytest
before_script:
- flake8 --max-line-length=120
script: pytest | Remove coveralls and add pytest | Remove coveralls and add pytest
| YAML | apache-2.0 | adlermedrado/abbr | ---
+++
@@ -5,13 +5,10 @@
install:
- pip install -r requirements-test.txt
- - pip install coveralls
- pip install flake8
+ - pip install pytest
before_script:
- flake8 --max-line-length=120
-after_success:
- - coveralls
-
script: pytest |
41884149a963752468023f6f2c1a00a708698e5b | README.rst | README.rst | kpy
==========
Kpy stands for Keitai (Japanese mobile phone) model name extractor on Python.
This module extracts model name of mobile phone/tablet from user agent string.
For example, this module extracts "HTL21" from a user agent string "Mozilla/5.0 (Linux; U; Android 4.1.1; ja-jp; HTL21 Build/JRO03C) AppleWebKit/... | kpy
==========
.. image:: https://travis-ci.org/ikegami-yukino/kpy.svg?branch=master
:target: https://travis-ci.org/ikegami-yukino/kpy
.. image:: https://coveralls.io/repos/ikegami-yukino/kpy/badge.png
:target: https://coveralls.io/r/ikegami-yukino/kpy
Kpy stands for Keitai (Japanese mobile phone) model name ext... | Add Travis ans Coveralls badges | Add Travis ans Coveralls badges
| reStructuredText | mit | ikegami-yukino/kpy | ---
+++
@@ -1,5 +1,9 @@
kpy
==========
+.. image:: https://travis-ci.org/ikegami-yukino/kpy.svg?branch=master
+ :target: https://travis-ci.org/ikegami-yukino/kpy
+.. image:: https://coveralls.io/repos/ikegami-yukino/kpy/badge.png
+ :target: https://coveralls.io/r/ikegami-yukino/kpy
Kpy stands for Keitai (Jap... |
aa31895f622ad0beebda72284ff76d7971edaf3a | generate-config-schema.js | generate-config-schema.js | "use strict";
const fs = require("fs");
const packageJsonPath = "./package.json";
const packageJson = require(packageJsonPath);
const configurationSchema = require("./node_modules/markdownlint/schema/markdownlint-config-schema.json");
const defaultConfig = require("./default-config.json");
// Update package.json
cons... | "use strict";
const fs = require("fs");
const packageJsonPath = "./package.json";
const packageJson = require(packageJsonPath);
const configurationSchema = require("./node_modules/markdownlint/schema/markdownlint-config-schema.json");
const defaultConfig = require("./default-config.json");
// Update package.json
cons... | Add trailing newline charater when generating config schema for package.json. | Add trailing newline charater when generating config schema for package.json.
| JavaScript | mit | DavidAnson/vscode-markdownlint | ---
+++
@@ -10,4 +10,4 @@
const configurationRoot = packageJson.contributes.configuration.properties["markdownlint.config"];
configurationRoot.default = defaultConfig;
configurationRoot.properties = configurationSchema.properties;
-fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, "\t"));
+fs.wri... |
75e32c511a6d39650d627bfa42aa5181706ac353 | docs/api.rst | docs/api.rst | =============
API Reference
=============
Though these routines are listed as living under the ``more`` and ``recipes``
submodules, you should just import them from ``more_itertools`` directly.
New Routines
============
.. automodule:: more_itertools.more
.. autofunction:: chunked
.. autofunction:: collate... | =============
API Reference
=============
.. automodule:: more_itertools
New Routines
============
.. autofunction:: chunked
.. autofunction:: collate(*iterables, key=lambda a: a, reverse=False)
.. autofunction:: consumer
.. autofunction:: first(iterable[, default])
.. autofunction:: ilen
..... | Make the docs show the routines as residing in the top level of the more_itertools namespace. | Make the docs show the routines as residing in the top level of the more_itertools namespace. | reStructuredText | mit | erikrose/more-itertools,more-itertools/more-itertools,mlyundin/more-itertools | ---
+++
@@ -2,14 +2,11 @@
API Reference
=============
-Though these routines are listed as living under the ``more`` and ``recipes``
-submodules, you should just import them from ``more_itertools`` directly.
+.. automodule:: more_itertools
New Routines
============
-
-.. automodule:: more_itertools.more
... |
7ba020caae9e247335620b86f8e7f51d67787b83 | test/helpers/action_creators.py | test/helpers/action_creators.py | from __future__ import absolute_import
from .action_types import (
ADD_TODO, DISPATCH_IN_MIDDLE, THROW_ERROR, UNKNOWN_ACTION,
)
def add_todo(text):
return {'type': ADD_TODO, 'text': text}
def add_todo_if_empty(text):
def anon(dispatch, get_state):
if len(get_state()) == 0:
add_todo(te... | from __future__ import absolute_import
from .action_types import (
ADD_TODO, DISPATCH_IN_MIDDLE, THROW_ERROR, UNKNOWN_ACTION,
)
def add_todo(text):
return {'type': ADD_TODO, 'text': text}
def add_todo_if_empty(text):
def anon(dispatch, get_state):
if len(get_state()) == 0:
dispatch(ad... | Fix add_todo_if_empty test helper action creator | Fix add_todo_if_empty test helper action creator
| Python | mit | usrlocalben/pydux | ---
+++
@@ -10,7 +10,7 @@
def add_todo_if_empty(text):
def anon(dispatch, get_state):
if len(get_state()) == 0:
- add_todo(text)
+ dispatch(add_todo(text))
return anon
def dispatch_in_middle(bound_dispatch_fn):
|
20620ae39dbda1c9f64d78df7dde44055a1bebe7 | package.json | package.json | {
"name": "grunt-reload-chrome",
"version": "0.1.4",
"description": "A grunt task to reload chrome tabs.",
"homepage": "http://github.com/rhalff/grunt-reload-chrome",
"author": {
"name": "Rob Halff",
"url": "http://http://github.com/rhalff"
},
"license": "MIT",
"repository": {
"type": "git",... | {
"name": "grunt-reload-chrome",
"version": "0.1.4",
"description": "A grunt task to reload chrome tabs.",
"homepage": "http://github.com/rhalff/grunt-reload-chrome",
"author": {
"name": "Rob Halff",
"url": "http://http://github.com/rhalff"
},
"license": "MIT",
"repository": {
"type": "git",... | Update peerDependencies to support Grunt 1.0 | Update peerDependencies to support Grunt 1.0
Hello,
This is an automated issue request to update the `peerDependencies` for your Grunt plugin.
We ask you to merge this and **publish a new release on npm** to get your plugin working in Grunt 1.0!
Read more here: http://gruntjs.com/blog/2016-02-11-grunt-1.0.0-rc1-rele... | JSON | mit | rhalff/grunt-reload-chrome | ---
+++
@@ -34,7 +34,7 @@
"grunt-release": "0.x.x"
},
"peerDependencies": {
- "grunt": "~0.4.0"
+ "grunt": ">=0.4.0"
},
"keywords": [
"gruntplugin",
|
3ec85229e0358a24a8fa41012e69d8fa1d350ff4 | README.md | README.md | This is attempt at implementation of Hirschberg's longest common subsequence algorithm described in: HIRSCHBERG, Daniel S. Algorithms for the longest common subsequence problem. *Journal of the ACM (JACM)*, 1977, 24.4: 664-675.
| Add reference to Hirschberg's paper. | Add reference to Hirschberg's paper.
| Markdown | bsd-2-clause | wilx/lcs | ---
+++
@@ -0,0 +1 @@
+This is attempt at implementation of Hirschberg's longest common subsequence algorithm described in: HIRSCHBERG, Daniel S. Algorithms for the longest common subsequence problem. *Journal of the ACM (JACM)*, 1977, 24.4: 664-675.
| |
c01c4c17b9c47c29c01f3c52d73e966333d6b3dd | .travis.yml | .travis.yml | before_script:
- "sh -e /etc/init.d/xvfb start"
- "bundle exec rake test_app"
env:
- DB=sqlite
- DB=mysql
- DB=postgres
script: "DISPLAY=:99.0 bundle exec rake"
notifications:
email:
- ryan@spreecommerce.com
irc: "irc.freenode.org#spree"
branches:
only:
- 1-0-stable
- master
rvm:
- 1.8.7
... | before_script:
- "sh -e /etc/init.d/xvfb start"
- "bundle exec rake test_app"
env:
- DB=sqlite
- DB=mysql
- DB=postgres
script: "DISPLAY=:99.0 bundle exec rake"
notifications:
email:
- ryan@spreecommerce.com
irc: "irc.freenode.org#spree"
branches:
only:
- 1-0-stable
- master
rvm:
- 1.8.7
... | Remove ree testing, given that it's the same as 1.8.7p352 | Remove ree testing, given that it's the same as 1.8.7p352
| YAML | bsd-3-clause | woboinc/spree,keatonrow/spree,kitwalker12/spree,thogg4/spree,ramkumar-kr/spree,wolfieorama/spree,quentinuys/spree,azranel/spree,DarkoP/spree,edgward/spree,jordan-brough/solidus,jparr/spree,vinsol/spree,adaddeo/spree,trigrass2/spree,cutefrank/spree,pjmj777/spree,pulkit21/spree,welitonfreitas/spree,LBRapid/spree,alejandr... | ---
+++
@@ -17,4 +17,3 @@
rvm:
- 1.8.7
- 1.9.3
- - ree
|
58ecfb3a0d55a675c5ccdf67e97ffb0593691aa9 | app/views/admin/github_repositories/show.html.erb | app/views/admin/github_repositories/show.html.erb | <div class="row">
<%= simple_form_for(@github_repository, url: admin_github_repository_path(@github_repository.id), html: { class: 'form-vertical col-md-6' }) do |form| %>
<h2>
Admin / <%= link_to @github_repository.full_name, github_repository_path(@github_repository.owner_name, @github_repository.project_... | <div class="row">
<%= simple_form_for(@github_repository, url: admin_github_repository_path(@github_repository.id), html: { class: 'form-vertical col-md-6' }) do |form| %>
<h2>
Admin / <%= link_to @github_repository.full_name, github_repository_path(@github_repository.owner_name, @github_repository.project_... | Fix github repo license selects | Fix github repo license selects | HTML+ERB | agpl-3.0 | tomnatt/libraries.io,abrophy/libraries.io,samjacobclift/libraries.io,abrophy/libraries.io,samjacobclift/libraries.io,abrophy/libraries.io,librariesio/libraries.io,tomnatt/libraries.io,librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io,samjacobclift/libraries.io,tomnatt/libraries.io | ---
+++
@@ -5,7 +5,7 @@
<%= link_to fa_icon('github'), @github_repository.url, target: :blank %>
</h2>
- <%= form.input :licenses, include_blank: true, selected: @github_repository.license, label: 'License', collection: Project.popular_licenses(:facet_limit => 100).map{|l| format_license(l.term) } %>... |
fd2fb1de6953773de73e3958eb7266c6461c4668 | .github/workflows/python-app.yml | .github/workflows/python-app.yml | # This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ monaparty-develop ]
pull_request:
b... | # This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ monaparty-develop ]
pull_request:
b... | Install appdirs before running setup.py. | Install appdirs before running setup.py.
| YAML | mit | monaparty/counterparty-lib,monaparty/counterparty-lib | ---
+++
@@ -27,7 +27,7 @@
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- pip install flake8 pytest
+ pip install flake8 pytest appdirs
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |... |
1253e29f7bb08cd60bafbd15d70079f47047f3f9 | .travis.yml | .travis.yml | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
sudo: false # enables docker
install:
- composer install
notifications:
webhooks: http://basho-engbot.herokuapp.com/travis?key=8d594c660ec46f616e37e24fd941c0ea1fc67963
email: clients@basho.com
script: "php vendor/bin/phpunit --testsuite 'Unit Tests'"
| language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
# enables docker
sudo: false
addons:
hosts:
- riak-test
before_script:
- composer self-update
- composer install
- riak-admin bucket-type create phptest_counters '{"props":{"datatype":"counter"}}'
- riak-admin bucket-type create phptest_maps ... | Enable Riak service, add riak-test host, add needed bucket types for testing, add coverage info to phpunit run, open up phpunit run to all tests, add php7 to list of php releases to test against ignoring any failures for it, add composer self-update. | Enable Riak service, add riak-test host, add needed bucket types for testing, add coverage info to phpunit run, open up phpunit run to all tests, add php7 to list of php releases to test against ignoring any failures for it, add composer self-update.
| YAML | apache-2.0 | basho/riak-php-client | ---
+++
@@ -1,13 +1,42 @@
language: php
+
php:
- 5.4
- 5.5
- 5.6
+ - 7.0
- hhvm
-sudo: false # enables docker
-install:
+
+# enables docker
+sudo: false
+
+addons:
+ hosts:
+ - riak-test
+
+before_script:
+ - composer self-update
- composer install
+ - riak-admin bucket-type create phptest_cou... |
315f0ba79a0312cecc3e2b864329cf8845735ea9 | scripts/app.js | scripts/app.js | 'use strict';
/**
* @ngdoc overview
* @name angularBootstrapCalendarApp
* @description
* # angularBootstrapCalendarApp
*
* Main module of the application.
*/
angular
.module('mwl.calendar', [
'ui.bootstrap.tooltip'
]);
| 'use strict';
/**
* @ngdoc overview
* @name angularBootstrapCalendarApp
* @description
* # angularBootstrapCalendarApp
*
* Main module of the application.
*/
angular
.module('mwl.calendar', [
'ui.bootstrap'
]);
| Revert "Lower ui bootstraps dependency to only the tooltip" | Revert "Lower ui bootstraps dependency to only the tooltip"
This reverts commit a699e4304a2f75a49d7d8d6769646b1fabdbadcf.
| JavaScript | mit | nameandlogo/angular-bootstrap-calendar,danibram/angular-bootstrap-calendar-modded,danibram/angular-bootstrap-calendar-modded,polarbird/angular-bootstrap-calendar,alexjohnson505/angular-bootstrap-calendar,rasulnz/angular-bootstrap-calendar,rasulnz/angular-bootstrap-calendar,CapeSepias/angular-bootstrap-calendar,LandoB/a... | ---
+++
@@ -10,5 +10,5 @@
*/
angular
.module('mwl.calendar', [
- 'ui.bootstrap.tooltip'
+ 'ui.bootstrap'
]);
|
e85a7cdc5ce1444f6b7af3d4cb7f89a9356166a3 | requirements.txt | requirements.txt | flake8==3.6.0
pytest==4.4.1
pytest-cov==2.6.0
tox==3.9.0
isort==4.3.18
-e .
| flake8==3.6.0
pytest==4.4.1
pytest-cov==2.7.1
tox==3.9.0
isort==4.3.18
-e .
| Update pytest-cov from 2.6.0 to 2.7.1 | Update pytest-cov from 2.6.0 to 2.7.1 | Text | mit | wikibusiness/aioslacker | ---
+++
@@ -1,6 +1,6 @@
flake8==3.6.0
pytest==4.4.1
-pytest-cov==2.6.0
+pytest-cov==2.7.1
tox==3.9.0
isort==4.3.18
-e .
|
8d506d001cec714a8b0573bc23281995331eff9a | documentsubtypes.md | documentsubtypes.md | ---
title: Document Subtypes
summary: This is a list of Document Subtypes and the appropriate encoded value to use with API requests.
layout: default
nav: fields
---
# {{ page.title }}
{{ page.data.summary }}
<table>
<thead>
<th>Subtype Name</th>
<th>Encoded Value</th>
</thead>
<tbody>
{% for subtype in site.data.doc... | ---
title: Document Subtypes
summary: This is a list of Document Subtypes and the appropriate encoded value to use with API requests.
layout: default
nav: fields
---
# {{ page.title }}
{{ page.data.summary }}
<p>Document Subtypes vary by Agency, each Agency having it's own set of values. This listing is for convenien... | Add an intro to document subtypes page | Add an intro to document subtypes page
| Markdown | unlicense | YOTOV-LIMITED/developers,YOTOV-LIMITED/developers,YOTOV-LIMITED/developers | ---
+++
@@ -7,7 +7,7 @@
# {{ page.title }}
{{ page.data.summary }}
-
+<p>Document Subtypes vary by Agency, each Agency having it's own set of values. This listing is for convenience to help users get the URI Escaped value, which will be needed for your request.</p>
<table>
<thead>
<th>Subtype Name</th>
|
f2b9463ee744299caaae1f936003e53ae0e826a6 | tasks/style.js | tasks/style.js | /*eslint-disable no-alert, no-console */
import gulp from 'gulp';
import gulpLoadPlugins from 'gulp-load-plugins';
import * as paths from './paths';
const $ = gulpLoadPlugins();
gulp.task('compile:styles', () => {
const AUTOPREFIXER_BROWSERS = [
'ie >= 10',
'ie_mob >= 10',
'ff >= 30',
'chrome >= ... | /*eslint-disable no-alert, no-console */
import gulp from 'gulp';
import gulpLoadPlugins from 'gulp-load-plugins';
import * as paths from './paths';
const $ = gulpLoadPlugins();
gulp.task('compile:styles', () => {
// See https://github.com/ai/browserslist for more details on how to set
// browser versions
co... | Simplify browser version selection for autoprefixer | Simplify browser version selection for autoprefixer
| JavaScript | unlicense | gsong/es6-jspm-gulp-starter,gsong/es6-jspm-gulp-starter | ---
+++
@@ -9,17 +9,9 @@
gulp.task('compile:styles', () => {
- const AUTOPREFIXER_BROWSERS = [
- 'ie >= 10',
- 'ie_mob >= 10',
- 'ff >= 30',
- 'chrome >= 34',
- 'safari >= 7',
- 'opera >= 23',
- 'ios >= 7',
- 'android >= 4.4',
- 'bb >= 10'
- ];
+ // See https://github.com/ai/browser... |
15dd4825f1f9c622d5179b896c4c1c76252c4a49 | nuget-pack.sh | nuget-pack.sh | #!/bin/sh
#usage: nuget-pack <version>
if [[ "$1" == "-h" ]]; then print-file-comments "$0"; exit; fi
version="$1"
if [[ -z "$version" ]]; then
echo 1>&2 "fatal: version required"
exec print-file-comments "$0"
exit 1
fi
tag="nuget-$version"
dotnet pack src/rm.Extensions/rm.Extensions.csproj \
-c Release \
--i... | #!/bin/sh
#usage: nuget-pack <version>
if [[ "$1" == "-h" ]]; then print-file-comments "$0"; exit; fi
version="$1"
if [[ -z "$version" ]]; then
echo 1>&2 "fatal: version required"
exec print-file-comments "$0"
exit 1
fi
tag="nuget-$version"
commit_hash=$(git rev-parse @)
metadata="$commit_hash"
dotnet pack src/... | Add build metadata to version | build: Add build metadata to version
See
https://docs.microsoft.com/en-us/nuget/concepts/package-versioning#semantic-versioning-200
| Shell | mit | rmandvikar/csharp-extensions,rmandvikar/csharp-extensions | ---
+++
@@ -12,11 +12,13 @@
fi
tag="nuget-$version"
+commit_hash=$(git rev-parse @)
+metadata="$commit_hash"
dotnet pack src/rm.Extensions/rm.Extensions.csproj \
-c Release \
--include-symbols //p:SymbolPackageFormat=snupkg \
-o .nupkg/ \
- //p:PackageVersion="$version" \
+ //p:PackageVersion="$version+$... |
7ffa827974f9b05ebf857be3c2c4a99958bd52d1 | Casks/trailer.rb | Casks/trailer.rb | cask :v1 => 'trailer' do
version '1.3.6'
sha256 'e42dabd6b7759fdd9a816f0c04c2eb6f7dd15c21de47048d8228f6bffd6dc41d'
url "https://ptsochantaris.github.io/trailer/trailer#{version.delete('.')}.zip"
appcast 'https://ptsochantaris.github.io/trailer/appcast.xml',
:sha256 => 'aaf3f91888b757ec234643a9f45259f... | cask :v1 => 'trailer' do
version '1.3.7'
sha256 '9f022093051d6512a888cb1a0760afebed51e7c9f33dd991a81218f492491e55'
url "https://ptsochantaris.github.io/trailer/trailer#{version.delete('.')}.zip"
appcast 'https://ptsochantaris.github.io/trailer/appcast.xml',
:sha256 => 'aaf3f91888b757ec234643a9f45259f... | Update Trailer to version 1.3.7 | Update Trailer to version 1.3.7
This commit updates the version and sha256 stanzas.
| Ruby | bsd-2-clause | cblecker/homebrew-cask,kamilboratynski/homebrew-cask,blogabe/homebrew-cask,sosedoff/homebrew-cask,rickychilcott/homebrew-cask,wuman/homebrew-cask,timsutton/homebrew-cask,chadcatlett/caskroom-homebrew-cask,githubutilities/homebrew-cask,mahori/homebrew-cask,kiliankoe/homebrew-cask,sgnh/homebrew-cask,josa42/homebrew-cask,... | ---
+++
@@ -1,6 +1,6 @@
cask :v1 => 'trailer' do
- version '1.3.6'
- sha256 'e42dabd6b7759fdd9a816f0c04c2eb6f7dd15c21de47048d8228f6bffd6dc41d'
+ version '1.3.7'
+ sha256 '9f022093051d6512a888cb1a0760afebed51e7c9f33dd991a81218f492491e55'
url "https://ptsochantaris.github.io/trailer/trailer#{version.delete('.... |
11d8d2b329c28f7694992520d141ac219827b5f3 | README.md | README.md | # Twitch-Plays-Stuff
Twitch Plays Stuff
This is the repository where all Twitch Plays source codes used in the Twitch.TV stream TwitchTriesToPlay will be stored.
Reference:
1) https://gist.github.com/scanlime/5042071
2) http://store.curiousinventor.com/guides/PS2/
3) http://www.lynxmotion.com/images/files/ps2cmd01.t... | # Twitch-Plays-Stuff
Twitch Plays Stuff
This is the repository where all Twitch Plays source codes used in the Twitch.TV stream TwitchTriesToPlay will be stored.
Reference for PlayStation/PlayStation 2 controller:
1) https://gist.github.com/scanlime/5042071
2) http://store.curiousinventor.com/guides/PS2/
3) http:... | Update Readme to include N64 Documentation | Update Readme to include N64 Documentation | Markdown | mit | WhatAboutGaming/Twitch-Plays-Stuff,WhatAboutGaming/Twitch-Plays-Stuff,WhatAboutGaming/Twitch-Plays-Stuff,WhatAboutGaming/Twitch-Plays-Stuff,WhatAboutGaming/Twitch-Plays-Stuff | ---
+++
@@ -3,9 +3,20 @@
This is the repository where all Twitch Plays source codes used in the Twitch.TV stream TwitchTriesToPlay will be stored.
-Reference:
+Reference for PlayStation/PlayStation 2 controller:
-1) https://gist.github.com/scanlime/5042071
-2) http://store.curiousinventor.com/guides/PS2/
-3) h... |
5fadfdeb3912cbb33bde2801603e9c76476f57cd | .travis.yml | .travis.yml | language: ruby
rvm:
- 2.2.2
- 2.3.0
- ruby-head
branches:
only:
- "master"
- "/^release-/"
before_install: gem install bundler
matrix:
include:
- rvm: jruby-head
jdk: openjdk7
env: DISABLE_NOKOGIRI=1
allow_failures:
- rvm: jruby-head
jdk: openjdk7
env: DISABLE_NOKOGIR... | language: ruby
rvm:
- 2.2.3
- 2.3.1
- ruby-head
branches:
only:
- "master"
- "/^release-/"
before_install: gem install bundler
matrix:
include:
- rvm: jruby-head
jdk: openjdk7
env: DISABLE_NOKOGIRI=1
allow_failures:
- rvm: jruby-head
jdk: openjdk7
env: DISABLE_NOKOGIR... | Upgrade Travis CI config to use CRuby 2.2.3 and 2.3.1 | Upgrade Travis CI config to use CRuby 2.2.3 and 2.3.1
| YAML | mit | RubenVerborgh/nanoc,barraq/nanoc,nanoc/nanoc | ---
+++
@@ -1,7 +1,7 @@
language: ruby
rvm:
- - 2.2.2
- - 2.3.0
+ - 2.2.3
+ - 2.3.1
- ruby-head
branches:
only:
|
ea535fb5d9be567b79c1a054aaafc761965e2a76 | test/unit/edu/northwestern/bioinformatics/studycalendar/dao/testdata/StudyDaoTest.xml | test/unit/edu/northwestern/bioinformatics/studycalendar/dao/testdata/StudyDaoTest.xml | <dataset>
<STUDIES
id="100"
version="0"
name="First Study"
completed="false"/>
<ARMS
id="200"
version="0"
name="Dexter"
study_id="100"/>
<ARMS
id="201"
version="0"
name="Sinister"
study_id="100"/>
</dataset>
| <dataset>
<STUDIES
id="100"
version="0"
name="First Study"
completed="0"/>
<ARMS
id="200"
version="0"
name="Dexter"
study_id="100"/>
<ARMS
id="201"
version="0"
name="Sinister"
study_id="100"/>
</dataset>
| Use '0' instead of 'false' for compatibility with every database | Use '0' instead of 'false' for compatibility with every database
| XML | bsd-3-clause | NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc | ---
+++
@@ -3,7 +3,7 @@
id="100"
version="0"
name="First Study"
- completed="false"/>
+ completed="0"/>
<ARMS
id="200"
|
b329c90798322081fa2ed0239f57500f137d6031 | packages/ifattop/init.lua | packages/ifattop/init.lua | local function registerCommands (class)
class:registerCommand("ifattop", function (_, content)
SILE.typesetter:leaveHmode()
if #(SILE.typesetter.state.outputQueue) == 0 then
SILE.process(content)
end
end)
class:registerCommand("ifnotattop", function (_, content)
SILE.typesetter:leaveHmode(... | local base = require("packages.base")
local package = pl.class(base)
package._name = "ifattop"
function package:registerCommands ()
self.class:registerCommand("ifattop", function (_, content)
SILE.typesetter:leaveHmode()
if #(SILE.typesetter.state.outputQueue) == 0 then
SILE.process(content)
end
... | Update ifattop package with new interface | refactor(packages): Update ifattop package with new interface
| Lua | mit | alerque/sile,alerque/sile,alerque/sile,alerque/sile | ---
+++
@@ -1,13 +1,18 @@
-local function registerCommands (class)
+local base = require("packages.base")
- class:registerCommand("ifattop", function (_, content)
+local package = pl.class(base)
+package._name = "ifattop"
+
+function package:registerCommands ()
+
+ self.class:registerCommand("ifattop", function (... |
cd735fe688840c94cb92562e3b96d51ec48afe44 | openstack/tests/functional/network/v2/test_security_group_rule.py | openstack/tests/functional/network/v2/test_security_group_rule.py | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | Add functional tests for security group rule | Add functional tests for security group rule
Tests:
test_find
test_get
test_list
Change-Id: If54342ec8c57b926a5217d888a43dcd98223bd69
| Python | apache-2.0 | dudymas/python-openstacksdk,dudymas/python-openstacksdk,dtroyer/python-openstacksdk,dtroyer/python-openstacksdk,mtougeron/python-openstacksdk,stackforge/python-openstacksdk,briancurtin/python-openstacksdk,stackforge/python-openstacksdk,openstack/python-openstacksdk,mtougeron/python-openstacksdk,openstack/python-opensta... | ---
+++
@@ -0,0 +1,69 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writi... | |
05109ed8eaa4872a89be987d3a080489241a23c8 | app/views/projects/snippets/index.html.haml | app/views/projects/snippets/index.html.haml | - page_title "Snippets"
.row-content-block.top-block
.pull-right
- if can?(current_user, :create_project_snippet, @project)
= link_to new_namespace_project_snippet_path(@project.namespace, @project), class: "btn btn-new", title: "New Snippet" do
New Snippet
.oneline
Share code pastes with ot... | - page_title "Snippets"
.sub-header-block
.pull-right
- if can?(current_user, :create_project_snippet, @project)
= link_to new_namespace_project_snippet_path(@project.namespace, @project), class: "btn btn-new", title: "New Snippet" do
New Snippet
.oneline
Share code pastes with others out of... | Update header block class on snippets page | Update header block class on snippets page
| Haml | mit | martijnvermaat/gitlabhq,jirutka/gitlabhq,SVArago/gitlabhq,LUMC/gitlabhq,darkrasid/gitlabhq,shinexiao/gitlabhq,axilleas/gitlabhq,iiet/iiet-git,shinexiao/gitlabhq,daiyu/gitlab-zh,htve/GitlabForChinese,iiet/iiet-git,htve/GitlabForChinese,martijnvermaat/gitlabhq,dreampet/gitlab,t-zuehlsdorff/gitlabhq,LUMC/gitlabhq,LUMC/git... | ---
+++
@@ -1,6 +1,6 @@
- page_title "Snippets"
-.row-content-block.top-block
+.sub-header-block
.pull-right
- if can?(current_user, :create_project_snippet, @project)
= link_to new_namespace_project_snippet_path(@project.namespace, @project), class: "btn btn-new", title: "New Snippet" do
|
c981ccaefa87b7c31e54bba42ca28c6b2509243d | README.md | README.md | 
# Java IRC Bot with RSS feed reader
[](https://travis-ci.org/MadCoderZ/NewsBotIRC)
This project has been entirely written in the Java language, so it basically can
run on computers that are able to run Java... | 
# Not maintained anymore
This repository has been archived and it is not maintained anymore. However, you may still fork it but we will not be accepting PRs nor issues.
# Java IRC Bot with RSS feed reader
[
+
+# Not maintained anymore
+This repository has been archived and it is not maintained anymore. However, you may still fork it but we will not be accepting PRs nor issues.
+
# Java IRC Bot with RSS feed reader
[
.bundle()
.pipe source 'OperationalTransform.js'
.pipe gulp... | gulp = require 'gulp'
# Browserify
browserify = require 'browserify'
source = require 'vinyl-source-stream'
gulp.task 'build', ->
browserify('./OperationalTransform.coffee', extensions: ['.coffee'], standalone: 'OperationalTransform')
.bundle()
.pipe source 'OperationalTransform.js'
.pipe gulp... | Watch by default, add "gulp nowatch" variant | Watch by default, add "gulp nowatch" variant
| CoffeeScript | mit | sparklinlabs/operational-transform,sparklinlabs/operational-transform | ---
+++
@@ -10,10 +10,10 @@
.pipe source 'OperationalTransform.js'
.pipe gulp.dest './lib'
-# Watch
+
tasks = [ 'build' ]
-gulp.task 'watch', tasks, ->
- gulp.watch [ 'src/**/*.coffee' ], ['build']
+gulp.task 'default', tasks, ->
+ gulp.watch [ 'src/**/*.coffee' ], [ 'build' ]
-gulp.tas... |
22935ee89217ac1f8b8d3c921571381336069584 | lctools/lc.py | lctools/lc.py | from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driver
import libcloud.security
from config import get_config
def get_lc(profile, resource=None):
if resource is None:
from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driv... | from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driver
import libcloud.security
from config import get_config
def get_lc(profile, resource=None):
if resource is None:
from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driv... | Add a hack to overcome driver name inconsistency in libcloud. | Add a hack to overcome driver name inconsistency in libcloud.
| Python | apache-2.0 | novel/lc-tools,novel/lc-tools | ---
+++
@@ -29,7 +29,13 @@
if not isinstance(extra_kwargs, dict):
raise Exception('Extra arguments should be a Python dict')
- driver = get_driver(getattr(Provider, conf.get('driver').upper()))
+ # a hack because libcloud driver names for Rackspace doesn't match
+ # for loadbalancers ... |
05d6c67fcb73504d5e63162aab8468ca87e765f9 | app/models/repository.rb | app/models/repository.rb | class Repository
include Tire::Model::Persistence
include Tire::Model::Search
include Tire::Model::Callbacks
validates_presence_of :name, :type, :url, :datasets, :latitude, :longitude
property :name
property :type
property :url
property :latitude
property :longitude
property :datasets
property... | class Repository
include Tire::Model::Persistence
include Tire::Model::Search
include Tire::Model::Callbacks
validates_presence_of :name, :type, :url, :datasets, :latitude, :longitude
property :name
property :type
property :url
property :latitude
property :longitude
property :datasets
property... | Add get all metadata with certain field method | Add get all metadata with certain field method
I refactored the count query into a separate method so it can be used by
multiple methods. Then I added a method to return all records which have
a certain field defined. A concrete value can be passed in addition.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04... | Ruby | mit | platzhirsch/metadata-census | ---
+++
@@ -20,14 +20,32 @@
property :accessibility
def metadata
- total = Tire.search('metadata', :search_type => 'count') do
- query { all }
- end.results.total
-
name = @name
+ max = total
Tire.search 'metadata' do
query { string 'repository:' + name }
- size total
+ ... |
7319dca5ec681527d2e0f9190d7de5ef547d9513 | DEVELOPERS_GUIDE.md | DEVELOPERS_GUIDE.md | #### Developers' Guide
#### Branches
Our stable branch is `master`, and our development branch is `next`. The general rule of thumb is that bug fixes can be submitted against `master`, but that all new development should be submitted to `next`.
If you are ever uncertain, submitting your PR against `next` is the saf... | Move developers guide from wiki into the repo | Move developers guide from wiki into the repo
| Markdown | mit | dritter/powerlevel9k,dritter/powerlevel9k | ---
+++
@@ -0,0 +1,81 @@
+#### Developers' Guide
+
+#### Branches
+
+Our stable branch is `master`, and our development branch is `next`. The general rule of thumb is that bug fixes can be submitted against `master`, but that all new development should be submitted to `next`.
+
+If you are ever uncertain, submitting... | |
c03b82300aa2b400c47459fb499986289a2724cc | app/views/taxons/_child_taxons_list.html.erb | app/views/taxons/_child_taxons_list.html.erb | <% if accordion_content.present? %>
<div class="grid-row child-topic-contents">
<div class="column-two-thirds">
<div class="topic-content">
<div data-module="accordion-with-descriptions" class="js-hidden">
<div class="subsection-wrapper">
<% accordion_content.each_with_index ... | <% if accordion_content.present? %>
<div class="grid-row child-topic-contents">
<div class="column-two-thirds">
<div class="topic-content">
<div data-module="accordion-with-descriptions" class="js-hidden">
<div class="subsection-wrapper">
<% accordion_content.each_with_index ... | Add count tracking attribute for accordion sections | Add count tracking attribute for accordion sections
In order to count the number of accordion sections for tracking,
add a data attribute to the subsections, so we don’t have to rely
on fragile CSS class/tag name selectors for counting.
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections | ---
+++
@@ -7,7 +7,7 @@
<div class="subsection-wrapper">
<% accordion_content.each_with_index do |taxon, index| %>
- <div class="subsection js-subsection" id="<%= taxon.base_path %>">
+ <div class="subsection js-subsection" id="<%= taxon.base_path %>" data-track-cou... |
25efcd22d65fd6247f3882705eb6fecd830c1c81 | AWS/ECS/task-definitions/highway21/highway21-laravel-staging-task-definition.json | AWS/ECS/task-definitions/highway21/highway21-laravel-staging-task-definition.json | {
"family": "highway21-laravel-staging-task-definition",
"volumes": [
{
"host": {
"sourcePath": "/home/ec2-user/web-settings/staging/highway21-laravel/.env"
},
"name": "Highway21Volume"
}
],
"containerDefinitions": [
{
"essential": true,
"image": "wpsinc/highway... | Add task definition for highway21 staging | Add task definition for highway21 staging
| JSON | mit | wpsinc/omnificent | ---
+++
@@ -0,0 +1,74 @@
+{
+ "family": "highway21-laravel-staging-task-definition",
+ "volumes": [
+ {
+ "host": {
+ "sourcePath": "/home/ec2-user/web-settings/staging/highway21-laravel/.env"
+ },
+ "name": "Highway21Volume"
+ }
+ ],
+ "containerDefinitions": [
+ {
+ "essentia... | |
f2879dd8f0d0cc0e1f4ddcc713a100fdd8f81712 | .travis.yml | .travis.yml | language: php
php:
- 5.6
- 5.5
- 5.4
- 5.3
- 5.2
- 5.1
- 5.0
- hhvm
matrix:
allow_failures:
- php: hhvm
- php: 5.2
- php: 5.1
- php: 5.0
script: phpunit tests/
sudo: false
| language: php
php:
- 5.6
- 5.5
- 5.4
- 5.3
- 5.2
- 7.0
- 7.1
- hhvm
matrix:
allow_failures:
- php: hhvm
- php: 5.2
- php: 7.0
- php: 7.1
script: phpunit tests/
sudo: false
| Add tests on PHP 7 | Add tests on PHP 7
| YAML | mit | iCasa/hQuery.php,iCasa/hQuery.php,duzun/hQuery.php,iCasa/hQuery.php,duzun/hQuery.php,duzun/hQuery.php,duzun/hQuery.php | ---
+++
@@ -6,16 +6,16 @@
- 5.4
- 5.3
- 5.2
- - 5.1
- - 5.0
+ - 7.0
+ - 7.1
- hhvm
matrix:
allow_failures:
- php: hhvm
- php: 5.2
- - php: 5.1
- - php: 5.0
+ - php: 7.0
+ - php: 7.1
script: phpunit tests/
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.