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.
|
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 7