commit
stringlengths
40
40
old_file
stringlengths
4
237
new_file
stringlengths
4
237
old_contents
stringlengths
1
4.24k
new_contents
stringlengths
5
4.84k
subject
stringlengths
15
778
message
stringlengths
16
6.86k
lang
stringlengths
1
30
license
stringclasses
13 values
repos
stringlengths
5
116k
config
stringlengths
1
30
content
stringlengths
105
8.72k
7c72bcb00f9f020387635d7974b9aba177ea749f
lib/fog/storage/requests/hp/put_object.rb
lib/fog/storage/requests/hp/put_object.rb
module Fog module HP class Storage class Real # Create a new object # # ==== Parameters # * container<~String> - Name for container, should be < 256 bytes and must not contain '/' # def put_object(container, object, data, options = {}) data = Fog::S...
module Fog module HP class Storage class Real # Create a new object # # ==== Parameters # * container<~String> - Name for container, should be < 256 bytes and must not contain '/' # def put_object(container, object, data, options = {}) data = Fog::S...
Remove Content-Length header incase Transfer-Encoding header is present. This was done to get the streaming for PUT working.
Remove Content-Length header incase Transfer-Encoding header is present. This was done to get the streaming for PUT working.
Ruby
mit
yyuu/fog,petems/fog,adamleff/fog,cocktail-io/fog,10io/fog,brilliomsinterop/fog,mohitsethi/fog,surminus/fog,adecarolis/fog,ack/fog,cocktail-io/fog,icco/fog,b0ric/fog,brilliomsinterop/fog,fog/fog,kongslund/fog,asebastian-r7/fog,mitchlloyd/fog,ManageIQ/fog,sferik/fog,joshisa/fog,nandhanurrevanth/fog,covario-cdiaz/fog,mitc...
ruby
## Code Before: module Fog module HP class Storage class Real # Create a new object # # ==== Parameters # * container<~String> - Name for container, should be < 256 bytes and must not contain '/' # def put_object(container, object, data, options = {}) ...
3429a1b543208adf95e60c89477a4219a5a366a3
makesty.py
makesty.py
import re # Input file created from http://astronautweb.co/snippet/font-awesome/ INPUT_FILE = 'htmlfontawesome.txt' OUTPUT_FILE = 'fontawesome.sty' with open(INPUT_FILE) as r, open(OUTPUT_FILE, 'w') as w: for line in r: # Expects to find 'fa-NAME' ending with " name = re.findall(r'fa-[^""]*', line)[0] #...
import re # Input file created from http://astronautweb.co/snippet/font-awesome/ INPUT_FILE = 'htmlfontawesome.txt' OUTPUT_FILE = 'fontawesome.sty' OUTPUT_HEADER = r''' % Identify this package. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fontawesome}[2014/04/24 v4.0.3 font awesome icons] % Requirements to use. \usepac...
Add header and footer sections to the .sty.
Add header and footer sections to the .sty.
Python
mit
posquit0/latex-fontawesome
python
## Code Before: import re # Input file created from http://astronautweb.co/snippet/font-awesome/ INPUT_FILE = 'htmlfontawesome.txt' OUTPUT_FILE = 'fontawesome.sty' with open(INPUT_FILE) as r, open(OUTPUT_FILE, 'w') as w: for line in r: # Expects to find 'fa-NAME' ending with " name = re.findall(r'fa-[^""]*'...
dcb62a352b7473779f1cc907c920c9b42ee9ceac
django_extensions/management/commands/print_settings.py
django_extensions/management/commands/print_settings.py
from django.core.management.base import BaseCommand from django.conf import settings class Command(BaseCommand): help = "Print the active Django settings." def handle(self, *args, **options): for key in dir(settings): if key.startswith('__'): continue value = ...
from django.core.management.base import NoArgsCommand from django.conf import settings from optparse import make_option class Command(NoArgsCommand): """print_settings command""" help = "Print the active Django settings." option_list = NoArgsCommand.option_list + ( make_option('--format', defau...
Make output format configurable (simple, pprint, json, yaml)
Make output format configurable (simple, pprint, json, yaml) $ pylint django-extensions/django_extensions/management/commands/print_settings.py | grep rated No config file found, using default configuration Your code has been rated at 10.00/10 (previous run: 10.00/10)
Python
mit
lamby/django-extensions,barseghyanartur/django-extensions,dpetzold/django-extensions,jpadilla/django-extensions,Moulde/django-extensions,marctc/django-extensions,levic/django-extensions,kevgathuku/django-extensions,bionikspoon/django-extensions,atchariya/django-extensions,maroux/django-extensions,frewsxcv/django-extens...
python
## Code Before: from django.core.management.base import BaseCommand from django.conf import settings class Command(BaseCommand): help = "Print the active Django settings." def handle(self, *args, **options): for key in dir(settings): if key.startswith('__'): continue ...
580b5c48fc42f09459bcf63c0e2e239a550adb41
calexicon/calendars/tests/calendar_testing.py
calexicon/calendars/tests/calendar_testing.py
import sys if sys.hexversion < 0x02070000: import unittest2 as unittest else: import unittest from hypothesis import given, example from hypothesis.extra.datetime import datetimes from calexicon.calendars import ProlepticGregorianCalendar, JulianCalendar from calexicon.dates import DateWithCalendar, Invalid...
import sys if sys.hexversion < 0x02070000: import unittest2 as unittest else: import unittest from hypothesis import given, example from hypothesis.extra.datetime import datetimes from calexicon.calendars import ProlepticGregorianCalendar, JulianCalendar from calexicon.dates import DateWithCalendar, Invalid...
Change name of test to avoid collision
Change name of test to avoid collision This was spotted by coveralls.
Python
apache-2.0
jwg4/calexicon,jwg4/qual
python
## Code Before: import sys if sys.hexversion < 0x02070000: import unittest2 as unittest else: import unittest from hypothesis import given, example from hypothesis.extra.datetime import datetimes from calexicon.calendars import ProlepticGregorianCalendar, JulianCalendar from calexicon.dates import DateWithC...
48800c63fd44b055500071aea42a6cf1874b52e3
lib/tasks/fullapp.rake
lib/tasks/fullapp.rake
require 'rubocop/rake_task' namespace :lca do desc 'Run full Rspec and Jest test suites' task test: [:spec, 'lca:frontend:test'] namespace :test do desc 'Run Rspec as normal and Jest with optional coverage report' task cov: [:spec, 'lca:frontend:testcov'] desc 'Lint code with rubocop' RuboCop::...
require 'rubocop/rake_task' namespace :lca do desc 'Run full Rspec and Jest test suites' task test: [:spec, 'lca:frontend:test'] namespace :test do desc 'Run Rspec as normal and Jest with optional coverage report' task cov: [:spec, 'lca:frontend:testcov'] end desc 'Lint both the frontend and backe...
Rearrange rake tasks a bit
Rearrange rake tasks a bit
Ruby
agpl-3.0
makzu/lotcastingatemi,makzu/lotcastingatemi,makzu/lotcastingatemi,makzu/lotcastingatemi,makzu/lotcastingatemi
ruby
## Code Before: require 'rubocop/rake_task' namespace :lca do desc 'Run full Rspec and Jest test suites' task test: [:spec, 'lca:frontend:test'] namespace :test do desc 'Run Rspec as normal and Jest with optional coverage report' task cov: [:spec, 'lca:frontend:testcov'] desc 'Lint code with ruboco...
cc1c6006fdb12240159daab08c53c4b58c664bbf
spec/unit/auto_migrate_spec.rb
spec/unit/auto_migrate_spec.rb
require 'spec_helper' describe "DataMapper.auto_migrate!" do it "should allow to automigrate the resource to be translated" do lambda { Item.auto_migrate! }.should_not raise_error end it "should allow to automigrate the resource where translations will be stored" do lambda { ItemTranslation.auto_migrat...
require 'spec_helper' describe "DataMapper.auto_migrate!" do it "should not raise errors" do lambda { DataMapper.finalize.auto_migrate! }.should_not raise_error end end
Make auto_migrate! specs work with dm-constraints
Make auto_migrate! specs work with dm-constraints
Ruby
mit
snusnu/dm-is-localizable
ruby
## Code Before: require 'spec_helper' describe "DataMapper.auto_migrate!" do it "should allow to automigrate the resource to be translated" do lambda { Item.auto_migrate! }.should_not raise_error end it "should allow to automigrate the resource where translations will be stored" do lambda { ItemTransla...
e19aaaa45c97434b34eef404d6d50614b06d19fd
tests/test_app/TestApp/Model/Table/FeaturedTagsTable.php
tests/test_app/TestApp/Model/Table/FeaturedTagsTable.php
<?php declare(strict_types=1); /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice * * @copyright Copyright (c) C...
<?php declare(strict_types=1); /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice * * @copyright Copyright (c) C...
Declare property set in constructor
Declare property set in constructor
PHP
mit
cakephp/cakephp,ndm2/cakephp,CakeDC/cakephp,ndm2/cakephp,cakephp/cakephp,ndm2/cakephp,cakephp/cakephp,CakeDC/cakephp,CakeDC/cakephp,ndm2/cakephp,CakeDC/cakephp,cakephp/cakephp
php
## Code Before: <?php declare(strict_types=1); /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice * * @copyright ...
3ed6f920817a338b9e26784347e6a0f121054c87
README.md
README.md
- F. Claude, G. Navarro, and A. Ordóñez, "The wavelet matrix: An efficient wavelet tree for large alphabets," _Information Systems_, vol. 47, pp. 15-32, 2015. - M. Salson, T. Lecroq, M. Léonard, and L. Mouchard, "A Four-Stage Algorithm for Updating a Burrows-Wheeler Transform," _Theoretical Computer Science_, vol. 410...
- F. Claude, G. Navarro, and A. Ordóñez, "The wavelet matrix: An efficient wavelet tree for large alphabets," _Information Systems_, vol. 47, pp. 15-32, 2015. - W. Gerlach, "Dynamic FM-Index for a collection of texts with application to space-efficient construction of the compressed suffix array", Master's thesis, Uni...
Add reference for our bit vector implementation
Add reference for our bit vector implementation
Markdown
bsd-3-clause
jason2506/dict,jason2506/desa,jason2506/dict,jason2506/desa
markdown
## Code Before: - F. Claude, G. Navarro, and A. Ordóñez, "The wavelet matrix: An efficient wavelet tree for large alphabets," _Information Systems_, vol. 47, pp. 15-32, 2015. - M. Salson, T. Lecroq, M. Léonard, and L. Mouchard, "A Four-Stage Algorithm for Updating a Burrows-Wheeler Transform," _Theoretical Computer Sc...
9353deefa7cc31fc4e9d01f29f7dab8c37b73a78
setup.py
setup.py
from setuptools import setup, find_packages # Dynamically calculate the version based on dbsettings.VERSION version_tuple = (0, 4, None) if version_tuple[2] is not None: version = "%d.%d_%s" % version_tuple else: version = "%d.%d" % version_tuple[:2] setup( name='django-dbsettings', version=version, ...
from setuptools import setup, find_packages # Dynamically calculate the version based on dbsettings.VERSION version_tuple = (0, 4, None) if version_tuple[2] is not None: if type(version_tuple[2]) == int: version = "%d.%d.%s" % version_tuple else: version = "%d.%d_%s" % version_tuple else: v...
Allow version to have subrevision.
Allow version to have subrevision.
Python
bsd-3-clause
helber/django-dbsettings,sciyoshi/django-dbsettings,zlorf/django-dbsettings,helber/django-dbsettings,DjangoAdminHackers/django-dbsettings,winfieldco/django-dbsettings,MiriamSexton/django-dbsettings,nwaxiomatic/django-dbsettings,DjangoAdminHackers/django-dbsettings,nwaxiomatic/django-dbsettings,zlorf/django-dbsettings,j...
python
## Code Before: from setuptools import setup, find_packages # Dynamically calculate the version based on dbsettings.VERSION version_tuple = (0, 4, None) if version_tuple[2] is not None: version = "%d.%d_%s" % version_tuple else: version = "%d.%d" % version_tuple[:2] setup( name='django-dbsettings', ve...
eabacf889f89b4792c2b53d8ce4b7a13b5a85a8d
test/unit/edition/gov_uk_delivery_test.rb
test/unit/edition/gov_uk_delivery_test.rb
require "test_helper" require 'gds_api/test_helpers/gov_uk_delivery' class Edition::GovUkDeliveryTest < ActiveSupport::TestCase include GdsApi::TestHelpers::GovUkDelivery test "should notify govuk_delivery on publishing policies" do Edition::AuditTrail.whodunnit = create(:user) policy = create(:policy, to...
require "test_helper" require 'gds_api/test_helpers/gov_uk_delivery' class Edition::GovUkDeliveryTest < ActiveSupport::TestCase include GdsApi::TestHelpers::GovUkDelivery test "should notify govuk_delivery on publishing policies" do Edition::AuditTrail.whodunnit = create(:user) policy = create(:policy, to...
Change unit test to just check for invocation
Change unit test to just check for invocation
Ruby
mit
askl56/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,alphagov/whitehall,robinwhittleton/whitehall,alphagov/whitehall,hotvulcan/whitehall,alphagov/whitehall,askl56/whitehall,ggoral/whitehall,robinwhittleton/whitehall,ggoral/whitehall,alphagov/whitehall,ggoral/whitehall,robinwhittleton/whitehall,askl56/whitehal...
ruby
## Code Before: require "test_helper" require 'gds_api/test_helpers/gov_uk_delivery' class Edition::GovUkDeliveryTest < ActiveSupport::TestCase include GdsApi::TestHelpers::GovUkDelivery test "should notify govuk_delivery on publishing policies" do Edition::AuditTrail.whodunnit = create(:user) policy = cr...
347a57471c064ae6ecffeec6f9090e0159e06545
spec/support/adapters/mongo_mapper.rb
spec/support/adapters/mongo_mapper.rb
require 'memdash/adapters/mongo_mapper' module MongoMapperHelpers def reports_count Memdash::Adapters::MongoMapper::Report.count end end RSpec.configure do |config| config.include MongoMapperHelpers end
require 'memdash/adapters/mongo_mapper' require 'mongo_mapper' MongoMapper.connection = Mongo::Connection.new MongoMapper.database = 'memdash_test' module MongoMapperHelpers def reports_count Memdash::Adapters::MongoMapper::Report.count end end RSpec.configure do |config| config.include MongoMapperHelpers ...
Establish a connection to Mongo for the tests
Establish a connection to Mongo for the tests
Ruby
mit
bryckbost/memdash,bryckbost/memdash
ruby
## Code Before: require 'memdash/adapters/mongo_mapper' module MongoMapperHelpers def reports_count Memdash::Adapters::MongoMapper::Report.count end end RSpec.configure do |config| config.include MongoMapperHelpers end ## Instruction: Establish a connection to Mongo for the tests ## Code After: require 'm...
51e138dc5e66c096c2f02040edaa857225817ca2
source/ButtonReset.css
source/ButtonReset.css
/* Reset the default `<button/>` styles */ .rrui__button-reset { margin : 0; padding : 0; white-space : nowrap; appearance : none; border : none; background : none; cursor : pointer; font-size : inherit; font-family : inherit; font-weight : inherit; font-style : inherit; user-select ...
/* Reset the default `<button/>` styles */ .rrui__button-reset { margin : 0; padding : 0; white-space : nowrap; appearance : none; border : none; background : none; cursor : pointer; font-size : inherit; font-family : inherit; font-weight : inherit; font-style : inherit; user-select ...
Add `outline: none` to `button-reset`
Add `outline: none` to `button-reset`
CSS
mit
halt-hammerzeit/react-responsive-ui
css
## Code Before: /* Reset the default `<button/>` styles */ .rrui__button-reset { margin : 0; padding : 0; white-space : nowrap; appearance : none; border : none; background : none; cursor : pointer; font-size : inherit; font-family : inherit; font-weight : inherit; font-style : inheri...
04d9f6b89065f8a03bddc8ce1cad371ef648897e
.travis.yml
.travis.yml
rvm: - 1.9.3 - 1.9.2 - 1.8.7 - ree-1.8.7 # branches: # only: # - master
rvm: - 1.9.3 - 1.9.2 - 1.8.7 - ree-1.8.7 # branches: # only: # - master before_install: echo 'heroku.com,50.19.85.156 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAu8erSx6jh+8ztsfHwkNeFr/SZaSOcvoa8AyMpaerGIPZDB2TKNgNkMSYTLYGDK2ivsqXopo2W7dpQRBIVF80q9mNXy5tbt1WE04gbOBB26Wn2hF4bk3Tu+BNMFbvMjPbkVlC2hcFuQJdH4T2i/dtauyT...
Add Heroku's fingerprint to known_hosts before running Travis.
Add Heroku's fingerprint to known_hosts before running Travis.
YAML
mit
thoughtbot/kumade
yaml
## Code Before: rvm: - 1.9.3 - 1.9.2 - 1.8.7 - ree-1.8.7 # branches: # only: # - master ## Instruction: Add Heroku's fingerprint to known_hosts before running Travis. ## Code After: rvm: - 1.9.3 - 1.9.2 - 1.8.7 - ree-1.8.7 # branches: # only: # - master before_install: echo 'heroku.com,50....
b76cbfcf25fb2e16f229445e97d558bbef2d0e9e
test/index.js
test/index.js
var Showtimes = require('../') var test = require('tap').test; var s = new Showtimes(94118, { //date: 0 }); test('get theaters', function (t) { s.getTheaters(function (theaters) { t.equal(theaters.length, 18); t.end(); }); });
var Showtimes = require('../'); var test = require('tap').test; var s = null; test('get theaters from zipcode', function (t) { s = new Showtimes(94118, { //date: 0 }); s.getTheaters(function (theaters) { t.equal(theaters.length, 18); t.end(); }); }); test('get theaters from lat/long', function (t...
Test case for a lat/long-based location.
Test case for a lat/long-based location.
JavaScript
mit
jonursenbach/showtimes,erunion/showtimes
javascript
## Code Before: var Showtimes = require('../') var test = require('tap').test; var s = new Showtimes(94118, { //date: 0 }); test('get theaters', function (t) { s.getTheaters(function (theaters) { t.equal(theaters.length, 18); t.end(); }); }); ## Instruction: Test case for a lat/long-based location. ## ...
e66ec1691a3ba9bf445a166ac3ebdb84efe37df9
src/DeepNgRoot/Frontend/js/app/module/ng-config.js
src/DeepNgRoot/Frontend/js/app/module/ng-config.js
'use strict'; 'format es6'; export class Config { /** * * @param {Boolean} isLocalhost * @param {String} ngRewrite * @param {Object} $locationProvider */ constructor(isLocalhost, ngRewrite, $locationProvider) { if (!isLocalhost && ngRewrite === '/') { $locationProvider.html5Mode(true); ...
'use strict'; 'format es6'; export class Config { /** * * @param {Boolean} isLocalhost * @param {String} ngRewrite * @param {Object} $locationProvider */ constructor(isLocalhost, ngRewrite, $locationProvider) { let isAwsWebsite = /\.amazonaws\.com$/i.test(window.location.hostname); if (!isAw...
Disable html5Mode if hostname is s3-website
Disable html5Mode if hostname is s3-website
JavaScript
mit
MitocGroup/deep-microservices-root-angularjs,MitocGroup/deep-microservices-root-angularjs,MitocGroup/deep-microservices-root-angularjs
javascript
## Code Before: 'use strict'; 'format es6'; export class Config { /** * * @param {Boolean} isLocalhost * @param {String} ngRewrite * @param {Object} $locationProvider */ constructor(isLocalhost, ngRewrite, $locationProvider) { if (!isLocalhost && ngRewrite === '/') { $locationProvider.html...
3cc1cb9894fdb1b88a84ad8315669ad2f0858fdb
cloud_logging.py
cloud_logging.py
import google.cloud.logging as glog import logging import contextlib import io import sys import os LOGGING_PROJECT = os.environ.get('LOGGING_PROJECT', '') def configure(project=LOGGING_PROJECT): if not project: print('!! Error: The $LOGGING_PROJECT enviroment ' 'variable is required in ord...
import google.cloud.logging as glog import logging import contextlib import io import sys import os LOGGING_PROJECT = os.environ.get('LOGGING_PROJECT', '') def configure(project=LOGGING_PROJECT): if not project: sys.stderr.write('!! Error: The $LOGGING_PROJECT enviroment ' 'variable is requ...
Change some errors to go to stderr.
Change some errors to go to stderr. These non-fatal errors violated GTP protocol.
Python
apache-2.0
tensorflow/minigo,tensorflow/minigo,tensorflow/minigo,tensorflow/minigo,tensorflow/minigo,tensorflow/minigo
python
## Code Before: import google.cloud.logging as glog import logging import contextlib import io import sys import os LOGGING_PROJECT = os.environ.get('LOGGING_PROJECT', '') def configure(project=LOGGING_PROJECT): if not project: print('!! Error: The $LOGGING_PROJECT enviroment ' 'variable is...
b39561beea45313545d9e1e9cb8cdea549200f3f
src/BloomExe/Resources/current-service-urls.json
src/BloomExe/Resources/current-service-urls.json
{ urls:[ {id:"parse", url: "https://api.parse.com/1/"}, {id:"parseSandbox", url: "http://bloomparseserverebsandbox-env.us-east-1.elasticbeanstalk.com/parse/"}, {id:"librarySite", url: "http://bloomlibrary.org"}, {id:"librarySiteSandbox", url: "http://dev.bloomlibrary.org"}, {id:"userSuggestions", url: "http:...
{ urls:[ {id:"parse", url: "https://api.parse.com/1/"}, {id:"parseSandbox", url: "http://bloom-parse-server-develop.azurewebsites.net/parse/"}, {id:"librarySite", url: "http://bloomlibrary.org"}, {id:"librarySiteSandbox", url: "http://dev.bloomlibrary.org"}, {id:"userSuggestions", url: "http://bloombooks.use...
Update URL for development parse server
Update URL for development parse server
JSON
mit
StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,Step...
json
## Code Before: { urls:[ {id:"parse", url: "https://api.parse.com/1/"}, {id:"parseSandbox", url: "http://bloomparseserverebsandbox-env.us-east-1.elasticbeanstalk.com/parse/"}, {id:"librarySite", url: "http://bloomlibrary.org"}, {id:"librarySiteSandbox", url: "http://dev.bloomlibrary.org"}, {id:"userSuggestio...
d1be59a87fce8e20d698c4d1f6a272c21834a1c3
providers/popularity/kickasstorrents.py
providers/popularity/kickasstorrents.py
from providers.popularity.provider import PopularityProvider from utils.torrent_util import torrent_to_movie, remove_bad_torrent_matches IDENTIFIER = "kickasstorrents" class Provider(PopularityProvider): PAGES_TO_FETCH = 1 def get_popular(self): names = [] for page in range(Provider.PAGES_TO_...
from providers.popularity.provider import PopularityProvider from utils.torrent_util import torrent_to_movie, remove_bad_torrent_matches IDENTIFIER = "kickasstorrents" class Provider(PopularityProvider): PAGES_TO_FETCH = 3 def get_popular(self): names = [] base = "https://kickasstorrents.to/h...
Fix Kickasstorrents by using one of many mirrors.
Fix Kickasstorrents by using one of many mirrors.
Python
mit
EmilStenstrom/nephele
python
## Code Before: from providers.popularity.provider import PopularityProvider from utils.torrent_util import torrent_to_movie, remove_bad_torrent_matches IDENTIFIER = "kickasstorrents" class Provider(PopularityProvider): PAGES_TO_FETCH = 1 def get_popular(self): names = [] for page in range(Pr...
56d51def83211cd811e6ec8034402d69a3d9a6aa
requirements.txt
requirements.txt
joblib==0.8.4 scikit-learn==0.15.2 git+https://github.com/Theano/Theano.git@b84464261ffa1d451097ac5e5243dcd8f7e0ff62#egg=Theano git+https://github.com/benanne/Lasagne.git@441d191bc967ee4f87d75a6b60330bc7d69790c7#egg=Lasagne
joblib==0.8.4 scikit-learn==0.15.2 git+https://github.com/Theano/Theano.git@b84464261ffa1d451097ac5e5243dcd8f7e0ff62#egg=Theano git+https://github.com/benanne/Lasagne.git@b3f291383ceeb4b1fa64a230607455a2f1bb687b#egg=Lasagne
Use current Lasagne head which includes the changes to lasagne.objectives
Use current Lasagne head which includes the changes to lasagne.objectives
Text
mit
scottlittle/nolearn,dnouri/nolearn,rubensmachado/nolearn,Adai0808/nolearn,williford/nolearn,BenjaminBossan/nolearn,cancan101/nolearn,josephmisiti/nolearn
text
## Code Before: joblib==0.8.4 scikit-learn==0.15.2 git+https://github.com/Theano/Theano.git@b84464261ffa1d451097ac5e5243dcd8f7e0ff62#egg=Theano git+https://github.com/benanne/Lasagne.git@441d191bc967ee4f87d75a6b60330bc7d69790c7#egg=Lasagne ## Instruction: Use current Lasagne head which includes the changes to lasagne....
bf41436409dc1049adcc1e7e1b88263f60319d09
appinfo/info.xml
appinfo/info.xml
<?xml version="1.0"?> <info> <id>group_custom</id> <name>Group Custom</name> <description>Create and Manage Custom Groups</description> <version>0.5</version> <licence>AGPL (Icon taken from picol.org , Creative Commons-License BY-SA. )</licence> <author>Jorge Rafael Garcia Ramos </author> <require>4.93</require>...
<?xml version="1.0"?> <info> <id>group_custom</id> <name>Group Custom</name> <description>Create and Manage Custom Groups</description> <version>0.6</version> <licence>AGPLv3 (Icon taken from picol.org , Creative Commons-License BY-SA. )</licence> <author>Jorge Rafael Garcia Ramos, Patrick Paysant / CNRS </author...
Change app version (0.6) and author.
Change app version (0.6) and author.
XML
agpl-3.0
CNRS-DSI-Dev/group_custom,CNRS-DSI-Dev/group_custom,ppaysant/group_custom,ppaysant/group_custom
xml
## Code Before: <?xml version="1.0"?> <info> <id>group_custom</id> <name>Group Custom</name> <description>Create and Manage Custom Groups</description> <version>0.5</version> <licence>AGPL (Icon taken from picol.org , Creative Commons-License BY-SA. )</licence> <author>Jorge Rafael Garcia Ramos </author> <requir...
b9c9f6ee854f9dde42b8f8f170a114497582bac7
trade.go
trade.go
package bittrex // Used in getmarkethistory type Trade struct { OrderUuid string `json:"OrderUuid"` Timestamp jTime `json:"TimeStamp"` Quantity float64 `json:"Quantity"` Price float64 `json:"Price"` Total float64 `json:"Total"` FillType string `json:"FillType"` OrderType string `json:"OrderType"`...
package bittrex // Used in getmarkethistory type Trade struct { OrderUuid int64 `json:"Id"` Timestamp jTime `json:"TimeStamp"` Quantity float64 `json:"Quantity"` Price float64 `json:"Price"` Total float64 `json:"Total"` FillType string `json:"FillType"` OrderType string `json:"OrderType"` }
Change json Tag for Trade struct from OrderUuid to Id for matching the current API
Change json Tag for Trade struct from OrderUuid to Id for matching the current API
Go
mit
jyap808/go-bittrex,toorop/go-bittrex
go
## Code Before: package bittrex // Used in getmarkethistory type Trade struct { OrderUuid string `json:"OrderUuid"` Timestamp jTime `json:"TimeStamp"` Quantity float64 `json:"Quantity"` Price float64 `json:"Price"` Total float64 `json:"Total"` FillType string `json:"FillType"` OrderType string `j...
7828899cf056eb1686b171c3115686c3a2aac05b
src/run/exit/setup.js
src/run/exit/setup.js
'use strict'; const { gracefulExit } = require('./graceful_exit'); // Make sure the server stops when graceful exits are possible // Also send related events const setupGracefulExit = function ({ servers, dbAdapters, runOpts }) { const gracefulExitA = gracefulExit.bind( null, { servers, dbAdapters, runOpts ...
'use strict'; const { gracefulExit } = require('./graceful_exit'); // Make sure the server stops when graceful exits are possible // Also send related events const setupGracefulExit = function ({ servers, dbAdapters, runOpts }) { const gracefulExitA = gracefulExit.bind( null, { servers, dbAdapters, runOpts ...
Use graceful exits with Nodemon
Use graceful exits with Nodemon
JavaScript
apache-2.0
autoserver-org/autoserver,autoserver-org/autoserver
javascript
## Code Before: 'use strict'; const { gracefulExit } = require('./graceful_exit'); // Make sure the server stops when graceful exits are possible // Also send related events const setupGracefulExit = function ({ servers, dbAdapters, runOpts }) { const gracefulExitA = gracefulExit.bind( null, { servers, dbAd...
62758b5a857407a1d4ee633021b5c927bfc90639
system/kissmvc.php
system/kissmvc.php
<?php require('kissmvc_core.php'); //=============================================================== // Engine //=============================================================== class Engine extends KISS_Engine { function request_not_found( $msg='' ) { header( "HTTP/1.0 404 Not Found" ); die( '<...
<?php require('kissmvc_core.php'); //=============================================================== // Engine //=============================================================== class Engine extends KISS_Engine { function request_not_found( $msg='' ) { header( "HTTP/1.0 404 Not Found" ); die( '<...
Include missing save method for Model class
Include missing save method for Model class
PHP
mit
matt-cahill/munkireport-php,n8felton/munkireport-php,matt-cahill/munkireport-php,munkireport/munkireport-php,poundbangbash/munkireport-php,poundbangbash/munkireport-php,childrss/munkireport-php,gmarnin/munkireport-php,childrss/munkireport-php,n8felton/munkireport-php,gmarnin/munkireport-php,dannooooo/munkireport-php,gm...
php
## Code Before: <?php require('kissmvc_core.php'); //=============================================================== // Engine //=============================================================== class Engine extends KISS_Engine { function request_not_found( $msg='' ) { header( "HTTP/1.0 404 Not Found" ); die...
fc3ed8e8a13e3dfc3ba0fac5e113918246d9f44c
spec/dynamoid/config_spec.rb
spec/dynamoid/config_spec.rb
require 'spec_helper' describe Dynamoid::Config do describe 'credentials' do it 'passes credentials to a client connection', config: { credentials: Aws::Credentials.new('your_access_key_id', 'your_secret_access_key') } do credentials = Dynamoid.adapter.client.config.credentials expect(cred...
require 'spec_helper' describe Dynamoid::Config do describe 'credentials' do let(:credentials_new) do Aws::Credentials.new('your_access_key_id', 'your_secret_access_key') end before do @credentials_old, Dynamoid.config.credentials = Dynamoid.config.credentials, credentials_new Dynamoid...
Fix specs: clear cached connection between specs
Fix specs: clear cached connection between specs
Ruby
mit
Dynamoid/Dynamoid,Dynamoid/Dynamoid
ruby
## Code Before: require 'spec_helper' describe Dynamoid::Config do describe 'credentials' do it 'passes credentials to a client connection', config: { credentials: Aws::Credentials.new('your_access_key_id', 'your_secret_access_key') } do credentials = Dynamoid.adapter.client.config.credentials ...
d0c714b58e92fba99e1a23dfac11c5d74ed5f324
src/cljs/subman/routes.cljs
src/cljs/subman/routes.cljs
(ns subman.routes (:require [secretary.core :as secretary :include-macros true :refer [defroute]] [goog.events :as gevents] [goog.history.EventType :as history-event] [subman.deps :as d])) (defn set-search-query "Set value of stable search query" [value] (when-let [state (se...
(ns subman.routes (:require [secretary.core :as secretary :include-macros true :refer [defroute]] [goog.events :as gevents] [goog.history.EventType :as history-event] [subman.deps :as d])) (defn set-search-query "Set value of stable search query" [value] (when-let [state (se...
Update search query only if it necessary
Update search query only if it necessary
Clojure
epl-1.0
submanio/subman-parser
clojure
## Code Before: (ns subman.routes (:require [secretary.core :as secretary :include-macros true :refer [defroute]] [goog.events :as gevents] [goog.history.EventType :as history-event] [subman.deps :as d])) (defn set-search-query "Set value of stable search query" [value] (whe...
b5be17b15e9c9aa6b9e89f4ad67d5037191e3a07
tests/src/Cases/PluginTest.php
tests/src/Cases/PluginTest.php
<?php /** * @package BC Security */ namespace BlueChip\Security\Tests\Cases; use BlueChip\Security\Plugin; class PluginTest extends \BlueChip\Security\Tests\TestCase { /** * @var \BlueChip\Security\Plugin */ protected $bc_security; /** * Setup test. */ public function setUp() {...
<?php /** * @package BC Security */ namespace BlueChip\Security\Tests\Cases; use BlueChip\Security\Plugin; class PluginTest extends \BlueChip\Security\Tests\TestCase { /** * @var \BlueChip\Security\Plugin */ protected $bc_security; /** * Setup test. */ public function setUp() ...
Fix PSR compliance in test files.
Fix PSR compliance in test files.
PHP
unlicense
chesio/bc-security,chesio/bc-security,chesio/bc-security
php
## Code Before: <?php /** * @package BC Security */ namespace BlueChip\Security\Tests\Cases; use BlueChip\Security\Plugin; class PluginTest extends \BlueChip\Security\Tests\TestCase { /** * @var \BlueChip\Security\Plugin */ protected $bc_security; /** * Setup test. */ public fu...
2fe8f7aaf8b86d5218b0e51042dcdba4355af5f3
img_pipe/archival_data/generate_singlechannel_sub.bash
img_pipe/archival_data/generate_singlechannel_sub.bash
file_prefix=${1} for (( i = 10; i < 205; i++ )); do cat run_single_channel_clean_header.txt > ${1}_channel_${i}.sub sed -e "s;%ARG%;$i;g" run_single_channel_clean_template.txt >> ${1}_channel_${i}.sub done
filename=${1} cat run_single_channel_clean_header.txt > ${1} for (( i = ${2}; i < $((${3} + 1)); i++ )); do sed -e "s;%ARG%;$i;g" run_single_channel_clean_template.txt >> ${1} done # Creates separate submission files for each channel # The other method was causing weird issues that don't seem easy to fix # fil...
Allow for channels to be selected in generator script
Allow for channels to be selected in generator script
Shell
mit
e-koch/canfar_scripts,e-koch/canfar_scripts
shell
## Code Before: file_prefix=${1} for (( i = 10; i < 205; i++ )); do cat run_single_channel_clean_header.txt > ${1}_channel_${i}.sub sed -e "s;%ARG%;$i;g" run_single_channel_clean_template.txt >> ${1}_channel_${i}.sub done ## Instruction: Allow for channels to be selected in generator script ## Code After: f...
ee32dcc2a9b6fe6c369eb5f6b11dc927e8f36cb0
README.md
README.md
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![GitHub license](https://img.shields.io/github/license/natestedman/Snowflake.svg)](https://creativecommons.org/publicdomain/zero/1.0/) [![Travis](https://img.shields.io/travis/nateste...
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Travis](https://img.shields.io/travis/natestedman/Snowflake.svg)](https://travis-ci.org/natestedman/Snowflake) [![License](https://img.shields.io/badge/license-Creative%20Commons%20Z...
Use static link to license shield
Use static link to license shield
Markdown
cc0-1.0
natestedman/Snowflake,natestedman/Snowflake
markdown
## Code Before: [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![GitHub license](https://img.shields.io/github/license/natestedman/Snowflake.svg)](https://creativecommons.org/publicdomain/zero/1.0/) [![Travis](https://img.shields.i...
4e3e8a50bdab2f9299ff304231459673dbf2521b
_posts/2016-05-16-jekyll-with-gist.md
_posts/2016-05-16-jekyll-with-gist.md
--- layout: post categories: markup --- > A practise with [Liquid Gist Tag for Jekylli](http://blog.55minutes.com/2012/03/liquid-gist-tag-for-jekyll/) ``` Source page: https://gist.github.com/robbie-cao/0ced0057f60be5743ef8 Embed the page with: <script src="https://gist.github.com/robbie-cao/0ced0057f60be5743ef8.js"...
--- layout: post categories: markup --- > A practice to embed gist page into Jekyll. ``` Source page: https://gist.github.com/robbie-cao/0ced0057f60be5743ef8 Embed the page with: <script src="https://gist.github.com/robbie-cao/0ced0057f60be5743ef8.js"></script> ``` <script src="https://gist.github.com/robbie-cao/0c...
Embed another gist page about jekyll-gist
Embed another gist page about jekyll-gist Signed-off-by: Robbie Cao <643a933cab46d49aae0d64e790867eaec8b68831@gmail.com>
Markdown
mit
robbie-cao/robbie-cao.github.io,robbie-cao/robbie-cao.github.io,robbie-cao/robbie-cao.github.io
markdown
## Code Before: --- layout: post categories: markup --- > A practise with [Liquid Gist Tag for Jekylli](http://blog.55minutes.com/2012/03/liquid-gist-tag-for-jekyll/) ``` Source page: https://gist.github.com/robbie-cao/0ced0057f60be5743ef8 Embed the page with: <script src="https://gist.github.com/robbie-cao/0ced0057...
0f387521332ebad32b9987e3c41a214fd418ce08
package.json
package.json
{ "name": "afra", "description": "Crowdsourcing genome annotation.", "version": "0.0.1", "homepage": "https://github.com/yeban/afra", "repository": "https://github.com/yeban/afra", "author": { "name": "Anurag Priyam", "email": "anurag08priyam@gmail.com" }, "dependencies": { "bower": ...
{ "name": "afra", "description": "Crowdsourcing genome annotation.", "version": "0.0.1", "homepage": "https://github.com/yeban/afra", "repository": "https://github.com/yeban/afra", "author": { "name": "Anurag Priyam", "email": "anurag08priyam@gmail.com" }, "dependencies": { "bower": ...
Remove NPM dependency on urequire.
Remove NPM dependency on urequire. We stopped using urequire in SHA 47f27ae4. Signed-off-by: Anurag Priyam <6e6ab5ea9cb59fe7c35d2a1fc74443577eb60635@gmail.com>
JSON
apache-2.0
kimrutherford/afra,kimrutherford/afra,kimrutherford/afra,wurmlab/afra,kimrutherford/afra,wurmlab/afra,wurmlab/afra,wurmlab/afra,kimrutherford/afra
json
## Code Before: { "name": "afra", "description": "Crowdsourcing genome annotation.", "version": "0.0.1", "homepage": "https://github.com/yeban/afra", "repository": "https://github.com/yeban/afra", "author": { "name": "Anurag Priyam", "email": "anurag08priyam@gmail.com" }, "dependencies": { ...
6763b7c9d8df91a6f948fe9d8dccdc44ed0d220a
CHANGELOG.md
CHANGELOG.md
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] ### Added - Subcommands to manage the backups (sync, get, list, remove, start, encrypt) - Se...
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [2.0.0] - 2017-02-16 ### Added - Subcommands to manage the backups (sync, get, list, remove, start, encry...
Define version v2.0.0 release date
Define version v2.0.0 release date
Markdown
mit
rafaeljusto/toglacier,rafaeljusto/toglacier,rafaeljusto/toglacier
markdown
## Code Before: All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] ### Added - Subcommands to manage the backups (sync, get, list, remove, star...
385a7507f6525d9b2d1e23bef0bb2e6fe5ad0c97
lib/capybara/rails.rb
lib/capybara/rails.rb
require 'capybara' require 'capybara/dsl' Capybara.app = Rack::Builder.new do map "/" do if Gem::Version.new(Rails.version) >= Gem::Version.new("3.0") run Rails.application else # Rails 2 use Rails::Rack::Static run ActionController::Dispatcher.new end end end.to_app Capybara.save_an...
require 'capybara' require 'capybara/dsl' Capybara.app = Rack::Builder.new do # Work around an issue where rails allows concurrency in test mode even though eager_load # is false which can cause an issue with constant loading if Gem::Version.new(Rails.version) >= Gem::Version.new("4.0") use Rack::Lock unless...
Use Rack::Lock to prevent concurrency when eager_load is false
Use Rack::Lock to prevent concurrency when eager_load is false
Ruby
mit
tjouan/capybara,ducthanh/capybara,tjgrathwell/capybara,khaidpham/capybara,ngpestelos/capybara,irfanah/capybara,randoum/capybara,jnicklas/capybara,mohanraj1311/capybara,gonzedge/capybara,soutaro/capybara,shepmaster/capybara,jillianrosile/capybara,pombredanne/capybara,ksmaheshkumar/capybara,mlarraz/capybara,khaidpham/cap...
ruby
## Code Before: require 'capybara' require 'capybara/dsl' Capybara.app = Rack::Builder.new do map "/" do if Gem::Version.new(Rails.version) >= Gem::Version.new("3.0") run Rails.application else # Rails 2 use Rails::Rack::Static run ActionController::Dispatcher.new end end end.to_app ...
c62ce9cb4ad2da8aed4ce9c5dc0a9e1238256fc2
cli/gr8_statsRun.sh
cli/gr8_statsRun.sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" . $DIR/.gr8_env.sh if [ "$#" -ne 1 ]; then echo "Usage: " `basename $0` "[success_status|job_id|run_status]" exit 0 fi curl -s -X GET \ -H "X-Auth-Token: $GR8_BI_TOK" \ $GR8_BASE_URL/current/$GR8_BI_ACT/run/stats/$1 | tee $DIR/.lastresponse
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" . $DIR/.gr8_env.sh if [ "$#" -ne 2 ]; then echo "Usage: " `basename $0` "[success_status|job_id|run_status] [last_hour|last_24_hours|last_7_days|last_30_days|last_365_days]" exit 0 fi curl -s -X GET \ -H "X-Auth-Token: $GR8_BI_TOK" \ $GR8_BASE_URL/curre...
Add in example of time_period
Add in example of time_period
Shell
apache-2.0
nagoodman/gr8bi_extras
shell
## Code Before: DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" . $DIR/.gr8_env.sh if [ "$#" -ne 1 ]; then echo "Usage: " `basename $0` "[success_status|job_id|run_status]" exit 0 fi curl -s -X GET \ -H "X-Auth-Token: $GR8_BI_TOK" \ $GR8_BASE_URL/current/$GR8_BI_ACT/run/stats/$1 | tee $DIR/.lastrespo...
91936aea4107af801647f3800577bbe41b7bc7d0
gems/capistrano-support/testapp/config/deploy.rb
gems/capistrano-support/testapp/config/deploy.rb
require 'torquebox-capistrano-support' set :application, "testapp" set :repository, "." set :user, ENV['user'] set :deploy_to, "/home/#{ENV['LOGNAME']}/apps/testapp" set :deploy_via, :copy set :use_sudo, false set :torquebox_home, "/home/#{ENV['LOGNAME']}/torquebox-current" set :jboss_control_style,...
require 'torquebox-capistrano-support' require 'bundler/capistrano' set :application, "testapp" set :repository, "." set :user, ENV['user'] set :deploy_to, "/home/#{ENV['LOGNAME']}/apps/testapp" set :deploy_via, :copy set :use_sudo, false set :torquebox_home, "/home/#{ENV['LOGNAME']}/torquebox-curren...
Add bundler recipes to test. Works.
TORQUE-589: Add bundler recipes to test. Works.
Ruby
apache-2.0
torquebox/torquebox-release,torquebox/torquebox,vaskoz/torquebox,torquebox/torquebox,mje113/torquebox,vaskoz/torquebox,torquebox/torquebox-release,mje113/torquebox,ksw2599/torquebox,torquebox/torquebox-release,ksw2599/torquebox,torquebox/torquebox,vaskoz/torquebox,torquebox/torquebox,ksw2599/torquebox,mje113/torquebox,...
ruby
## Code Before: require 'torquebox-capistrano-support' set :application, "testapp" set :repository, "." set :user, ENV['user'] set :deploy_to, "/home/#{ENV['LOGNAME']}/apps/testapp" set :deploy_via, :copy set :use_sudo, false set :torquebox_home, "/home/#{ENV['LOGNAME']}/torquebox-current" set :jbos...
785151af92e9535f1f2f59982846a2207c1ba519
config/initializers/rollbar.rb
config/initializers/rollbar.rb
Rollbar.configure do |config| config.access_token = ENV['ROLLBAR_ACCESS_TOKEN'] config.enabled = false unless Rails.env.production? config.environment = ENV['ROLLBAR_ENV'].presence || Rails.env config.js_enabled = true if Rails.env.production? config.js_options = { accessToken: ENV['ROLLBAR_ACCESS_TOKEN...
Rollbar.configure do |config| config.access_token = ENV['ROLLBAR_ACCESS_TOKEN'] config.enabled = false unless Rails.env.production? config.environment = ENV['ROLLBAR_ENV'].presence || Rails.env end
Disable Rollbaar JavaScript catch feature
Disable Rollbaar JavaScript catch feature
Ruby
apache-2.0
TGDF/official-site,TGDF/official-site,TGDF/official-site,TGDF/official-site
ruby
## Code Before: Rollbar.configure do |config| config.access_token = ENV['ROLLBAR_ACCESS_TOKEN'] config.enabled = false unless Rails.env.production? config.environment = ENV['ROLLBAR_ENV'].presence || Rails.env config.js_enabled = true if Rails.env.production? config.js_options = { accessToken: ENV['ROLL...
44c9e3305901ac2394747cbf539bb107b73649f9
app/desenvolvedor/web-storm.sh
app/desenvolvedor/web-storm.sh
usuario=$(./app/utils/UsuarioLogado.sh) sudo rm /opt/WebStorm* -R wget https://download-cf.jetbrains.com/webstorm/WebStorm-2017.1.4.tar.gz -O /home/$usuario/Downloads/WebStorm-2017.1.4.tar.gz sudo tar xf /home/$usuario/Downloads/WebStorm-2017.1.4.tar.gz -C /opt/ sudo rm /home/$usuario/Downloads/WebStorm-2017.1.4.t...
usuario=$(./app/utils/UsuarioLogado.sh) wget https://download-cf.jetbrains.com/webstorm/WebStorm-2017.1.1.tar.gz -O /home/$usuario/Downloads/WebStorm-2017.1.1.tar.gz sudo tar xf /home/$usuario/Downloads/WebStorm-2017.1.1.tar.gz -C /opt/ sudo rm /home/$usuario/Downloads/WebStorm-2017.1.1.tar.gz cd /opt/WebStorm-171...
Revert "Atualizando script de instalação do WebStorm"
Revert "Atualizando script de instalação do WebStorm" This reverts commit 8f414306fa2f4974064f8ba41de871c557f817be.
Shell
mit
matheus-souza/backpack
shell
## Code Before: usuario=$(./app/utils/UsuarioLogado.sh) sudo rm /opt/WebStorm* -R wget https://download-cf.jetbrains.com/webstorm/WebStorm-2017.1.4.tar.gz -O /home/$usuario/Downloads/WebStorm-2017.1.4.tar.gz sudo tar xf /home/$usuario/Downloads/WebStorm-2017.1.4.tar.gz -C /opt/ sudo rm /home/$usuario/Downloads/Web...
5e3404e137c196e43a30d616f977dd5ea81b1822
app/views/upmin/dashboard/index.html.haml
app/views/upmin/dashboard/index.html.haml
.container-fluid .row = render partial: 'chart', collection: @models, as: 'model', locals: { limit: 30 }
-if defined?(DataMapper) .container .row .jumbotron %h2 Sorry, the default dashboard doesn't support DataMapper %p Please create a custom dashboard view in: %code app/views/upmin/dashboard/index.html.[haml|erb|etc] -else .container-fluid .row ...
Add 'DataMapper unsupported' message to dashboard
Add 'DataMapper unsupported' message to dashboard
Haml
mit
upmin/upmin-admin-ruby,upmin/upmin-admin-ruby,upmin/upmin-admin-ruby
haml
## Code Before: .container-fluid .row = render partial: 'chart', collection: @models, as: 'model', locals: { limit: 30 } ## Instruction: Add 'DataMapper unsupported' message to dashboard ## Code After: -if defined?(DataMapper) .container .row .jumbotron %h2 Sorry, the default dashb...
ab02b17346159ad59fcc52390e4794cac9df07cd
Casks/insomniax.rb
Casks/insomniax.rb
class Insomniax < Cask version '2.1.3' sha256 '50f41f5f40bd7a8896139c838b48d07abc0ad28419650865187383d1b9165707' url 'https://www.macupdate.com/download/22211/insomniax-2.1.3.tgz' homepage 'http://semaja2.net/projects/insomniaxinfo/' app 'InsomniaX.app' end
class Insomniax < Cask version '2.1.4' sha256 'c6594f663b90a1aab8187a8685bfe043f89f7a245c17b1fcfbb6978a83ed33c3' url "http://insomniax.semaja2.net/InsomniaX-#{version}.tgz" homepage 'http://semaja2.net/projects/insomniaxinfo/' app 'InsomniaX.app' end
Upgrade Insomniax to 2.1.4 Changed download link from MacUpdate to original source since MacUpdate simply redirects users to the original source.
Upgrade Insomniax to 2.1.4 Changed download link from MacUpdate to original source since MacUpdate simply redirects users to the original source.
Ruby
bsd-2-clause
axodys/homebrew-cask,wolflee/homebrew-cask,jacobbednarz/homebrew-cask,inta/homebrew-cask,tjnycum/homebrew-cask,hristozov/homebrew-cask,colindean/homebrew-cask,optikfluffel/homebrew-cask,greg5green/homebrew-cask,kpearson/homebrew-cask,codeurge/homebrew-cask,astorije/homebrew-cask,stigkj/homebrew-caskroom-cask,malob/home...
ruby
## Code Before: class Insomniax < Cask version '2.1.3' sha256 '50f41f5f40bd7a8896139c838b48d07abc0ad28419650865187383d1b9165707' url 'https://www.macupdate.com/download/22211/insomniax-2.1.3.tgz' homepage 'http://semaja2.net/projects/insomniaxinfo/' app 'InsomniaX.app' end ## Instruction: Upgrade Insomniax...
9ff32c897400a9682df00ccd062cff18cb05526c
README.md
README.md
userstyles ========== The styles whose name begins with "XUL" are only for Firefox UI. Others may be able to use in any modern web browsers. There are exceptions to it, however. Remarks ------------------------- ### _export.sh Run this script to export all user styles stored in Firefox's user profile directory. It ...
userstyles ========== [![CircleCI](https://circleci.com/gh/curipha/userstyles.svg?style=svg)](https://circleci.com/gh/curipha/userstyles) The styles whose name begins with "XUL" are only for Firefox UI. Others may be able to use in any modern web browsers. There are exceptions to it, however. Remarks --------------...
Add status badge of CircleCI
Add status badge of CircleCI
Markdown
unlicense
curipha/userstyles
markdown
## Code Before: userstyles ========== The styles whose name begins with "XUL" are only for Firefox UI. Others may be able to use in any modern web browsers. There are exceptions to it, however. Remarks ------------------------- ### _export.sh Run this script to export all user styles stored in Firefox's user profile...
9d67ad49888e37a6cedcfc648e992d7b833f4813
test/phpSmug/Tests/ClientTest.php
test/phpSmug/Tests/ClientTest.php
<?php namespace phpSmug\Tests; use phpSmug\Client; class ClientTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function shouldNotHaveToPassHttpClientToConstructor() { $client = new Client(); $this->assertInstanceOf('GuzzleHttp\Client', $client->getHttpClient());...
<?php namespace phpSmug\Tests; use phpSmug\Client; class ClientTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function shouldNotHaveToPassHttpClientToConstructor() { $client = new Client("I-am-not-a-valid-APIKey-but-it-does-not-matter-for-this-test"); $this->as...
Update initial test to have APIKey
Update initial test to have APIKey
PHP
mit
lildude/phpSmug
php
## Code Before: <?php namespace phpSmug\Tests; use phpSmug\Client; class ClientTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function shouldNotHaveToPassHttpClientToConstructor() { $client = new Client(); $this->assertInstanceOf('GuzzleHttp\Client', $client->g...
441366d6b7ffce97d174d55e8a0118188e34a37f
README.md
README.md
Easy yahoo weather API access for rust
The yahoo-weather-rs create downloads the actual weather data for a given location and transforms it into rust data structures. --- ## Usage Add `yahoo-weather-rs` as a dependency in `Cargo.toml`: ```toml [dependencies] yahoo-weather-rs = { git = "https://github.com/Roba1993/yahoo-weather-rs" } ``` Use the `get_weath...
Add a simple example to the readme
Add a simple example to the readme
Markdown
mit
Roba1993/yahoo-weather-rs
markdown
## Code Before: Easy yahoo weather API access for rust ## Instruction: Add a simple example to the readme ## Code After: The yahoo-weather-rs create downloads the actual weather data for a given location and transforms it into rust data structures. --- ## Usage Add `yahoo-weather-rs` as a dependency in `Cargo.toml`:...
26f0b938bb8619f3ec705ff247c4d671613883fa
django/santropolFeast/member/factories.py
django/santropolFeast/member/factories.py
import factory import datetime import random from django.contrib.auth.models import User from member.models import Member, Address, Contact, Client, PAYMENT_TYPE from member.models import DELIVERY_TYPE, GENDER_CHOICES class AddressFactory (factory.DjangoModelFactory): class Meta: model = Address str...
import factory import datetime import random from django.contrib.auth.models import User from member.models import Member, Address, Contact, Client, PAYMENT_TYPE, Route from member.models import DELIVERY_TYPE, GENDER_CHOICES class AddressFactory (factory.DjangoModelFactory): class Meta: model = Address ...
Add a random <Route> to a generated <Client>
Add a random <Route> to a generated <Client> Issue #214
Python
agpl-3.0
savoirfairelinux/sous-chef,savoirfairelinux/sous-chef,madmath/sous-chef,savoirfairelinux/santropol-feast,madmath/sous-chef,madmath/sous-chef,savoirfairelinux/sous-chef,savoirfairelinux/santropol-feast,savoirfairelinux/santropol-feast
python
## Code Before: import factory import datetime import random from django.contrib.auth.models import User from member.models import Member, Address, Contact, Client, PAYMENT_TYPE from member.models import DELIVERY_TYPE, GENDER_CHOICES class AddressFactory (factory.DjangoModelFactory): class Meta: model = ...
25cef4efa8059ab55a2af0acadee2d7eec8d02ce
files/update_galaxy.sh
files/update_galaxy.sh
[ -w /etc/ansible/roles ] || (echo "Cannot write /etc/ansible/roles, aborting"; exit 1) cd /etc/ansible /usr/bin/ansible-galaxy install -f -r /etc/ansible/requirements.yml >/dev/null
[ -w /etc/ansible/roles ] || (echo "Cannot write /etc/ansible/roles, aborting"; exit 1) cd /etc/ansible /usr/bin/ansible-galaxy install -f -r /etc/ansible/requirements.yml -p /etc/ansible/roles >/dev/null
Fix location of checkout for roles installation
Fix location of checkout for roles installation In 2.3, the default location of installation got changed and it now go to /root/.ansible/ since 37cef2a9. While I think this might have to be changed, in the mean time, it is better to be explicite in case this is not changed before the release.
Shell
mit
mscherer/ansible-role-ansible_bastion,mscherer/ansible-role-ansible_bastion,OSAS/ansible-role-ansible_bastion,OSAS/ansible-role-ansible_bastion
shell
## Code Before: [ -w /etc/ansible/roles ] || (echo "Cannot write /etc/ansible/roles, aborting"; exit 1) cd /etc/ansible /usr/bin/ansible-galaxy install -f -r /etc/ansible/requirements.yml >/dev/null ## Instruction: Fix location of checkout for roles installation In 2.3, the default location of installation got change...
f4f177f3c231d070143c367de10d4508de03f74d
.travis.yml
.travis.yml
language: ruby rvm: - 1.9.3 - 1.8.7 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode env: - POSTGIS=1.5 - POSTGIS=2.0 gemfile: - gemfiles/activerecord_3.0.gemfile - gemfiles/activerecord_3.1.gemfile - gemfiles/activerecord_3.2.gemfile before_install: ./bin/ci/before_install.sh before_script...
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ruby-head - jruby-18mode - jruby-19mode - rbx-18mode # - rbx-19mode env: - POSTGIS=1.5 - POSTGIS=2.0 gemfile: - gemfiles/activerecord_3.0.gemfile - gemfiles/activerecord_3.1.gemfile - gemfiles/activerecord_3.2.gemfile before_install: ./bin/ci/before...
Change around the ruby versions for Travis
Change around the ruby versions for Travis
YAML
bsd-3-clause
amitree/activerecord-postgis-adapter,dzjuck/activerecord-postgis-adapter,ericcj/activerecord-postgis-adapter,IBazylchuk/activerecord-postgis-adapter
yaml
## Code Before: language: ruby rvm: - 1.9.3 - 1.8.7 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode env: - POSTGIS=1.5 - POSTGIS=2.0 gemfile: - gemfiles/activerecord_3.0.gemfile - gemfiles/activerecord_3.1.gemfile - gemfiles/activerecord_3.2.gemfile before_install: ./bin/ci/before_install....
f18f22ce6c06db072f01f3a7c7341b5f2db65246
bin/set_git_env_vars.sh
bin/set_git_env_vars.sh
if [[ -z "$GIT_COMMIT" ]]; then export GIT_COMMIT=$(git rev-parse HEAD) fi export GIT_COMMIT_SHORT="${GIT_COMMIT:0:9}" if [[ -z "$DOCKER_REPOSITORY" ]]; then export DOCKER_REPOSITORY="mozmeao/nucleus" fi if [[ -z "$DOCKER_IMAGE_TAG" ]]; then # we are probably going to switch to using GIT_COMMIT_SHORT in th...
if [[ -z "$GIT_COMMIT" ]]; then export GIT_COMMIT=$(git rev-parse HEAD) fi if [[ -z "$DOCKER_REPOSITORY" ]]; then export DOCKER_REPOSITORY="mozorg/snippets" fi # match length of git rev-parse HEAD --short export GIT_COMMIT_SHORT="${GIT_COMMIT:0:7}" if [[ -z "$DOCKER_IMAGE_TAG" ]]; then export DOCKER_IMA...
Update docker repo & image tag hash length
Update docker repo & image tag hash length
Shell
mpl-2.0
glogiotatidis/snippets-service,glogiotatidis/snippets-service,mozmar/snippets-service,mozmar/snippets-service,glogiotatidis/snippets-service,glogiotatidis/snippets-service,mozmar/snippets-service,mozmar/snippets-service
shell
## Code Before: if [[ -z "$GIT_COMMIT" ]]; then export GIT_COMMIT=$(git rev-parse HEAD) fi export GIT_COMMIT_SHORT="${GIT_COMMIT:0:9}" if [[ -z "$DOCKER_REPOSITORY" ]]; then export DOCKER_REPOSITORY="mozmeao/nucleus" fi if [[ -z "$DOCKER_IMAGE_TAG" ]]; then # we are probably going to switch to using GIT_CO...
7078dddc91fff785e63526c476522dd7ef04cf52
CHANGELOG.md
CHANGELOG.md
0.0.2 - 2016-02-05 ------------------ - Adds an executable at `derby-ldp` 0.0.1 - 2016-02-05 ------------------ - Sets up an initial LDP server
0.0.3 - 2016-02-05 ------------------ - Move derby/server into lib directory 0.0.2 - 2016-02-05 ------------------ - Adds an executable at `derby-ldp` 0.0.1 - 2016-02-05 ------------------ - Sets up an initial LDP server
Add changelog entry for 0.0.3
Add changelog entry for 0.0.3
Markdown
apache-2.0
fcrepo4-labs/derby
markdown
## Code Before: 0.0.2 - 2016-02-05 ------------------ - Adds an executable at `derby-ldp` 0.0.1 - 2016-02-05 ------------------ - Sets up an initial LDP server ## Instruction: Add changelog entry for 0.0.3 ## Code After: 0.0.3 - 2016-02-05 ------------------ - Move derby/server into lib directory 0.0.2 - 2016-02...
b5af31fba4bde1b90857d693b8277a3d2a0e3607
rplugin/python3/deoplete/sources/go.py
rplugin/python3/deoplete/sources/go.py
import deoplete.util from .base import Base class Source(Base): def __init__(self, vim): Base.__init__(self, vim) self.name = 'go' self.mark = '[go]' self.filetypes = ['go'] self.rank = 100 self.min_pattern_length = 0 self.is_bytepos = True def get_com...
import deoplete.util from .base import Base class Source(Base): def __init__(self, vim): Base.__init__(self, vim) self.name = 'go' self.mark = '[go]' self.filetypes = ['go'] self.min_pattern_length = 0 self.is_bytepos = True def get_complete_api(self, findstar...
Remove rank to default set. deoplete will set 100
Remove rank to default set. deoplete will set 100 Signed-off-by: Koichi Shiraishi <2e5bdfebde234ed3509bcfc18121c70b6631e207@gmail.com>
Python
mit
zchee/deoplete-go,zchee/deoplete-go
python
## Code Before: import deoplete.util from .base import Base class Source(Base): def __init__(self, vim): Base.__init__(self, vim) self.name = 'go' self.mark = '[go]' self.filetypes = ['go'] self.rank = 100 self.min_pattern_length = 0 self.is_bytepos = True ...
a2421409111c855276db1d4d57693bdea73725c3
app/views/alchemy/admin/pages/update.js.erb
app/views/alchemy/admin/pages/update.js.erb
(function() { var page = document.querySelector('#page_<%= @page.id %>'); <% if @while_page_edit -%> Alchemy.reloadPreview(); document.querySelector('#page_<%= @page.id %>_status').outerHTML = '<%= j render("current_page", current_page: @page) %>'; Alchemy.growl("<%= j @notice %>"); Alchemy.closeCurrentDial...
(function() { var page = document.querySelector('#page_<%= @page.id %>'); <% if @while_page_edit -%> Alchemy.reloadPreview(); document.querySelector('#page_<%= @page.id %>_status').outerHTML = '<%= j render("current_page", current_page: @page) %>'; Alchemy.growl("<%= j @notice %>"); Alchemy.closeCurrentDial...
Fix admin page tree links after update
Fix admin page tree links after update Closes #2347
HTML+ERB
bsd-3-clause
AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms
html+erb
## Code Before: (function() { var page = document.querySelector('#page_<%= @page.id %>'); <% if @while_page_edit -%> Alchemy.reloadPreview(); document.querySelector('#page_<%= @page.id %>_status').outerHTML = '<%= j render("current_page", current_page: @page) %>'; Alchemy.growl("<%= j @notice %>"); Alchemy....
f76743a704be30c1246a52ce7dc6b0d20fe7df4f
retz-inttest/src/test/resources/post_run.sh
retz-inttest/src/test/resources/post_run.sh
set -e set -x RETZ_CONTAINER=$1 CURRENT=$(cd $(dirname $0) && pwd) docker exec -it $RETZ_CONTAINER /spawn_mesos_agent.sh docker exec -it $RETZ_CONTAINER /spawn_retz_server.sh docker exec -it $RETZ_CONTAINER ps awxx | egrep -E '(mesos-slave|mesos-master|retz)' ${CURRENT}/retz-client load-app -F file:///spawn_retz_...
set -e set -x RETZ_CONTAINER=$1 CURRENT=$(cd $(dirname $0) && pwd) docker exec -it $RETZ_CONTAINER sh -c "/spawn_mesos_agent.sh && sleep 1" docker exec -it $RETZ_CONTAINER sh -c "/spawn_retz_server.sh && sleep 1" docker exec -it $RETZ_CONTAINER ps awxx | egrep -E '(mesos-slave|mesos-master|retz)' ${CURRENT}/retz-...
Add 1sec sleep to avoid hup before nohup
Add 1sec sleep to avoid hup before nohup In "docker exec ... nohup some-command &", it's possible that docker exec finish before nohup is executed becuase of "&" effect. Then the whole command is killed by SIGHUP. To avoid the situation add 1 second sleep.
Shell
apache-2.0
retz/retz,retz/retz,retz/retz,retz/retz
shell
## Code Before: set -e set -x RETZ_CONTAINER=$1 CURRENT=$(cd $(dirname $0) && pwd) docker exec -it $RETZ_CONTAINER /spawn_mesos_agent.sh docker exec -it $RETZ_CONTAINER /spawn_retz_server.sh docker exec -it $RETZ_CONTAINER ps awxx | egrep -E '(mesos-slave|mesos-master|retz)' ${CURRENT}/retz-client load-app -F fil...
e790505df6398acdcd2dbe81f353cbf7a3cafaf9
mantis_feeder_contextMenu.js
mantis_feeder_contextMenu.js
function hook_menu(){ $.contextMenu({ selector: '.feeder_entry', callback: function(key, options) { if(key == 'gallery'){ var id = $(this).attr('specie_id'); var folder = ''; $.each(collection_data.species,function(){ i...
function hook_menu(){ $.contextMenu('destroy','.feeder_entry'); $.contextMenu({ selector: '.feeder_entry', callback: function(key, options) { if(key == 'gallery'){ var id = $(this).attr('specie_id'); var folder = ''; $.each(collection_...
Destroy any old bind, makes this function repeat-callable
Destroy any old bind, makes this function repeat-callable
JavaScript
mit
soundspawn/mantis_feeder,soundspawn/mantis_feeder
javascript
## Code Before: function hook_menu(){ $.contextMenu({ selector: '.feeder_entry', callback: function(key, options) { if(key == 'gallery'){ var id = $(this).attr('specie_id'); var folder = ''; $.each(collection_data.species,function(){ ...
71af63a1dbbf93b49b26bed20f11e9f5abbcb591
app/webpack/entities/alarmClock.js
app/webpack/entities/alarmClock.js
import Entity from '../Entity.js'; import printMessage from '../printMessage.js'; import action from '../action.js'; import time from '../time.js'; export class AlarmClock extends Entity { constructor() { super(); this.ringing = true; } name() { return "alarm clock"; } actions() { if(this.r...
import Entity from '../Entity.js'; import printMessage from '../printMessage.js'; import action from '../action.js'; import time from '../time.js'; export class AlarmClock extends Entity { constructor() { super(); this.ringing = true; } name() { return "alarm clock"; } actions() { const che...
Check time after alarm disabled
Check time after alarm disabled
JavaScript
mit
TEAMBUTT/LD35
javascript
## Code Before: import Entity from '../Entity.js'; import printMessage from '../printMessage.js'; import action from '../action.js'; import time from '../time.js'; export class AlarmClock extends Entity { constructor() { super(); this.ringing = true; } name() { return "alarm clock"; } actions()...
e91efb6f540f68310840b26a7e9ee1a12fbed4a1
deploy.sh
deploy.sh
for server in $(govuk_node_list -c backend); do rsync -r dist/* deploy@$server:/data/apps/publishing-api/shared/govuk-content-schemas/ done for server in $(govuk_node_list -c content_store); do rsync -r dist/* deploy@$server:/data/apps/content-store/shared/govuk-content-schemas/ done
for server in $(govuk_node_list -c backend); do rsync -r dist/* deploy@$server:/data/apps/publishing-api/shared/govuk-content-schemas/ done for server in $(govuk_node_list -c "draft_content_store,content_store"); do rsync -r dist/* deploy@$server:/data/apps/content-store/shared/govuk-content-schemas/ done
Deploy schemas to draft content store
Deploy schemas to draft content store
Shell
mit
alphagov/govuk-content-schemas,alphagov/govuk-content-schemas
shell
## Code Before: for server in $(govuk_node_list -c backend); do rsync -r dist/* deploy@$server:/data/apps/publishing-api/shared/govuk-content-schemas/ done for server in $(govuk_node_list -c content_store); do rsync -r dist/* deploy@$server:/data/apps/content-store/shared/govuk-content-schemas/ done ## Instructio...
55701d33d3e22fbbcbbce24e63fc7e91810ffba1
README.md
README.md
Notifies users of their XenForo account's Messages and Notifications. This also displays their post and rating count. ##Features - Notifies user for all notifications. - Displays post and rating count. - Supports all XenForo sites (configuration needed). - Allows multiple XenForo sites and accounts. ##Downloads & S...
Notifies users of their XenForo account's Messages and Notifications. This also displays their post and rating count. ##Features - Notifies user for all notifications. - Displays post and rating count. - Supports all XenForo sites (configuration needed). - Allows multiple XenForo sites and accounts. ##Downloads & S...
Add Support and Changelog Links.
Add Support and Changelog Links.
Markdown
mit
Cldfire/Forum-Notifier,Cldfire/XenForo-Notifier
markdown
## Code Before: Notifies users of their XenForo account's Messages and Notifications. This also displays their post and rating count. ##Features - Notifies user for all notifications. - Displays post and rating count. - Supports all XenForo sites (configuration needed). - Allows multiple XenForo sites and accounts. ...
da7a5d7b717df6312bba26de5cf83fab651c37d8
src/validation-strategies/one-valid-issue.js
src/validation-strategies/one-valid-issue.js
import issueStrats from '../issue-strategies/index.js'; import * as promiseUtils from '../promise-utils.js'; function validateStrategies(issueKey, jiraClientAPI) { return jiraClientAPI.findIssue(issueKey) .then(content => issueStrats[content.fields.issuetype.name].apply(content, jiraClientAPI) ) .c...
import issueStrats from '../issue-strategies/index.js'; import * as promiseUtils from '../promise-utils.js'; function validateStrategies(issueKey, jiraClientAPI) { return jiraClientAPI.findIssue(issueKey) .then(content => { if (!issueStrats[content.fields.issuetype.name]) { return Promise.reject(new Erro...
Fix bug in no issue validation logic
Fix bug in no issue validation logic
JavaScript
mit
TWExchangeSolutions/jira-precommit-hook,DarriusWrightGD/jira-precommit-hook
javascript
## Code Before: import issueStrats from '../issue-strategies/index.js'; import * as promiseUtils from '../promise-utils.js'; function validateStrategies(issueKey, jiraClientAPI) { return jiraClientAPI.findIssue(issueKey) .then(content => issueStrats[content.fields.issuetype.name].apply(content, jiraClientA...
f9e395b27ef4b3d6cd957dd7e67bc2796152564b
app/CakeCounter.tsx
app/CakeCounter.tsx
import * as React from "react"; import { CakeProps } from "./Cake.tsx"; import { CakeListProps } from "./CakeList.tsx"; interface CakeCounterState { daysSinceLastCake: number; } class CakeCounter extends React.Component<CakeListProps, CakeCounterState> { constructor(props: CakeListProps) { super(props...
import * as React from "react"; import { CakeProps } from "./Cake.tsx"; import { CakeListProps } from "./CakeList.tsx"; interface CakeCounterState { daysSinceLastCake: number; } class CakeCounter extends React.Component<CakeListProps, CakeCounterState> { constructor(props: CakeListProps) { super(props...
Refresh cake counter when a cake is added
Refresh cake counter when a cake is added
TypeScript
mit
mieky/we-love-cake,mieky/we-love-cake
typescript
## Code Before: import * as React from "react"; import { CakeProps } from "./Cake.tsx"; import { CakeListProps } from "./CakeList.tsx"; interface CakeCounterState { daysSinceLastCake: number; } class CakeCounter extends React.Component<CakeListProps, CakeCounterState> { constructor(props: CakeListProps) { ...
269e6e61f0d554006050c2455c11bc4639da8fa5
command/tar/README.md
command/tar/README.md
tar -xf my_archive.tar.gz ## Create a tar.gz file tar -cf my_archive.tar my_file my_other_file ## Print the contents of a tar.gz file tar -tf my_archive.tar.gz
tar -xf my_archive.tar.gz ## Create a tar.gz file tar -cf my_archive.tar my_file my_other_file ## Print the contents of a tar.gz file tar -tf my_archive.tar.gz ## Links - [tar on Wikipedia](http://en.wikipedia.org/wiki/Tar_%28computing%29)
Add link to tar on Wikipedia
Add link to tar on Wikipedia
Markdown
mit
MattMS/shelp
markdown
## Code Before: tar -xf my_archive.tar.gz ## Create a tar.gz file tar -cf my_archive.tar my_file my_other_file ## Print the contents of a tar.gz file tar -tf my_archive.tar.gz ## Instruction: Add link to tar on Wikipedia ## Code After: tar -xf my_archive.tar.gz ## Create a tar.gz file tar -cf my_archi...
fd5c2fe4737b5a29290fb21c3e4b4af337fc4a94
examples/slow_dim_lights.yaml
examples/slow_dim_lights.yaml
automation: - alias: slow_dim_lights trigger: ... action: - service: script.slow_dim_lights data: entity_id: light.living_room script: slow_dim_lights: alias: 'Slow Dim Lights' sequence: - service: light.turn_on data_template: entity_id: "{{ en...
automation: - alias: slow_dim_lights trigger: ... action: - service: script.slow_dim_lights data: entity_id: light.living_room script: slow_dim_lights: alias: 'Slow Dim Lights' sequence: - service: light.turn_on data_template: entity_id: "{{ en...
Add script.turn_off to slow dim lights example
Add script.turn_off to slow dim lights example
YAML
mit
dale3h/homeassistant-config,dale3h/homeassistant-config
yaml
## Code Before: automation: - alias: slow_dim_lights trigger: ... action: - service: script.slow_dim_lights data: entity_id: light.living_room script: slow_dim_lights: alias: 'Slow Dim Lights' sequence: - service: light.turn_on data_template: e...
0b80b573049b771f551b2fa47e570d849cd14ea4
packages/syft/src/syft/core/node/common/node_manager/node_route_manager.py
packages/syft/src/syft/core/node/common/node_manager/node_route_manager.py
from sqlalchemy.engine import Engine # relative from ..node_table.node_route import NodeRoute from .database_manager import DatabaseManager class NodeRouteManager(DatabaseManager): schema = NodeRoute def __init__(self, database: Engine) -> None: super().__init__(schema=NodeRouteManager.schema, db=da...
from sqlalchemy.engine import Engine # relative from ..node_table.node_route import NodeRoute from .database_manager import DatabaseManager class NodeRouteManager(DatabaseManager): schema = NodeRoute def __init__(self, database: Engine) -> None: super().__init__(schema=NodeRouteManager.schema, db=da...
UPDATE update_route_for_node method to accept new parameters (vpn_endpoint/vpn_key)
UPDATE update_route_for_node method to accept new parameters (vpn_endpoint/vpn_key)
Python
apache-2.0
OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft
python
## Code Before: from sqlalchemy.engine import Engine # relative from ..node_table.node_route import NodeRoute from .database_manager import DatabaseManager class NodeRouteManager(DatabaseManager): schema = NodeRoute def __init__(self, database: Engine) -> None: super().__init__(schema=NodeRouteManag...
48f1dd042f20c20ce1f51b9b6dc8e7275670283c
circle.yml
circle.yml
version: 2 executorType: machine jobs: build: environment: GOPATH: /home/circleci/.go_workspace working_directory: $GOPATH/src/github.com/moby/tool steps: - checkout - run: go get github.com/golang/lint/golint - run: cd $GOPATH/src/github.com/moby/tool && make test
version: 2 executorType: machine jobs: build: environment: GOPATH: /home/circleci/.go_workspace working_directory: $GOPATH/src/github.com/moby/tool steps: - checkout - run: go get github.com/golang/lint/golint - run: cd $GOPATH/src/github.com/moby/tool && make test - run: cd ...
Build for Darwin and Windows in CI
Build for Darwin and Windows in CI Signed-off-by: Ian Campbell <9be92b3dbbd6611e3e4c9209fb3d04b4919e7cca@docker.com>
YAML
apache-2.0
deitch/linuxkit,yankcrime/linuxkit,linuxkit/linuxkit,konstruktoid/linuxkit,justincormack/linuxkit,rn/linuxkit,deitch/linuxkit,furious-luke/linuxkit,linuxkit/linuxkit,djs55/linuxkit,YuPengZTE/linuxkit,linuxkit/linuxkit,konstruktoid/linuxkit,YuPengZTE/linuxkit,linuxkit/linuxkit,konstruktoid/linuxkit,konstruktoid/linuxkit...
yaml
## Code Before: version: 2 executorType: machine jobs: build: environment: GOPATH: /home/circleci/.go_workspace working_directory: $GOPATH/src/github.com/moby/tool steps: - checkout - run: go get github.com/golang/lint/golint - run: cd $GOPATH/src/github.com/moby/tool && make test ...
55b5af8e6a05e92bdeeb69ff7d61598fb3e19405
wagtail/admin/templates/wagtailadmin/pages/listing/_page_title_explore.html
wagtail/admin/templates/wagtailadmin/pages/listing/_page_title_explore.html
{% load i18n wagtailadmin_tags %} {# The title field for a page in the page listing, when in 'explore' mode #} <div class="title-wrapper"> {% if page.sites_rooted_here.exists %} {% if perms.wagtailcore.add_site or perms.wagtailcore.change_site or perms.wagtailcore.delete_site %} <a href="{% ur...
{% load i18n wagtailadmin_tags %} {# The title field for a page in the page listing, when in 'explore' mode #} <div class="title-wrapper"> {% if page.sites_rooted_here.exists %} {% if perms.wagtailcore.add_site or perms.wagtailcore.change_site or perms.wagtailcore.delete_site %} <a href="{% ur...
Add an empty block area on the search results listing for adding extra fields after the title.
Add an empty block area on the search results listing for adding extra fields after the title.
HTML
bsd-3-clause
FlipperPA/wagtail,FlipperPA/wagtail,FlipperPA/wagtail,FlipperPA/wagtail
html
## Code Before: {% load i18n wagtailadmin_tags %} {# The title field for a page in the page listing, when in 'explore' mode #} <div class="title-wrapper"> {% if page.sites_rooted_here.exists %} {% if perms.wagtailcore.add_site or perms.wagtailcore.change_site or perms.wagtailcore.delete_site %} ...
7ca85c1d552fbc598690a91c028270675d709d54
CONTRIBUTORS.md
CONTRIBUTORS.md
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller) * Jason Harmon [@jharmn](https://github.com/jharmn) * Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc) * Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh) * Ron Ratovsky [@webron](https://github.com/webron) * Tony Tam [@fehguy](htt...
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller) * Jason Harmon [@jharmn](https://github.com/jharmn) * Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc) * Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh) * Rob Dolin [@RobDolinMS](https://github.com/robdolinms) * Ron Ratovsky [@we...
Add self to contributors list
[Contributors] Add self to contributors list Signed-off-by: Rob Dolin <7737aa8e8feac0c2c2954de8a00c3ede85d230e8@microsoft.com>
Markdown
apache-2.0
OAI/OpenAPI-Specification,OAI/OpenAPI-Specification,OAI/OpenAPI-Specification
markdown
## Code Before: * Darrel Miller [@darrelmiller](https://github.com/darrelmiller) * Jason Harmon [@jharmn](https://github.com/jharmn) * Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc) * Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh) * Ron Ratovsky [@webron](https://github.com/webron) * Tony T...
6fd4b03bf900de95a3ede0b607302e3ac64db431
README.md
README.md
Dick Grayson ================ [![Build Status](https://travis-ci.org/gwydirsam/DickGrayson.svg?branch=develop)](https://travis-ci.org/gwydirsam/DickGrayson) [![Join the chat at https://gitter.im/gwydirsam/DickGrayson](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gwydirsam/DickGrayson?utm_source=badge&u...
Dick Grayson ================ [![Build Status](https://travis-ci.org/gwydirsam/DickGrayson.svg?branch=develop)](https://travis-ci.org/gwydirsam/DickGrayson) [![Join the chat at https://gitter.im/gwydirsam/DickGrayson](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gwydirsam/DickGrayson?utm_source=badge&u...
Remove original link to spec
Remove original link to spec
Markdown
bsd-3-clause
gwydirsam/DickGrayson,gwydirsam/DickGrayson,gwydirsam/DickGrayson
markdown
## Code Before: Dick Grayson ================ [![Build Status](https://travis-ci.org/gwydirsam/DickGrayson.svg?branch=develop)](https://travis-ci.org/gwydirsam/DickGrayson) [![Join the chat at https://gitter.im/gwydirsam/DickGrayson](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gwydirsam/DickGrayson?ut...
ed4f786de54dde50cb26cfe4859507579806a14b
portal_sale_distributor/models/ir_action_act_window.py
portal_sale_distributor/models/ir_action_act_window.py
from odoo import models, api from odoo.tools.safe_eval import safe_eval class ActWindowView(models.Model): _inherit = 'ir.actions.act_window' def read(self, fields=None, load='_classic_read'): result = super().read(fields, load=load) if result and result[0].get('context'): ctx = s...
from odoo import models, api from odoo.tools.safe_eval import safe_eval class ActWindowView(models.Model): _inherit = 'ir.actions.act_window' def read(self, fields=None, load='_classic_read'): result = super().read(fields, load=load) for value in result: if value.get('context') an...
Adjust to avoid bugs with other values in context
[FIX] portal_sale_distributor: Adjust to avoid bugs with other values in context closes ingadhoc/sale#493 X-original-commit: 441d30af0c3fa8cbbe129893107436ea69cca740 Signed-off-by: Juan José Scarafía <1d1652a8631a1f5a0ea40ef8dcad76f737ce6379@adhoc.com.ar>
Python
agpl-3.0
ingadhoc/sale,ingadhoc/sale,ingadhoc/sale,ingadhoc/sale
python
## Code Before: from odoo import models, api from odoo.tools.safe_eval import safe_eval class ActWindowView(models.Model): _inherit = 'ir.actions.act_window' def read(self, fields=None, load='_classic_read'): result = super().read(fields, load=load) if result and result[0].get('context'): ...
fef1628d9672d09065a55f2fa1e75648a0cddd92
vscode/settings.json
vscode/settings.json
{ "workbench.colorTheme": "Darcula", "window.zoomLevel": 0, "editor.fontFamily": "Fira Code", "editor.fontLigatures": true, "editor.fontSize": 14, "files.autoSave": "afterDelay", "terminal.integrated.fontSize": 14, "telemetry.enableTelemetry": false, "workbench.activityBar.visible": ...
{ "workbench.colorTheme": "Darcula", "window.zoomLevel": 0, "editor.fontFamily": "Fira Code", "editor.fontLigatures": true, "editor.fontSize": 14, "files.autoSave": "afterDelay", "terminal.integrated.fontSize": 14, "telemetry.enableTelemetry": false, "workbench.activityBar.visible": ...
Enable word wrap and rulers
Enable word wrap and rulers
JSON
mit
martinrist/dotfiles
json
## Code Before: { "workbench.colorTheme": "Darcula", "window.zoomLevel": 0, "editor.fontFamily": "Fira Code", "editor.fontLigatures": true, "editor.fontSize": 14, "files.autoSave": "afterDelay", "terminal.integrated.fontSize": 14, "telemetry.enableTelemetry": false, "workbench.activi...
0549a85f83bb4fb95aff3c4fc8d8a699c7e73fa9
chainer/utils/argument.py
chainer/utils/argument.py
def check_unexpected_kwargs(kwargs, **unexpected): for key, message in unexpected.items(): if key in kwargs: raise ValueError(message) def parse_kwargs(kwargs, *name_and_values): values = [kwargs.pop(name, default_value) for name, default_value in name_and_values] if kwar...
import inspect def check_unexpected_kwargs(kwargs, **unexpected): for key, message in unexpected.items(): if key in kwargs: raise ValueError(message) def parse_kwargs(kwargs, *name_and_values): values = [kwargs.pop(name, default_value) for name, default_value in name_and_va...
Put `import inspect` at the top of the file
Put `import inspect` at the top of the file
Python
mit
keisuke-umezawa/chainer,niboshi/chainer,wkentaro/chainer,chainer/chainer,rezoo/chainer,keisuke-umezawa/chainer,hvy/chainer,keisuke-umezawa/chainer,okuta/chainer,ktnyt/chainer,jnishi/chainer,niboshi/chainer,pfnet/chainer,keisuke-umezawa/chainer,anaruse/chainer,hvy/chainer,okuta/chainer,chainer/chainer,hvy/chainer,nibosh...
python
## Code Before: def check_unexpected_kwargs(kwargs, **unexpected): for key, message in unexpected.items(): if key in kwargs: raise ValueError(message) def parse_kwargs(kwargs, *name_and_values): values = [kwargs.pop(name, default_value) for name, default_value in name_and_val...
dfc6b9b658276f163e39ca0558649031ba08cdbd
lib/aviator/openstack/volume/v1/public/create_volume.rb
lib/aviator/openstack/volume/v1/public/create_volume.rb
module Aviator define_request :create_volume, inherit: [:openstack, :common, :v2, :public, :base] do meta :service, :volume meta :api_version, :v1 link 'documentation', 'http://docs.rackspace.com/cbs/api/v1.0/cbs-devguide/content/POST_createVolume_v1__tenant_id__volumes_v1__tenant_id__vol...
module Aviator define_request :create_volume, inherit: [:openstack, :common, :v2, :public, :base] do meta :service, :volume meta :api_version, :v1 link 'documentation', 'http://docs.rackspace.com/cbs/api/v1.0/cbs-devguide/content/POST_createVolume_v1__tenant_id__volumes_v1__tenant_id__vol...
Send all optional params on create volume
Send all optional params on create volume
Ruby
mit
aviator/aviator,rolandoalvarado/aviator-original,relaxdiego/aviator,choodur/aviator,stefanymarie/aviator
ruby
## Code Before: module Aviator define_request :create_volume, inherit: [:openstack, :common, :v2, :public, :base] do meta :service, :volume meta :api_version, :v1 link 'documentation', 'http://docs.rackspace.com/cbs/api/v1.0/cbs-devguide/content/POST_createVolume_v1__tenant_id__volumes_v1...
1d604263313d073e95ad3e3b4493e12c97608ea2
templates/bosh/bosh-deployment.yml
templates/bosh/bosh-deployment.yml
--- director_uuid: (( merge )) meta: (( merge )) compilation: (( merge )) networks: (( merge )) jobs: (( merge )) properties: (( merge )) resource_pools: (( merge ))
--- director_uuid: ~ meta: ~ compilation: ~ networks: ~ jobs: ~ properties: ~ resource_pools: ~
Change template merges into ~ so they are not required
Change template merges into ~ so they are not required
YAML
apache-2.0
cloudfoundry/mega-ci,cloudfoundry/mega-ci
yaml
## Code Before: --- director_uuid: (( merge )) meta: (( merge )) compilation: (( merge )) networks: (( merge )) jobs: (( merge )) properties: (( merge )) resource_pools: (( merge )) ## Instruction: Change template merges into ~ so they are not required ## Code After: --- director_uuid: ~ meta: ~ compilation: ~ network...
b269c6947a05bcf53de3a79ec0d0440a557efcd3
Tests/runtests.sh
Tests/runtests.sh
cd ../Software rm foo.o rm fido-lib.a make make lib cd ../Tests rm test make ./test
cd ../Software make clean make make lib cd ../Tests make clean make ./test
Use make clean instead of rm
Use make clean instead of rm
Shell
mit
FidoProject/Fido,FlyingGraysons/Fido,FlyingGraysons/Fido,patrickelectric/Fido,patrickelectric/Fido,FidoProject/Fido,njk345/Fido,patrickelectric/Fido,FlyingGraysons/Fido,FidoProject/Fido,njk345/Fido
shell
## Code Before: cd ../Software rm foo.o rm fido-lib.a make make lib cd ../Tests rm test make ./test ## Instruction: Use make clean instead of rm ## Code After: cd ../Software make clean make make lib cd ../Tests make clean make ./test
45973ac3c7ffef1fc5d46c3ee2e673f856f24106
activerecord/test/cases/adapters/mysql/quoting_test.rb
activerecord/test/cases/adapters/mysql/quoting_test.rb
require "cases/helper" module ActiveRecord module ConnectionAdapters class MysqlAdapter class QuotingTest < ActiveRecord::TestCase def setup @conn = ActiveRecord::Base.connection end def test_type_cast_true c = Column.new(nil, 1, Type::Boolean.new) ass...
require "cases/helper" module ActiveRecord module ConnectionAdapters class MysqlAdapter class QuotingTest < ActiveRecord::TestCase def setup @conn = ActiveRecord::Base.connection end def test_type_cast_true assert_equal 1, @conn.type_cast(true) end ...
Stop relying on columns in mysql quoting tests
Stop relying on columns in mysql quoting tests The behavior tested by the removed lines is sufficiently covered elsewhere.
Ruby
mit
printercu/rails,yalab/rails,amoody2108/TechForJustice,deraru/rails,deraru/rails,vassilevsky/rails,illacceptanything/illacceptanything,mtsmfm/rails,rbhitchcock/rails,samphilipd/rails,yawboakye/rails,baerjam/rails,yahonda/rails,bradleypriest/rails,flanger001/rails,alecspopa/rails,elfassy/rails,voray/rails,fabianoleittes/...
ruby
## Code Before: require "cases/helper" module ActiveRecord module ConnectionAdapters class MysqlAdapter class QuotingTest < ActiveRecord::TestCase def setup @conn = ActiveRecord::Base.connection end def test_type_cast_true c = Column.new(nil, 1, Type::Boolean.ne...
0bd6337af92ec165ba557014cd2d6b4c9740cf07
src/cljs/clj_templates/style/common.styl
src/cljs/clj_templates/style/common.styl
body margin 0 padding 0 font-family font-base, sans-serif font-weight font-base-weight font-size font-size-medium h1 font-weight font-base-weight a color color-secondary text-decoration none &:hover text-decoration underline p margin-top -0.3rem .spinner border 2px solid lightgrey border...
body margin 0 padding 0 font-family font-base, sans-serif font-weight font-base-weight font-size font-size-medium h1 font-weight font-base-weight a color color-secondary text-decoration none &:hover text-decoration underline p margin-top -0.3rem .spinner border 2px solid lightgrey border...
Make placeholder go dim when focusing search input.
Make placeholder go dim when focusing search input.
Stylus
epl-1.0
Dexterminator/clj-templates,Dexterminator/clj-templates
stylus
## Code Before: body margin 0 padding 0 font-family font-base, sans-serif font-weight font-base-weight font-size font-size-medium h1 font-weight font-base-weight a color color-secondary text-decoration none &:hover text-decoration underline p margin-top -0.3rem .spinner border 2px solid li...
f2bca1bdc04260c0268c307f14245d3bd00c2311
src/js/app.jsx
src/js/app.jsx
import React from 'react'; import { connect } from 'react-redux'; import { showMonster } from '../redux/actions'; import MonsterList from './monsterlist'; import Monster from './monster' const App = React.createClass({ propTypes: { allMonsters: React.PropTypes.array.isRequired }, render () { let monster ...
import React from 'react'; import { connect } from 'react-redux'; import { showMonster } from '../redux/actions'; import MonsterList from './monsterlist'; import Monster from './monster' const App = React.createClass({ propTypes: { allMonsters: React.PropTypes.array.isRequired, visibleStatBlock: React.PropTy...
Add proptypes and simplify select
Add proptypes and simplify select
JSX
mit
jkrayer/summoner,jkrayer/summoner
jsx
## Code Before: import React from 'react'; import { connect } from 'react-redux'; import { showMonster } from '../redux/actions'; import MonsterList from './monsterlist'; import Monster from './monster' const App = React.createClass({ propTypes: { allMonsters: React.PropTypes.array.isRequired }, render () { ...
b213e29aef21fdf5ce96df1f2b42f1ef2801f428
app/templates/aflafrettir/about.html
app/templates/aflafrettir/about.html
{% extends "aflafrettir/index.html" %} {% block header %} {% endblock %} {% block content_left %} <div class="col-md-2" id="sidebar"> <div class="panel panel-default" id="admin_left"> <div class="panel-heading">Flokkar</div> <div class="panel-body"> <ul class="nav nav-stacked"> <li><a href="{{...
{% extends "aflafrettir/index.html" %} {% block content_main %} <div class="col-md-10" id="content_main"> <div class="panel"> <div class="panel-heading">Um Síðuna </div> <div class="panel-body"> <p> {{ about.body|safe }} </p> </div> <!-- ./panel-body --> </div> <!-- ./panel --> </div> <!-- ./co...
Remove lines to overwrite sidebars and ads from index.html
Remove lines to overwrite sidebars and ads from index.html
HTML
mit
finnurtorfa/aflafrettir.is,finnurtorfa/aflafrettir.is,finnurtorfa/aflafrettir.is,finnurtorfa/aflafrettir.is
html
## Code Before: {% extends "aflafrettir/index.html" %} {% block header %} {% endblock %} {% block content_left %} <div class="col-md-2" id="sidebar"> <div class="panel panel-default" id="admin_left"> <div class="panel-heading">Flokkar</div> <div class="panel-body"> <ul class="nav nav-stacked"> ...
4a9f228473d2924095f003304cb56c3a4e27401f
.travis.yml
.travis.yml
language: node_js node_js: - '0.12.7' before_install: - wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 - tar -xjf phantomjs-2.0.0-ubuntu-12.04.tar.bz2 - sudo rm -rf /usr/local/phantomjs/bin/phantomjs - sudo mv phantomjs /usr/local/phantomjs/bin/phantomjs - export PHANTOM...
language: node_js node_js: - '0.12.7' install: - npm install --production - export PHANTOMJS_BIN=$TRAVIS_BUILD_DIR/node_modules/karma-phantomjs2-launcher/node_modules/phantomjs2-ext/lib/phantom/bin/phantomjs - phantomjs --version cache: directories: - "$TRAVIS_BUILD_DIR/node_modules" notifications: emai...
Test trying to remove phantomjs2 pre install.
Test trying to remove phantomjs2 pre install.
YAML
mit
berrberr/streamkeys,ovcharik/streamkeys,alexesprit/streamkeys,nemchik/streamkeys,berrberr/streamkeys,nemchik/streamkeys,ovcharik/streamkeys,berrberr/streamkeys,nemchik/streamkeys,alexesprit/streamkeys
yaml
## Code Before: language: node_js node_js: - '0.12.7' before_install: - wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 - tar -xjf phantomjs-2.0.0-ubuntu-12.04.tar.bz2 - sudo rm -rf /usr/local/phantomjs/bin/phantomjs - sudo mv phantomjs /usr/local/phantomjs/bin/phantomjs ...
62cf1242f4e4803795a818e7570093b5e15ac769
app/views/pages/home.html.slim
app/views/pages/home.html.slim
.home-page / for SEO h1 style="display:none" brother.ly section.home-page__slideshow - @current_episodes.each do |episode| .slideshow__slide.slideshow__slide--current data-youtube="#{episode.youtube_id}" h2= link_to "Now Playing: #{episode.title}", episode .hero-wrapper iframe...
.home-page / for SEO h1 style="display:none" brother.ly section.home-page__slideshow - @current_episodes.each do |episode| .slideshow__slide.slideshow__slide--current data-youtube="#{episode.youtube_id}" h2= link_to "Now Playing: #{episode.title}", episode .hero-wrapper iframe...
Update homepage to put workshop at the end of episodes
Update homepage to put workshop at the end of episodes
Slim
bsd-2-clause
waxpoetic/brotherly,waxpoetic/brotherly,waxpoetic/brotherly,waxpoetic/brotherly
slim
## Code Before: .home-page / for SEO h1 style="display:none" brother.ly section.home-page__slideshow - @current_episodes.each do |episode| .slideshow__slide.slideshow__slide--current data-youtube="#{episode.youtube_id}" h2= link_to "Now Playing: #{episode.title}", episode .hero-wrapper ...
5ff3d31b09eaaf67dfdf98b37877681eee30e28d
scripts/shared/travis-setup-graalvm.sh
scripts/shared/travis-setup-graalvm.sh
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install -y windows-sdk-7.1 vcbuildtools kb2519277 # temporary workaround for https://github.com/oracle/graal/issues/1876 # (should be fixed in GraalVM 20.0) cp "/C/Program Files/Microsoft SDKs/Windows/v7.1/Lib/x64/advapi32.lib" "/C/Program Files/Microsoft SD...
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install -y windows-sdk-7.1 vcbuildtools kb2519277 fi curl -L https://raw.githubusercontent.com/coursier/ci-scripts/master/setup.sh | bash eval "$(./cs java --env --jvm graalvm-ce-java8:19.3.1)" rm -f cs cs.exe
Simplify GraalVM install on CI
Simplify GraalVM install on CI
Shell
apache-2.0
alexarchambault/coursier,alexarchambault/coursier,alexarchambault/coursier,coursier/coursier,coursier/coursier,coursier/coursier,alexarchambault/coursier,coursier/coursier
shell
## Code Before: if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install -y windows-sdk-7.1 vcbuildtools kb2519277 # temporary workaround for https://github.com/oracle/graal/issues/1876 # (should be fixed in GraalVM 20.0) cp "/C/Program Files/Microsoft SDKs/Windows/v7.1/Lib/x64/advapi32.lib" "/C/Program Fi...
9181bc0d838a68caeaa2c6cfa05a9ebdeb599ce0
myuw/static/vue/components/classlist/photo-list.vue
myuw/static/vue/components/classlist/photo-list.vue
<template> <div id="classlist_photo_view" class="" aria-labelledby="photo-grid" > <h4 class="sr-only"> Grid of Student Photos </h4> <ol class=""> <li v-for="(reg, i) in registrations" :id="`student-photo-${reg.regid}`" :key="i" :class="getClass(reg...
<template> <div id="classlist_photo_view" class="" aria-labelledby="photo-grid" > <h4 class="sr-only"> Grid of Student Photos </h4> <ol class=""> <li v-for="(reg, i) in registrations" :id="`student-photo-${reg.regid}`" :key="i" :style="getClass(reg...
Fix style for show/hide joint course student
Fix style for show/hide joint course student
Vue
apache-2.0
uw-it-aca/myuw,uw-it-aca/myuw,uw-it-aca/myuw,uw-it-aca/myuw
vue
## Code Before: <template> <div id="classlist_photo_view" class="" aria-labelledby="photo-grid" > <h4 class="sr-only"> Grid of Student Photos </h4> <ol class=""> <li v-for="(reg, i) in registrations" :id="`student-photo-${reg.regid}`" :key="i" :cla...
846185b0d7664e7e29b77722c094067ec1c318a0
lib/tasks/install.rake
lib/tasks/install.rake
namespace :orientation do desc "Install a fresh new Orientation" task install: :environment do cp 'config/database.yml.example', 'config/database.yml' cp 'config/mandrill.yml.example', 'config/mandrill.yml' cp '.env.example', '.env' puts "You should now configure .env with your local database settin...
namespace :orientation do desc "Install a fresh new Orientation" task install: :environment do cp '.env.example', '.env' cp 'config/database.yml.example', 'config/database.yml' puts "You should now configure .env with your local database settings..." puts "Once you're done, run `rake db:create db:se...
Fix order dependency issue and unnecessary config in setup task
Fix order dependency issue and unnecessary config in setup task
Ruby
mit
hashrocket/orientation,IZEA/orientation,codeschool/orientation,orientation/orientation,splicers/orientation,LogicalBricks/orientation,orientation/orientation,jefmathiot/orientation,Scripted/orientation,codeschool/orientation,twinn/orientation,LogicalBricks/orientation,Scripted/orientation,ferdinandrosario/orientation,c...
ruby
## Code Before: namespace :orientation do desc "Install a fresh new Orientation" task install: :environment do cp 'config/database.yml.example', 'config/database.yml' cp 'config/mandrill.yml.example', 'config/mandrill.yml' cp '.env.example', '.env' puts "You should now configure .env with your local...
0268931ae96535cc3ec421ca855eaafa31e69b50
requirements/test.txt
requirements/test.txt
mock==2.0.0;python_version<"2.7" # pyup: ==2.0.0 mock==4.0.1;python_version>="2.7" pytest==3.2.5;python_version<"2.7" or python_version=="3.3" # pyup: ==3.2.5 pytest==4.6.3;python_version<"3.5" and python_version>="2.7" # pyup: ==4.6.3 pytest==5.3.5;python_version>="3.5" pytest-travis-fold==1.3.0 pytest-catchlog==1.2...
mock==2.0.0;python_version<"2.7" # pyup: ==2.0.0 mock==3.0.5;python_version<"3.6" and python_version>="2.7" # pyup: ==3.0.5 mock==4.0.1;python_version>="3.6" pytest==3.2.5;python_version<"2.7" or python_version=="3.3" # pyup: ==3.2.5 pytest==4.6.3;python_version<"3.5" and python_version>="2.7" # pyup: ==4.6.3 pytest=...
Fix Py27 pin for mock
Fix Py27 pin for mock
Text
apache-2.0
plus3it/watchmaker,plus3it/watchmaker
text
## Code Before: mock==2.0.0;python_version<"2.7" # pyup: ==2.0.0 mock==4.0.1;python_version>="2.7" pytest==3.2.5;python_version<"2.7" or python_version=="3.3" # pyup: ==3.2.5 pytest==4.6.3;python_version<"3.5" and python_version>="2.7" # pyup: ==4.6.3 pytest==5.3.5;python_version>="3.5" pytest-travis-fold==1.3.0 pyte...
d0df616889258dc8fe5a2327489c11e1785fb7f1
workflows/auen41_ff/py-keras-cooley.sh
workflows/auen41_ff/py-keras-cooley.sh
set -eu # PYTHONPATH PP= PP+=/soft/analytics/conda/env/Candle_ML/lib/python2.7/site-packages: PP+=/soft/analytics/conda/env/Candle_ML/lib/python2.7: PP+=$HOME/pb-data/auen-intel-tflow # PYTHONHOME PH=/soft/analytics/conda/env/Candle_ML export MODE=cluster PROJECT=ExM QUEUE=default THIS=$PWD cd ~/pb-data export TURB...
set -eu if [[ ${#} != 1 ]] then echo "Requires data directory!" exit 1 fi DATA_DIRECTORY=$1 THIS=$( cd $( dirname $0 ) ; /bin/pwd ) # PYTHONPATH PP= PP+=/soft/analytics/conda/env/Candle_ML/lib/python2.7/site-packages: PP+=/soft/analytics/conda/env/Candle_ML/lib/python2.7: PP+=$THIS # PYTHONHOME PH=/soft/analyti...
Clean up main run script
Clean up main run script
Shell
mit
ECP-CANDLE/Supervisor,ECP-CANDLE/Supervisor,ECP-CANDLE/Supervisor,ECP-CANDLE/Supervisor,ECP-CANDLE/Supervisor,ECP-CANDLE/Supervisor
shell
## Code Before: set -eu # PYTHONPATH PP= PP+=/soft/analytics/conda/env/Candle_ML/lib/python2.7/site-packages: PP+=/soft/analytics/conda/env/Candle_ML/lib/python2.7: PP+=$HOME/pb-data/auen-intel-tflow # PYTHONHOME PH=/soft/analytics/conda/env/Candle_ML export MODE=cluster PROJECT=ExM QUEUE=default THIS=$PWD cd ~/pb-...
66754e3c782d47ebce455d3a5599000f701a7290
style/dashboard.css
style/dashboard.css
.modules-task-DashboardPlannedTasksInfos p{ margin-bottom: 5px; } .modules-task-DashboardPlannedTasksInfos table{ width: 100%; } .modules-task-DashboardPlannedTasksInfos th{ font-weight: bold; } .modules-task-DashboardPlannedTasksInfos td{ padding: 2px 5px; } .modules-task-DashboardPlannedTasksInfos tbody tr:nth-ch...
.modules-task-DashboardPlannedTasksInfos p{ margin-bottom: 5px; } .modules-task-DashboardPlannedTasksInfos table{ width: 100%; } .modules-task-DashboardPlannedTasksInfos th{ font-weight: bold; } .modules-task-DashboardPlannedTasksInfos td{ padding: 2px 5px; } .modules-task-DashboardPlannedTasksInfos tbody tr:nth-ch...
Update style to be conform with the new Dashbord style
[UPDATE] Update style to be conform with the new Dashbord style
CSS
agpl-3.0
RBSChange/modules.task
css
## Code Before: .modules-task-DashboardPlannedTasksInfos p{ margin-bottom: 5px; } .modules-task-DashboardPlannedTasksInfos table{ width: 100%; } .modules-task-DashboardPlannedTasksInfos th{ font-weight: bold; } .modules-task-DashboardPlannedTasksInfos td{ padding: 2px 5px; } .modules-task-DashboardPlannedTasksInfos...
c512b522c0ed8c43cd304002d25f9cc0998ad048
parity-match/src/main/java/org/jvirtanen/parity/match/MarketListener.java
parity-match/src/main/java/org/jvirtanen/parity/match/MarketListener.java
package org.jvirtanen.parity.match; /** * <code>MarketListener</code> is the interface for outbound events from the * matching engine. */ public interface MarketListener { /** * Match an incoming order to a resting order in the order book. The match * occurs at the price of the order in the order boo...
package org.jvirtanen.parity.match; /** * The interface for outbound events from the matching engine. */ public interface MarketListener { /** * Match an incoming order to a resting order in the order book. The match * occurs at the price of the order in the order book. * * @param restingOrd...
Tweak documentation for market listener in matching engine
Tweak documentation for market listener in matching engine
Java
apache-2.0
paritytrading/parity,pmcs/parity,paritytrading/parity,pmcs/parity
java
## Code Before: package org.jvirtanen.parity.match; /** * <code>MarketListener</code> is the interface for outbound events from the * matching engine. */ public interface MarketListener { /** * Match an incoming order to a resting order in the order book. The match * occurs at the price of the order ...
13d6ff243436f8496e1e8a4aa8972590d331a21b
js/home.js
js/home.js
(function() { // // Avoid sudden background resize on mobile browsers when the address bar is hidden. // var homeTop = document.querySelector('.home__top'); var windowWidth; function onWindowResize() { if (window.innerWidth !== windowWidth) { windowWidth = window.innerWidth...
(function() { // // Avoid sudden background resize on mobile browsers when the address bar is hidden. // var homeTop = document.querySelector('.home__top'); var windowWidth; function onWindowResize() { if (window.innerWidth !== windowWidth) { windowWidth = window.innerWidth...
Update bg image extraction to support Safari
Update bg image extraction to support Safari
JavaScript
cc0-1.0
peferron/lilymandarin,peferron/lilymandarin,peferron/lilymandarin,peferron/lilymandarin
javascript
## Code Before: (function() { // // Avoid sudden background resize on mobile browsers when the address bar is hidden. // var homeTop = document.querySelector('.home__top'); var windowWidth; function onWindowResize() { if (window.innerWidth !== windowWidth) { windowWidth = w...
d99d9f2f3ffae66f587a7c73d453d39255e3b7ab
res/layout/settings.xml
res/layout/settings.xml
<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:key="first_preferencescreen"> <EditTextPreference android:key="openid" android:title="OpenID URL" /> <PreferenceScreen android:key="second_preferenc...
<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:key="first_preferencescreen"> <EditTextPreference android:key="openid" android:title="OpenID URL" /> <ListPreference android:key="record frequency" ...
Use a pulldown list instead of a text field
Use a pulldown list instead of a text field
XML
apache-2.0
icecondor/android,icecondor/android
xml
## Code Before: <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:key="first_preferencescreen"> <EditTextPreference android:key="openid" android:title="OpenID URL" /> <PreferenceScreen android:key="...
459f0ed0295ca77b1addadd2adaf0585454c895f
modules/nagios/templates/commands.cfg.erb
modules/nagios/templates/commands.cfg.erb
define command { command_line /usr/lib/nagios/plugins/check_by_ssh -p 22 -l <%= scope.lookupvar('nagios::base::user') %> -i <%= scope.lookupvar('private_key') %> -t 30 -o StrictHostKeyChecking=no -H $HOSTADDRESS$ -C '<$= scope.lookupvar("nagios::base::home") %>/nagios.sh' command_name ...
define command { command_line /usr/lib/nagios/plugins/check_by_ssh -p 22 -l <%= scope.lookupvar('nagios::base::user') %> -i <%= scope.lookupvar('private_key') %> -t 30 -o StrictHostKeyChecking=no -H $HOSTADDRESS$ -C '<%= scope.lookupvar("nagios::base::home") %>/nagios.sh' command_name ...
Fix typo + add more commands.
Fix typo + add more commands.
HTML+ERB
bsd-3-clause
holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet
html+erb
## Code Before: define command { command_line /usr/lib/nagios/plugins/check_by_ssh -p 22 -l <%= scope.lookupvar('nagios::base::user') %> -i <%= scope.lookupvar('private_key') %> -t 30 -o StrictHostKeyChecking=no -H $HOSTADDRESS$ -C '<$= scope.lookupvar("nagios::base::home") %>/nagios.sh' command_n...
3e06a87c4e463b3a33002fd700ad5e727b54fd63
scripts/install-npm.sh
scripts/install-npm.sh
install() { if [ -n "$WORKING_DIR" ]; then if [ ! -d $WORKING_DIR ]; then echo -e "\033[0;31merror\033[0m: install-npm failed, $WORKING_DIR does not exist" exit 1 fi cd $WORKING_DIR else WORKING_DIR=$(basename $(pwd)) fi echo -e "\033[0;32m${WORKING_DIR}\033[0m: verifying npm depe...
install() { if [ -n "$WORKING_DIR" ]; then if [ ! -d $WORKING_DIR ]; then echo -e "\033[0;31merror\033[0m: install-npm failed, $WORKING_DIR does not exist" exit 1 fi cd $WORKING_DIR else WORKING_DIR=$(basename $(pwd)) fi npm install $NPM_ARGS } NPM_ARGS= while getopts ":d:usp" O...
Remove redundant npm dependency check
Remove redundant npm dependency check
Shell
agpl-3.0
rjeczalik/koding,acbodine/koding,rjeczalik/koding,kwagdy/koding-1,andrewjcasal/koding,mertaytore/koding,sinan/koding,gokmen/koding,sinan/koding,alex-ionochkin/koding,cihangir/koding,drewsetski/koding,rjeczalik/koding,cihangir/koding,rjeczalik/koding,drewsetski/koding,usirin/koding,acbodine/koding,rjeczalik/koding,kodin...
shell
## Code Before: install() { if [ -n "$WORKING_DIR" ]; then if [ ! -d $WORKING_DIR ]; then echo -e "\033[0;31merror\033[0m: install-npm failed, $WORKING_DIR does not exist" exit 1 fi cd $WORKING_DIR else WORKING_DIR=$(basename $(pwd)) fi echo -e "\033[0;32m${WORKING_DIR}\033[0m: ve...
e3b45696e080e7f51f1fcf0e0881200e83a256fd
settings/settings.go
settings/settings.go
package settings import ( "io/ioutil" "upper.io/db" "upper.io/db/mysql" ) // CHANGE IN PRODUCTION // KEEP SECRET!!! var SecretKey = "dongLyfe420" var Themes = [...]string{"material", "space"} var dbsettings = mysql.ConnectionURL{ Address: db.Socket("/var/run/mysqld/mysqld.sock"), Database: "lambda_go", User:...
package settings import ( "io/ioutil" "upper.io/db" "upper.io/db/mysql" ) // CHANGE IN PRODUCTION // KEEP SECRET!!! var SecretKey = "dongLyfe420" var Themes = [...]string{"material", "space"} var dbsettings = mysql.ConnectionURL{ Address: db.Socket("/var/run/mysqld/mysqld.sock"), Database: "lambda_go", User:...
Load secret key from file
Load secret key from file
Go
bsd-2-clause
marcusant/Lambda-Go,marcusant/Lambda-Go,mstojcevich/Lambda-Go,mstojcevich/Lambda-Go,marcusant/Lambda-Go,mstojcevich/Lambda-Go
go
## Code Before: package settings import ( "io/ioutil" "upper.io/db" "upper.io/db/mysql" ) // CHANGE IN PRODUCTION // KEEP SECRET!!! var SecretKey = "dongLyfe420" var Themes = [...]string{"material", "space"} var dbsettings = mysql.ConnectionURL{ Address: db.Socket("/var/run/mysqld/mysqld.sock"), Database: "la...
fde2e4938764dc777d702ac9d359b39adc9cf8e7
src/components/Button/Button.css
src/components/Button/Button.css
@import "../_variables.css"; .button { font-family: inherit; font-size: inherit; font-weight: 500; background: none; border: none; padding: calc(var(--base-spacing) / 2) var(--base-spacing); cursor: pointer; color: var(--color-grey-dark); text-decoration: none; border-radius: calc(var(--base-roundi...
@import "../_variables.css"; .button { font-family: inherit; font-size: inherit; font-weight: 500; background: none; border: none; padding: calc(var(--base-spacing) / 2) var(--base-spacing); cursor: pointer; color: var(--color-grey-dark); text-decoration: none; border-radius: calc(var(--base-roundi...
Improve support to hover state on buttons
Improve support to hover state on buttons Now components with tertiary and normal types also have hover states highlighted.
CSS
apache-2.0
nwsapps/flashcards,nwsapps/flashcards
css
## Code Before: @import "../_variables.css"; .button { font-family: inherit; font-size: inherit; font-weight: 500; background: none; border: none; padding: calc(var(--base-spacing) / 2) var(--base-spacing); cursor: pointer; color: var(--color-grey-dark); text-decoration: none; border-radius: calc(v...
7731f94424cf3944af120f9124f7d160b523c30f
src/assets/scss/modules/_box.scss
src/assets/scss/modules/_box.scss
// Papi meta box style .papi-box h3 { font-size: 14px; line-height: 1.4; margin: 0; padding: 8px 12px; } #poststuff .papi-box { .inside { margin-right: -13px !important; padding-right: 0; > .papi-table { margin: -7px -12px -12px; } } } #side-sortables { .papi-box > .papi-table {...
// Papi meta box style .papi-box h3 { font-size: 14px; line-height: 1.4; margin: 0; padding: 8px 12px; } #poststuff .papi-box { .inside { border-top: 1px transparent solid; margin-right: -13px !important; margin-top: 5px; padding-right: 0; > .papi-table { margin: -7px -12px -12px;...
Fix border issue with inside meta box css class on 4.4
Fix border issue with inside meta box css class on 4.4
SCSS
mit
wp-papi/papi,nlemoine/papi,nlemoine/papi,ekandreas/papi,nlemoine/papi,ekandreas/papi,isotopsweden/wp-papi,isotopsweden/wp-papi,ekandreas/papi,wp-papi/papi,isotopsweden/wp-papi,wp-papi/papi
scss
## Code Before: // Papi meta box style .papi-box h3 { font-size: 14px; line-height: 1.4; margin: 0; padding: 8px 12px; } #poststuff .papi-box { .inside { margin-right: -13px !important; padding-right: 0; > .papi-table { margin: -7px -12px -12px; } } } #side-sortables { .papi-box...
249bbfdad2383f24ac489236a7071e1f44bc78de
app/controllers/tent/sites_controller.rb
app/controllers/tent/sites_controller.rb
require_dependency "tent/application_controller" module Tent class SitesController < ApplicationController def index end def new end def create end end end
require_dependency "tent/application_controller" module Tent class SitesController < ApplicationController def index @sites = Site.all @site = Site.new @host_url = main_app.root_url end def new end def create end end end
Add index create new method in sites controller
Add index create new method in sites controller
Ruby
mit
hokuken/tent,hokuken/tent
ruby
## Code Before: require_dependency "tent/application_controller" module Tent class SitesController < ApplicationController def index end def new end def create end end end ## Instruction: Add index create new method in sites controller ## Code After: require_dependency "tent/application...
4b4bf392048530b0274b587935a29dd226460849
packages/PathLoader.ps1
packages/PathLoader.ps1
<############################################################################# # PathLoader.ps1 # Note: Clang Auto Build Environment # Date:2016.01.02 # Author:Force <forcemz@outlook.com> ##############################################################################> $CMakePath="$PSScriptRoot\CMake\bin" $Subversion...
<############################################################################# # PathLoader.ps1 # Note: Clang Auto Build Environment # Date:2016.01.02 # Author:Force <forcemz@outlook.com> ##############################################################################> $CMakePath="$PSScriptRoot\CMake\bin" $Subversion...
Add Auto Resolve Git for Windows Install, add git to PATH
Add Auto Resolve Git for Windows Install, add git to PATH
PowerShell
mit
fstudio/clangbuilder,fstudio/clangbuilder,fstudio/clangbuilder,fstudio/clangbuilder,fstudio/clangbuilder
powershell
## Code Before: <############################################################################# # PathLoader.ps1 # Note: Clang Auto Build Environment # Date:2016.01.02 # Author:Force <forcemz@outlook.com> ##############################################################################> $CMakePath="$PSScriptRoot\CMake\...
a991d431bd6a6ee1bf6a64f9a24f4694db453cdb
app/helpers/maps_helper.rb
app/helpers/maps_helper.rb
module MapsHelper def map_vizzjson(map, options = {}) options.reverse_merge! full: true CartoDB::Logger.info(map.inspect) { version: "0.1.0", updated_at: Time.now, layers: [ layer_vizzjson(map.base_layers.first, options), layer_vizzjson(map.data_layers.first, options) ...
module MapsHelper def map_vizzjson(map, options = {}) options.reverse_merge! full: true bounds = JSON.parse("[#{map.view_bounds_sw}, #{map.view_bounds_ne}]") rescue [] CartoDB::Logger.info(map.inspect) { version: "0.1.0", updated_at: Time.now, layers: [ layer_vizzjson(map...
Fix vizzjson error when map bounds not present
Fix vizzjson error when map bounds not present
Ruby
bsd-3-clause
future-analytics/cartodb,DigitalCoder/cartodb,thorncp/cartodb,codeandtheory/cartodb,nyimbi/cartodb,splashblot/dronedb,future-analytics/cartodb,codeandtheory/cartodb,UCL-ShippingGroup/cartodb-1,thorncp/cartodb,raquel-ucl/cartodb,DigitalCoder/cartodb,DigitalCoder/cartodb,CartoDB/cartodb,CartoDB/cartodb,dbirchak/cartodb,n...
ruby
## Code Before: module MapsHelper def map_vizzjson(map, options = {}) options.reverse_merge! full: true CartoDB::Logger.info(map.inspect) { version: "0.1.0", updated_at: Time.now, layers: [ layer_vizzjson(map.base_layers.first, options), layer_vizzjson(map.data_layers....
2850fd7a0fa53d640d341d777a19e2caac90710e
README.md
README.md
**A simple, beautiful podcast web app.** ![Screenshot](https://i.imgur.com/OwnyW7m.png) ## Dependencies Please install the following: + `foreman` + `node` + `npm` + `bower` Run `npm install` and `bower install` to install Node and Bower modules, respectively. ## Run `cd` to the `cumulonimbus` directory. Run `f...
**A simple, beautiful podcast app for the web.** ![Screenshot](https://i.imgur.com/OwnyW7m.png) ## Dependencies Please install the following: + `foreman` + `node` + `npm` + `bower` Run `npm install` and `bower install` to install Node and Bower modules, respectively. ## Run `cd` to the `cumulonimbus` directory....
Update tagline to sound marginally more pretentious
Update tagline to sound marginally more pretentious
Markdown
apache-2.0
z-------------/cumulonimbus,z-------------/cumulonimbus,z-------------/cumulonimbus
markdown
## Code Before: **A simple, beautiful podcast web app.** ![Screenshot](https://i.imgur.com/OwnyW7m.png) ## Dependencies Please install the following: + `foreman` + `node` + `npm` + `bower` Run `npm install` and `bower install` to install Node and Bower modules, respectively. ## Run `cd` to the `cumulonimbus` di...
e50fd001e251ef1a16bba0bff71d366145f542cf
README.md
README.md
F&amp;Q of HRM using .net bot frame work.
HRM Bot is a chatbot by which you can ask F&amp;Q of HR related issues. You can use your facbook and skype messenger to chat with the bot. There is an artificial intelligence on the backgroud of this bot to response user's question. ![giphy 1](https://user-images.githubusercontent.com/6042355/37206597-75597d42-23c3-1...
Update readme.md : Added info
Update readme.md : Added info Added general info
Markdown
mit
mahedee/gen-bot-hrm,mahedee/gen-bot-hrm,mahedee/gen-bot-hrm
markdown
## Code Before: F&amp;Q of HRM using .net bot frame work. ## Instruction: Update readme.md : Added info Added general info ## Code After: HRM Bot is a chatbot by which you can ask F&amp;Q of HR related issues. You can use your facbook and skype messenger to chat with the bot. There is an artificial intelligence on t...
4778f16268ed11d3152e25795b8798f1dcef263a
.travis.yml
.travis.yml
language: python python: - "2.7" env: - DJANGO_VERSION=1.4 - DJANGO_VERSION=1.5 - DJANGO_VERSION=1.6 - DJANGO_VERSION=1.7 - DJANGO_VERSION=1.8 - DJANGO_VERSION=1.9 install: - pip install -q Django==$DJANGO_VERSION --use-mirrors - pip install -q -r requirements.txt --use-mirrors script: python manage.p...
language: python python: - "2.7" env: - DJANGO_VERSION=1.4 - DJANGO_VERSION=1.5 - DJANGO_VERSION=1.6 - DJANGO_VERSION=1.7 - DJANGO_VERSION=1.8 - DJANGO_VERSION=1.9 install: - pip install -q Django==$DJANGO_VERSION - pip install -q -r requirements.txt script: python manage.py test
Remove --use-mirrors from pip install
Remove --use-mirrors from pip install
YAML
mit
defrex/django-encrypted-fields
yaml
## Code Before: language: python python: - "2.7" env: - DJANGO_VERSION=1.4 - DJANGO_VERSION=1.5 - DJANGO_VERSION=1.6 - DJANGO_VERSION=1.7 - DJANGO_VERSION=1.8 - DJANGO_VERSION=1.9 install: - pip install -q Django==$DJANGO_VERSION --use-mirrors - pip install -q -r requirements.txt --use-mirrors script:...
801ec2795baad4d74871dbf3c11a0b92809f0500
example/doer.go
example/doer.go
package example // Doer does things, sometimes repeatedly type Doer interface { DoIt(task string, graciously bool) (int, error) } type Delegater struct { Delegate Doer } func (d *Delegater) DoSomething(task string) (int, error) { return d.Delegate.DoIt(task, false) }
package example // Doer does things, sometimes graciously type Doer interface { DoIt(task string, graciously bool) (int, error) } // Delegater employs a Doer to complete tasks type Delegater struct { Delegate Doer } // DoSomething passes the work to Doer func (d *Delegater) DoSomething(task string) (int, error) { ...
Add documentation to Doer and Delegator
Add documentation to Doer and Delegator
Go
unlicense
enocom/fm,enocom/fm
go
## Code Before: package example // Doer does things, sometimes repeatedly type Doer interface { DoIt(task string, graciously bool) (int, error) } type Delegater struct { Delegate Doer } func (d *Delegater) DoSomething(task string) (int, error) { return d.Delegate.DoIt(task, false) } ## Instruction: Add documenta...
af92827786b62a3093b545ca54578197836cc5f9
metadata/de.naturalnet.mirwtfapp.txt
metadata/de.naturalnet.mirwtfapp.txt
Categories:Science & Education License:MirOS Web Site:https://www.mirbsd.org/wtf.htm Source Code:https://github.com/Natureshadow/MirWTFApp Issue Tracker:https://github.com/Natureshadow/MirWTFApp/issues Summary:Offline acronym translator Description: The WTF app is an offline version of the wtf acronyms database fronte...
Categories:Science & Education License:MirOS Web Site:https://www.mirbsd.org/wtf.htm Source Code:https://github.com/Natureshadow/MirWTFApp Issue Tracker:https://github.com/Natureshadow/MirWTFApp/issues Auto Name:WTF‽ (The MirOS Project) Summary:Offline acronym translator Description: The WTF app is an offline version ...
Set autoname of WTF‽ (The MirOS Project)
Set autoname of WTF‽ (The MirOS Project)
Text
agpl-3.0
f-droid/fdroid-data,f-droid/fdroiddata,f-droid/fdroiddata
text
## Code Before: Categories:Science & Education License:MirOS Web Site:https://www.mirbsd.org/wtf.htm Source Code:https://github.com/Natureshadow/MirWTFApp Issue Tracker:https://github.com/Natureshadow/MirWTFApp/issues Summary:Offline acronym translator Description: The WTF app is an offline version of the wtf acronyms...
d71846c8925fc04b8d68259aee0463ad20cb9001
packages/sy/system-linux-proc.yaml
packages/sy/system-linux-proc.yaml
homepage: https://github.com/erikd/system-linux-proc changelog-type: markdown hash: a5d2e85d53d702c0b0a64c1a09a787b397ac729ee88ee65999954886fc5ff4cb test-bench-deps: base: ! '>=4.8 && <5.0' hedgehog: -any maintainer: erikd@mega-nerd.com synopsis: A library for accessing the /proc filesystem in Linux changelog: ! '#...
homepage: https://github.com/erikd/system-linux-proc changelog-type: markdown hash: 96db390f7035a3527bc8596a2ebc50894199640c61dd1a667501c2436aa576f2 test-bench-deps: base: ! '>=4.8 && <5.0' hedgehog: -any maintainer: erikd@mega-nerd.com synopsis: A library for accessing the /proc filesystem in Linux changelog: ! '#...
Update from Hackage at 2017-07-10T00:15:20Z
Update from Hackage at 2017-07-10T00:15:20Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/erikd/system-linux-proc changelog-type: markdown hash: a5d2e85d53d702c0b0a64c1a09a787b397ac729ee88ee65999954886fc5ff4cb test-bench-deps: base: ! '>=4.8 && <5.0' hedgehog: -any maintainer: erikd@mega-nerd.com synopsis: A library for accessing the /proc filesystem in Linux...
739d5e6e6fa6b44386eba0d7a9b281c7310278ef
src/main/resources/Documentation/cmd-print.md
src/main/resources/Documentation/cmd-print.md
cookbook-plugin print ===================== NAME ---- cookbook-plugin print - Print our "Hello world" message SYNOPSIS -------- > ssh -p <port> <host> cookbook-plugin print > [--french] > [name] DESCRIPTION ----------- Prints "Hello world!" or optionally "Bonjour world!". OPTIONS ------- --french > T...
cookbook-plugin print ===================== NAME ---- cookbook-plugin print - Print our "Hello world" message SYNOPSIS -------- > ssh -p <port> <host> cookbook-plugin print > [--french] > [name] DESCRIPTION ----------- Prints "Hello world!" or optionally "Bonjour world!". OPTIONS ------- --french > T...
Fix links to Gerrit documentation
Fix links to Gerrit documentation The links to the Gerrit plugin documentation and index are relative, and end up pointing to locations within the plugin's documentation, which results in 404 errors when clicking on them. Prefix the links with "../../../Documentation/" to make sure they point at the correct places. ...
Markdown
apache-2.0
GerritCodeReview/plugins_cookbook-plugin,akilman/appd-hackathon-2016,akilman/appd-hackathon-2016,GerritCodeReview/plugins_cookbook-plugin,GerritCodeReview/plugins_cookbook-plugin,pgroudas/gerrit-keep-approvals,pgroudas/gerrit-keep-approvals,akilman/appd-hackathon-2016
markdown
## Code Before: cookbook-plugin print ===================== NAME ---- cookbook-plugin print - Print our "Hello world" message SYNOPSIS -------- > ssh -p <port> <host> cookbook-plugin print > [--french] > [name] DESCRIPTION ----------- Prints "Hello world!" or optionally "Bonjour world!". OPTIONS -----...
ab0c764f5336afed2636a366fcbbcada9e2f8934
README.md
README.md
[dotCloud](https://www.dotcloud.com) is a PaaS provider. This repository provides support for running SWI-Prolog on their platform. ## Usage TODO
[dotCloud](https://www.dotcloud.com) is a PaaS provider. This repository provides support for running SWI-Prolog on their platform. ## Usage Instructions for using SWI-Prolog on dotCloud: * Create a dotCloud application (if you haven't already) * In the application's root directory: * `git submodule add http...
Write instructions for using this repository
Write instructions for using this repository
Markdown
unlicense
mndrix/swi-prolog-on-dotcloud
markdown
## Code Before: [dotCloud](https://www.dotcloud.com) is a PaaS provider. This repository provides support for running SWI-Prolog on their platform. ## Usage TODO ## Instruction: Write instructions for using this repository ## Code After: [dotCloud](https://www.dotcloud.com) is a PaaS provider. This repository p...
1a7644afdb5fc8d6e23f6322c7712fc5e3630851
src/components/RecentFragments.vue
src/components/RecentFragments.vue
<template> <section> <h2>Fragments</h2> <div class="inp-text inp-search"> <input type="text" v-model="search" placeholder="Search..."> </div> <div v-for="(uri, fragment) in list | filterBy search" transition="staggered"> <a href="#!{{uri}}" class="a-fragment"> {{ fragment['schema:n...
<template> <section> <h2>Fragments</h2> <div class="inp-text inp-search"> <input type="text" v-model="search" placeholder="Search..."> </div> <div v-for="(uri, fragment) in list | filterBy search" transition="staggered"> <a href="#!{{uri}}" class="a-fragment"> {{ fragment['schema:n...
Add dcterms:title fallback in recent fragments
Add dcterms:title fallback in recent fragments
Vue
mit
thgh/ld3,thgh/ld3
vue
## Code Before: <template> <section> <h2>Fragments</h2> <div class="inp-text inp-search"> <input type="text" v-model="search" placeholder="Search..."> </div> <div v-for="(uri, fragment) in list | filterBy search" transition="staggered"> <a href="#!{{uri}}" class="a-fragment"> {{ fr...