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
e40a8ce30f574a8e2745fdf2c1a74e4f1c00bc0d
cached_counts/tests.py
cached_counts/tests.py
import unittest from django.test import TestCase from candidates.tests.test_create_person import mock_create_person from .models import CachedCount class CachedCountTechCase(TestCase): def setUp(self): initial_counts = ( { 'count_type': 'constituency', 'name': 'Dulwich and West Norwood', 'count': 10, 'object_id': '65808' }, { 'count_type': 'party', 'name': 'Labour', 'count': 0, 'object_id': 'party:53' }, ) for count in initial_counts: CachedCount(**count).save() def test_object_urls(self): for count in CachedCount.objects.filter(count_type='constituency'): self.assertTrue(count.object_url) def test_increment_count(self): self.assertEqual(CachedCount.objects.get(object_id='party:53').count, 0) self.assertEqual(CachedCount.objects.get(object_id='65808').count, 10) mock_create_person() self.assertEqual(CachedCount.objects.get(object_id='65808').count, 11) self.assertEqual(CachedCount.objects.get(object_id='party:53').count, 1)
import unittest from django.test import TestCase from candidates.tests.test_create_person import mock_create_person from .models import CachedCount def create_initial_counts(extra=()): initial_counts = ( { 'count_type': 'constituency', 'name': 'Dulwich and West Norwood', 'count': 10, 'object_id': '65808' }, { 'count_type': 'party', 'name': 'Labour', 'count': 0, 'object_id': 'party:53' }, ) initial_counts = initial_counts + extra for count in initial_counts: CachedCount(**count).save() class CachedCountTechCase(TestCase): def setUp(self): create_initial_counts() def test_object_urls(self): for count in CachedCount.objects.filter(count_type='constituency'): self.assertTrue(count.object_url) def test_increment_count(self): self.assertEqual(CachedCount.objects.get(object_id='party:53').count, 0) self.assertEqual(CachedCount.objects.get(object_id='65808').count, 10) mock_create_person() self.assertEqual(CachedCount.objects.get(object_id='65808').count, 11) self.assertEqual(CachedCount.objects.get(object_id='party:53').count, 1)
Create initial counts outside the test class
Create initial counts outside the test class
Python
agpl-3.0
mysociety/yournextmp-popit,DemocracyClub/yournextrepresentative,openstate/yournextrepresentative,openstate/yournextrepresentative,YoQuieroSaber/yournextrepresentative,neavouli/yournextrepresentative,DemocracyClub/yournextrepresentative,openstate/yournextrepresentative,mysociety/yournextmp-popit,neavouli/yournextrepresentative,neavouli/yournextrepresentative,mysociety/yournextrepresentative,neavouli/yournextrepresentative,YoQuieroSaber/yournextrepresentative,YoQuieroSaber/yournextrepresentative,mysociety/yournextmp-popit,datamade/yournextmp-popit,DemocracyClub/yournextrepresentative,openstate/yournextrepresentative,YoQuieroSaber/yournextrepresentative,openstate/yournextrepresentative,mysociety/yournextrepresentative,mysociety/yournextmp-popit,datamade/yournextmp-popit,YoQuieroSaber/yournextrepresentative,datamade/yournextmp-popit,datamade/yournextmp-popit,mysociety/yournextmp-popit,neavouli/yournextrepresentative,mysociety/yournextrepresentative,mysociety/yournextrepresentative,datamade/yournextmp-popit,mysociety/yournextrepresentative
python
## Code Before: import unittest from django.test import TestCase from candidates.tests.test_create_person import mock_create_person from .models import CachedCount class CachedCountTechCase(TestCase): def setUp(self): initial_counts = ( { 'count_type': 'constituency', 'name': 'Dulwich and West Norwood', 'count': 10, 'object_id': '65808' }, { 'count_type': 'party', 'name': 'Labour', 'count': 0, 'object_id': 'party:53' }, ) for count in initial_counts: CachedCount(**count).save() def test_object_urls(self): for count in CachedCount.objects.filter(count_type='constituency'): self.assertTrue(count.object_url) def test_increment_count(self): self.assertEqual(CachedCount.objects.get(object_id='party:53').count, 0) self.assertEqual(CachedCount.objects.get(object_id='65808').count, 10) mock_create_person() self.assertEqual(CachedCount.objects.get(object_id='65808').count, 11) self.assertEqual(CachedCount.objects.get(object_id='party:53').count, 1) ## Instruction: Create initial counts outside the test class ## Code After: import unittest from django.test import TestCase from candidates.tests.test_create_person import mock_create_person from .models import CachedCount def create_initial_counts(extra=()): initial_counts = ( { 'count_type': 'constituency', 'name': 'Dulwich and West Norwood', 'count': 10, 'object_id': '65808' }, { 'count_type': 'party', 'name': 'Labour', 'count': 0, 'object_id': 'party:53' }, ) initial_counts = initial_counts + extra for count in initial_counts: CachedCount(**count).save() class CachedCountTechCase(TestCase): def setUp(self): create_initial_counts() def test_object_urls(self): for count in CachedCount.objects.filter(count_type='constituency'): self.assertTrue(count.object_url) def test_increment_count(self): self.assertEqual(CachedCount.objects.get(object_id='party:53').count, 0) self.assertEqual(CachedCount.objects.get(object_id='65808').count, 10) mock_create_person() self.assertEqual(CachedCount.objects.get(object_id='65808').count, 11) self.assertEqual(CachedCount.objects.get(object_id='party:53').count, 1)
f5c787664a1125e8d91a7245d81e252a7c7b6c1c
README.md
README.md
A simple project to grab images from google images search ## What does it do? Get images from _google images search_. ## Why? To use context related images during development. ## Some similar services * [Lorem Pixel](http://lorempixel.com/) * [Place Hold It](http://placehold.it/) * [Place Hold](http://placehold.jp/en.html) * [Place Kitten](http://placekitten.com/)
A simple project to grab images from google images search ## What does it do? Get images from _google images search_. ## Why? To use context related images. ## How to use? ### Implement a PageFetcher This page fetcher is a simple interface to **fetch pages**. The idea is to not embed this lib a HTTP client, so you can use any http client to do the job. The interface just have a single method `fetchPage`, receiving a url and return the page as a String. **Sample implementation using OkHttp** ```java public static class OkHttpPageFetcher implements PageFetcher { @Override public String fetchPage(String url) { OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url(url) .get() // Try to keep this reader, may google change the result depending on User-Agent .addHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36") .build(); try { Response response = client.newCall(request).execute(); return response.body().string(); } catch (IOException e) { return ""; } } } ``` ### Using the ImagesApi The main class is the `ImagesApi`, with it you will be able to use this lib. It have just one method `queryBuilder`, with it you create your query to *google image search engine*. **Sample usage** ```java // Build your query QueryList<String> result = ImagesApi.queryBuilder(new OkHttpPageFetcher()) .size(800, 600) // wanted image size .query("emo girl") // text to search .listImagesUrls(); // execute the search, returns list of URLs ``` The code above returns a custom list implementation, it just adds two new methods to provide a fluent interface. With it you can access the first item or a random item on the list. ```java result.first() // will return the first url result.random() // will return a random url ``` ## Some similar services This app was inspired by these services, but they search on their database. Sometimes they doesn't have images for wanted context. * [Lorem Pixel](http://lorempixel.com/) * [Place Hold It](http://placehold.it/) * [Place Hold Jp](http://placehold.jp/en.html) * [Place Kitten](http://placekitten.com/) ## Especial Thanks * Google Images
Update readme to provide usefull information
Update readme to provide usefull information
Markdown
mit
brunodles/googleimagesapi,brunodles/googleimagesapi
markdown
## Code Before: A simple project to grab images from google images search ## What does it do? Get images from _google images search_. ## Why? To use context related images during development. ## Some similar services * [Lorem Pixel](http://lorempixel.com/) * [Place Hold It](http://placehold.it/) * [Place Hold](http://placehold.jp/en.html) * [Place Kitten](http://placekitten.com/) ## Instruction: Update readme to provide usefull information ## Code After: A simple project to grab images from google images search ## What does it do? Get images from _google images search_. ## Why? To use context related images. ## How to use? ### Implement a PageFetcher This page fetcher is a simple interface to **fetch pages**. The idea is to not embed this lib a HTTP client, so you can use any http client to do the job. The interface just have a single method `fetchPage`, receiving a url and return the page as a String. **Sample implementation using OkHttp** ```java public static class OkHttpPageFetcher implements PageFetcher { @Override public String fetchPage(String url) { OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url(url) .get() // Try to keep this reader, may google change the result depending on User-Agent .addHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36") .build(); try { Response response = client.newCall(request).execute(); return response.body().string(); } catch (IOException e) { return ""; } } } ``` ### Using the ImagesApi The main class is the `ImagesApi`, with it you will be able to use this lib. It have just one method `queryBuilder`, with it you create your query to *google image search engine*. **Sample usage** ```java // Build your query QueryList<String> result = ImagesApi.queryBuilder(new OkHttpPageFetcher()) .size(800, 600) // wanted image size .query("emo girl") // text to search .listImagesUrls(); // execute the search, returns list of URLs ``` The code above returns a custom list implementation, it just adds two new methods to provide a fluent interface. With it you can access the first item or a random item on the list. ```java result.first() // will return the first url result.random() // will return a random url ``` ## Some similar services This app was inspired by these services, but they search on their database. Sometimes they doesn't have images for wanted context. * [Lorem Pixel](http://lorempixel.com/) * [Place Hold It](http://placehold.it/) * [Place Hold Jp](http://placehold.jp/en.html) * [Place Kitten](http://placekitten.com/) ## Especial Thanks * Google Images
a67ccbd9031dde4168428521b1cdaa752300739a
app/models/EloquentBuilder.php
app/models/EloquentBuilder.php
<?php class EloquentBuilder extends \Illuminate\Database\Eloquent\Builder { /** * Eager load pivot relations. * * @param array $models * @return void */ protected function loadPivotRelations($models) { $query = head($models)->pivot->newQuery()->with('unit'); $pivots = array_pluck($models, 'pivot'); $pivots = head($pivots)->newCollection($pivots); $pivots->load($this->getPivotRelations()); } /** * Get the pivot relations to be eager loaded. * * @return array */ protected function getPivotRelations() { $relations = array_filter(array_keys($this->eagerLoad), function ($relation) { return $relation != 'pivot'; }); return array_map(function ($relation) { return substr($relation, strlen('pivot.')); }, $relations); } /** * Override. Eager load relations of pivot models. * Eagerly load the relationship on a set of models. * * @param array $models * @param string $name * @param \Closure $constraints * @return array */ protected function loadRelation(array $models, $name, Closure $constraints) { // In this part, if the relation name is 'pivot', // therefore there are relations in a pivot to be eager loaded. if ($name === 'pivot') { $this->loadPivotRelations($models); return $models; } return parent::loadRelation($models, $name, $constraints); } }
<?php class EloquentBuilder extends \Illuminate\Database\Eloquent\Builder { /** * Eager load pivot relations. * * @param array $models * @return void */ protected function loadPivotRelations($models) { $query = head($models)->pivot->newQuery()->with('unit'); $pivots = array_pluck($models, 'pivot'); $pivots = head($pivots)->newCollection($pivots); $pivots->load($this->getPivotRelations()); } /** * Get the pivot relations to be eager loaded. * * @return array */ protected function getPivotRelations() { $relations = array_filter(array_keys($this->eagerLoad), function ($relation) { return $relation != 'pivot' && str_contains($relation, 'pivot'); }); return array_map(function ($relation) { return substr($relation, strlen('pivot.')); }, $relations); } /** * Override. Eager load relations of pivot models. * Eagerly load the relationship on a set of models. * * @param array $models * @param string $name * @param \Closure $constraints * @return array */ protected function loadRelation(array $models, $name, Closure $constraints) { // In this part, if the relation name is 'pivot', // therefore there are relations in a pivot to be eager loaded. if ($name === 'pivot') { $this->loadPivotRelations($models); return $models; } return parent::loadRelation($models, $name, $constraints); } }
Fix condition, make sure not to include non-pivot relations
Fix condition, make sure not to include non-pivot relations
PHP
mit
ajcastro/iprocure,ajcastro/iprocure
php
## Code Before: <?php class EloquentBuilder extends \Illuminate\Database\Eloquent\Builder { /** * Eager load pivot relations. * * @param array $models * @return void */ protected function loadPivotRelations($models) { $query = head($models)->pivot->newQuery()->with('unit'); $pivots = array_pluck($models, 'pivot'); $pivots = head($pivots)->newCollection($pivots); $pivots->load($this->getPivotRelations()); } /** * Get the pivot relations to be eager loaded. * * @return array */ protected function getPivotRelations() { $relations = array_filter(array_keys($this->eagerLoad), function ($relation) { return $relation != 'pivot'; }); return array_map(function ($relation) { return substr($relation, strlen('pivot.')); }, $relations); } /** * Override. Eager load relations of pivot models. * Eagerly load the relationship on a set of models. * * @param array $models * @param string $name * @param \Closure $constraints * @return array */ protected function loadRelation(array $models, $name, Closure $constraints) { // In this part, if the relation name is 'pivot', // therefore there are relations in a pivot to be eager loaded. if ($name === 'pivot') { $this->loadPivotRelations($models); return $models; } return parent::loadRelation($models, $name, $constraints); } } ## Instruction: Fix condition, make sure not to include non-pivot relations ## Code After: <?php class EloquentBuilder extends \Illuminate\Database\Eloquent\Builder { /** * Eager load pivot relations. * * @param array $models * @return void */ protected function loadPivotRelations($models) { $query = head($models)->pivot->newQuery()->with('unit'); $pivots = array_pluck($models, 'pivot'); $pivots = head($pivots)->newCollection($pivots); $pivots->load($this->getPivotRelations()); } /** * Get the pivot relations to be eager loaded. * * @return array */ protected function getPivotRelations() { $relations = array_filter(array_keys($this->eagerLoad), function ($relation) { return $relation != 'pivot' && str_contains($relation, 'pivot'); }); return array_map(function ($relation) { return substr($relation, strlen('pivot.')); }, $relations); } /** * Override. Eager load relations of pivot models. * Eagerly load the relationship on a set of models. * * @param array $models * @param string $name * @param \Closure $constraints * @return array */ protected function loadRelation(array $models, $name, Closure $constraints) { // In this part, if the relation name is 'pivot', // therefore there are relations in a pivot to be eager loaded. if ($name === 'pivot') { $this->loadPivotRelations($models); return $models; } return parent::loadRelation($models, $name, $constraints); } }
2f42b4af34396bef942330a0ca7545e1c30627c1
src/Repositories/RepositoryFactory.php
src/Repositories/RepositoryFactory.php
<?php namespace GearHub\LaravelEnhancementSuite\Repositories; use GearHub\LaravelEnhancementSuite\Contracts\Repositories\RepositoryFactory as RepositoryFactoryContract; class RepositoryFactory implements RepositoryFactoryContract { /** * Mapping keys to repositories. Takes precidence over the dynamic resolution. * * @var array */ protected $overrides = []; /** * Create new instance of RepositoryFactory. * * @param array $overrides * * @return void */ public function __construct(array $overrides = []) { $this->overrides = $overrides; } /** * Get repository for the corresponding model. * If $key is null return instance of the factory. * * @param string|null $key * * @return mixed */ public function get($key = null) { if (!empty($key)) { $class = null; if (array_has($this->overrides, $key)) { $class = array_get($this->overrides, $key); } else { $class = $this->build($key); } return resolve($class); } return $this; } /** * Build the path of the Repository class. * * @param string $key * * @return string */ protected function build($key) { return app()->getNamespace() . $this->laravel['config']['les.repository_namespace'] . '\\' . studly_case(str_singular($key)) . 'Repository'; } }
<?php namespace GearHub\LaravelEnhancementSuite\Repositories; use GearHub\LaravelEnhancementSuite\Contracts\Repositories\RepositoryFactory as RepositoryFactoryContract; class RepositoryFactory implements RepositoryFactoryContract { /** * Mapping keys to repositories. Takes precidence over the dynamic resolution. * * @var array */ protected $overrides = []; /** * Create new instance of RepositoryFactory. * * @param array $overrides * * @return void */ public function __construct(array $overrides = []) { $this->overrides = $overrides; } /** * Get repository for the corresponding model. * If $key is null return instance of the factory. * * @param string|null $key * * @return mixed */ public function get($key = null) { if (!empty($key)) { $class = null; if (array_has($this->overrides, $key)) { $class = array_get($this->overrides, $key); } else { $class = $this->build($key); } return resolve($class); } return $this; } /** * Build the path of the Repository class. * * @param string $key * * @return string */ protected function build($key) { return app()->getNamespace() . config('les.repository_namespace') . '\\' . studly_case(str_singular($key)) . 'Repository'; } }
Call to config helper function instead of an instance of the container
Call to config helper function instead of an instance of the container
PHP
mit
gearhub/laravel-enhancement-suite
php
## Code Before: <?php namespace GearHub\LaravelEnhancementSuite\Repositories; use GearHub\LaravelEnhancementSuite\Contracts\Repositories\RepositoryFactory as RepositoryFactoryContract; class RepositoryFactory implements RepositoryFactoryContract { /** * Mapping keys to repositories. Takes precidence over the dynamic resolution. * * @var array */ protected $overrides = []; /** * Create new instance of RepositoryFactory. * * @param array $overrides * * @return void */ public function __construct(array $overrides = []) { $this->overrides = $overrides; } /** * Get repository for the corresponding model. * If $key is null return instance of the factory. * * @param string|null $key * * @return mixed */ public function get($key = null) { if (!empty($key)) { $class = null; if (array_has($this->overrides, $key)) { $class = array_get($this->overrides, $key); } else { $class = $this->build($key); } return resolve($class); } return $this; } /** * Build the path of the Repository class. * * @param string $key * * @return string */ protected function build($key) { return app()->getNamespace() . $this->laravel['config']['les.repository_namespace'] . '\\' . studly_case(str_singular($key)) . 'Repository'; } } ## Instruction: Call to config helper function instead of an instance of the container ## Code After: <?php namespace GearHub\LaravelEnhancementSuite\Repositories; use GearHub\LaravelEnhancementSuite\Contracts\Repositories\RepositoryFactory as RepositoryFactoryContract; class RepositoryFactory implements RepositoryFactoryContract { /** * Mapping keys to repositories. Takes precidence over the dynamic resolution. * * @var array */ protected $overrides = []; /** * Create new instance of RepositoryFactory. * * @param array $overrides * * @return void */ public function __construct(array $overrides = []) { $this->overrides = $overrides; } /** * Get repository for the corresponding model. * If $key is null return instance of the factory. * * @param string|null $key * * @return mixed */ public function get($key = null) { if (!empty($key)) { $class = null; if (array_has($this->overrides, $key)) { $class = array_get($this->overrides, $key); } else { $class = $this->build($key); } return resolve($class); } return $this; } /** * Build the path of the Repository class. * * @param string $key * * @return string */ protected function build($key) { return app()->getNamespace() . config('les.repository_namespace') . '\\' . studly_case(str_singular($key)) . 'Repository'; } }
6fac11d21b32e259a29768d5849f9b6ff6ef77f1
go/base/static/js/src/components/views.js
go/base/static/js/src/components/views.js
// go.components.views // =================== // Generic, re-usable views for Go (function(exports) { var utils = go.utils, functor = utils.functor; // View for a label which can be attached to an element. // // Options: // - text: A string or a function returning a string containing the text to // be displayed by the label // - of: The element this label should be attached to // - my: The my on the label to align with the of // - at: The my on the of to align the label against var LabelView = Backbone.View.extend({ tagName: 'span', className: 'label', initialize: function(options) { this.$of = $(options.of); this.text = functor(options.text); this.my = options.my; this.at = options.at; }, render: function() { // Append the label to the of element so it can follow the of // around (in the case of moving or draggable ofs) this.$of.append(this.$el); this.$el .text(this.text()) .position({ of: this.$of, my: this.my, at: this.at }) .css('position', 'absolute') .css('pointer-events', 'none'); } }); _.extend(exports, { LabelView: LabelView }); })(go.components.views = {});
// go.components.views // =================== // Generic, re-usable views for Go (function(exports) { var utils = go.utils, functor = utils.functor; // View for a label which can be attached to an element. // // Options: // - text: A string or a function returning a string containing the text to // be displayed by the label // - of: The target element this label should be attached to // - my: The point on the label to align with the of // - at: The point on the target element to align the label against var LabelView = Backbone.View.extend({ tagName: 'span', className: 'label', initialize: function(options) { this.$of = $(options.of); this.text = functor(options.text); this.my = options.my; this.at = options.at; }, render: function() { // Append the label to the of element so it can follow the of // around (in the case of moving or draggable ofs) this.$of.append(this.$el); this.$el .text(this.text()) .position({ of: this.$of, my: this.my, at: this.at }) .css('position', 'absolute') .css('pointer-events', 'none'); } }); _.extend(exports, { LabelView: LabelView }); })(go.components.views = {});
Fix bad comments for LabelView
Fix bad comments for LabelView
JavaScript
bsd-3-clause
praekelt/vumi-go,praekelt/vumi-go,praekelt/vumi-go,praekelt/vumi-go
javascript
## Code Before: // go.components.views // =================== // Generic, re-usable views for Go (function(exports) { var utils = go.utils, functor = utils.functor; // View for a label which can be attached to an element. // // Options: // - text: A string or a function returning a string containing the text to // be displayed by the label // - of: The element this label should be attached to // - my: The my on the label to align with the of // - at: The my on the of to align the label against var LabelView = Backbone.View.extend({ tagName: 'span', className: 'label', initialize: function(options) { this.$of = $(options.of); this.text = functor(options.text); this.my = options.my; this.at = options.at; }, render: function() { // Append the label to the of element so it can follow the of // around (in the case of moving or draggable ofs) this.$of.append(this.$el); this.$el .text(this.text()) .position({ of: this.$of, my: this.my, at: this.at }) .css('position', 'absolute') .css('pointer-events', 'none'); } }); _.extend(exports, { LabelView: LabelView }); })(go.components.views = {}); ## Instruction: Fix bad comments for LabelView ## Code After: // go.components.views // =================== // Generic, re-usable views for Go (function(exports) { var utils = go.utils, functor = utils.functor; // View for a label which can be attached to an element. // // Options: // - text: A string or a function returning a string containing the text to // be displayed by the label // - of: The target element this label should be attached to // - my: The point on the label to align with the of // - at: The point on the target element to align the label against var LabelView = Backbone.View.extend({ tagName: 'span', className: 'label', initialize: function(options) { this.$of = $(options.of); this.text = functor(options.text); this.my = options.my; this.at = options.at; }, render: function() { // Append the label to the of element so it can follow the of // around (in the case of moving or draggable ofs) this.$of.append(this.$el); this.$el .text(this.text()) .position({ of: this.$of, my: this.my, at: this.at }) .css('position', 'absolute') .css('pointer-events', 'none'); } }); _.extend(exports, { LabelView: LabelView }); })(go.components.views = {});
7cf57b99d2e4244729d128381b4b277c1ded6af4
scriptstarupdate.sh
scriptstarupdate.sh
set -e SCRIPTSDIRREL=$(dirname $0) cd $SCRIPTSDIRREL if [ -e .git ] then echo "This scripts directory was checked out from Git so I won't update it." echo "If you want it updated from a tarball anyway, please delete .git first." exit 1 fi wget http://github.com/mikemcquaid/Scripts/tarball/master -O scripts.tar.gz tar --strip-components=1 -z -x -v -f scripts.tar.gz rm scripts.tar.gz
set -e SCRIPTSDIRREL=$(dirname $0) cd $SCRIPTSDIRREL if [ -e .git ] then echo "This scripts directory was checked out from Git so I won't update it." echo "If you want it updated from a tarball anyway, please delete .git first." exit 1 fi wget --no-check-certificate https://github.com/mikemcquaid/Scripts/tarball/master -O scripts.tar.gz tar --strip-components=1 -z -x -v -f scripts.tar.gz rm scripts.tar.gz
Fix GitHub tarball update wget bug.
Fix GitHub tarball update wget bug.
Shell
mit
mikemcquaid/scripts,mikemcquaid/scripts
shell
## Code Before: set -e SCRIPTSDIRREL=$(dirname $0) cd $SCRIPTSDIRREL if [ -e .git ] then echo "This scripts directory was checked out from Git so I won't update it." echo "If you want it updated from a tarball anyway, please delete .git first." exit 1 fi wget http://github.com/mikemcquaid/Scripts/tarball/master -O scripts.tar.gz tar --strip-components=1 -z -x -v -f scripts.tar.gz rm scripts.tar.gz ## Instruction: Fix GitHub tarball update wget bug. ## Code After: set -e SCRIPTSDIRREL=$(dirname $0) cd $SCRIPTSDIRREL if [ -e .git ] then echo "This scripts directory was checked out from Git so I won't update it." echo "If you want it updated from a tarball anyway, please delete .git first." exit 1 fi wget --no-check-certificate https://github.com/mikemcquaid/Scripts/tarball/master -O scripts.tar.gz tar --strip-components=1 -z -x -v -f scripts.tar.gz rm scripts.tar.gz
11de8a17a9d19b06b08469ecc94efa69b00d9272
json-files/fedora-20-undercloud-packages.json
json-files/fedora-20-undercloud-packages.json
[ { "element": [ "base", "dib-run-parts" ], "hook": [ "root", "pre-install" ], "blacklist": [ "01-ccache" ] }, { "element": [ "base", "undercloud-install", "fedora", "boot-stack", "nova-baremetal", "os-collect-config", "neutron-dhcp-agent", "undercloud-stack-config", "selinux-permissive", "fedora-updates-testing-repository", "qpidd", "tuskar-config", "keystone-1289935" ], "hook": [ "extra-data", "pre-install", "install", "post-install" ], "exclude-element": [ "dkms", "rabbitmq-server" ], "blacklist": [ "10-cloud-init", "50-store-build-settings", "99-dkms", "99-up-to-date", "01-yum-keepcache", "15-remove-grub", "51-ironicclient", "05-fstab-rootfs-label", "15-fedora-remove-grub", "51-ironicclient", "05-fstab-rootfs-label" ] } ]
[ { "element": [ "base", "dib-run-parts" ], "hook": [ "root", "pre-install" ], "blacklist": [ "01-ccache" ] }, { "element": [ "base", "undercloud-install", "fedora", "boot-stack", "nova-baremetal", "os-collect-config", "neutron-dhcp-agent", "undercloud-stack-config", "selinux-permissive", "fedora-updates-testing-repository", "qpidd", "tuskar-config", "keystone-1289935" ], "hook": [ "extra-data", "pre-install", "install", "post-install" ], "exclude-element": [ "dkms", "rabbitmq-server", "source-repositories" ], "blacklist": [ "10-cloud-init", "50-store-build-settings", "99-dkms", "99-up-to-date", "01-yum-keepcache", "15-remove-grub", "51-ironicclient", "05-fstab-rootfs-label", "15-fedora-remove-grub", "51-ironicclient", "05-fstab-rootfs-label", "02-lsb" ] } ]
Exclude source-repositories and backlist the lsb hook script
Exclude source-repositories and backlist the lsb hook script
JSON
apache-2.0
dmsimard/instack-undercloud,eprasad/instack-undercloud,agroup/instack-undercloud,bcrochet/instack-undercloud,eprasad/instack-undercloud,agroup/instack-undercloud,rdo-management/instack-undercloud,dpkshetty/instack-undercloud,dpkshetty/instack-undercloud,rdo-management/instack-undercloud,bcrochet/instack-undercloud,dmsimard/instack-undercloud
json
## Code Before: [ { "element": [ "base", "dib-run-parts" ], "hook": [ "root", "pre-install" ], "blacklist": [ "01-ccache" ] }, { "element": [ "base", "undercloud-install", "fedora", "boot-stack", "nova-baremetal", "os-collect-config", "neutron-dhcp-agent", "undercloud-stack-config", "selinux-permissive", "fedora-updates-testing-repository", "qpidd", "tuskar-config", "keystone-1289935" ], "hook": [ "extra-data", "pre-install", "install", "post-install" ], "exclude-element": [ "dkms", "rabbitmq-server" ], "blacklist": [ "10-cloud-init", "50-store-build-settings", "99-dkms", "99-up-to-date", "01-yum-keepcache", "15-remove-grub", "51-ironicclient", "05-fstab-rootfs-label", "15-fedora-remove-grub", "51-ironicclient", "05-fstab-rootfs-label" ] } ] ## Instruction: Exclude source-repositories and backlist the lsb hook script ## Code After: [ { "element": [ "base", "dib-run-parts" ], "hook": [ "root", "pre-install" ], "blacklist": [ "01-ccache" ] }, { "element": [ "base", "undercloud-install", "fedora", "boot-stack", "nova-baremetal", "os-collect-config", "neutron-dhcp-agent", "undercloud-stack-config", "selinux-permissive", "fedora-updates-testing-repository", "qpidd", "tuskar-config", "keystone-1289935" ], "hook": [ "extra-data", "pre-install", "install", "post-install" ], "exclude-element": [ "dkms", "rabbitmq-server", "source-repositories" ], "blacklist": [ "10-cloud-init", "50-store-build-settings", "99-dkms", "99-up-to-date", "01-yum-keepcache", "15-remove-grub", "51-ironicclient", "05-fstab-rootfs-label", "15-fedora-remove-grub", "51-ironicclient", "05-fstab-rootfs-label", "02-lsb" ] } ]
416afc3dd3c5f9c65895b8f7ebefb7f5037c0548
app/views/home/index.html.erb
app/views/home/index.html.erb
<ul class="thumbnails"> <% @src_images.each do |si| %> <li> <div class="thumbnail"> <%= render :partial => si %> </div> </li> <% end %> </ul> <ul class="thumbnails"> <% @gend_images.each do |gi| %> <li> <div class="thumbnail"> <%= render :partial => gi %> </div> </li> <% end %> </ul>
<p> <%= link_to 'new source image', :controller => :src_images, :action => :new %> </p> <ul class="thumbnails"> <% @src_images.each do |si| %> <li> <div class="thumbnail"> <%= render :partial => si %> </div> </li> <% end %> </ul> <ul class="thumbnails"> <% @gend_images.each do |gi| %> <li> <div class="thumbnail"> <%= render :partial => gi %> </div> </li> <% end %> </ul>
Add temporary new source image link.
Add temporary new source image link.
HTML+ERB
mit
mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web,patrickmcguire/meme,patrickmcguire/meme,mmb/meme_captain_web
html+erb
## Code Before: <ul class="thumbnails"> <% @src_images.each do |si| %> <li> <div class="thumbnail"> <%= render :partial => si %> </div> </li> <% end %> </ul> <ul class="thumbnails"> <% @gend_images.each do |gi| %> <li> <div class="thumbnail"> <%= render :partial => gi %> </div> </li> <% end %> </ul> ## Instruction: Add temporary new source image link. ## Code After: <p> <%= link_to 'new source image', :controller => :src_images, :action => :new %> </p> <ul class="thumbnails"> <% @src_images.each do |si| %> <li> <div class="thumbnail"> <%= render :partial => si %> </div> </li> <% end %> </ul> <ul class="thumbnails"> <% @gend_images.each do |gi| %> <li> <div class="thumbnail"> <%= render :partial => gi %> </div> </li> <% end %> </ul>
64be8f5b4b62e09f50d05b907b8010abd61cc639
tests/auto/common/declarativewebutils_mock.pri
tests/auto/common/declarativewebutils_mock.pri
SOURCES += ../common/declarativewebutils.cpp HEADERS += ../common/declarativewebutils.h PKGCONFIG += qt5embedwidget
SOURCES += ../common/declarativewebutils.cpp HEADERS += ../common/declarativewebutils.h isEmpty(QTEMBED_LIB) { PKGCONFIG += qt5embedwidget } else { LIBS+=$$QTEMBED_LIB }
Fix builds error when using ./build.sh script.
[sailfish-browser] Fix builds error when using ./build.sh script. In case the browser is build using build.sh from xulrunnre-packaging don't rely on pkgconfig for finding qtmozembed.
QMake
mpl-2.0
sailfishos/sailfish-browser,sailfishos/sailfish-browser,sailfishos/sailfish-browser,sailfishos/sailfish-browser,sailfishos/sailfish-browser
qmake
## Code Before: SOURCES += ../common/declarativewebutils.cpp HEADERS += ../common/declarativewebutils.h PKGCONFIG += qt5embedwidget ## Instruction: [sailfish-browser] Fix builds error when using ./build.sh script. In case the browser is build using build.sh from xulrunnre-packaging don't rely on pkgconfig for finding qtmozembed. ## Code After: SOURCES += ../common/declarativewebutils.cpp HEADERS += ../common/declarativewebutils.h isEmpty(QTEMBED_LIB) { PKGCONFIG += qt5embedwidget } else { LIBS+=$$QTEMBED_LIB }
4f6cae1bc08c0bbcc99174a4736a813ed318eddd
tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/init.coffee
tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/init.coffee
define ["./console"], (console) -> # Temporary, until we rework the client-side input validation. T5.initializers.validate = -> # Exports a single function that finds an initializer in `T5.initializers` and invokes it. (initName, args...) -> fn = T5.initializers[initName] if not fn console.error "Initialization function '#{initName}' not found in T5.initializers namespace." else fn.apply null, args
define ["./console"], (console) -> # Exports a single function that finds an initializer in `T5.initializers` and invokes it. (initName, args...) -> fn = T5.initializers[initName] if not fn console.error "Initialization function '#{initName}' not found in T5.initializers namespace." else fn.apply null, args
Remove a temporary kludge that is no longer needed
Remove a temporary kludge that is no longer needed
CoffeeScript
apache-2.0
apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5
coffeescript
## Code Before: define ["./console"], (console) -> # Temporary, until we rework the client-side input validation. T5.initializers.validate = -> # Exports a single function that finds an initializer in `T5.initializers` and invokes it. (initName, args...) -> fn = T5.initializers[initName] if not fn console.error "Initialization function '#{initName}' not found in T5.initializers namespace." else fn.apply null, args ## Instruction: Remove a temporary kludge that is no longer needed ## Code After: define ["./console"], (console) -> # Exports a single function that finds an initializer in `T5.initializers` and invokes it. (initName, args...) -> fn = T5.initializers[initName] if not fn console.error "Initialization function '#{initName}' not found in T5.initializers namespace." else fn.apply null, args
c8820703d3219b5226a8522cd6507b6403752232
entry.js
entry.js
'use strict'; function Entry(relativePath, basePath, mode, size, mtime) { this.mode = mode; this.relativePath = relativePath; this.basePath = basePath; this.size = size; this.mtime = mtime; this.linkDir = false; } Entry.prototype.isDirectory = function isDirectory() { return (this.mode & 61440) === 16384; }; module.exports = Entry;
'use strict'; class Entry { constructor(relativePath, basePath, mode, size, mtime) { this.mode = mode; this.relativePath = relativePath; this.basePath = basePath; this.size = size; this.mtime = mtime; this.linkDir = false; } isDirectory() { return (this.mode & 61440) === 16384; } } module.exports = Entry;
Use ES6 class for Entry
Use ES6 class for Entry
JavaScript
mit
broccolijs/node-merge-trees
javascript
## Code Before: 'use strict'; function Entry(relativePath, basePath, mode, size, mtime) { this.mode = mode; this.relativePath = relativePath; this.basePath = basePath; this.size = size; this.mtime = mtime; this.linkDir = false; } Entry.prototype.isDirectory = function isDirectory() { return (this.mode & 61440) === 16384; }; module.exports = Entry; ## Instruction: Use ES6 class for Entry ## Code After: 'use strict'; class Entry { constructor(relativePath, basePath, mode, size, mtime) { this.mode = mode; this.relativePath = relativePath; this.basePath = basePath; this.size = size; this.mtime = mtime; this.linkDir = false; } isDirectory() { return (this.mode & 61440) === 16384; } } module.exports = Entry;
5739336d9d8a3802ec78a83e1199739088dcb449
modules/core/server/routes/core.server.routes.js
modules/core/server/routes/core.server.routes.js
'use strict'; /* * Core routing. */ module.exports = function(app) { var core = require('../controllers/core.server.controller'); // Define HTTP error pages. app.route('/403-forbidden').get(core.sendForbidden); app.route('/404-page-not-found').get(core.sendPageNotFound); app.route('/500-server-error').get(core.sendServerError); // Return page not found error for all undefined api, module or lib routes. app.route('/:url(api|modules|lib)/*').get(core.sendPageNotFound); // Define application route. app.route('/*').get(core.renderIndex); };
'use strict'; /* * Core routing. */ module.exports = function(app) { var core = require('../controllers/core.server.controller'); // Define HTTP error pages. (This will not work if user were to directly type in express route in the url.) app.route('/403-forbidden').get(core.sendForbidden); app.route('/404-page-not-found').get(core.sendPageNotFound); app.route('/500-server-error').get(core.sendServerError); // Return page not found error for all undefined api, module or lib routes. app.route('/:url(api|modules|lib)/*').get(core.sendPageNotFound); // Define application route. app.route('/*').get(core.renderIndex); };
Update comment to remind about existing bug.
Update comment to remind about existing bug.
JavaScript
mit
Codeaux/Codeaux,Codeaux/Codeaux,Codeaux/Codeaux
javascript
## Code Before: 'use strict'; /* * Core routing. */ module.exports = function(app) { var core = require('../controllers/core.server.controller'); // Define HTTP error pages. app.route('/403-forbidden').get(core.sendForbidden); app.route('/404-page-not-found').get(core.sendPageNotFound); app.route('/500-server-error').get(core.sendServerError); // Return page not found error for all undefined api, module or lib routes. app.route('/:url(api|modules|lib)/*').get(core.sendPageNotFound); // Define application route. app.route('/*').get(core.renderIndex); }; ## Instruction: Update comment to remind about existing bug. ## Code After: 'use strict'; /* * Core routing. */ module.exports = function(app) { var core = require('../controllers/core.server.controller'); // Define HTTP error pages. (This will not work if user were to directly type in express route in the url.) app.route('/403-forbidden').get(core.sendForbidden); app.route('/404-page-not-found').get(core.sendPageNotFound); app.route('/500-server-error').get(core.sendServerError); // Return page not found error for all undefined api, module or lib routes. app.route('/:url(api|modules|lib)/*').get(core.sendPageNotFound); // Define application route. app.route('/*').get(core.renderIndex); };
50e4b283e9fafff0d898572843b986f2af4dbb2a
docs/single_version.rst
docs/single_version.rst
Single Version Documentation ---------------------------- Single Version Documentation lets you serve your docs at a root domain. By default, all documentation served by Read the Docs has a root of ``/<language>/<version>/``. But, if you enable the "Single Version" option for a project, its documentation will instead be served at ``/``. .. warning:: This means you can't have translations or multiple versions for your documentation. Enabling -------- You can toggle the "Single Version" option on or off for your project in the Project Admin page. Check your `dashboard`_ for a list of your projects. Effects ------- Links generated on Read the Docs will now point to the proper URL. For example, if pip was set as a "Single Version" project, then links to its documentation would point to ``http://pip.readthedocs.org/`` rather than the default ``http://pip.readthedocs.org/en/latest/``. Documentation at ``/<language>/<default_version>/`` will still be served for backwards compatability reasons. However, our usage of :doc:`canonical` should stop these from being indexed by Google. .. _dashboard: https://readthedocs.org/dashboard/
Single Version Documentation ---------------------------- Single Version Documentation lets you serve your docs at a root domain. By default, all documentation served by Read the Docs has a root of ``/<language>/<version>/``. But, if you enable the "Single Version" option for a project, its documentation will instead be served at ``/``. .. warning:: This means you can't have translations or multiple versions for your documentation. You can see an example of this at www.contribution-guide.org Enabling -------- You can toggle the "Single Version" option on or off for your project in the Project Admin page. Check your `dashboard`_ for a list of your projects. Effects ------- Links generated on Read the Docs will now point to the proper URL. For example, if pip was set as a "Single Version" project, then links to its documentation would point to ``http://pip.readthedocs.org/`` rather than the default ``http://pip.readthedocs.org/en/latest/``. Documentation at ``/<language>/<default_version>/`` will still be served for backwards compatability reasons. However, our usage of :doc:`canonical` should stop these from being indexed by Google. .. _dashboard: https://readthedocs.org/dashboard/
Add contribution guide as an example
Add contribution guide as an example
reStructuredText
mit
michaelmcandrew/readthedocs.org,kdkeyser/readthedocs.org,pombredanne/readthedocs.org,KamranMackey/readthedocs.org,nyergler/pythonslides,wijerasa/readthedocs.org,KamranMackey/readthedocs.org,singingwolfboy/readthedocs.org,KamranMackey/readthedocs.org,dirn/readthedocs.org,royalwang/readthedocs.org,michaelmcandrew/readthedocs.org,asampat3090/readthedocs.org,sid-kap/readthedocs.org,titiushko/readthedocs.org,wijerasa/readthedocs.org,raven47git/readthedocs.org,takluyver/readthedocs.org,stevepiercy/readthedocs.org,soulshake/readthedocs.org,techtonik/readthedocs.org,attakei/readthedocs-oauth,hach-que/readthedocs.org,emawind84/readthedocs.org,mhils/readthedocs.org,kenshinthebattosai/readthedocs.org,Tazer/readthedocs.org,stevepiercy/readthedocs.org,CedarLogic/readthedocs.org,raven47git/readthedocs.org,atsuyim/readthedocs.org,istresearch/readthedocs.org,laplaceliu/readthedocs.org,jerel/readthedocs.org,wanghaven/readthedocs.org,asampat3090/readthedocs.org,SteveViss/readthedocs.org,sils1297/readthedocs.org,wanghaven/readthedocs.org,jerel/readthedocs.org,LukasBoersma/readthedocs.org,Tazer/readthedocs.org,hach-que/readthedocs.org,sid-kap/readthedocs.org,CedarLogic/readthedocs.org,cgourlay/readthedocs.org,wijerasa/readthedocs.org,nikolas/readthedocs.org,nyergler/pythonslides,jerel/readthedocs.org,laplaceliu/readthedocs.org,d0ugal/readthedocs.org,titiushko/readthedocs.org,soulshake/readthedocs.org,pombredanne/readthedocs.org,clarkperkins/readthedocs.org,michaelmcandrew/readthedocs.org,laplaceliu/readthedocs.org,takluyver/readthedocs.org,LukasBoersma/readthedocs.org,Carreau/readthedocs.org,techtonik/readthedocs.org,asampat3090/readthedocs.org,hach-que/readthedocs.org,VishvajitP/readthedocs.org,GovReady/readthedocs.org,tddv/readthedocs.org,gjtorikian/readthedocs.org,sunnyzwh/readthedocs.org,LukasBoersma/readthedocs.org,tddv/readthedocs.org,raven47git/readthedocs.org,fujita-shintaro/readthedocs.org,GovReady/readthedocs.org,singingwolfboy/readthedocs.org,KamranMackey/readthedocs.org,safwanrahman/readthedocs.org,SteveViss/readthedocs.org,safwanrahman/readthedocs.org,mrshoki/readthedocs.org,istresearch/readthedocs.org,clarkperkins/readthedocs.org,stevepiercy/readthedocs.org,takluyver/readthedocs.org,attakei/readthedocs-oauth,sils1297/readthedocs.org,nikolas/readthedocs.org,sunnyzwh/readthedocs.org,kdkeyser/readthedocs.org,michaelmcandrew/readthedocs.org,CedarLogic/readthedocs.org,nikolas/readthedocs.org,GovReady/readthedocs.org,VishvajitP/readthedocs.org,dirn/readthedocs.org,emawind84/readthedocs.org,nyergler/pythonslides,mrshoki/readthedocs.org,rtfd/readthedocs.org,singingwolfboy/readthedocs.org,attakei/readthedocs-oauth,davidfischer/readthedocs.org,LukasBoersma/readthedocs.org,Tazer/readthedocs.org,techtonik/readthedocs.org,davidfischer/readthedocs.org,SteveViss/readthedocs.org,d0ugal/readthedocs.org,kdkeyser/readthedocs.org,sid-kap/readthedocs.org,wanghaven/readthedocs.org,istresearch/readthedocs.org,mhils/readthedocs.org,kenshinthebattosai/readthedocs.org,kenshinthebattosai/readthedocs.org,royalwang/readthedocs.org,gjtorikian/readthedocs.org,davidfischer/readthedocs.org,atsuyim/readthedocs.org,raven47git/readthedocs.org,royalwang/readthedocs.org,davidfischer/readthedocs.org,nikolas/readthedocs.org,gjtorikian/readthedocs.org,sils1297/readthedocs.org,sunnyzwh/readthedocs.org,kenwang76/readthedocs.org,wanghaven/readthedocs.org,safwanrahman/readthedocs.org,soulshake/readthedocs.org,nyergler/pythonslides,dirn/readthedocs.org,rtfd/readthedocs.org,clarkperkins/readthedocs.org,emawind84/readthedocs.org,sid-kap/readthedocs.org,fujita-shintaro/readthedocs.org,VishvajitP/readthedocs.org,espdev/readthedocs.org,fujita-shintaro/readthedocs.org,asampat3090/readthedocs.org,cgourlay/readthedocs.org,espdev/readthedocs.org,atsuyim/readthedocs.org,rtfd/readthedocs.org,kenshinthebattosai/readthedocs.org,laplaceliu/readthedocs.org,tddv/readthedocs.org,mhils/readthedocs.org,istresearch/readthedocs.org,agjohnson/readthedocs.org,d0ugal/readthedocs.org,attakei/readthedocs-oauth,rtfd/readthedocs.org,atsuyim/readthedocs.org,pombredanne/readthedocs.org,espdev/readthedocs.org,cgourlay/readthedocs.org,GovReady/readthedocs.org,safwanrahman/readthedocs.org,kenwang76/readthedocs.org,mrshoki/readthedocs.org,SteveViss/readthedocs.org,kenwang76/readthedocs.org,stevepiercy/readthedocs.org,Carreau/readthedocs.org,sunnyzwh/readthedocs.org,emawind84/readthedocs.org,gjtorikian/readthedocs.org,takluyver/readthedocs.org,mrshoki/readthedocs.org,agjohnson/readthedocs.org,cgourlay/readthedocs.org,singingwolfboy/readthedocs.org,agjohnson/readthedocs.org,Tazer/readthedocs.org,jerel/readthedocs.org,titiushko/readthedocs.org,d0ugal/readthedocs.org,Carreau/readthedocs.org,fujita-shintaro/readthedocs.org,soulshake/readthedocs.org,clarkperkins/readthedocs.org,Carreau/readthedocs.org,royalwang/readthedocs.org,wijerasa/readthedocs.org,kenwang76/readthedocs.org,agjohnson/readthedocs.org,CedarLogic/readthedocs.org,techtonik/readthedocs.org,kdkeyser/readthedocs.org,titiushko/readthedocs.org,VishvajitP/readthedocs.org,dirn/readthedocs.org,espdev/readthedocs.org,mhils/readthedocs.org,hach-que/readthedocs.org,sils1297/readthedocs.org,espdev/readthedocs.org
restructuredtext
## Code Before: Single Version Documentation ---------------------------- Single Version Documentation lets you serve your docs at a root domain. By default, all documentation served by Read the Docs has a root of ``/<language>/<version>/``. But, if you enable the "Single Version" option for a project, its documentation will instead be served at ``/``. .. warning:: This means you can't have translations or multiple versions for your documentation. Enabling -------- You can toggle the "Single Version" option on or off for your project in the Project Admin page. Check your `dashboard`_ for a list of your projects. Effects ------- Links generated on Read the Docs will now point to the proper URL. For example, if pip was set as a "Single Version" project, then links to its documentation would point to ``http://pip.readthedocs.org/`` rather than the default ``http://pip.readthedocs.org/en/latest/``. Documentation at ``/<language>/<default_version>/`` will still be served for backwards compatability reasons. However, our usage of :doc:`canonical` should stop these from being indexed by Google. .. _dashboard: https://readthedocs.org/dashboard/ ## Instruction: Add contribution guide as an example ## Code After: Single Version Documentation ---------------------------- Single Version Documentation lets you serve your docs at a root domain. By default, all documentation served by Read the Docs has a root of ``/<language>/<version>/``. But, if you enable the "Single Version" option for a project, its documentation will instead be served at ``/``. .. warning:: This means you can't have translations or multiple versions for your documentation. You can see an example of this at www.contribution-guide.org Enabling -------- You can toggle the "Single Version" option on or off for your project in the Project Admin page. Check your `dashboard`_ for a list of your projects. Effects ------- Links generated on Read the Docs will now point to the proper URL. For example, if pip was set as a "Single Version" project, then links to its documentation would point to ``http://pip.readthedocs.org/`` rather than the default ``http://pip.readthedocs.org/en/latest/``. Documentation at ``/<language>/<default_version>/`` will still be served for backwards compatability reasons. However, our usage of :doc:`canonical` should stop these from being indexed by Google. .. _dashboard: https://readthedocs.org/dashboard/
0312be25f6deb2b7205f9ab5da3a40bdd4cc36b9
manifests/prometheus/alerts.d/ec2_cpu_credits.yml
manifests/prometheus/alerts.d/ec2_cpu_credits.yml
--- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: EC2CPUCreditsLow rules: - alert: EC2CPUCreditsLow expr: avg_over_time(aws_ec2_cpucredit_balance_minimum[30m]) <= 20 labels: severity: warning annotations: summary: "EC2 CPU credits are low on {{ $labels.tag_Name }}" description: "Instance {{ $labels.tag_Name }} has only {{ $value | printf \"%.0f\" }} CPU credits left and may perform badly." url: "https://team-manual.cloud.service.gov.uk/incident_management/responding_to_alerts/#cpu-credits"
--- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: EC2CPUCreditsLow rules: - alert: EC2CPUCreditsLow expr: avg_over_time(aws_ec2_cpucredit_balance_minimum[30m]) <= 6 for: 2h labels: severity: warning annotations: summary: "EC2 CPU credits are low or they have not been accruing on {{ $labels.tag_Name }}" url: "https://team-manual.cloud.service.gov.uk/incident_management/responding_to_alerts/#cpu-credits" description: "Instance {{ $labels.tag_Name }} has only {{ $value | printf \"%.0f\" }} CPU credits left and may perform badly. T3 instances do not have launch credits, therefore they have 0 credits at launch. If they have not earned any credits after 2 hours (i.e. 6 or fewer credits) then there may be a problem."
Update cpu credits alert to not be noisy for t3
Update cpu credits alert to not be noisy for t3 T3 instances do not have launch credits, unlike T2 instances. This means that this alert would fire as soon as the instances were launched. Signed-off-by: Toby Lorne <527052641d65eef236eeef9545b2acac74c35d57@digital.cabinet-office.gov.uk>
YAML
mit
alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf,alphagov/paas-cf
yaml
## Code Before: --- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: EC2CPUCreditsLow rules: - alert: EC2CPUCreditsLow expr: avg_over_time(aws_ec2_cpucredit_balance_minimum[30m]) <= 20 labels: severity: warning annotations: summary: "EC2 CPU credits are low on {{ $labels.tag_Name }}" description: "Instance {{ $labels.tag_Name }} has only {{ $value | printf \"%.0f\" }} CPU credits left and may perform badly." url: "https://team-manual.cloud.service.gov.uk/incident_management/responding_to_alerts/#cpu-credits" ## Instruction: Update cpu credits alert to not be noisy for t3 T3 instances do not have launch credits, unlike T2 instances. This means that this alert would fire as soon as the instances were launched. Signed-off-by: Toby Lorne <527052641d65eef236eeef9545b2acac74c35d57@digital.cabinet-office.gov.uk> ## Code After: --- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: EC2CPUCreditsLow rules: - alert: EC2CPUCreditsLow expr: avg_over_time(aws_ec2_cpucredit_balance_minimum[30m]) <= 6 for: 2h labels: severity: warning annotations: summary: "EC2 CPU credits are low or they have not been accruing on {{ $labels.tag_Name }}" url: "https://team-manual.cloud.service.gov.uk/incident_management/responding_to_alerts/#cpu-credits" description: "Instance {{ $labels.tag_Name }} has only {{ $value | printf \"%.0f\" }} CPU credits left and may perform badly. T3 instances do not have launch credits, therefore they have 0 credits at launch. If they have not earned any credits after 2 hours (i.e. 6 or fewer credits) then there may be a problem."
e34c891ea4dcf6f9e163f4f32702569c4170a7c1
cfg/plugin/scratch.vim
cfg/plugin/scratch.vim
" define function to turn current buffer into a scratch buffer function! s:Scratch() setlocal buftype=nofile bufhidden=hide noswapfile endfunction " define commands to open scratch buffers with Scratch() command! -nargs=0 Scratch enew | call s:Scratch() command! -nargs=0 SScratch split | Scratch command! -nargs=0 VScratch vsplit | Scratch command! -nargs=0 TScratch tabnew | Scratch
" define function to turn current buffer into a scratch buffer function! s:Scratch(...) setlocal buftype=nofile bufhidden=hide noswapfile if exists('a:1') execute 'set filetype=' . a:1 endif endfunction " define commands to open scratch buffers with Scratch() command! -nargs=? -complete=filetype Scratch enew | call s:Scratch(<q-args>) command! -nargs=? -complete=filetype SScratch split | Scratch <args> command! -nargs=? -complete=filetype VScratch vsplit | Scratch <args> command! -nargs=? -complete=filetype TScratch tabnew | Scratch <args>
Allow passing filetype to :Scratch
Allow passing filetype to :Scratch For convenience, :Scratch now takes a single optional filetype argument. This filetype will be applied to the scratch buffer. For example, :Scratch json will open a JSON scratch buffer. This applies to all :Scratch variants, e.g. :SScratch. The argument to :Scratch is Tab-completable, for convenience.
VimL
mit
igemnace/vim-config,igemnace/vim-config,igemnace/my-vim-config,igemnace/vim-config
viml
## Code Before: " define function to turn current buffer into a scratch buffer function! s:Scratch() setlocal buftype=nofile bufhidden=hide noswapfile endfunction " define commands to open scratch buffers with Scratch() command! -nargs=0 Scratch enew | call s:Scratch() command! -nargs=0 SScratch split | Scratch command! -nargs=0 VScratch vsplit | Scratch command! -nargs=0 TScratch tabnew | Scratch ## Instruction: Allow passing filetype to :Scratch For convenience, :Scratch now takes a single optional filetype argument. This filetype will be applied to the scratch buffer. For example, :Scratch json will open a JSON scratch buffer. This applies to all :Scratch variants, e.g. :SScratch. The argument to :Scratch is Tab-completable, for convenience. ## Code After: " define function to turn current buffer into a scratch buffer function! s:Scratch(...) setlocal buftype=nofile bufhidden=hide noswapfile if exists('a:1') execute 'set filetype=' . a:1 endif endfunction " define commands to open scratch buffers with Scratch() command! -nargs=? -complete=filetype Scratch enew | call s:Scratch(<q-args>) command! -nargs=? -complete=filetype SScratch split | Scratch <args> command! -nargs=? -complete=filetype VScratch vsplit | Scratch <args> command! -nargs=? -complete=filetype TScratch tabnew | Scratch <args>
61b669634856677387e717e120825569d05b3177
package.json
package.json
{ "name": "lfg-streamtip", "version": "0.0.1", "homepage": "http://supportclass.net/", "author": "Alex Van Camp <email@alexvan.camp>", "description": "StreamTip integration", "license": "MIT", "dependencies": { "streamtip-listener": "^1.3.3" }, "nodecg": { "compatibleRange": "~0.7.0", "dashboardPanels": [ { "name": "tip-stats", "title": "Tip Stats", "width": 2, "file": "panel.html" }, { "name": "reset-daily", "title": "Reset Daily", "width": 2, "file": "reset-daily.html", "dialog": true }, { "name": "reset-monthly", "title": "Reset Monthly", "width": 2, "file": "reset-monthly.html", "dialog": true } ] } }
{ "name": "lfg-streamtip", "version": "0.0.1", "homepage": "http://supportclass.net/", "author": "Alex Van Camp <email@alexvan.camp>", "description": "StreamTip integration", "license": "MIT", "dependencies": { "streamtip-listener": "^1.3.3" }, "nodecg": { "compatibleRange": "~0.7.0", "dashboardPanels": [ { "name": "tip-stats", "title": "Tip Stats", "width": 2, "headerColor": "#564573", "file": "panel.html" }, { "name": "reset-daily", "title": "Reset Daily", "width": 2, "file": "reset-daily.html", "dialog": true }, { "name": "reset-monthly", "title": "Reset Monthly", "width": 2, "file": "reset-monthly.html", "dialog": true } ] } }
Add `headerColor` to panel manifest
Add `headerColor` to panel manifest
JSON
mit
SupportClass/lfg-streamtip,SupportClass/lfg-streamtip
json
## Code Before: { "name": "lfg-streamtip", "version": "0.0.1", "homepage": "http://supportclass.net/", "author": "Alex Van Camp <email@alexvan.camp>", "description": "StreamTip integration", "license": "MIT", "dependencies": { "streamtip-listener": "^1.3.3" }, "nodecg": { "compatibleRange": "~0.7.0", "dashboardPanels": [ { "name": "tip-stats", "title": "Tip Stats", "width": 2, "file": "panel.html" }, { "name": "reset-daily", "title": "Reset Daily", "width": 2, "file": "reset-daily.html", "dialog": true }, { "name": "reset-monthly", "title": "Reset Monthly", "width": 2, "file": "reset-monthly.html", "dialog": true } ] } } ## Instruction: Add `headerColor` to panel manifest ## Code After: { "name": "lfg-streamtip", "version": "0.0.1", "homepage": "http://supportclass.net/", "author": "Alex Van Camp <email@alexvan.camp>", "description": "StreamTip integration", "license": "MIT", "dependencies": { "streamtip-listener": "^1.3.3" }, "nodecg": { "compatibleRange": "~0.7.0", "dashboardPanels": [ { "name": "tip-stats", "title": "Tip Stats", "width": 2, "headerColor": "#564573", "file": "panel.html" }, { "name": "reset-daily", "title": "Reset Daily", "width": 2, "file": "reset-daily.html", "dialog": true }, { "name": "reset-monthly", "title": "Reset Monthly", "width": 2, "file": "reset-monthly.html", "dialog": true } ] } }
e488965fc426ad0b336bd269d629e9547a48da7f
playbooks/roles/osx/tasks/pip.yml
playbooks/roles/osx/tasks/pip.yml
--- - name: Install PIP packages pip: name={{ item }} with_items: - virtualenv - fabric - virtualenvwrapper - pylint - ipython - flake8 - pythonpy - termrule - speedtest-cli - name: Install gems gem: name=rumember state=latest
--- - name: Install PIP packages pip: name={{ item }} with_items: - virtualenv - fabric - virtualenvwrapper - pylint - ipython - flake8 - pythonpy - termrule - speedtest-cli - mycli - name: Install gems gem: name=rumember state=latest
Add mycli package for MySQL
Add mycli package for MySQL
YAML
mit
smathson/dotfiles
yaml
## Code Before: --- - name: Install PIP packages pip: name={{ item }} with_items: - virtualenv - fabric - virtualenvwrapper - pylint - ipython - flake8 - pythonpy - termrule - speedtest-cli - name: Install gems gem: name=rumember state=latest ## Instruction: Add mycli package for MySQL ## Code After: --- - name: Install PIP packages pip: name={{ item }} with_items: - virtualenv - fabric - virtualenvwrapper - pylint - ipython - flake8 - pythonpy - termrule - speedtest-cli - mycli - name: Install gems gem: name=rumember state=latest
671ba645170015d36c109509111dba5d7bc7d663
_scss/blocks/index-item.scss
_scss/blocks/index-item.scss
.index-item { background-color: white; padding-top: 50px; padding-bottom: 50px; color: #57585A; } .index-item__container { @extend .container; } .index-item__left { @include make-sm-column(6); @media (min-width: $screen-sm-min) { padding-top: 35px; } } .index-item__right { @include make-sm-column(6); @media (max-width: $screen-sm-min) { margin-top: 35px; text-align: middle; } } .index-item__img { width: 80%; @media (max-width: $screen-sm-min) { margin-left: auto; margin-right: auto; display: block; } }
.index-item { background-color: #f5f8fa; padding-top: 50px; padding-bottom: 50px; color: #57585A; } .index-item:nth-child(2n+1) { background-color: white; } .index-item__container { @extend .container; } .index-item__left { @include make-sm-column(6); @media (min-width: $screen-sm-min) { padding-top: 35px; } } .index-item__right { @include make-sm-column(6); @media (max-width: $screen-sm-min) { margin-top: 35px; text-align: middle; } } .index-item__img { width: 80%; @media (max-width: $screen-sm-min) { margin-left: auto; margin-right: auto; display: block; } }
Change background color of even index items to white
Change background color of even index items to white
SCSS
mit
skgtech/devit,skgtech/devit,skgtech/devit
scss
## Code Before: .index-item { background-color: white; padding-top: 50px; padding-bottom: 50px; color: #57585A; } .index-item__container { @extend .container; } .index-item__left { @include make-sm-column(6); @media (min-width: $screen-sm-min) { padding-top: 35px; } } .index-item__right { @include make-sm-column(6); @media (max-width: $screen-sm-min) { margin-top: 35px; text-align: middle; } } .index-item__img { width: 80%; @media (max-width: $screen-sm-min) { margin-left: auto; margin-right: auto; display: block; } } ## Instruction: Change background color of even index items to white ## Code After: .index-item { background-color: #f5f8fa; padding-top: 50px; padding-bottom: 50px; color: #57585A; } .index-item:nth-child(2n+1) { background-color: white; } .index-item__container { @extend .container; } .index-item__left { @include make-sm-column(6); @media (min-width: $screen-sm-min) { padding-top: 35px; } } .index-item__right { @include make-sm-column(6); @media (max-width: $screen-sm-min) { margin-top: 35px; text-align: middle; } } .index-item__img { width: 80%; @media (max-width: $screen-sm-min) { margin-left: auto; margin-right: auto; display: block; } }
c1ae6b37b55a02c896b9d8da44936fcc5e19beff
CHANGELOG.md
CHANGELOG.md
* Fixed `Session.getDefault` * Fixed `Session.equals` * Fixed configuration example in README.md ### [0.1.3](https://github.com/okgrow/meteor-persistent-session/releases/tag/v0.1.3) * Initial release
* Fixed `Session.getDefault` (Reported by [valZho](https://github.com/valZho)) * Fixed `Session.equals` (Reported by [manuelpaulo](https://github.com/manuelpaulo)) * Fixed configuration example in README.md ### [0.1.3](https://github.com/okgrow/meteor-persistent-session/releases/tag/v0.1.3) * Initial release
Add reporting credits to changelog
Add reporting credits to changelog
Markdown
mit
okgrow/meteor-persistent-session,ryepdx/meteor-persistent-session
markdown
## Code Before: * Fixed `Session.getDefault` * Fixed `Session.equals` * Fixed configuration example in README.md ### [0.1.3](https://github.com/okgrow/meteor-persistent-session/releases/tag/v0.1.3) * Initial release ## Instruction: Add reporting credits to changelog ## Code After: * Fixed `Session.getDefault` (Reported by [valZho](https://github.com/valZho)) * Fixed `Session.equals` (Reported by [manuelpaulo](https://github.com/manuelpaulo)) * Fixed configuration example in README.md ### [0.1.3](https://github.com/okgrow/meteor-persistent-session/releases/tag/v0.1.3) * Initial release
74081cd1ba00c1efcba11eae021b474adc26c126
config/webpack.config.devserver.js
config/webpack.config.devserver.js
const path = require('path'); const webpack = require('webpack'); // Listen port const PORT = process.env.PORT || 8080; // Load base config const baseConfig = require('./webpack.config.base'); // Create the config const config = Object.create(baseConfig); config.devtool = 'cheap-source-map'; config.devServer = { hot: true, host: "0.0.0.0", disableHostCheck: true, port: PORT, contentBase: path.resolve(__dirname, '../src'), watchContentBase: true }; module.exports = config;
const path = require('path'); const webpack = require('webpack'); // Listen port const PORT = process.env.PORT || 8080; // Load base config const baseConfig = require('./webpack.config.base'); // Create the config const config = Object.create(baseConfig); config.devtool = 'cheap-source-map'; config.devServer = { host: "0.0.0.0", disableHostCheck: true, port: PORT, contentBase: path.resolve(__dirname, '../src'), watchContentBase: true }; module.exports = config;
Fix this crashing spewage: Uncaught Error: [HMR] Hot Module Replacement is disabled.
Fix this crashing spewage: Uncaught Error: [HMR] Hot Module Replacement is disabled.
JavaScript
mit
gaudeon/interstice,gaudeon/interstice,gaudeon/interstice
javascript
## Code Before: const path = require('path'); const webpack = require('webpack'); // Listen port const PORT = process.env.PORT || 8080; // Load base config const baseConfig = require('./webpack.config.base'); // Create the config const config = Object.create(baseConfig); config.devtool = 'cheap-source-map'; config.devServer = { hot: true, host: "0.0.0.0", disableHostCheck: true, port: PORT, contentBase: path.resolve(__dirname, '../src'), watchContentBase: true }; module.exports = config; ## Instruction: Fix this crashing spewage: Uncaught Error: [HMR] Hot Module Replacement is disabled. ## Code After: const path = require('path'); const webpack = require('webpack'); // Listen port const PORT = process.env.PORT || 8080; // Load base config const baseConfig = require('./webpack.config.base'); // Create the config const config = Object.create(baseConfig); config.devtool = 'cheap-source-map'; config.devServer = { host: "0.0.0.0", disableHostCheck: true, port: PORT, contentBase: path.resolve(__dirname, '../src'), watchContentBase: true }; module.exports = config;
9541858406b925aa12a77eaf002bc0cc0012520b
.travis.yml
.travis.yml
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" env: - DJANGO=1.8.17 - DJANGO=1.9.12 - DJANGO=1.10.5 install: - pip install Django==$DJANGO times da-vinci pillow redis shortuuid - sudo apt-get install -qq optipng script: make test services: redis
language: python python: - "2.7" - "3.4" - "3.5" env: - DJANGO=1.8.17 - DJANGO=1.9.12 - DJANGO=1.10.5 install: - pip install Django==$DJANGO times da-vinci pillow redis shortuuid - sudo apt-get install -qq optipng script: make test services: redis
Exclude Python 3.3 from test matrix.
Exclude Python 3.3 from test matrix.
YAML
mit
ui/django-thumbnails
yaml
## Code Before: language: python python: - "2.7" - "3.3" - "3.4" - "3.5" env: - DJANGO=1.8.17 - DJANGO=1.9.12 - DJANGO=1.10.5 install: - pip install Django==$DJANGO times da-vinci pillow redis shortuuid - sudo apt-get install -qq optipng script: make test services: redis ## Instruction: Exclude Python 3.3 from test matrix. ## Code After: language: python python: - "2.7" - "3.4" - "3.5" env: - DJANGO=1.8.17 - DJANGO=1.9.12 - DJANGO=1.10.5 install: - pip install Django==$DJANGO times da-vinci pillow redis shortuuid - sudo apt-get install -qq optipng script: make test services: redis
ffecdb8752d426218bcf9d1d5ca3d016f7218165
box.json
box.json
{ "alias": "victor.phar", "chmod": "0755", "algorithm": "SHA1", "compression": "GZ", "directories": ["src"], "files": [ "LICENSE.md", "vendor/autoload.php", "vendor/composer/composer/res/cacert.pem" ], "finder": [ { "name": [ "*.php", "LICENSE" ], "exclude": [ "Tests", "tests", "Test", "test" ], "in": [ "vendor/symfony", "vendor/seld/jsonlint", "vendor/seld/cli-prompt", "vendor/justinrainbow/json-schema", "vendor/composer" ] }, { "name": "*.json", "in": "vendor/composer/composer/res" } ], "git-version": "package_version", "main": "bin/victor", "output": "build/victor.phar", "stub": true }
{ "alias": "victor.phar", "chmod": "0755", "algorithm": "SHA1", "compression": "GZ", "directories": ["src"], "files": [ "LICENSE.md", "vendor/autoload.php", "vendor/composer/composer/res/cacert.pem" ], "finder": [ { "name": [ "*.php", "LICENSE" ], "exclude": [ "Tests", "tests", "Test", "test" ], "in": [ "vendor/symfony", "vendor/seld/jsonlint", "vendor/seld/cli-prompt", "vendor/justinrainbow/json-schema", "vendor/padraic", "vendor/composer" ] }, { "name": "*.json", "in": "vendor/composer/composer/res" } ], "git-version": "package_version", "main": "bin/victor", "output": "build/victor.phar", "stub": true }
Add padraic libs to phar file
Add padraic libs to phar file
JSON
mit
nella/victor
json
## Code Before: { "alias": "victor.phar", "chmod": "0755", "algorithm": "SHA1", "compression": "GZ", "directories": ["src"], "files": [ "LICENSE.md", "vendor/autoload.php", "vendor/composer/composer/res/cacert.pem" ], "finder": [ { "name": [ "*.php", "LICENSE" ], "exclude": [ "Tests", "tests", "Test", "test" ], "in": [ "vendor/symfony", "vendor/seld/jsonlint", "vendor/seld/cli-prompt", "vendor/justinrainbow/json-schema", "vendor/composer" ] }, { "name": "*.json", "in": "vendor/composer/composer/res" } ], "git-version": "package_version", "main": "bin/victor", "output": "build/victor.phar", "stub": true } ## Instruction: Add padraic libs to phar file ## Code After: { "alias": "victor.phar", "chmod": "0755", "algorithm": "SHA1", "compression": "GZ", "directories": ["src"], "files": [ "LICENSE.md", "vendor/autoload.php", "vendor/composer/composer/res/cacert.pem" ], "finder": [ { "name": [ "*.php", "LICENSE" ], "exclude": [ "Tests", "tests", "Test", "test" ], "in": [ "vendor/symfony", "vendor/seld/jsonlint", "vendor/seld/cli-prompt", "vendor/justinrainbow/json-schema", "vendor/padraic", "vendor/composer" ] }, { "name": "*.json", "in": "vendor/composer/composer/res" } ], "git-version": "package_version", "main": "bin/victor", "output": "build/victor.phar", "stub": true }
053743de09422740eb2ece73282f7db6d44b4c88
fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties
fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties
ejb=javax.ejb infinispan=org.infinispan jaxrs=javax.ws.rs jaxrs-weld=javax.ws.rs+javax.inject jpa=javax.persistence jsf=javax.faces messaging=javax.jms spring=org.springframework* swagger=io.swagger.annotations undertow=javax.servlet webservices=javax.jws weld=javax.inject
ejb=javax.ejb infinispan=org.infinispan jaxrs=javax.ws.rs jaxrs-weld=javax.ws.rs+javax.inject jpa=javax.persistence jsf=javax.faces messaging=javax.jms spring=org.springframework* swagger=io.swagger.annotations undertow=javax.servlet webservices=javax.jws weld=javax.inject transactions=javax.transaction
Add auto detection mapping for 'transactions'
Add auto detection mapping for 'transactions'
INI
apache-2.0
wildfly-swarm/wildfly-swarm-bom,wildfly-swarm/wildfly-swarm-bom
ini
## Code Before: ejb=javax.ejb infinispan=org.infinispan jaxrs=javax.ws.rs jaxrs-weld=javax.ws.rs+javax.inject jpa=javax.persistence jsf=javax.faces messaging=javax.jms spring=org.springframework* swagger=io.swagger.annotations undertow=javax.servlet webservices=javax.jws weld=javax.inject ## Instruction: Add auto detection mapping for 'transactions' ## Code After: ejb=javax.ejb infinispan=org.infinispan jaxrs=javax.ws.rs jaxrs-weld=javax.ws.rs+javax.inject jpa=javax.persistence jsf=javax.faces messaging=javax.jms spring=org.springframework* swagger=io.swagger.annotations undertow=javax.servlet webservices=javax.jws weld=javax.inject transactions=javax.transaction
42a36989095f887b6f4ce8bc179f2d8dbdfb5722
kubernetes_deploy/development/queue_worker_deployment.yml
kubernetes_deploy/development/queue_worker_deployment.yml
apiVersion: apps/v1 kind: Deployment metadata: annotations: kubernetes.io/change-cause: "<to be filled in deploy_to_kubernetes script>" name: laa-legal-adviser-api-worker spec: replicas: 1 selector: matchLabels: app: laa-legal-adviser-api tier: worker env: development template: metadata: labels: app: laa-legal-adviser-api tier: worker env: development service_area: laa-get-access service_team: cla-fala spec: containers: - image: "<to be set by deploy_to_kubernetes>" imagePullPolicy: Never name: worker args: ["docker/run_worker.sh"] readinessProbe: exec: command: ["docker/ping_services.sh"] initialDelaySeconds: 5 timeoutSeconds: 1 periodSeconds: 10 livenessProbe: exec: command: ["docker/ping_services.sh"] initialDelaySeconds: 10 timeoutSeconds: 1 periodSeconds: 10 env: - name: WORKER_APP_CONCURRENCY value: "2" - name: LOG_LEVEL value: INFO - name: LOG_LEVEL value: INFO - name: DATABASE_URL value: "postgres://postgres@laa-legal-adviser-api-shared-services:5432/laalaa" - name: CELERY_BROKER_URL value: "redis://laa-legal-adviser-api-shared-services:6379"
apiVersion: apps/v1 kind: Deployment metadata: annotations: kubernetes.io/change-cause: "<to be filled in deploy_to_kubernetes script>" name: laa-legal-adviser-api-worker spec: replicas: 1 selector: matchLabels: app: laa-legal-adviser-api tier: worker env: development template: metadata: labels: app: laa-legal-adviser-api tier: worker env: development service_area: laa-get-access service_team: cla-fala spec: containers: - image: "<to be set by deploy_to_kubernetes>" imagePullPolicy: Never name: worker args: ["docker/run_worker.sh"] readinessProbe: exec: command: ["docker/workers_healthcheck.sh"] initialDelaySeconds: 5 timeoutSeconds: 1 periodSeconds: 10 livenessProbe: exec: command: ["docker/workers_healthcheck.sh"] initialDelaySeconds: 10 timeoutSeconds: 1 periodSeconds: 10 env: - name: WORKER_APP_CONCURRENCY value: "2" - name: LOG_LEVEL value: INFO - name: LOG_LEVEL value: INFO - name: DATABASE_URL value: "postgres://postgres@laa-legal-adviser-api-shared-services:5432/laalaa" - name: CELERY_BROKER_URL value: "redis://laa-legal-adviser-api-shared-services:6379"
Use renamed queue worker probes on dev
Use renamed queue worker probes on dev
YAML
mit
ministryofjustice/laa-legal-adviser-api,ministryofjustice/laa-legal-adviser-api,ministryofjustice/laa-legal-adviser-api
yaml
## Code Before: apiVersion: apps/v1 kind: Deployment metadata: annotations: kubernetes.io/change-cause: "<to be filled in deploy_to_kubernetes script>" name: laa-legal-adviser-api-worker spec: replicas: 1 selector: matchLabels: app: laa-legal-adviser-api tier: worker env: development template: metadata: labels: app: laa-legal-adviser-api tier: worker env: development service_area: laa-get-access service_team: cla-fala spec: containers: - image: "<to be set by deploy_to_kubernetes>" imagePullPolicy: Never name: worker args: ["docker/run_worker.sh"] readinessProbe: exec: command: ["docker/ping_services.sh"] initialDelaySeconds: 5 timeoutSeconds: 1 periodSeconds: 10 livenessProbe: exec: command: ["docker/ping_services.sh"] initialDelaySeconds: 10 timeoutSeconds: 1 periodSeconds: 10 env: - name: WORKER_APP_CONCURRENCY value: "2" - name: LOG_LEVEL value: INFO - name: LOG_LEVEL value: INFO - name: DATABASE_URL value: "postgres://postgres@laa-legal-adviser-api-shared-services:5432/laalaa" - name: CELERY_BROKER_URL value: "redis://laa-legal-adviser-api-shared-services:6379" ## Instruction: Use renamed queue worker probes on dev ## Code After: apiVersion: apps/v1 kind: Deployment metadata: annotations: kubernetes.io/change-cause: "<to be filled in deploy_to_kubernetes script>" name: laa-legal-adviser-api-worker spec: replicas: 1 selector: matchLabels: app: laa-legal-adviser-api tier: worker env: development template: metadata: labels: app: laa-legal-adviser-api tier: worker env: development service_area: laa-get-access service_team: cla-fala spec: containers: - image: "<to be set by deploy_to_kubernetes>" imagePullPolicy: Never name: worker args: ["docker/run_worker.sh"] readinessProbe: exec: command: ["docker/workers_healthcheck.sh"] initialDelaySeconds: 5 timeoutSeconds: 1 periodSeconds: 10 livenessProbe: exec: command: ["docker/workers_healthcheck.sh"] initialDelaySeconds: 10 timeoutSeconds: 1 periodSeconds: 10 env: - name: WORKER_APP_CONCURRENCY value: "2" - name: LOG_LEVEL value: INFO - name: LOG_LEVEL value: INFO - name: DATABASE_URL value: "postgres://postgres@laa-legal-adviser-api-shared-services:5432/laalaa" - name: CELERY_BROKER_URL value: "redis://laa-legal-adviser-api-shared-services:6379"
a817e3b3419b7d3c7966e2ddf9146c94a6004730
README.md
README.md
[![Circle CI](https://circleci.com/gh/projectcalico/libcalico.svg?style=svg)](https://circleci.com/gh/projectcalico/libcalico) [![Coverage Status](https://coveralls.io/repos/projectcalico/libcalico/badge.svg?branch=master&service=github)](https://coveralls.io/github/projectcalico/libcalico?branch=master) # libcalico Libcalico is a library for interacting with the Calico data model. It also contains code for working with veths. * It's written in Python (though ports into other languages would be welcomed as PRs) * It currently just talks to etcd as the backend datastore. It's currently focused on the the container side of Calico, though again PRs are welcomed to make it more general. ## Running tests To run tests for libcalico: 1. [Install Docker](http://docs.docker.com/installation/). 2. At the root of the libcalico directory, run: make test [![Analytics](https://calico-ga-beacon.appspot.com/UA-52125893-3/libcalico/README.md?pixel)](https://github.com/igrigorik/ga-beacon)
[![Circle CI](https://circleci.com/gh/projectcalico/libcalico.svg?style=svg)](https://circleci.com/gh/projectcalico/libcalico) [![Coverage Status](https://coveralls.io/repos/projectcalico/libcalico/badge.svg?branch=master&service=github)](https://coveralls.io/github/projectcalico/libcalico?branch=master) # libcalico **NOTE: Python libcalico is no longer being actively developed, and as such is likely to become out-of-date and potentially incompatible with newer Calico versions and features. Instead, it is strongly recommended to use the Golang library, [libcalico-go](https://github.com/projectcalico/libcalico-go). Feel free to contribute patches to this repo as the maintainers will continue to review and merge community PRs.** Libcalico is a library for interacting with the Calico data model. It also contains code for working with veths. * It's written in Python (though ports into other languages would be welcomed as PRs) * It currently just talks to etcd as the backend datastore. It's currently focused on the the container side of Calico, though again PRs are welcomed to make it more general. ## Running tests To run tests for libcalico: 1. [Install Docker](http://docs.docker.com/installation/). 2. At the root of the libcalico directory, run: make test [![Analytics](https://calico-ga-beacon.appspot.com/UA-52125893-3/libcalico/README.md?pixel)](https://github.com/igrigorik/ga-beacon)
Add notice about switching to libcalico-go
Add notice about switching to libcalico-go
Markdown
apache-2.0
projectcalico/libcalico
markdown
## Code Before: [![Circle CI](https://circleci.com/gh/projectcalico/libcalico.svg?style=svg)](https://circleci.com/gh/projectcalico/libcalico) [![Coverage Status](https://coveralls.io/repos/projectcalico/libcalico/badge.svg?branch=master&service=github)](https://coveralls.io/github/projectcalico/libcalico?branch=master) # libcalico Libcalico is a library for interacting with the Calico data model. It also contains code for working with veths. * It's written in Python (though ports into other languages would be welcomed as PRs) * It currently just talks to etcd as the backend datastore. It's currently focused on the the container side of Calico, though again PRs are welcomed to make it more general. ## Running tests To run tests for libcalico: 1. [Install Docker](http://docs.docker.com/installation/). 2. At the root of the libcalico directory, run: make test [![Analytics](https://calico-ga-beacon.appspot.com/UA-52125893-3/libcalico/README.md?pixel)](https://github.com/igrigorik/ga-beacon) ## Instruction: Add notice about switching to libcalico-go ## Code After: [![Circle CI](https://circleci.com/gh/projectcalico/libcalico.svg?style=svg)](https://circleci.com/gh/projectcalico/libcalico) [![Coverage Status](https://coveralls.io/repos/projectcalico/libcalico/badge.svg?branch=master&service=github)](https://coveralls.io/github/projectcalico/libcalico?branch=master) # libcalico **NOTE: Python libcalico is no longer being actively developed, and as such is likely to become out-of-date and potentially incompatible with newer Calico versions and features. Instead, it is strongly recommended to use the Golang library, [libcalico-go](https://github.com/projectcalico/libcalico-go). Feel free to contribute patches to this repo as the maintainers will continue to review and merge community PRs.** Libcalico is a library for interacting with the Calico data model. It also contains code for working with veths. * It's written in Python (though ports into other languages would be welcomed as PRs) * It currently just talks to etcd as the backend datastore. It's currently focused on the the container side of Calico, though again PRs are welcomed to make it more general. ## Running tests To run tests for libcalico: 1. [Install Docker](http://docs.docker.com/installation/). 2. At the root of the libcalico directory, run: make test [![Analytics](https://calico-ga-beacon.appspot.com/UA-52125893-3/libcalico/README.md?pixel)](https://github.com/igrigorik/ga-beacon)
1e04224f6c870cddc1f7d4cbed466a145b150caf
.scrutinizer.yml
.scrutinizer.yml
checks: php: true tools: external_code_coverage: true filter: excluded_paths: - 'tests/*'
build: tests: override: - php-scrutinizer-run tools: external_code_coverage: true filter: excluded_paths: - 'tests/'
Migrate to new PHP Analysis
[Scrutinizer] Migrate to new PHP Analysis
YAML
mit
arodygin/php-dictionary
yaml
## Code Before: checks: php: true tools: external_code_coverage: true filter: excluded_paths: - 'tests/*' ## Instruction: [Scrutinizer] Migrate to new PHP Analysis ## Code After: build: tests: override: - php-scrutinizer-run tools: external_code_coverage: true filter: excluded_paths: - 'tests/'
ce9dac26378e0c5ef3441c675921237e48bbf00b
.travis.yml
.travis.yml
language: ruby rvm: - 1.9.3 before_install: - git submodule update --init --recursive - sudo ./bin/init script: rvmsudo bundle exec rspec spec
language: ruby rvm: - 1.9.3 before_install: - git submodule update --init --recursive - sudo ./bin/init script: - rvmsudo gem install bundler - rvmsudo bundle exec rspec spec
Add installing bundler for rvmsudo
Add installing bundler for rvmsudo
YAML
apache-2.0
wabcwang/nise_bosh,kaerlong/nise_bosh,wabcwang/nise_bosh,kaerlong/nise_bosh,kaerlong/nise_bosh,nttlabs/nise_bosh,wabcwang/nise_bosh,nttlabs/nise_bosh,nttlabs/nise_bosh
yaml
## Code Before: language: ruby rvm: - 1.9.3 before_install: - git submodule update --init --recursive - sudo ./bin/init script: rvmsudo bundle exec rspec spec ## Instruction: Add installing bundler for rvmsudo ## Code After: language: ruby rvm: - 1.9.3 before_install: - git submodule update --init --recursive - sudo ./bin/init script: - rvmsudo gem install bundler - rvmsudo bundle exec rspec spec
c58e3c207ad5f534ea8a7e17cb13f6a1a1b8c714
multi_schema/admin.py
multi_schema/admin.py
from django.contrib import admin from models import Schema class SchemaAdmin(admin.ModelAdmin): pass admin.site.register(Schema, SchemaAdmin)
from django.contrib import admin, auth from models import Schema, UserSchema class SchemaAdmin(admin.ModelAdmin): def get_readonly_fields(self, request, obj=None): if obj is not None: return ('schema',) return () admin.site.register(Schema, SchemaAdmin) class SchemaInline(admin.StackedInline): model = UserSchema # Inject SchemeInline into UserAdmin UserAdmin = admin.site._registry[auth.models.User].__class__ class SchemaUserAdmin(UserAdmin): inlines = UserAdmin.inlines + [SchemaInline] admin.site.unregister(auth.models.User) admin.site.register(auth.models.User, SchemaUserAdmin)
Make 'schema' value readonly after creation. Inject SchemaUser into UserAdmin inlines.
Make 'schema' value readonly after creation. Inject SchemaUser into UserAdmin inlines.
Python
bsd-3-clause
schinckel/django-boardinghouse,schinckel/django-boardinghouse,schinckel/django-boardinghouse
python
## Code Before: from django.contrib import admin from models import Schema class SchemaAdmin(admin.ModelAdmin): pass admin.site.register(Schema, SchemaAdmin) ## Instruction: Make 'schema' value readonly after creation. Inject SchemaUser into UserAdmin inlines. ## Code After: from django.contrib import admin, auth from models import Schema, UserSchema class SchemaAdmin(admin.ModelAdmin): def get_readonly_fields(self, request, obj=None): if obj is not None: return ('schema',) return () admin.site.register(Schema, SchemaAdmin) class SchemaInline(admin.StackedInline): model = UserSchema # Inject SchemeInline into UserAdmin UserAdmin = admin.site._registry[auth.models.User].__class__ class SchemaUserAdmin(UserAdmin): inlines = UserAdmin.inlines + [SchemaInline] admin.site.unregister(auth.models.User) admin.site.register(auth.models.User, SchemaUserAdmin)
6122a8488613bdd7d5aaf80e7238cd2d80687a91
stock.py
stock.py
class Stock: def __init__(self, symbol): self.symbol = symbol self.price = None def update(self, timestamp, price): if price < 0: raise ValueError("price should not be negative") self.price = price
class Stock: def __init__(self, symbol): self.symbol = symbol self.price_history = [] @property def price(self): if self.price_history: return self.price_history[-1] else: return None def update(self, timestamp, price): if price < 0: raise ValueError("price should not be negative") self.price_history.append(price)
Update price attribute to price_history list as well as update function accordingly.
Update price attribute to price_history list as well as update function accordingly.
Python
mit
bsmukasa/stock_alerter
python
## Code Before: class Stock: def __init__(self, symbol): self.symbol = symbol self.price = None def update(self, timestamp, price): if price < 0: raise ValueError("price should not be negative") self.price = price ## Instruction: Update price attribute to price_history list as well as update function accordingly. ## Code After: class Stock: def __init__(self, symbol): self.symbol = symbol self.price_history = [] @property def price(self): if self.price_history: return self.price_history[-1] else: return None def update(self, timestamp, price): if price < 0: raise ValueError("price should not be negative") self.price_history.append(price)
9449d1ded986b8703662ee183dd6d2f47a7e334c
lib/mercurius/apns/notification.rb
lib/mercurius/apns/notification.rb
module APNS class Notification include ActiveModel::Model MAX_PAYLOAD_BYTES = 2048 attr_accessor :alert, :badge, :sound, :other, :content_available attr_reader :attributes def initialize(attributes = {}) @attributes = attributes super end def payload { 'alert' => alert, 'badge' => badge, 'sound' => sound, 'other' => other, 'content-available' => content_available, }.compact end def pack(device_token) [0, 0, 32, package_device_token(device_token), 0, packaged_message.bytesize, packaged_message].pack("ccca*cca*") end def package_device_token(device_token) [device_token.gsub(/[\s|<|>]/,'')].pack('H*') end def packaged_message { aps: payload }.to_json.gsub(/\\u([\da-fA-F]{4})/) do |m| [$1].pack("H*").unpack("n*").pack("U*") end end def ==(that) attributes == that.attributes end def valid? packaged_message.bytesize <= MAX_PAYLOAD_BYTES end end end
module APNS class Notification include ActiveModel::Model MAX_PAYLOAD_BYTES = 2048 attr_accessor :alert, :badge, :sound, :other, :content_available attr_reader :attributes def initialize(attributes = {}) @attributes = attributes super end def payload { 'alert' => alert, 'badge' => badge, 'sound' => sound, 'other' => other, 'content-available' => content_available, }.compact end def pack(device_token) [0, 0, 32, package_device_token(device_token), 0, packaged_message.bytesize, packaged_message].pack("ccca*cca*") end def ==(that) attributes == that.attributes end def valid? packaged_message.bytesize <= MAX_PAYLOAD_BYTES end private def package_device_token(device_token) [device_token.gsub(/[\s|<|>]/,'')].pack('H*') end def packaged_message { aps: payload }.to_json.gsub(/\\u([\da-fA-F]{4})/) do |m| [$1].pack("H*").unpack("n*").pack("U*") end end end end
Make APNS::Notification packaging methods private
Make APNS::Notification packaging methods private
Ruby
mit
jrbeck/mercurius
ruby
## Code Before: module APNS class Notification include ActiveModel::Model MAX_PAYLOAD_BYTES = 2048 attr_accessor :alert, :badge, :sound, :other, :content_available attr_reader :attributes def initialize(attributes = {}) @attributes = attributes super end def payload { 'alert' => alert, 'badge' => badge, 'sound' => sound, 'other' => other, 'content-available' => content_available, }.compact end def pack(device_token) [0, 0, 32, package_device_token(device_token), 0, packaged_message.bytesize, packaged_message].pack("ccca*cca*") end def package_device_token(device_token) [device_token.gsub(/[\s|<|>]/,'')].pack('H*') end def packaged_message { aps: payload }.to_json.gsub(/\\u([\da-fA-F]{4})/) do |m| [$1].pack("H*").unpack("n*").pack("U*") end end def ==(that) attributes == that.attributes end def valid? packaged_message.bytesize <= MAX_PAYLOAD_BYTES end end end ## Instruction: Make APNS::Notification packaging methods private ## Code After: module APNS class Notification include ActiveModel::Model MAX_PAYLOAD_BYTES = 2048 attr_accessor :alert, :badge, :sound, :other, :content_available attr_reader :attributes def initialize(attributes = {}) @attributes = attributes super end def payload { 'alert' => alert, 'badge' => badge, 'sound' => sound, 'other' => other, 'content-available' => content_available, }.compact end def pack(device_token) [0, 0, 32, package_device_token(device_token), 0, packaged_message.bytesize, packaged_message].pack("ccca*cca*") end def ==(that) attributes == that.attributes end def valid? packaged_message.bytesize <= MAX_PAYLOAD_BYTES end private def package_device_token(device_token) [device_token.gsub(/[\s|<|>]/,'')].pack('H*') end def packaged_message { aps: payload }.to_json.gsub(/\\u([\da-fA-F]{4})/) do |m| [$1].pack("H*").unpack("n*").pack("U*") end end end end
1246d87583bf590b3c412095b368a3248f27d214
doc/en/array/constructor.md
doc/en/array/constructor.md
Since the `Array` constructor is ambiguous in how it deals with its parameters, it is highly recommended to always use the array literals - `[]` notation - when creating new arrays. [1, 2, 3]; // Result: [1, 2, 3] new Array(1, 2, 3); // Result: [1, 2, 3] [3]; // Result: [3] new Array(3); // Result: [] new Array('3') // Result: ['3'] In cases when there is only one argument passed to the `Array` constructor and when that argument is a `Number`, the constructor will return a new *sparse* array with the `length` property set to the value of the argument. It should be noted that **only** the `length` property of the new array will be set this way; the actual indexes of the array will not be initialized. var arr = new Array(3); arr[1]; // undefined 1 in arr; // false, the index was not set The behavior of being able to set the length of the array upfront only comes in handy in a few cases, like repeating a string, in which it avoids the use of a `for loop` code. new Array(count + 1).join(stringToRepeat); ### In Conclusion The use of the `Array` constructor should be avoided as much as possible. Literals are definitely preferred. They are shorter and have a clearer syntax; therefore, they also increase the readability of the code.
Since the `Array` constructor is ambiguous in how it deals with its parameters, it is highly recommended to always use the array literals - `[]` notation - when creating new arrays. [1, 2, 3]; // Result: [1, 2, 3] new Array(1, 2, 3); // Result: [1, 2, 3] [3]; // Result: [3] new Array(3); // Result: [] new Array('3') // Result: ['3'] In cases when there is only one argument passed to the `Array` constructor and when that argument is a `Number`, the constructor will return a new *sparse* array with the `length` property set to the value of the argument. It should be noted that **only** the `length` property of the new array will be set this way; the actual indexes of the array will not be initialized. var arr = new Array(3); arr[1]; // undefined 1 in arr; // false, the index was not set Being able to set the length of the array in advance is only useful in a few cases, like repeating a string, in which it avoids the use of a `for loop` code. new Array(count + 1).join(stringToRepeat); ### In Conclusion The use of the `Array` constructor should be avoided. Literals are definitely preferred. They are shorter, have a clearer syntax, and increase code readability.
Clean up language in the array section.
Clean up language in the array section.
Markdown
mit
dongfeng2008/JavaScript-Garden,hehuabing/JavaScript-Garden,julionc/JavaScript-Garden,xis19/JavaScript-Garden,xis19/JavaScript-Garden,cesarmarinhorj/JavaScript-Garden,anityche/JavaScript-Garden,anityche/JavaScript-Garden,Krasnyanskiy/JavaScript-Garden,Krasnyanskiy/JavaScript-Garden,dongfeng2008/JavaScript-Garden,108adams/JavaScript-Garden,itsimoshka/JavaScript-Garden,itsimoshka/JavaScript-Garden,mosoft521/JavaScript-Garden,anityche/JavaScript-Garden,BonsaiDen/JavaScript-Garden,Krasnyanskiy/JavaScript-Garden,cesarmarinhorj/JavaScript-Garden,xis19/JavaScript-Garden,it-na-move/JavaScript-Garden,shamansir/JavaScript-Garden,devil-tamachan/BZDoc,tavriaforever/JavaScript-Garden,mosoft521/JavaScript-Garden,TangTaigang/JavaScript-Garden,dongfeng2008/JavaScript-Garden,manekinekko/JavaScript-Garden,hehuabing/JavaScript-Garden,TangTaigang/JavaScript-Garden,tavriaforever/JavaScript-Garden,manekinekko/JavaScript-Garden,devil-tamachan/BZDoc,rdnz/JavaScript-Garden,108adams/JavaScript-Garden,cesarmarinhorj/JavaScript-Garden,shamansir/JavaScript-Garden,BonsaiDen/JavaScript-Garden,shamansir/JavaScript-Garden,manekinekko/JavaScript-Garden,kamilmielnik/JavaScript-Garden,kevingo/JavaScript-Garden,it-na-move/JavaScript-Garden,rdnz/JavaScript-Garden,julionc/JavaScript-Garden,julionc/JavaScript-Garden,BonsaiDen/JavaScript-Garden,kevingo/JavaScript-Garden,hehuabing/JavaScript-Garden,mosoft521/JavaScript-Garden,tavriaforever/JavaScript-Garden,108adams/JavaScript-Garden,kevingo/JavaScript-Garden,TangTaigang/JavaScript-Garden,kamilmielnik/JavaScript-Garden,it-na-move/JavaScript-Garden,kamilmielnik/JavaScript-Garden,itsimoshka/JavaScript-Garden
markdown
## Code Before: Since the `Array` constructor is ambiguous in how it deals with its parameters, it is highly recommended to always use the array literals - `[]` notation - when creating new arrays. [1, 2, 3]; // Result: [1, 2, 3] new Array(1, 2, 3); // Result: [1, 2, 3] [3]; // Result: [3] new Array(3); // Result: [] new Array('3') // Result: ['3'] In cases when there is only one argument passed to the `Array` constructor and when that argument is a `Number`, the constructor will return a new *sparse* array with the `length` property set to the value of the argument. It should be noted that **only** the `length` property of the new array will be set this way; the actual indexes of the array will not be initialized. var arr = new Array(3); arr[1]; // undefined 1 in arr; // false, the index was not set The behavior of being able to set the length of the array upfront only comes in handy in a few cases, like repeating a string, in which it avoids the use of a `for loop` code. new Array(count + 1).join(stringToRepeat); ### In Conclusion The use of the `Array` constructor should be avoided as much as possible. Literals are definitely preferred. They are shorter and have a clearer syntax; therefore, they also increase the readability of the code. ## Instruction: Clean up language in the array section. ## Code After: Since the `Array` constructor is ambiguous in how it deals with its parameters, it is highly recommended to always use the array literals - `[]` notation - when creating new arrays. [1, 2, 3]; // Result: [1, 2, 3] new Array(1, 2, 3); // Result: [1, 2, 3] [3]; // Result: [3] new Array(3); // Result: [] new Array('3') // Result: ['3'] In cases when there is only one argument passed to the `Array` constructor and when that argument is a `Number`, the constructor will return a new *sparse* array with the `length` property set to the value of the argument. It should be noted that **only** the `length` property of the new array will be set this way; the actual indexes of the array will not be initialized. var arr = new Array(3); arr[1]; // undefined 1 in arr; // false, the index was not set Being able to set the length of the array in advance is only useful in a few cases, like repeating a string, in which it avoids the use of a `for loop` code. new Array(count + 1).join(stringToRepeat); ### In Conclusion The use of the `Array` constructor should be avoided. Literals are definitely preferred. They are shorter, have a clearer syntax, and increase code readability.
fcae12ca34262620698c93452742ce4748d62bcf
README.md
README.md
A quick-and-dirty tool for working with the name graphics found in FE12's Guide
A quick-and-dirty tool for working with the name graphics found in FE12's Guide. ![screenshot](https://cloud.githubusercontent.com/assets/12245827/19224598/eb7d2ca2-8e3d-11e6-9104-3d28df114c9f.png) This tool is intended to be used with the name_[faction].pkcg files found in the dic/ directory of FE12. It may work with other PKCG files, but it probably won't. To use this tool: 1. (Download the tool)[https://github.com/tom-overton/fe12-guide-name-tool/releases/tag/v1.0] or pull and compile it yourself. 2. Extract the name file from the FE12 ROM. I recommend using [Tinke](https://github.com/pleonex/tinke) to do this. All name files are located in the dic/ directory, and are labeled by faction. 3. Decompress the name file you extracted. I used [Puyo Tools](http://www.romhacking.net/utilities/1130/) for this, but feel free to use whatever you like, so long as it supports LZSS compression. 4. Open the FE12 Guide Name Tool, then use the Open File button to select the decompressed PKCG you created in Step 3. 5. You should now see all of the names in the PKCG in the list to the right. You can click on one of the names to make it visible in the box to the left. 6. Click the Export to PNG button to save the currently-visible name as a PNG somewhere on your computer. From there, edit the name to your liking. 7. Click the Import from PNG button to replace the currently-visible name with the name you edited in the previous step. Ensure that the imported name is 64x12 pixels large and obeys the palette restrictions from the original name. 8. If the import was successful, the PKCG will be updated (a backup is created in case you want to revert the import). Compress the PKCG with Puyo Tools using LZSS compression. 9. Open the FE12 ROM in Tinke again, and use the Change File button to replace the original name file with your updated one. Save the updated ROM. 10. Boot FE12. Your updated name should be visible in the Guide menu!
Update READMDE with build information
Update READMDE with build information
Markdown
mit
tom-overton/fe12-guide-name-tool
markdown
## Code Before: A quick-and-dirty tool for working with the name graphics found in FE12's Guide ## Instruction: Update READMDE with build information ## Code After: A quick-and-dirty tool for working with the name graphics found in FE12's Guide. ![screenshot](https://cloud.githubusercontent.com/assets/12245827/19224598/eb7d2ca2-8e3d-11e6-9104-3d28df114c9f.png) This tool is intended to be used with the name_[faction].pkcg files found in the dic/ directory of FE12. It may work with other PKCG files, but it probably won't. To use this tool: 1. (Download the tool)[https://github.com/tom-overton/fe12-guide-name-tool/releases/tag/v1.0] or pull and compile it yourself. 2. Extract the name file from the FE12 ROM. I recommend using [Tinke](https://github.com/pleonex/tinke) to do this. All name files are located in the dic/ directory, and are labeled by faction. 3. Decompress the name file you extracted. I used [Puyo Tools](http://www.romhacking.net/utilities/1130/) for this, but feel free to use whatever you like, so long as it supports LZSS compression. 4. Open the FE12 Guide Name Tool, then use the Open File button to select the decompressed PKCG you created in Step 3. 5. You should now see all of the names in the PKCG in the list to the right. You can click on one of the names to make it visible in the box to the left. 6. Click the Export to PNG button to save the currently-visible name as a PNG somewhere on your computer. From there, edit the name to your liking. 7. Click the Import from PNG button to replace the currently-visible name with the name you edited in the previous step. Ensure that the imported name is 64x12 pixels large and obeys the palette restrictions from the original name. 8. If the import was successful, the PKCG will be updated (a backup is created in case you want to revert the import). Compress the PKCG with Puyo Tools using LZSS compression. 9. Open the FE12 ROM in Tinke again, and use the Change File button to replace the original name file with your updated one. Save the updated ROM. 10. Boot FE12. Your updated name should be visible in the Guide menu!
0b6d23e72b0f85674465a8fe9dc4922ff083899c
app/controllers/expenses_controller.rb
app/controllers/expenses_controller.rb
class ExpensesController < ApplicationController before_filter :find_event_and_expense helper_method :expenses_title, :expenses_path, :expenses, :expense_path, :edit_expense_path def create @expense = Expense.new(params[:expense]) if @expense.valid? @event.fixed_expenses << @expense @event.save! redirect_to event_expenses_path(@event.id) else render :index end end def destroy @event.fixed_expenses.delete @expense @event.save! redirect_to event_expenses_path(@event.id) end def update @expense.assign params[:expense] if @expense.valid? @event.save redirect_to event_expenses_path(@event.id) else render :edit end end def index @expense = Expense.new end private def find_event_and_expense @event = Event.find(params[:event_id]) @expense = @event.fixed_expenses.find(params[:id]) if params[:id] end def expenses_title "Fixed expenses" end def expenses_path event_expenses_path(@event) end def expenses @event.fixed_expenses end def expense_path(expense=@expense) event_expense_path(@event.id, expense.id) end def edit_expense_path(expense) edit_event_expense_path(@event.id, expense.id) end end
class ExpensesController < ApplicationController before_filter :find_event_and_expense helper_method :expenses_title, :expenses_path, :expenses, :expense_path, :edit_expense_path def create @expense = Expense.new(params[:expense]) if @expense.valid? expenses << @expense @event.save! redirect_to expenses_path else render :index end end def destroy expenses.delete @expense @event.save! redirect_to expenses_path end def update @expense.assign params[:expense] if @expense.valid? @event.save redirect_to expenses_path else render :edit end end def index @expense = Expense.new end private def find_event_and_expense @event = Event.find(params[:event_id]) @expense = expenses.find(params[:id]) if params[:id] end def expenses_title "Fixed expenses" end def expenses_path event_expenses_path(@event) end def expenses @event.fixed_expenses end def expense_path(expense=@expense) event_expense_path(@event.id, expense.id) end def edit_expense_path(expense) edit_event_expense_path(@event.id, expense.id) end end
Use template methods for expenses in controller
Use template methods for expenses in controller
Ruby
mit
CultivateHQ/ballpark,CultivateHQ/ballpark
ruby
## Code Before: class ExpensesController < ApplicationController before_filter :find_event_and_expense helper_method :expenses_title, :expenses_path, :expenses, :expense_path, :edit_expense_path def create @expense = Expense.new(params[:expense]) if @expense.valid? @event.fixed_expenses << @expense @event.save! redirect_to event_expenses_path(@event.id) else render :index end end def destroy @event.fixed_expenses.delete @expense @event.save! redirect_to event_expenses_path(@event.id) end def update @expense.assign params[:expense] if @expense.valid? @event.save redirect_to event_expenses_path(@event.id) else render :edit end end def index @expense = Expense.new end private def find_event_and_expense @event = Event.find(params[:event_id]) @expense = @event.fixed_expenses.find(params[:id]) if params[:id] end def expenses_title "Fixed expenses" end def expenses_path event_expenses_path(@event) end def expenses @event.fixed_expenses end def expense_path(expense=@expense) event_expense_path(@event.id, expense.id) end def edit_expense_path(expense) edit_event_expense_path(@event.id, expense.id) end end ## Instruction: Use template methods for expenses in controller ## Code After: class ExpensesController < ApplicationController before_filter :find_event_and_expense helper_method :expenses_title, :expenses_path, :expenses, :expense_path, :edit_expense_path def create @expense = Expense.new(params[:expense]) if @expense.valid? expenses << @expense @event.save! redirect_to expenses_path else render :index end end def destroy expenses.delete @expense @event.save! redirect_to expenses_path end def update @expense.assign params[:expense] if @expense.valid? @event.save redirect_to expenses_path else render :edit end end def index @expense = Expense.new end private def find_event_and_expense @event = Event.find(params[:event_id]) @expense = expenses.find(params[:id]) if params[:id] end def expenses_title "Fixed expenses" end def expenses_path event_expenses_path(@event) end def expenses @event.fixed_expenses end def expense_path(expense=@expense) event_expense_path(@event.id, expense.id) end def edit_expense_path(expense) edit_event_expense_path(@event.id, expense.id) end end
dea17009bcc304a23fd1003d8537402c18295111
Casks/latexit.rb
Casks/latexit.rb
cask :v1 => 'latexit' do version '2.7.3' sha256 '45efeeea0d7bde36ba08aa663d6dd10092ec66d7622bccccf73732257e1e82f0' url "http://www.chachatelier.fr/latexit/downloads/LaTeXiT-#{version.gsub('.', '_')}.dmg" appcast 'http://pierre.chachatelier.fr/latexit/downloads/latexit-sparkle-en.rss', :sha256 => 'bc1bd88bf1d7a9770f0527652db2fc082214240a9b66684d9a95a0beaf2f260a' homepage 'http://www.chachatelier.fr/latexit' license :oss app 'LaTeXiT.app' zap :delete => '~/Library/Preferences/fr.chachatelier.pierre.LaTeXiT.plist' end
cask :v1 => 'latexit' do version '2.7.5' sha256 '2faef9682f1450d2a4b240bcf602a84ae187e58bf62787e2185af0ee05161e6f' url "http://www.chachatelier.fr/latexit/downloads/LaTeXiT-#{version.gsub('.', '_')}.dmg" appcast 'http://pierre.chachatelier.fr/latexit/downloads/latexit-sparkle-en.rss', :sha256 => 'bc1bd88bf1d7a9770f0527652db2fc082214240a9b66684d9a95a0beaf2f260a' homepage 'http://www.chachatelier.fr/latexit' license :oss app 'LaTeXiT.app' zap :delete => '~/Library/Preferences/fr.chachatelier.pierre.LaTeXiT.plist' end
Update LaTeXiT to version 2.7.5
Update LaTeXiT to version 2.7.5
Ruby
bsd-2-clause
cohei/homebrew-cask,sosedoff/homebrew-cask,kesara/homebrew-cask,sscotth/homebrew-cask,elyscape/homebrew-cask,samshadwell/homebrew-cask,elnappo/homebrew-cask,LaurentFough/homebrew-cask,markhuber/homebrew-cask,MircoT/homebrew-cask,Hywan/homebrew-cask,troyxmccall/homebrew-cask,fazo96/homebrew-cask,malob/homebrew-cask,nrlquaker/homebrew-cask,brianshumate/homebrew-cask,danielgomezrico/homebrew-cask,joschi/homebrew-cask,vuquoctuan/homebrew-cask,bric3/homebrew-cask,d/homebrew-cask,afdnlw/homebrew-cask,norio-nomura/homebrew-cask,wayou/homebrew-cask,alebcay/homebrew-cask,jgarber623/homebrew-cask,dustinblackman/homebrew-cask,lumaxis/homebrew-cask,antogg/homebrew-cask,cblecker/homebrew-cask,mauricerkelly/homebrew-cask,yurrriq/homebrew-cask,JosephViolago/homebrew-cask,Amorymeltzer/homebrew-cask,jellyfishcoder/homebrew-cask,rajiv/homebrew-cask,gyugyu/homebrew-cask,dlovitch/homebrew-cask,antogg/homebrew-cask,guylabs/homebrew-cask,Ephemera/homebrew-cask,iamso/homebrew-cask,Labutin/homebrew-cask,hellosky806/homebrew-cask,guerrero/homebrew-cask,colindunn/homebrew-cask,sanyer/homebrew-cask,cobyism/homebrew-cask,neil-ca-moore/homebrew-cask,ebraminio/homebrew-cask,0xadada/homebrew-cask,hovancik/homebrew-cask,paulombcosta/homebrew-cask,kevyau/homebrew-cask,xcezx/homebrew-cask,carlmod/homebrew-cask,jconley/homebrew-cask,fazo96/homebrew-cask,bchatard/homebrew-cask,mathbunnyru/homebrew-cask,markthetech/homebrew-cask,koenrh/homebrew-cask,ajbw/homebrew-cask,nrlquaker/homebrew-cask,rickychilcott/homebrew-cask,michelegera/homebrew-cask,hvisage/homebrew-cask,samnung/homebrew-cask,JikkuJose/homebrew-cask,puffdad/homebrew-cask,diguage/homebrew-cask,stephenwade/homebrew-cask,Hywan/homebrew-cask,shonjir/homebrew-cask,kei-yamazaki/homebrew-cask,jonathanwiesel/homebrew-cask,retbrown/homebrew-cask,koenrh/homebrew-cask,mokagio/homebrew-cask,katoquro/homebrew-cask,scribblemaniac/homebrew-cask,kei-yamazaki/homebrew-cask,gwaldo/homebrew-cask,ksylvan/homebrew-cask,kteru/homebrew-cask,robertgzr/homebrew-cask,xakraz/homebrew-cask,codeurge/homebrew-cask,jgarber623/homebrew-cask,johndbritton/homebrew-cask,jen20/homebrew-cask,andersonba/homebrew-cask,shishi/homebrew-cask,markthetech/homebrew-cask,tsparber/homebrew-cask,skyyuan/homebrew-cask,mattfelsen/homebrew-cask,tsparber/homebrew-cask,n8henrie/homebrew-cask,linc01n/homebrew-cask,gyndav/homebrew-cask,dwkns/homebrew-cask,qbmiller/homebrew-cask,asins/homebrew-cask,retrography/homebrew-cask,cclauss/homebrew-cask,cprecioso/homebrew-cask,Ephemera/homebrew-cask,Fedalto/homebrew-cask,wKovacs64/homebrew-cask,winkelsdorf/homebrew-cask,slnovak/homebrew-cask,kTitan/homebrew-cask,paour/homebrew-cask,julionc/homebrew-cask,Saklad5/homebrew-cask,uetchy/homebrew-cask,coeligena/homebrew-customized,perfide/homebrew-cask,bosr/homebrew-cask,cedwardsmedia/homebrew-cask,jpodlech/homebrew-cask,rhendric/homebrew-cask,malford/homebrew-cask,slack4u/homebrew-cask,rubenerd/homebrew-cask,feniix/homebrew-cask,y00rb/homebrew-cask,julienlavergne/homebrew-cask,johnste/homebrew-cask,hackhandslabs/homebrew-cask,wuman/homebrew-cask,williamboman/homebrew-cask,danielbayley/homebrew-cask,enriclluelles/homebrew-cask,tolbkni/homebrew-cask,jconley/homebrew-cask,iAmGhost/homebrew-cask,JoelLarson/homebrew-cask,stevenmaguire/homebrew-cask,mgryszko/homebrew-cask,xtian/homebrew-cask,ninjahoahong/homebrew-cask,cliffcotino/homebrew-cask,mjdescy/homebrew-cask,nysthee/homebrew-cask,wastrachan/homebrew-cask,yurikoles/homebrew-cask,imgarylai/homebrew-cask,epmatsw/homebrew-cask,sohtsuka/homebrew-cask,spruceb/homebrew-cask,af/homebrew-cask,ahvigil/homebrew-cask,cprecioso/homebrew-cask,jacobbednarz/homebrew-cask,wolflee/homebrew-cask,lukeadams/homebrew-cask,blainesch/homebrew-cask,fanquake/homebrew-cask,markhuber/homebrew-cask,lucasmezencio/homebrew-cask,samnung/homebrew-cask,lifepillar/homebrew-cask,alloy/homebrew-cask,dictcp/homebrew-cask,supriyantomaftuh/homebrew-cask,winkelsdorf/homebrew-cask,ianyh/homebrew-cask,SamiHiltunen/homebrew-cask,MoOx/homebrew-cask,guerrero/homebrew-cask,MatzFan/homebrew-cask,atsuyim/homebrew-cask,kronicd/homebrew-cask,dspeckhard/homebrew-cask,jamesmlees/homebrew-cask,andyli/homebrew-cask,hvisage/homebrew-cask,danielgomezrico/homebrew-cask,phpwutz/homebrew-cask,scribblemaniac/homebrew-cask,hanxue/caskroom,franklouwers/homebrew-cask,timsutton/homebrew-cask,bchatard/homebrew-cask,rkJun/homebrew-cask,JacopKane/homebrew-cask,blogabe/homebrew-cask,okket/homebrew-cask,christer155/homebrew-cask,feigaochn/homebrew-cask,ajbw/homebrew-cask,lukasbestle/homebrew-cask,wKovacs64/homebrew-cask,thii/homebrew-cask,gmkey/homebrew-cask,squid314/homebrew-cask,sosedoff/homebrew-cask,fwiesel/homebrew-cask,psibre/homebrew-cask,scribblemaniac/homebrew-cask,catap/homebrew-cask,stevenmaguire/homebrew-cask,akiomik/homebrew-cask,rcuza/homebrew-cask,underyx/homebrew-cask,dustinblackman/homebrew-cask,dspeckhard/homebrew-cask,diguage/homebrew-cask,carlmod/homebrew-cask,xight/homebrew-cask,brianshumate/homebrew-cask,mingzhi22/homebrew-cask,nrlquaker/homebrew-cask,fly19890211/homebrew-cask,aguynamedryan/homebrew-cask,scottsuch/homebrew-cask,ywfwj2008/homebrew-cask,cedwardsmedia/homebrew-cask,mattrobenolt/homebrew-cask,sparrc/homebrew-cask,tan9/homebrew-cask,BahtiyarB/homebrew-cask,hellosky806/homebrew-cask,scottsuch/homebrew-cask,feniix/homebrew-cask,albertico/homebrew-cask,yuhki50/homebrew-cask,xiongchiamiov/homebrew-cask,Ngrd/homebrew-cask,josa42/homebrew-cask,RickWong/homebrew-cask,schneidmaster/homebrew-cask,leipert/homebrew-cask,nathansgreen/homebrew-cask,shishi/homebrew-cask,diogodamiani/homebrew-cask,spruceb/homebrew-cask,boydj/homebrew-cask,ericbn/homebrew-cask,qnm/homebrew-cask,genewoo/homebrew-cask,ahvigil/homebrew-cask,wmorin/homebrew-cask,elseym/homebrew-cask,SentinelWarren/homebrew-cask,bsiddiqui/homebrew-cask,bosr/homebrew-cask,ctrevino/homebrew-cask,inta/homebrew-cask,JosephViolago/homebrew-cask,chrisRidgers/homebrew-cask,jamesmlees/homebrew-cask,ohammersmith/homebrew-cask,malford/homebrew-cask,RJHsiao/homebrew-cask,ch3n2k/homebrew-cask,giannitm/homebrew-cask,phpwutz/homebrew-cask,santoshsahoo/homebrew-cask,mchlrmrz/homebrew-cask,zhuzihhhh/homebrew-cask,arronmabrey/homebrew-cask,tarwich/homebrew-cask,stonehippo/homebrew-cask,singingwolfboy/homebrew-cask,JosephViolago/homebrew-cask,mlocher/homebrew-cask,lukeadams/homebrew-cask,wizonesolutions/homebrew-cask,devmynd/homebrew-cask,mhubig/homebrew-cask,jpodlech/homebrew-cask,tolbkni/homebrew-cask,daften/homebrew-cask,gyndav/homebrew-cask,jpmat296/homebrew-cask,coeligena/homebrew-customized,jpmat296/homebrew-cask,AnastasiaSulyagina/homebrew-cask,vin047/homebrew-cask,arronmabrey/homebrew-cask,CameronGarrett/homebrew-cask,FredLackeyOfficial/homebrew-cask,chino/homebrew-cask,mahori/homebrew-cask,pablote/homebrew-cask,tedski/homebrew-cask,fly19890211/homebrew-cask,mikem/homebrew-cask,a-x-/homebrew-cask,BenjaminHCCarr/homebrew-cask,gerrypower/homebrew-cask,Fedalto/homebrew-cask,mathbunnyru/homebrew-cask,moogar0880/homebrew-cask,victorpopkov/homebrew-cask,Cottser/homebrew-cask,seanorama/homebrew-cask,jbeagley52/homebrew-cask,dwkns/homebrew-cask,tranc99/homebrew-cask,supriyantomaftuh/homebrew-cask,joaocc/homebrew-cask,malob/homebrew-cask,astorije/homebrew-cask,morganestes/homebrew-cask,paour/homebrew-cask,jbeagley52/homebrew-cask,nathancahill/homebrew-cask,pinut/homebrew-cask,nicolas-brousse/homebrew-cask,paour/homebrew-cask,tedbundyjr/homebrew-cask,joshka/homebrew-cask,KosherBacon/homebrew-cask,mwean/homebrew-cask,howie/homebrew-cask,n8henrie/homebrew-cask,flada-auxv/homebrew-cask,englishm/homebrew-cask,fkrone/homebrew-cask,rcuza/homebrew-cask,kongslund/homebrew-cask,rickychilcott/homebrew-cask,Ngrd/homebrew-cask,Ibuprofen/homebrew-cask,sirodoht/homebrew-cask,thehunmonkgroup/homebrew-cask,slack4u/homebrew-cask,sparrc/homebrew-cask,kingthorin/homebrew-cask,larseggert/homebrew-cask,My2ndAngelic/homebrew-cask,goxberry/homebrew-cask,chrisRidgers/homebrew-cask,lcasey001/homebrew-cask,toonetown/homebrew-cask,bric3/homebrew-cask,royalwang/homebrew-cask,fharbe/homebrew-cask,ptb/homebrew-cask,kryhear/homebrew-cask,joshka/homebrew-cask,segiddins/homebrew-cask,mazehall/homebrew-cask,alloy/homebrew-cask,taherio/homebrew-cask,mariusbutuc/homebrew-cask,guylabs/homebrew-cask,a1russell/homebrew-cask,mjgardner/homebrew-cask,kievechua/homebrew-cask,wickles/homebrew-cask,amatos/homebrew-cask,bcomnes/homebrew-cask,gibsjose/homebrew-cask,opsdev-ws/homebrew-cask,gerrymiller/homebrew-cask,mishari/homebrew-cask,puffdad/homebrew-cask,gord1anknot/homebrew-cask,vitorgalvao/homebrew-cask,gguillotte/homebrew-cask,tjt263/homebrew-cask,13k/homebrew-cask,christophermanning/homebrew-cask,linc01n/homebrew-cask,moonboots/homebrew-cask,deiga/homebrew-cask,zerrot/homebrew-cask,skatsuta/homebrew-cask,jppelteret/homebrew-cask,goxberry/homebrew-cask,taherio/homebrew-cask,dunn/homebrew-cask,hristozov/homebrew-cask,gyugyu/homebrew-cask,vmrob/homebrew-cask,tjnycum/homebrew-cask,BahtiyarB/homebrew-cask,deiga/homebrew-cask,kostasdizas/homebrew-cask,neverfox/homebrew-cask,jmeridth/homebrew-cask,joschi/homebrew-cask,dvdoliveira/homebrew-cask,victorpopkov/homebrew-cask,muan/homebrew-cask,a1russell/homebrew-cask,crmne/homebrew-cask,paulbreslin/homebrew-cask,kesara/homebrew-cask,kuno/homebrew-cask,colindean/homebrew-cask,anbotero/homebrew-cask,theoriginalgri/homebrew-cask,winkelsdorf/homebrew-cask,xyb/homebrew-cask,yutarody/homebrew-cask,lvicentesanchez/homebrew-cask,jalaziz/homebrew-cask,MisumiRize/homebrew-cask,gerrymiller/homebrew-cask,jeroenj/homebrew-cask,jacobdam/homebrew-cask,gurghet/homebrew-cask,johnste/homebrew-cask,optikfluffel/homebrew-cask,alexg0/homebrew-cask,chuanxd/homebrew-cask,robbiethegeek/homebrew-cask,SamiHiltunen/homebrew-cask,MicTech/homebrew-cask,ksylvan/homebrew-cask,mchlrmrz/homebrew-cask,renard/homebrew-cask,afh/homebrew-cask,hristozov/homebrew-cask,Philosoft/homebrew-cask,aki77/homebrew-cask,epmatsw/homebrew-cask,arranubels/homebrew-cask,mazehall/homebrew-cask,fanquake/homebrew-cask,tranc99/homebrew-cask,tjt263/homebrew-cask,gord1anknot/homebrew-cask,codeurge/homebrew-cask,kamilboratynski/homebrew-cask,sirodoht/homebrew-cask,lcasey001/homebrew-cask,greg5green/homebrew-cask,johan/homebrew-cask,dwihn0r/homebrew-cask,chadcatlett/caskroom-homebrew-cask,paulombcosta/homebrew-cask,dieterdemeyer/homebrew-cask,dlovitch/homebrew-cask,okket/homebrew-cask,ywfwj2008/homebrew-cask,kiliankoe/homebrew-cask,corbt/homebrew-cask,drostron/homebrew-cask,tangestani/homebrew-cask,uetchy/homebrew-cask,seanzxx/homebrew-cask,af/homebrew-cask,jtriley/homebrew-cask,ninjahoahong/homebrew-cask,miccal/homebrew-cask,MatzFan/homebrew-cask,mokagio/homebrew-cask,reelsense/homebrew-cask,lantrix/homebrew-cask,yutarody/homebrew-cask,Saklad5/homebrew-cask,lauantai/homebrew-cask,ericbn/homebrew-cask,moogar0880/homebrew-cask,flaviocamilo/homebrew-cask,gilesdring/homebrew-cask,hanxue/caskroom,mjdescy/homebrew-cask,jalaziz/homebrew-cask,adelinofaria/homebrew-cask,amatos/homebrew-cask,arranubels/homebrew-cask,moimikey/homebrew-cask,unasuke/homebrew-cask,corbt/homebrew-cask,inz/homebrew-cask,jasmas/homebrew-cask,buo/homebrew-cask,caskroom/homebrew-cask,bendoerr/homebrew-cask,forevergenin/homebrew-cask,athrunsun/homebrew-cask,exherb/homebrew-cask,wickedsp1d3r/homebrew-cask,kpearson/homebrew-cask,gguillotte/homebrew-cask,reitermarkus/homebrew-cask,jacobdam/homebrew-cask,reitermarkus/homebrew-cask,blogabe/homebrew-cask,stevehedrick/homebrew-cask,claui/homebrew-cask,yurrriq/homebrew-cask,mindriot101/homebrew-cask,johntrandall/homebrew-cask,m3nu/homebrew-cask,ftiff/homebrew-cask,SentinelWarren/homebrew-cask,vitorgalvao/homebrew-cask,yurikoles/homebrew-cask,pacav69/homebrew-cask,johan/homebrew-cask,nathanielvarona/homebrew-cask,athrunsun/homebrew-cask,Bombenleger/homebrew-cask,yuhki50/homebrew-cask,xakraz/homebrew-cask,gabrielizaias/homebrew-cask,flaviocamilo/homebrew-cask,chuanxd/homebrew-cask,jalaziz/homebrew-cask,ldong/homebrew-cask,anbotero/homebrew-cask,skatsuta/homebrew-cask,vigosan/homebrew-cask,xiongchiamiov/homebrew-cask,samdoran/homebrew-cask,FinalDes/homebrew-cask,a-x-/homebrew-cask,bcaceiro/homebrew-cask,tyage/homebrew-cask,miguelfrde/homebrew-cask,ianyh/homebrew-cask,jawshooah/homebrew-cask,xight/homebrew-cask,dictcp/homebrew-cask,yumitsu/homebrew-cask,faun/homebrew-cask,haha1903/homebrew-cask,andrewdisley/homebrew-cask,wesen/homebrew-cask,enriclluelles/homebrew-cask,bkono/homebrew-cask,inta/homebrew-cask,MisumiRize/homebrew-cask,illusionfield/homebrew-cask,KosherBacon/homebrew-cask,gerrypower/homebrew-cask,coneman/homebrew-cask,samdoran/homebrew-cask,rogeriopradoj/homebrew-cask,qbmiller/homebrew-cask,catap/homebrew-cask,bcomnes/homebrew-cask,MicTech/homebrew-cask,sgnh/homebrew-cask,mathbunnyru/homebrew-cask,xcezx/homebrew-cask,esebastian/homebrew-cask,coeligena/homebrew-customized,Nitecon/homebrew-cask,rhendric/homebrew-cask,mahori/homebrew-cask,wuman/homebrew-cask,atsuyim/homebrew-cask,kirikiriyamama/homebrew-cask,kiliankoe/homebrew-cask,jrwesolo/homebrew-cask,MichaelPei/homebrew-cask,mwean/homebrew-cask,shoichiaizawa/homebrew-cask,jaredsampson/homebrew-cask,xight/homebrew-cask,pkq/homebrew-cask,garborg/homebrew-cask,RogerThiede/homebrew-cask,feigaochn/homebrew-cask,FranklinChen/homebrew-cask,cliffcotino/homebrew-cask,sohtsuka/homebrew-cask,gyndav/homebrew-cask,nshemonsky/homebrew-cask,pablote/homebrew-cask,zorosteven/homebrew-cask,timsutton/homebrew-cask,alexg0/homebrew-cask,jeroenseegers/homebrew-cask,slnovak/homebrew-cask,unasuke/homebrew-cask,mishari/homebrew-cask,zchee/homebrew-cask,vuquoctuan/homebrew-cask,nightscape/homebrew-cask,kievechua/homebrew-cask,tjnycum/homebrew-cask,kkdd/homebrew-cask,jeanregisser/homebrew-cask,stonehippo/homebrew-cask,flada-auxv/homebrew-cask,genewoo/homebrew-cask,shonjir/homebrew-cask,xyb/homebrew-cask,vin047/homebrew-cask,lauantai/homebrew-cask,napaxton/homebrew-cask,klane/homebrew-cask,artdevjs/homebrew-cask,jiashuw/homebrew-cask,caskroom/homebrew-cask,cohei/homebrew-cask,esebastian/homebrew-cask,dcondrey/homebrew-cask,yumitsu/homebrew-cask,delphinus35/homebrew-cask,n0ts/homebrew-cask,jasmas/homebrew-cask,claui/homebrew-cask,Ketouem/homebrew-cask,jangalinski/homebrew-cask,iAmGhost/homebrew-cask,lifepillar/homebrew-cask,nivanchikov/homebrew-cask,Whoaa512/homebrew-cask,aki77/homebrew-cask,vmrob/homebrew-cask,kuno/homebrew-cask,sysbot/homebrew-cask,kongslund/homebrew-cask,kesara/homebrew-cask,zerrot/homebrew-cask,6uclz1/homebrew-cask,zmwangx/homebrew-cask,pkq/homebrew-cask,wmorin/homebrew-cask,mikem/homebrew-cask,ohammersmith/homebrew-cask,cblecker/homebrew-cask,AnastasiaSulyagina/homebrew-cask,casidiablo/homebrew-cask,chadcatlett/caskroom-homebrew-cask,miku/homebrew-cask,royalwang/homebrew-cask,nathansgreen/homebrew-cask,stephenwade/homebrew-cask,mingzhi22/homebrew-cask,hovancik/homebrew-cask,imgarylai/homebrew-cask,thehunmonkgroup/homebrew-cask,lieuwex/homebrew-cask,MoOx/homebrew-cask,MircoT/homebrew-cask,RickWong/homebrew-cask,joaocc/homebrew-cask,cobyism/homebrew-cask,stonehippo/homebrew-cask,ddm/homebrew-cask,astorije/homebrew-cask,andersonba/homebrew-cask,devmynd/homebrew-cask,jiashuw/homebrew-cask,adriweb/homebrew-cask,Keloran/homebrew-cask,johnjelinek/homebrew-cask,usami-k/homebrew-cask,syscrusher/homebrew-cask,mwilmer/homebrew-cask,miccal/homebrew-cask,larseggert/homebrew-cask,onlynone/homebrew-cask,frapposelli/homebrew-cask,otaran/homebrew-cask,mrmachine/homebrew-cask,RogerThiede/homebrew-cask,barravi/homebrew-cask,nivanchikov/homebrew-cask,xyb/homebrew-cask,JacopKane/homebrew-cask,aktau/homebrew-cask,My2ndAngelic/homebrew-cask,seanzxx/homebrew-cask,0xadada/homebrew-cask,farmerchris/homebrew-cask,malob/homebrew-cask,axodys/homebrew-cask,sgnh/homebrew-cask,13k/homebrew-cask,ebraminio/homebrew-cask,Philosoft/homebrew-cask,MerelyAPseudonym/homebrew-cask,jawshooah/homebrew-cask,retbrown/homebrew-cask,lantrix/homebrew-cask,dcondrey/homebrew-cask,xtian/homebrew-cask,yutarody/homebrew-cask,colindunn/homebrew-cask,kirikiriyamama/homebrew-cask,aguynamedryan/homebrew-cask,maxnordlund/homebrew-cask,scw/homebrew-cask,fkrone/homebrew-cask,sebcode/homebrew-cask,hyuna917/homebrew-cask,mlocher/homebrew-cask,jgarber623/homebrew-cask,squid314/homebrew-cask,jangalinski/homebrew-cask,danielbayley/homebrew-cask,skyyuan/homebrew-cask,sscotth/homebrew-cask,mahori/homebrew-cask,vigosan/homebrew-cask,rajiv/homebrew-cask,jhowtan/homebrew-cask,asbachb/homebrew-cask,adriweb/homebrew-cask,thomanq/homebrew-cask,stephenwade/homebrew-cask,bkono/homebrew-cask,julienlavergne/homebrew-cask,akiomik/homebrew-cask,jayshao/homebrew-cask,helloIAmPau/homebrew-cask,underyx/homebrew-cask,nightscape/homebrew-cask,jedahan/homebrew-cask,cblecker/homebrew-cask,mattfelsen/homebrew-cask,kolomiichenko/homebrew-cask,nathanielvarona/homebrew-cask,hanxue/caskroom,elseym/homebrew-cask,sscotth/homebrew-cask,deiga/homebrew-cask,mwek/homebrew-cask,jeroenseegers/homebrew-cask,cfillion/homebrew-cask,Nitecon/homebrew-cask,exherb/homebrew-cask,greg5green/homebrew-cask,doits/homebrew-cask,andyli/homebrew-cask,bsiddiqui/homebrew-cask,thomanq/homebrew-cask,scottsuch/homebrew-cask,ericbn/homebrew-cask,tangestani/homebrew-cask,robertgzr/homebrew-cask,julionc/homebrew-cask,hackhandslabs/homebrew-cask,mjgardner/homebrew-cask,blainesch/homebrew-cask,neverfox/homebrew-cask,lolgear/homebrew-cask,johnjelinek/homebrew-cask,seanorama/homebrew-cask,thii/homebrew-cask,ctrevino/homebrew-cask,theoriginalgri/homebrew-cask,inz/homebrew-cask,epardee/homebrew-cask,englishm/homebrew-cask,githubutilities/homebrew-cask,adelinofaria/homebrew-cask,Labutin/homebrew-cask,JacopKane/homebrew-cask,wickles/homebrew-cask,moonboots/homebrew-cask,Cottser/homebrew-cask,sysbot/homebrew-cask,crmne/homebrew-cask,haha1903/homebrew-cask,timsutton/homebrew-cask,kronicd/homebrew-cask,zhuzihhhh/homebrew-cask,remko/homebrew-cask,hakamadare/homebrew-cask,sanyer/homebrew-cask,nickpellant/homebrew-cask,illusionfield/homebrew-cask,adrianchia/homebrew-cask,leonmachadowilcox/homebrew-cask,kteru/homebrew-cask,shonjir/homebrew-cask,lvicentesanchez/homebrew-cask,coneman/homebrew-cask,albertico/homebrew-cask,kryhear/homebrew-cask,wayou/homebrew-cask,FredLackeyOfficial/homebrew-cask,6uclz1/homebrew-cask,mwilmer/homebrew-cask,afdnlw/homebrew-cask,wesen/homebrew-cask,pkq/homebrew-cask,barravi/homebrew-cask,jonathanwiesel/homebrew-cask,gabrielizaias/homebrew-cask,tedski/homebrew-cask,jellyfishcoder/homebrew-cask,bdhess/homebrew-cask,ahundt/homebrew-cask,dvdoliveira/homebrew-cask,pacav69/homebrew-cask,BenjaminHCCarr/homebrew-cask,esebastian/homebrew-cask,huanzhang/homebrew-cask,nickpellant/homebrew-cask,mfpierre/homebrew-cask,shorshe/homebrew-cask,wmorin/homebrew-cask,mkozjak/homebrew-cask,diogodamiani/homebrew-cask,giannitm/homebrew-cask,nicolas-brousse/homebrew-cask,jeanregisser/homebrew-cask,jeroenj/homebrew-cask,moimikey/homebrew-cask,Gasol/homebrew-cask,bgandon/homebrew-cask,mkozjak/homebrew-cask,jppelteret/homebrew-cask,0rax/homebrew-cask,cclauss/homebrew-cask,antogg/homebrew-cask,aktau/homebrew-cask,ahundt/homebrew-cask,mhubig/homebrew-cask,jhowtan/homebrew-cask,0rax/homebrew-cask,jtriley/homebrew-cask,Amorymeltzer/homebrew-cask,kkdd/homebrew-cask,wastrachan/homebrew-cask,decrement/homebrew-cask,gwaldo/homebrew-cask,mariusbutuc/homebrew-cask,mfpierre/homebrew-cask,reelsense/homebrew-cask,lukasbestle/homebrew-cask,renaudguerin/homebrew-cask,johndbritton/homebrew-cask,michelegera/homebrew-cask,sjackman/homebrew-cask,alebcay/homebrew-cask,miccal/homebrew-cask,LaurentFough/homebrew-cask,shoichiaizawa/homebrew-cask,sjackman/homebrew-cask,gurghet/homebrew-cask,asbachb/homebrew-cask,moimikey/homebrew-cask,FinalDes/homebrew-cask,yurikoles/homebrew-cask,artdevjs/homebrew-cask,rajiv/homebrew-cask,johntrandall/homebrew-cask,stigkj/homebrew-caskroom-cask,JikkuJose/homebrew-cask,bdhess/homebrew-cask,pinut/homebrew-cask,napaxton/homebrew-cask,farmerchris/homebrew-cask,christophermanning/homebrew-cask,hakamadare/homebrew-cask,lumaxis/homebrew-cask,iamso/homebrew-cask,zeusdeux/homebrew-cask,m3nu/homebrew-cask,askl56/homebrew-cask,maxnordlund/homebrew-cask,retrography/homebrew-cask,qnm/homebrew-cask,lolgear/homebrew-cask,samshadwell/homebrew-cask,jayshao/homebrew-cask,joschi/homebrew-cask,zmwangx/homebrew-cask,mattrobenolt/homebrew-cask,sanchezm/homebrew-cask,julionc/homebrew-cask,shorshe/homebrew-cask,RJHsiao/homebrew-cask,shanonvl/homebrew-cask,wickedsp1d3r/homebrew-cask,deanmorin/homebrew-cask,andrewdisley/homebrew-cask,patresi/homebrew-cask,psibre/homebrew-cask,uetchy/homebrew-cask,nysthee/homebrew-cask,djakarta-trap/homebrew-myCask,ftiff/homebrew-cask,dieterdemeyer/homebrew-cask,fharbe/homebrew-cask,singingwolfboy/homebrew-cask,kassi/homebrew-cask,deanmorin/homebrew-cask,afh/homebrew-cask,boydj/homebrew-cask,alexg0/homebrew-cask,tmoreira2020/homebrew,colindean/homebrew-cask,cobyism/homebrew-cask,epardee/homebrew-cask,Dremora/homebrew-cask,williamboman/homebrew-cask,scw/homebrew-cask,renard/homebrew-cask,blogabe/homebrew-cask,chrisfinazzo/homebrew-cask,danielbayley/homebrew-cask,sebcode/homebrew-cask,crzrcn/homebrew-cask,jrwesolo/homebrew-cask,y00rb/homebrew-cask,mrmachine/homebrew-cask,frapposelli/homebrew-cask,toonetown/homebrew-cask,ayohrling/homebrew-cask,adrianchia/homebrew-cask,Whoaa512/homebrew-cask,gilesdring/homebrew-cask,klane/homebrew-cask,reitermarkus/homebrew-cask,opsdev-ws/homebrew-cask,mattrobenolt/homebrew-cask,patresi/homebrew-cask,dunn/homebrew-cask,Bombenleger/homebrew-cask,kTitan/homebrew-cask,tedbundyjr/homebrew-cask,FranklinChen/homebrew-cask,tangestani/homebrew-cask,otaran/homebrew-cask,decrement/homebrew-cask,onlynone/homebrew-cask,renaudguerin/homebrew-cask,perfide/homebrew-cask,drostron/homebrew-cask,janlugt/homebrew-cask,ksato9700/homebrew-cask,bric3/homebrew-cask,chrisfinazzo/homebrew-cask,nathanielvarona/homebrew-cask,jedahan/homebrew-cask,stevehedrick/homebrew-cask,casidiablo/homebrew-cask,hyuna917/homebrew-cask,gibsjose/homebrew-cask,rubenerd/homebrew-cask,elnappo/homebrew-cask,nshemonsky/homebrew-cask,santoshsahoo/homebrew-cask,mwek/homebrew-cask,m3nu/homebrew-cask,optikfluffel/homebrew-cask,josa42/homebrew-cask,segiddins/homebrew-cask,ptb/homebrew-cask,nathancahill/homebrew-cask,sanchezm/homebrew-cask,alebcay/homebrew-cask,tarwich/homebrew-cask,shoichiaizawa/homebrew-cask,jmeridth/homebrew-cask,Amorymeltzer/homebrew-cask,huanzhang/homebrew-cask,asins/homebrew-cask,ch3n2k/homebrew-cask,shanonvl/homebrew-cask,mgryszko/homebrew-cask,riyad/homebrew-cask,singingwolfboy/homebrew-cask,zorosteven/homebrew-cask,daften/homebrew-cask,dwihn0r/homebrew-cask,jen20/homebrew-cask,zeusdeux/homebrew-cask,chino/homebrew-cask,wizonesolutions/homebrew-cask,morganestes/homebrew-cask,muan/homebrew-cask,Keloran/homebrew-cask,jaredsampson/homebrew-cask,franklouwers/homebrew-cask,schneidmaster/homebrew-cask,tan9/homebrew-cask,ddm/homebrew-cask,adrianchia/homebrew-cask,lalyos/homebrew-cask,cfillion/homebrew-cask,Ephemera/homebrew-cask,forevergenin/homebrew-cask,howie/homebrew-cask,zchee/homebrew-cask,chrisfinazzo/homebrew-cask,leonmachadowilcox/homebrew-cask,andrewdisley/homebrew-cask,lalyos/homebrew-cask,miku/homebrew-cask,delphinus35/homebrew-cask,bcaceiro/homebrew-cask,rogeriopradoj/homebrew-cask,BenjaminHCCarr/homebrew-cask,mauricerkelly/homebrew-cask,jacobbednarz/homebrew-cask,Dremora/homebrew-cask,mchlrmrz/homebrew-cask,lucasmezencio/homebrew-cask,d/homebrew-cask,janlugt/homebrew-cask,buo/homebrew-cask,n0ts/homebrew-cask,CameronGarrett/homebrew-cask,robbiethegeek/homebrew-cask,usami-k/homebrew-cask,ayohrling/homebrew-cask,tmoreira2020/homebrew,mjgardner/homebrew-cask,remko/homebrew-cask,kolomiichenko/homebrew-cask,kingthorin/homebrew-cask,joshka/homebrew-cask,kingthorin/homebrew-cask,troyxmccall/homebrew-cask,miguelfrde/homebrew-cask,3van/homebrew-cask,claui/homebrew-cask,crzrcn/homebrew-cask,tyage/homebrew-cask,christer155/homebrew-cask,helloIAmPau/homebrew-cask,garborg/homebrew-cask,kassi/homebrew-cask,leipert/homebrew-cask,rkJun/homebrew-cask,ksato9700/homebrew-cask,askl56/homebrew-cask,wolflee/homebrew-cask,katoquro/homebrew-cask,MichaelPei/homebrew-cask,riyad/homebrew-cask,neil-ca-moore/homebrew-cask,tjnycum/homebrew-cask,norio-nomura/homebrew-cask,ldong/homebrew-cask,boecko/homebrew-cask,fwiesel/homebrew-cask,Gasol/homebrew-cask,axodys/homebrew-cask,djakarta-trap/homebrew-myCask,mindriot101/homebrew-cask,Ibuprofen/homebrew-cask,dictcp/homebrew-cask,stigkj/homebrew-caskroom-cask,boecko/homebrew-cask,kpearson/homebrew-cask,josa42/homebrew-cask,3van/homebrew-cask,elyscape/homebrew-cask,syscrusher/homebrew-cask,gmkey/homebrew-cask,sanyer/homebrew-cask,rogeriopradoj/homebrew-cask,MerelyAPseudonym/homebrew-cask,kevyau/homebrew-cask,imgarylai/homebrew-cask,lieuwex/homebrew-cask,doits/homebrew-cask,githubutilities/homebrew-cask,neverfox/homebrew-cask,bendoerr/homebrew-cask,faun/homebrew-cask,kostasdizas/homebrew-cask,a1russell/homebrew-cask,bgandon/homebrew-cask,Ketouem/homebrew-cask,kamilboratynski/homebrew-cask,JoelLarson/homebrew-cask,optikfluffel/homebrew-cask,paulbreslin/homebrew-cask
ruby
## Code Before: cask :v1 => 'latexit' do version '2.7.3' sha256 '45efeeea0d7bde36ba08aa663d6dd10092ec66d7622bccccf73732257e1e82f0' url "http://www.chachatelier.fr/latexit/downloads/LaTeXiT-#{version.gsub('.', '_')}.dmg" appcast 'http://pierre.chachatelier.fr/latexit/downloads/latexit-sparkle-en.rss', :sha256 => 'bc1bd88bf1d7a9770f0527652db2fc082214240a9b66684d9a95a0beaf2f260a' homepage 'http://www.chachatelier.fr/latexit' license :oss app 'LaTeXiT.app' zap :delete => '~/Library/Preferences/fr.chachatelier.pierre.LaTeXiT.plist' end ## Instruction: Update LaTeXiT to version 2.7.5 ## Code After: cask :v1 => 'latexit' do version '2.7.5' sha256 '2faef9682f1450d2a4b240bcf602a84ae187e58bf62787e2185af0ee05161e6f' url "http://www.chachatelier.fr/latexit/downloads/LaTeXiT-#{version.gsub('.', '_')}.dmg" appcast 'http://pierre.chachatelier.fr/latexit/downloads/latexit-sparkle-en.rss', :sha256 => 'bc1bd88bf1d7a9770f0527652db2fc082214240a9b66684d9a95a0beaf2f260a' homepage 'http://www.chachatelier.fr/latexit' license :oss app 'LaTeXiT.app' zap :delete => '~/Library/Preferences/fr.chachatelier.pierre.LaTeXiT.plist' end
c8e679ed30ee15de36577b47b6f6b3261052311a
.travis.yml
.travis.yml
language: node_js services: - mongodb node_js: - "4" - "6" - "8" before_script: - cp $TRAVIS_BUILD_DIR/snutt.yml.example $TRAVIS_BUILD_DIR/snutt.yml
language: node_js services: - mongodb node_js: - "8" before_script: - cp $TRAVIS_BUILD_DIR/snutt.yml.example $TRAVIS_BUILD_DIR/snutt.yml
Fix travix config: Test only node 8
Fix travix config: Test only node 8
YAML
mit
wafflestudio/snutt,wafflestudio/snutt
yaml
## Code Before: language: node_js services: - mongodb node_js: - "4" - "6" - "8" before_script: - cp $TRAVIS_BUILD_DIR/snutt.yml.example $TRAVIS_BUILD_DIR/snutt.yml ## Instruction: Fix travix config: Test only node 8 ## Code After: language: node_js services: - mongodb node_js: - "8" before_script: - cp $TRAVIS_BUILD_DIR/snutt.yml.example $TRAVIS_BUILD_DIR/snutt.yml
3859cf8e5cb2b867abbbff792def4245eef6c467
requirements.txt
requirements.txt
banal>=0.4.2 normality>=1.0.1 pantomime>=0.3.3 servicelayer[google]==1.8.4 servicelayer[amazon]==1.8.4 balkhash[leveldb]==1.0.0 balkhash[sql]==1.0.0 followthemoney==1.20.0 languagecodes>=1.0.5 psycopg2-binary grpcio>=1.21.1 google-cloud-vision==0.39.0 google-cloud-storage==1.19.0 # Development nose click>=7.0 # File format support dbf>=0.96.8 pdflib>=0.2.1 pymediainfo>=2.3.0 python-magic>=0.4.12 pypdf2>=1.26.0 rarfile>=3.0 xlrd>=1.2.0 pyicu>=2.0.3 openpyxl>=2.5.14 odfpy>=1.3.5 imapclient>=1.0.2 cchardet>=2.1.1 lxml>=4.2.1 olefile>=0.44 pillow>=5.1.0 vobject==0.9.6.1 msglite>=0.25.0 # Get rid of: # Used for LibreOffice converter service cryptography==2.6.1 requests[security]>=2.21.0
banal>=0.4.2 normality>=1.0.1 pantomime>=0.3.3 servicelayer[google,amazon]==1.8.4 balkhash[leveldb,sql]==1.0.1 followthemoney==1.20.0 languagecodes>=1.0.5 psycopg2-binary grpcio>=1.21.1 google-cloud-vision==0.39.0 google-cloud-storage==1.19.0 # Development nose click>=7.0 # File format support dbf>=0.96.8 pdflib>=0.2.1 pymediainfo>=2.3.0 python-magic>=0.4.12 pypdf2>=1.26.0 rarfile>=3.0 xlrd>=1.2.0 pyicu>=2.0.3 openpyxl>=2.5.14 odfpy>=1.3.5 imapclient>=1.0.2 cchardet>=2.1.1 lxml>=4.2.1 olefile>=0.44 pillow>=5.1.0 vobject==0.9.6.1 msglite>=0.25.0 # Get rid of: # Used for LibreOffice converter service cryptography==2.6.1 requests[security]>=2.21.0
Fix up extras install syntax
Fix up extras install syntax
Text
mit
alephdata/ingestors
text
## Code Before: banal>=0.4.2 normality>=1.0.1 pantomime>=0.3.3 servicelayer[google]==1.8.4 servicelayer[amazon]==1.8.4 balkhash[leveldb]==1.0.0 balkhash[sql]==1.0.0 followthemoney==1.20.0 languagecodes>=1.0.5 psycopg2-binary grpcio>=1.21.1 google-cloud-vision==0.39.0 google-cloud-storage==1.19.0 # Development nose click>=7.0 # File format support dbf>=0.96.8 pdflib>=0.2.1 pymediainfo>=2.3.0 python-magic>=0.4.12 pypdf2>=1.26.0 rarfile>=3.0 xlrd>=1.2.0 pyicu>=2.0.3 openpyxl>=2.5.14 odfpy>=1.3.5 imapclient>=1.0.2 cchardet>=2.1.1 lxml>=4.2.1 olefile>=0.44 pillow>=5.1.0 vobject==0.9.6.1 msglite>=0.25.0 # Get rid of: # Used for LibreOffice converter service cryptography==2.6.1 requests[security]>=2.21.0 ## Instruction: Fix up extras install syntax ## Code After: banal>=0.4.2 normality>=1.0.1 pantomime>=0.3.3 servicelayer[google,amazon]==1.8.4 balkhash[leveldb,sql]==1.0.1 followthemoney==1.20.0 languagecodes>=1.0.5 psycopg2-binary grpcio>=1.21.1 google-cloud-vision==0.39.0 google-cloud-storage==1.19.0 # Development nose click>=7.0 # File format support dbf>=0.96.8 pdflib>=0.2.1 pymediainfo>=2.3.0 python-magic>=0.4.12 pypdf2>=1.26.0 rarfile>=3.0 xlrd>=1.2.0 pyicu>=2.0.3 openpyxl>=2.5.14 odfpy>=1.3.5 imapclient>=1.0.2 cchardet>=2.1.1 lxml>=4.2.1 olefile>=0.44 pillow>=5.1.0 vobject==0.9.6.1 msglite>=0.25.0 # Get rid of: # Used for LibreOffice converter service cryptography==2.6.1 requests[security]>=2.21.0
0ebc33e223213bba75a74e1e0eeae419cb9222af
core/db/migrate/20111107143030_migrate_namespaced_polymorphic_models.rb
core/db/migrate/20111107143030_migrate_namespaced_polymorphic_models.rb
class MigrateNamespacedPolymorphicModels < ActiveRecord::Migration def up ['spree_payments', 'spree_adjustments', 'spree_log_entries'].each do |table| collection = select_all "SELECT * FROM #{table} WHERE source_type NOT LIKE 'Spree::%' AND source_type IS NOT NULL" collection.each do |member| execute "UPDATE #{table} SET source_type = 'Spree::#{payments['souce_type']}'" end end adjustments = select_all "SELECT * FROM spree_adjustments WHERE originator_type NOT LIKE 'Spree::%' AND originator_type IS NOT NULL" adjustments.each do |adjustment| execute "UPDATE spree_adjustments SET originator_type = 'Spree::#{payments['originator_type']}'" end end def down ['spree_payments', 'spree_adjustments', 'spree_log_entries'].each do |table| collection = select_all "SELECT * FROM #{table} WHERE source_type LIKE 'Spree::%'" collection.each do |member| execute "UPDATE #{table} SET source_type = '#{payments['souce_type'].gsub('Spree::', '')}'" end end adjustments = select_all "SELECT * FROM spree_adjustments WHERE originator_type LIKE 'Spree::%'" adjustments.each do |adjustment| execute "UPDATE spree_adjustments SET originator_type = '#{payments['originator_type'].gsub('Spree::', '')}'" end end end
class MigrateNamespacedPolymorphicModels < ActiveRecord::Migration def up ['spree_payments', 'spree_adjustments', 'spree_log_entries'].each do |table| collection = select_all "SELECT * FROM #{table} WHERE source_type NOT LIKE 'Spree::%' AND source_type IS NOT NULL" collection.each do |member| execute "UPDATE #{table} SET source_type = 'Spree::#{member['source_type']}'" end end adjustments = select_all "SELECT * FROM spree_adjustments WHERE originator_type NOT LIKE 'Spree::%' AND originator_type IS NOT NULL" adjustments.each do |adjustment| execute "UPDATE spree_adjustments SET originator_type = 'Spree::#{adjustment['originator_type']}'" end end def down ['spree_payments', 'spree_adjustments', 'spree_log_entries'].each do |table| collection = select_all "SELECT * FROM #{table} WHERE source_type LIKE 'Spree::%'" collection.each do |member| execute "UPDATE #{table} SET source_type = '#{member['source_type'].gsub('Spree::', '')}'" end end adjustments = select_all "SELECT * FROM spree_adjustments WHERE originator_type LIKE 'Spree::%'" adjustments.each do |adjustment| execute "UPDATE spree_adjustments SET originator_type = '#{payments['originator_type'].gsub('Spree::', '')}'" end end end
Fix variable names in MigrateNamespacedPolymorphicModels migration
Fix variable names in MigrateNamespacedPolymorphicModels migration
Ruby
bsd-3-clause
jordan-brough/solidus,ayb/spree,jspizziri/spree,lyzxsc/spree,thogg4/spree,CJMrozek/spree,StemboltHQ/spree,reidblomquist/spree,pjmj777/spree,jhawthorn/spree,beni55/spree,bjornlinder/Spree,firman/spree,surfdome/spree,FadliKun/spree,sliaquat/spree,builtbybuffalo/spree,calvinl/spree,miyazawatomoka/spree,Kagetsuki/spree,jparr/spree,tesserakt/clean_spree,jordan-brough/solidus,sunny2601/spree,xuewenfei/solidus,sideci-sample/sideci-sample-spree,joanblake/spree,derekluo/spree,pervino/solidus,pervino/solidus,sideci-sample/sideci-sample-spree,reinaris/spree,surfdome/spree,bricesanchez/spree,orenf/spree,archSeer/spree,Hates/spree,Antdesk/karpal-spree,gregoryrikson/spree-sample,agient/agientstorefront,builtbybuffalo/spree,ayb/spree,pervino/spree,ckk-scratch/solidus,lzcabrera/spree-1-3-stable,tailic/spree,karlitxo/spree,azranel/spree,delphsoft/spree-store-ballchair,RatioClothing/spree,gautamsawhney/spree,beni55/spree,joanblake/spree,Ropeney/spree,alvinjean/spree,imella/spree,azclick/spree,Engeltj/spree,Nevensoft/spree,vcavallo/spree,judaro13/spree-fork,jasonfb/spree,trigrass2/spree,fahidnasir/spree,project-eutopia/spree,CJMrozek/spree,trigrass2/spree,reinaris/spree,net2b/spree,Hawaiideveloper/shoppingcart,camelmasa/spree,yiqing95/spree,useiichi/spree,progsri/spree,JuandGirald/spree,Hates/spree,rajeevriitm/spree,AgilTec/spree,yiqing95/spree,biagidp/spree,LBRapid/spree,bonobos/solidus,watg/spree,gregoryrikson/spree-sample,nooysters/spree,codesavvy/sandbox,Arpsara/solidus,reidblomquist/spree,odk211/spree,Engeltj/spree,pjmj777/spree,raow/spree,watg/spree,gautamsawhney/spree,zaeznet/spree,yushine/spree,priyank-gupta/spree,AgilTec/spree,PhoenixTeam/spree_phoenix,berkes/spree,camelmasa/spree,nooysters/spree,shaywood2/spree,surfdome/spree,RatioClothing/spree,patdec/spree,AgilTec/spree,brchristian/spree,odk211/spree,woboinc/spree,moneyspyder/spree,jspizziri/spree,priyank-gupta/spree,rakibulislam/spree,LBRapid/spree,mindvolt/spree,camelmasa/spree,delphsoft/spree-store-ballchair,devilcoders/solidus,pervino/spree,sideci-sample/sideci-sample-spree,freerunningtech/spree,grzlus/solidus,firman/spree,dotandbo/spree,reinaris/spree,vinsol/spree,assembledbrands/spree,trigrass2/spree,dotandbo/spree,Nevensoft/spree,edgward/spree,devilcoders/solidus,ahmetabdi/spree,rajeevriitm/spree,odk211/spree,richardnuno/solidus,carlesjove/spree,dandanwei/spree,mindvolt/spree,jeffboulet/spree,Arpsara/solidus,SadTreeFriends/spree,dafontaine/spree,alejandromangione/spree,abhishekjain16/spree,jordan-brough/solidus,knuepwebdev/FloatTubeRodHolders,sunny2601/spree,quentinuys/spree,freerunningtech/spree,TimurTarasenko/spree,archSeer/spree,Hates/spree,CiscoCloud/spree,abhishekjain16/spree,edgward/spree,firman/spree,vcavallo/spree,APohio/spree,hoanghiep90/spree,lsirivong/solidus,codesavvy/sandbox,alvinjean/spree,devilcoders/solidus,sliaquat/spree,piousbox/spree,net2b/spree,Migweld/spree,fahidnasir/spree,robodisco/spree,Hawaiideveloper/shoppingcart,shioyama/spree,jhawthorn/spree,degica/spree,Antdesk/karpal-spree,thogg4/spree,piousbox/spree,cutefrank/spree,CiscoCloud/spree,imella/spree,biagidp/spree,njerrywerry/spree,project-eutopia/spree,Ropeney/spree,caiqinghua/spree,dafontaine/spree,pulkit21/spree,reidblomquist/spree,jasonfb/spree,zamiang/spree,piousbox/spree,alejandromangione/spree,LBRapid/spree,Boomkat/spree,TimurTarasenko/spree,Hates/spree,alepore/spree,Engeltj/spree,lsirivong/spree,robodisco/spree,rbngzlv/spree,DarkoP/spree,Hawaiideveloper/shoppingcart,ckk-scratch/solidus,urimikhli/spree,groundctrl/spree,rbngzlv/spree,calvinl/spree,CJMrozek/spree,kewaunited/spree,jimblesm/spree,keatonrow/spree,jeffboulet/spree,builtbybuffalo/spree,wolfieorama/spree,KMikhaylovCTG/spree,raow/spree,vinayvinsol/spree,agient/agientstorefront,zaeznet/spree,jspizziri/spree,dotandbo/spree,Senjai/solidus,pulkit21/spree,degica/spree,pervino/spree,alejandromangione/spree,bricesanchez/spree,rbngzlv/spree,alepore/spree,jimblesm/spree,mindvolt/spree,camelmasa/spree,njerrywerry/spree,TrialGuides/spree,welitonfreitas/spree,ramkumar-kr/spree,piousbox/spree,maybii/spree,karlitxo/spree,groundctrl/spree,grzlus/spree,TimurTarasenko/spree,builtbybuffalo/spree,maybii/spree,richardnuno/solidus,beni55/spree,joanblake/spree,judaro13/spree-fork,CiscoCloud/spree,dandanwei/spree,grzlus/spree,karlitxo/spree,zaeznet/spree,vulk/spree,alvinjean/spree,Mayvenn/spree,berkes/spree,jimblesm/spree,ujai/spree,kitwalker12/spree,pulkit21/spree,omarsar/spree,patdec/spree,derekluo/spree,bjornlinder/Spree,carlesjove/spree,JDutil/spree,lyzxsc/spree,woboinc/spree,net2b/spree,dandanwei/spree,quentinuys/spree,Arpsara/solidus,njerrywerry/spree,rakibulislam/spree,orenf/spree,omarsar/spree,zamiang/spree,kewaunited/spree,rajeevriitm/spree,TimurTarasenko/spree,vinayvinsol/spree,net2b/spree,grzlus/spree,tomash/spree,DynamoMTL/spree,robodisco/spree,useiichi/spree,archSeer/spree,locomotivapro/spree,adaddeo/spree,jsurdilla/solidus,trigrass2/spree,firman/spree,athal7/solidus,raow/spree,vcavallo/spree,hifly/spree,priyank-gupta/spree,lsirivong/solidus,delphsoft/spree-store-ballchair,madetech/spree,forkata/solidus,yushine/spree,HealthWave/spree,Senjai/spree,forkata/solidus,yiqing95/spree,softr8/spree,ujai/spree,kitwalker12/spree,tailic/spree,welitonfreitas/spree,project-eutopia/spree,DynamoMTL/spree,forkata/solidus,welitonfreitas/spree,Nevensoft/spree,jaspreet21anand/spree,lsirivong/spree,RatioClothing/spree,vulk/spree,moneyspyder/spree,zamiang/spree,urimikhli/spree,vinayvinsol/spree,HealthWave/spree,knuepwebdev/FloatTubeRodHolders,adaddeo/spree,rakibulislam/spree,vmatekole/spree,lzcabrera/spree-1-3-stable,abhishekjain16/spree,wolfieorama/spree,pjmj777/spree,tancnle/spree,edgward/spree,mindvolt/spree,patdec/spree,ahmetabdi/spree,NerdsvilleCEO/spree,vinsol/spree,berkes/spree,ramkumar-kr/spree,CiscoCloud/spree,DynamoMTL/spree,bjornlinder/Spree,yomishra/pce,Lostmyname/spree,APohio/spree,jaspreet21anand/spree,JuandGirald/spree,softr8/spree,sliaquat/spree,jimblesm/spree,nooysters/spree,bonobos/solidus,ayb/spree,sunny2601/spree,ujai/spree,jsurdilla/solidus,siddharth28/spree,shaywood2/spree,derekluo/spree,Mayvenn/spree,softr8/spree,lsirivong/solidus,softr8/spree,dafontaine/spree,grzlus/solidus,alepore/spree,tomash/spree,Hawaiideveloper/shoppingcart,Ropeney/spree,SadTreeFriends/spree,shekibobo/spree,KMikhaylovCTG/spree,calvinl/spree,APohio/spree,orenf/spree,nooysters/spree,kitwalker12/spree,KMikhaylovCTG/spree,imella/spree,Antdesk/karpal-spree,agient/agientstorefront,derekluo/spree,cutefrank/spree,sunny2601/spree,Boomkat/spree,devilcoders/solidus,rakibulislam/spree,tomash/spree,SadTreeFriends/spree,jordan-brough/spree,madetech/spree,Arpsara/solidus,yushine/spree,azclick/spree,siddharth28/spree,madetech/spree,groundctrl/spree,urimikhli/spree,Mayvenn/spree,locomotivapro/spree,AgilTec/spree,hoanghiep90/spree,Lostmyname/spree,vcavallo/spree,radarseesradar/spree,KMikhaylovCTG/spree,assembledbrands/spree,mleglise/spree,odk211/spree,jasonfb/spree,lsirivong/spree,lzcabrera/spree-1-3-stable,xuewenfei/solidus,alvinjean/spree,athal7/solidus,jeffboulet/spree,jordan-brough/spree,JuandGirald/spree,jeffboulet/spree,kewaunited/spree,madetech/spree,tesserakt/clean_spree,HealthWave/spree,Machpowersystems/spree_mach,TrialGuides/spree,berkes/spree,volpejoaquin/spree,quentinuys/spree,reidblomquist/spree,DarkoP/spree,maybii/spree,bricesanchez/spree,Senjai/solidus,shioyama/spree,lsirivong/solidus,forkata/solidus,ckk-scratch/solidus,jparr/spree,shioyama/spree,DynamoMTL/spree,caiqinghua/spree,reinaris/spree,ramkumar-kr/spree,brchristian/spree,rbngzlv/spree,radarseesradar/spree,locomotivapro/spree,vinsol/spree,patdec/spree,scottcrawford03/solidus,sfcgeorge/spree,ckk-scratch/solidus,tesserakt/clean_spree,keatonrow/spree,codesavvy/sandbox,vulk/spree,jhawthorn/spree,cutefrank/spree,PhoenixTeam/spree_phoenix,StemboltHQ/spree,ramkumar-kr/spree,azclick/spree,grzlus/solidus,lsirivong/spree,jspizziri/spree,PhoenixTeam/spree_phoenix,fahidnasir/spree,scottcrawford03/solidus,kewaunited/spree,radarseesradar/spree,Machpowersystems/spree_mach,grzlus/spree,lyzxsc/spree,JuandGirald/spree,progsri/spree,zamiang/spree,azranel/spree,jordan-brough/spree,jparr/spree,cutefrank/spree,jaspreet21anand/spree,Boomkat/spree,Senjai/spree,yomishra/pce,Migweld/spree,useiichi/spree,Lostmyname/spree,knuepwebdev/FloatTubeRodHolders,siddharth28/spree,tomash/spree,miyazawatomoka/spree,sfcgeorge/spree,fahidnasir/spree,FadliKun/spree,JDutil/spree,vmatekole/spree,hifly/spree,progsri/spree,gautamsawhney/spree,Ropeney/spree,abhishekjain16/spree,dafontaine/spree,richardnuno/solidus,lyzxsc/spree,jparr/spree,scottcrawford03/solidus,assembledbrands/spree,vmatekole/spree,moneyspyder/spree,ayb/spree,Senjai/solidus,Lostmyname/spree,CJMrozek/spree,adaddeo/spree,delphsoft/spree-store-ballchair,APohio/spree,sfcgeorge/spree,volpejoaquin/spree,Boomkat/spree,jaspreet21anand/spree,raow/spree,brchristian/spree,tesserakt/clean_spree,tancnle/spree,quentinuys/spree,maybii/spree,shekibobo/spree,Migweld/spree,tancnle/spree,JDutil/spree,TrialGuides/spree,yushine/spree,SadTreeFriends/spree,hoanghiep90/spree,azclick/spree,karlitxo/spree,woboinc/spree,dandanwei/spree,tailic/spree,pulkit21/spree,sliaquat/spree,Engeltj/spree,caiqinghua/spree,progsri/spree,yomishra/pce,locomotivapro/spree,Kagetsuki/spree,orenf/spree,Migweld/spree,volpejoaquin/spree,NerdsvilleCEO/spree,mleglise/spree,xuewenfei/solidus,radarseesradar/spree,azranel/spree,wolfieorama/spree,gautamsawhney/spree,FadliKun/spree,athal7/solidus,vmatekole/spree,useiichi/spree,moneyspyder/spree,groundctrl/spree,beni55/spree,shekibobo/spree,shekibobo/spree,jasonfb/spree,priyank-gupta/spree,miyazawatomoka/spree,codesavvy/sandbox,njerrywerry/spree,carlesjove/spree,hifly/spree,thogg4/spree,yiqing95/spree,bonobos/solidus,Machpowersystems/spree_mach,dotandbo/spree,edgward/spree,keatonrow/spree,calvinl/spree,FadliKun/spree,StemboltHQ/spree,vinsol/spree,tancnle/spree,hoanghiep90/spree,welitonfreitas/spree,surfdome/spree,NerdsvilleCEO/spree,bonobos/solidus,TrialGuides/spree,DarkoP/spree,thogg4/spree,freerunningtech/spree,NerdsvilleCEO/spree,Mayvenn/spree,adaddeo/spree,judaro13/spree-fork,vulk/spree,zaeznet/spree,mleglise/spree,jsurdilla/solidus,caiqinghua/spree,richardnuno/solidus,Nevensoft/spree,ahmetabdi/spree,athal7/solidus,wolfieorama/spree,jordan-brough/solidus,PhoenixTeam/spree_phoenix,jsurdilla/solidus,watg/spree,gregoryrikson/spree-sample,carlesjove/spree,mleglise/spree,sfcgeorge/spree,hifly/spree,gregoryrikson/spree-sample,archSeer/spree,brchristian/spree,pervino/spree,ahmetabdi/spree,agient/agientstorefront,Kagetsuki/spree,DarkoP/spree,Senjai/spree,pervino/solidus,vinayvinsol/spree,siddharth28/spree,biagidp/spree,shaywood2/spree,joanblake/spree,keatonrow/spree,Kagetsuki/spree,rajeevriitm/spree,robodisco/spree,alejandromangione/spree,pervino/solidus,xuewenfei/solidus,JDutil/spree,omarsar/spree,Senjai/solidus,shaywood2/spree,scottcrawford03/solidus,azranel/spree,project-eutopia/spree,degica/spree,omarsar/spree,grzlus/solidus,volpejoaquin/spree,miyazawatomoka/spree
ruby
## Code Before: class MigrateNamespacedPolymorphicModels < ActiveRecord::Migration def up ['spree_payments', 'spree_adjustments', 'spree_log_entries'].each do |table| collection = select_all "SELECT * FROM #{table} WHERE source_type NOT LIKE 'Spree::%' AND source_type IS NOT NULL" collection.each do |member| execute "UPDATE #{table} SET source_type = 'Spree::#{payments['souce_type']}'" end end adjustments = select_all "SELECT * FROM spree_adjustments WHERE originator_type NOT LIKE 'Spree::%' AND originator_type IS NOT NULL" adjustments.each do |adjustment| execute "UPDATE spree_adjustments SET originator_type = 'Spree::#{payments['originator_type']}'" end end def down ['spree_payments', 'spree_adjustments', 'spree_log_entries'].each do |table| collection = select_all "SELECT * FROM #{table} WHERE source_type LIKE 'Spree::%'" collection.each do |member| execute "UPDATE #{table} SET source_type = '#{payments['souce_type'].gsub('Spree::', '')}'" end end adjustments = select_all "SELECT * FROM spree_adjustments WHERE originator_type LIKE 'Spree::%'" adjustments.each do |adjustment| execute "UPDATE spree_adjustments SET originator_type = '#{payments['originator_type'].gsub('Spree::', '')}'" end end end ## Instruction: Fix variable names in MigrateNamespacedPolymorphicModels migration ## Code After: class MigrateNamespacedPolymorphicModels < ActiveRecord::Migration def up ['spree_payments', 'spree_adjustments', 'spree_log_entries'].each do |table| collection = select_all "SELECT * FROM #{table} WHERE source_type NOT LIKE 'Spree::%' AND source_type IS NOT NULL" collection.each do |member| execute "UPDATE #{table} SET source_type = 'Spree::#{member['source_type']}'" end end adjustments = select_all "SELECT * FROM spree_adjustments WHERE originator_type NOT LIKE 'Spree::%' AND originator_type IS NOT NULL" adjustments.each do |adjustment| execute "UPDATE spree_adjustments SET originator_type = 'Spree::#{adjustment['originator_type']}'" end end def down ['spree_payments', 'spree_adjustments', 'spree_log_entries'].each do |table| collection = select_all "SELECT * FROM #{table} WHERE source_type LIKE 'Spree::%'" collection.each do |member| execute "UPDATE #{table} SET source_type = '#{member['source_type'].gsub('Spree::', '')}'" end end adjustments = select_all "SELECT * FROM spree_adjustments WHERE originator_type LIKE 'Spree::%'" adjustments.each do |adjustment| execute "UPDATE spree_adjustments SET originator_type = '#{payments['originator_type'].gsub('Spree::', '')}'" end end end
7f7eae887362b117cca1f567fbd2ea8677082e0c
examples/index.js
examples/index.js
var Gravatar = require('../dist/index.js'); var React = require('react'); React.renderComponent( React.DOM.div(null, [ React.DOM.h2(null, "<Gravatar email='mathews.kyle@gmail.com' />"), Gravatar({email: 'mathews.kyle@gmail.com'}), React.DOM.h2(null, "<Gravatar email='mathews.kyle@gmail.com' size=100 />"), Gravatar({email: 'mathews.kyle@gmail.com', size: 100}), React.DOM.h2(null, "For emails without a gravatar, use the retro default. You can override this by passing in a different 'default' prop. See https://en.gravatar.com/site/implement/images/ for options."), Gravatar({email: 'blah@blah.com'}), ]), document.body);
var React = require('react'); var Gravatar = React.createFactory(require('../dist/index.js')); React.render( React.DOM.div(null, [ React.DOM.h2(null, "<Gravatar email='mathews.kyle@gmail.com' />"), Gravatar({email: 'mathews.kyle@gmail.com'}), React.DOM.h2(null, "<Gravatar email='mathews.kyle@gmail.com' size=100 />"), Gravatar({email: 'mathews.kyle@gmail.com', size: 100}), React.DOM.h2(null, "For emails without a gravatar, use the retro default. You can override this by passing in a different 'default' prop. See https://en.gravatar.com/site/implement/images/ for options."), Gravatar({email: 'blah@blah.com'}), ]), document.body);
Fix example for React 0.13
Fix example for React 0.13
JavaScript
mit
KyleAMathews/react-gravatar
javascript
## Code Before: var Gravatar = require('../dist/index.js'); var React = require('react'); React.renderComponent( React.DOM.div(null, [ React.DOM.h2(null, "<Gravatar email='mathews.kyle@gmail.com' />"), Gravatar({email: 'mathews.kyle@gmail.com'}), React.DOM.h2(null, "<Gravatar email='mathews.kyle@gmail.com' size=100 />"), Gravatar({email: 'mathews.kyle@gmail.com', size: 100}), React.DOM.h2(null, "For emails without a gravatar, use the retro default. You can override this by passing in a different 'default' prop. See https://en.gravatar.com/site/implement/images/ for options."), Gravatar({email: 'blah@blah.com'}), ]), document.body); ## Instruction: Fix example for React 0.13 ## Code After: var React = require('react'); var Gravatar = React.createFactory(require('../dist/index.js')); React.render( React.DOM.div(null, [ React.DOM.h2(null, "<Gravatar email='mathews.kyle@gmail.com' />"), Gravatar({email: 'mathews.kyle@gmail.com'}), React.DOM.h2(null, "<Gravatar email='mathews.kyle@gmail.com' size=100 />"), Gravatar({email: 'mathews.kyle@gmail.com', size: 100}), React.DOM.h2(null, "For emails without a gravatar, use the retro default. You can override this by passing in a different 'default' prop. See https://en.gravatar.com/site/implement/images/ for options."), Gravatar({email: 'blah@blah.com'}), ]), document.body);
1e17e868ff332003da959a397b8846c9386b35e8
API_to_backend.py
API_to_backend.py
from multiprocessing import Queue, Process import time import backend command_queue = Queue() response_queue = Queue() def start_backend(): if handler: handler.stop() handler = Process(target=backend.start, args=(command_queue, response_queue)) handler.start() def get_for(url, queue, timeout): beginning = time.time() result = queue.get(timeout=timeout) if result["url"] == url: return result["body"] else: queue.put(result) return get_for(url, queue, timeout - (time.time()-beginning))
from multiprocessing import Queue, Process import time import backend command_queue = Queue() response_queue = Queue() def start_backend(): handler = Process(target=backend.start, args=(command_queue, response_queue)) handler.start() def get_for(url, queue, timeout): beginning = time.time() result = queue.get(timeout=timeout) if result["url"] == url: return result["body"] else: queue.put(result) return get_for(url, queue, timeout - (time.time()-beginning))
Revert "Quit Backend If Running"
Revert "Quit Backend If Running" This reverts commit a00432191e2575aba0f20ffb1a96a323699ae4fc.
Python
mit
IAPark/PITherm
python
## Code Before: from multiprocessing import Queue, Process import time import backend command_queue = Queue() response_queue = Queue() def start_backend(): if handler: handler.stop() handler = Process(target=backend.start, args=(command_queue, response_queue)) handler.start() def get_for(url, queue, timeout): beginning = time.time() result = queue.get(timeout=timeout) if result["url"] == url: return result["body"] else: queue.put(result) return get_for(url, queue, timeout - (time.time()-beginning)) ## Instruction: Revert "Quit Backend If Running" This reverts commit a00432191e2575aba0f20ffb1a96a323699ae4fc. ## Code After: from multiprocessing import Queue, Process import time import backend command_queue = Queue() response_queue = Queue() def start_backend(): handler = Process(target=backend.start, args=(command_queue, response_queue)) handler.start() def get_for(url, queue, timeout): beginning = time.time() result = queue.get(timeout=timeout) if result["url"] == url: return result["body"] else: queue.put(result) return get_for(url, queue, timeout - (time.time()-beginning))
348c61b7890d404b779217eb0cc1c19d9dc1a86d
lib/hawk/model/connection.rb
lib/hawk/model/connection.rb
module Hawk module Model ## # Fetches models from the remote HTTP endpoint. # module Connection def self.included(base) base.extend ClassMethods end def connection self.class.connection end module ClassMethods def connection raise Error::Configuration, "URL for #{name} is not yet set" unless url @_connection ||= Hawk::HTTP.new(url, http_options) end def url(url = nil) @_url = url.dup.freeze if url @_url end alias url= url def http_options(options = nil) @_http_options = options.dup.freeze if options @_http_options || {} end alias http_options= http_options def inherited(subclass) super subclass.url = self.url subclass.http_options = self.http_options end end end end end
module Hawk module Model ## # Fetches models from the remote HTTP endpoint. # module Connection def self.included(base) base.extend ClassMethods end def connection self.class.connection end module ClassMethods def connection @_connection ||= begin raise Error::Configuration, "URL for #{name} is not yet set" unless url raise Error::Configuration, "Please set the client_name" unless client_name options = self.http_options.dup headers = (options[:headers] ||= {}) if headers.key?('User-Agent') raise Error::Configuration, "Please set the User-Agent header through client_name" end headers['User-Agent'] = self.client_name Hawk::HTTP.new(url, options) end end def url(url = nil) @_url = url.dup.freeze if url @_url end alias url= url def http_options(options = nil) @_http_options = options.dup.freeze if options @_http_options ||= {} end alias http_options= http_options def client_name(name = nil) @_client_name = name.dup.freeze if name @_client_name end alias client_name= client_name def inherited(subclass) super subclass.url = self.url subclass.http_options = self.http_options subclass.client_name = self.client_name end end end end end
Add mandatory User Agent as client_name
Add mandatory User Agent as client_name
Ruby
mit
ifad/hawk,ifad/hawk
ruby
## Code Before: module Hawk module Model ## # Fetches models from the remote HTTP endpoint. # module Connection def self.included(base) base.extend ClassMethods end def connection self.class.connection end module ClassMethods def connection raise Error::Configuration, "URL for #{name} is not yet set" unless url @_connection ||= Hawk::HTTP.new(url, http_options) end def url(url = nil) @_url = url.dup.freeze if url @_url end alias url= url def http_options(options = nil) @_http_options = options.dup.freeze if options @_http_options || {} end alias http_options= http_options def inherited(subclass) super subclass.url = self.url subclass.http_options = self.http_options end end end end end ## Instruction: Add mandatory User Agent as client_name ## Code After: module Hawk module Model ## # Fetches models from the remote HTTP endpoint. # module Connection def self.included(base) base.extend ClassMethods end def connection self.class.connection end module ClassMethods def connection @_connection ||= begin raise Error::Configuration, "URL for #{name} is not yet set" unless url raise Error::Configuration, "Please set the client_name" unless client_name options = self.http_options.dup headers = (options[:headers] ||= {}) if headers.key?('User-Agent') raise Error::Configuration, "Please set the User-Agent header through client_name" end headers['User-Agent'] = self.client_name Hawk::HTTP.new(url, options) end end def url(url = nil) @_url = url.dup.freeze if url @_url end alias url= url def http_options(options = nil) @_http_options = options.dup.freeze if options @_http_options ||= {} end alias http_options= http_options def client_name(name = nil) @_client_name = name.dup.freeze if name @_client_name end alias client_name= client_name def inherited(subclass) super subclass.url = self.url subclass.http_options = self.http_options subclass.client_name = self.client_name end end end end end
a7be1ec2b6c74eff5445384990d6b4982cdb6ed6
index.html
index.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Loclock</title> <meta name="description" content="World time clock"> <link rel="stylesheet" href="css/app.css"> <link rel="icon" sizes="192x192" href="images/icon.png"> <link rel="apple-touch-icon-precomposed" href="images/icon.png"> </head> <body class="unselectable"> <div id="container"> <div id="list-container"> <div id="list"></div> </div> <div id="clock-container"> <div id="bars" class="rotate-90">|||</div> <svg id="clock" xmlns="http://www.w3.org/2000/svg" viewBox="0,0,720,720"></svg> </div> </div> <script src="js/bundle.js"></script> <script src="js/app.js"></script> </body> </html>
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Loclock</title> <meta name="description" content="World time clock"> <link rel="stylesheet" href="css/app.css"> <link rel="icon" sizes="192x192" href="images/icon.png"> <link rel="apple-touch-icon-precomposed" href="images/icon.png"> </head> <body class="unselectable"> <div id="container"> <div id="list-container"> <div id="list"></div> </div> <div id="clock-container"> <div id="bars" class="rotate-90">|||</div> <svg id="clock" viewBox="0,0,720,720"></svg> </div> </div> <script src="js/bundle.js"></script> <script src="js/app.js"></script> </body> </html>
Remove namespace definition of SVG element
Remove namespace definition of SVG element
HTML
mit
ionstage/loclock,ionstage/loclock
html
## Code Before: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Loclock</title> <meta name="description" content="World time clock"> <link rel="stylesheet" href="css/app.css"> <link rel="icon" sizes="192x192" href="images/icon.png"> <link rel="apple-touch-icon-precomposed" href="images/icon.png"> </head> <body class="unselectable"> <div id="container"> <div id="list-container"> <div id="list"></div> </div> <div id="clock-container"> <div id="bars" class="rotate-90">|||</div> <svg id="clock" xmlns="http://www.w3.org/2000/svg" viewBox="0,0,720,720"></svg> </div> </div> <script src="js/bundle.js"></script> <script src="js/app.js"></script> </body> </html> ## Instruction: Remove namespace definition of SVG element ## Code After: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Loclock</title> <meta name="description" content="World time clock"> <link rel="stylesheet" href="css/app.css"> <link rel="icon" sizes="192x192" href="images/icon.png"> <link rel="apple-touch-icon-precomposed" href="images/icon.png"> </head> <body class="unselectable"> <div id="container"> <div id="list-container"> <div id="list"></div> </div> <div id="clock-container"> <div id="bars" class="rotate-90">|||</div> <svg id="clock" viewBox="0,0,720,720"></svg> </div> </div> <script src="js/bundle.js"></script> <script src="js/app.js"></script> </body> </html>
5853a141a52429783a7fc031b2c33fef4d8c58d5
pages/staticpage.go
pages/staticpage.go
package pages import ( "io" "io/ioutil" ) // StaticPage is a static page. type StaticPage struct { pageFields } // Static returns a bool indicating that the page is a static page. func (p *StaticPage) Static() bool { return true } func (p *StaticPage) Write(_ Context, w io.Writer) error { b, err := ioutil.ReadFile(p.filename) if err != nil { return err } _, err = w.Write(b) return err }
package pages import ( "io" "os" ) // StaticPage is a static page. type StaticPage struct { pageFields } // Static returns a bool indicating that the page is a static page. func (p *StaticPage) Static() bool { return true } func (p *StaticPage) Write(_ Context, w io.Writer) error { in, err := os.Open(p.filename) if err != nil { return err } defer in.Close() // nolint: errcheck, gas _, err = io.Copy(w, in) return err }
Use io.Copy to write static files
Use io.Copy to write static files
Go
mit
osteele/gojekyll,osteele/gojekyll,osteele/gojekyll,osteele/gojekyll
go
## Code Before: package pages import ( "io" "io/ioutil" ) // StaticPage is a static page. type StaticPage struct { pageFields } // Static returns a bool indicating that the page is a static page. func (p *StaticPage) Static() bool { return true } func (p *StaticPage) Write(_ Context, w io.Writer) error { b, err := ioutil.ReadFile(p.filename) if err != nil { return err } _, err = w.Write(b) return err } ## Instruction: Use io.Copy to write static files ## Code After: package pages import ( "io" "os" ) // StaticPage is a static page. type StaticPage struct { pageFields } // Static returns a bool indicating that the page is a static page. func (p *StaticPage) Static() bool { return true } func (p *StaticPage) Write(_ Context, w io.Writer) error { in, err := os.Open(p.filename) if err != nil { return err } defer in.Close() // nolint: errcheck, gas _, err = io.Copy(w, in) return err }
ba73bedda6ad72b0accd51e594b1b3e193d50e87
client/src/app/shared/shared-video-miniature/videos-selection.component.scss
client/src/app/shared/shared-video-miniature/videos-selection.component.scss
@use '_variables' as *; @use '_mixins' as *; .action-selection-mode { display: flex; justify-content: flex-end; flex-grow: 1; } .action-selection-mode-child { position: fixed; .action-button { @include margin-left(55px); display: block; } } .action-button-cancel-selection { @include peertube-button; @include grey-button; } .video { @include row-blocks($column-responsive: false); &:first-child { margin-top: 47px; } .checkbox-container { @include margin-right(20px); @include margin-left(12px); display: flex; align-items: center; } my-video-miniature { flex-grow: 1; } } @include on-small-main-col { .video { flex-wrap: wrap; } } @include on-mobile-main-col { .checkbox-container { display: none; } .action-selection-mode { display: none; // disable for small screens } }
@use '_variables' as *; @use '_mixins' as *; .action-selection-mode { display: flex; justify-content: flex-end; flex-grow: 1; } .action-selection-mode-child { position: fixed; display: flex; .action-button { @include margin-left(55px); display: block; } } .action-button-cancel-selection { @include peertube-button; @include grey-button; } .video { @include row-blocks($column-responsive: false); &:first-child { margin-top: 47px; } .checkbox-container { @include margin-right(20px); @include margin-left(12px); display: flex; align-items: center; } my-video-miniature { flex-grow: 1; } } @include on-small-main-col { .video { flex-wrap: wrap; } } @include on-mobile-main-col { .checkbox-container { display: none; } .action-selection-mode { display: none; // disable for small screens } }
Fix video selection buttons placement
Fix video selection buttons placement
SCSS
agpl-3.0
Chocobozzz/PeerTube,Chocobozzz/PeerTube,Chocobozzz/PeerTube,Chocobozzz/PeerTube
scss
## Code Before: @use '_variables' as *; @use '_mixins' as *; .action-selection-mode { display: flex; justify-content: flex-end; flex-grow: 1; } .action-selection-mode-child { position: fixed; .action-button { @include margin-left(55px); display: block; } } .action-button-cancel-selection { @include peertube-button; @include grey-button; } .video { @include row-blocks($column-responsive: false); &:first-child { margin-top: 47px; } .checkbox-container { @include margin-right(20px); @include margin-left(12px); display: flex; align-items: center; } my-video-miniature { flex-grow: 1; } } @include on-small-main-col { .video { flex-wrap: wrap; } } @include on-mobile-main-col { .checkbox-container { display: none; } .action-selection-mode { display: none; // disable for small screens } } ## Instruction: Fix video selection buttons placement ## Code After: @use '_variables' as *; @use '_mixins' as *; .action-selection-mode { display: flex; justify-content: flex-end; flex-grow: 1; } .action-selection-mode-child { position: fixed; display: flex; .action-button { @include margin-left(55px); display: block; } } .action-button-cancel-selection { @include peertube-button; @include grey-button; } .video { @include row-blocks($column-responsive: false); &:first-child { margin-top: 47px; } .checkbox-container { @include margin-right(20px); @include margin-left(12px); display: flex; align-items: center; } my-video-miniature { flex-grow: 1; } } @include on-small-main-col { .video { flex-wrap: wrap; } } @include on-mobile-main-col { .checkbox-container { display: none; } .action-selection-mode { display: none; // disable for small screens } }
d70174beccae5a6d3d23195f5d2e27d78b146047
app/assets/javascripts/darkswarm/directives/validate_stock_quantity.js.coffee
app/assets/javascripts/darkswarm/directives/validate_stock_quantity.js.coffee
Darkswarm.directive "validateStockQuantity", (StockQuantity) -> restrict: 'A' require: "ngModel" link: (scope, element, attr, ngModel) -> ngModel.$parsers.push (selectedQuantity) -> valid_number = parseInt(selectedQuantity) != NaN valid_quantity = parseInt(selectedQuantity) <= scope.available_quantity() ngModel.$setValidity('stock', (valid_number && valid_quantity) ); selectedQuantity scope.available_quantity = -> StockQuantity.available_quantity(attr.ofnOnHand, attr.finalizedquantity)
Darkswarm.directive "validateStockQuantity", (StockQuantity) -> restrict: 'A' require: "ngModel" scope: true link: (scope, element, attr, ngModel) -> ngModel.$parsers.push (selectedQuantity) -> valid_number = parseInt(selectedQuantity) != NaN valid_quantity = parseInt(selectedQuantity) <= scope.available_quantity() ngModel.$setValidity('stock', (valid_number && valid_quantity) ); selectedQuantity scope.available_quantity = -> StockQuantity.available_quantity(attr.ofnOnHand, attr.finalizedquantity)
Use fresh scope for each quantity field
Use fresh scope for each quantity field
CoffeeScript
agpl-3.0
Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork
coffeescript
## Code Before: Darkswarm.directive "validateStockQuantity", (StockQuantity) -> restrict: 'A' require: "ngModel" link: (scope, element, attr, ngModel) -> ngModel.$parsers.push (selectedQuantity) -> valid_number = parseInt(selectedQuantity) != NaN valid_quantity = parseInt(selectedQuantity) <= scope.available_quantity() ngModel.$setValidity('stock', (valid_number && valid_quantity) ); selectedQuantity scope.available_quantity = -> StockQuantity.available_quantity(attr.ofnOnHand, attr.finalizedquantity) ## Instruction: Use fresh scope for each quantity field ## Code After: Darkswarm.directive "validateStockQuantity", (StockQuantity) -> restrict: 'A' require: "ngModel" scope: true link: (scope, element, attr, ngModel) -> ngModel.$parsers.push (selectedQuantity) -> valid_number = parseInt(selectedQuantity) != NaN valid_quantity = parseInt(selectedQuantity) <= scope.available_quantity() ngModel.$setValidity('stock', (valid_number && valid_quantity) ); selectedQuantity scope.available_quantity = -> StockQuantity.available_quantity(attr.ofnOnHand, attr.finalizedquantity)
eaee1b8778495135d7af7497ddecc21935c91c9a
Cargo.toml
Cargo.toml
[package] name = "nickel-sqlite" version = "0.0.1" authors = ["Simon Persson <simon@flaskpost.org>"] [lib] name = "nickel_sqlite" path = "src/lib.rs" [dependencies.nickel] git = "https://github.com/SimonPersson/nickel.rs.git" [dependencies.rust-sqlite] git = "https://github.com/dckc/rust-sqlite3.git" [[example]] name = "example" path = "example/example.rs"
[package] name = "nickel-sqlite" version = "0.0.1" authors = ["Simon Persson <simon@flaskpost.org>"] [lib] name = "nickel_sqlite" path = "src/lib.rs" [dependencies.nickel] git = "https://github.com/nickel-org/nickel.rs.git" [dependencies.rust-sqlite] git = "https://github.com/dckc/rust-sqlite3.git" [[example]] name = "example" path = "example/example.rs"
Switch back to main nickel.
Switch back to main nickel.
TOML
mit
SimonPersson/nickel-sqlite3
toml
## Code Before: [package] name = "nickel-sqlite" version = "0.0.1" authors = ["Simon Persson <simon@flaskpost.org>"] [lib] name = "nickel_sqlite" path = "src/lib.rs" [dependencies.nickel] git = "https://github.com/SimonPersson/nickel.rs.git" [dependencies.rust-sqlite] git = "https://github.com/dckc/rust-sqlite3.git" [[example]] name = "example" path = "example/example.rs" ## Instruction: Switch back to main nickel. ## Code After: [package] name = "nickel-sqlite" version = "0.0.1" authors = ["Simon Persson <simon@flaskpost.org>"] [lib] name = "nickel_sqlite" path = "src/lib.rs" [dependencies.nickel] git = "https://github.com/nickel-org/nickel.rs.git" [dependencies.rust-sqlite] git = "https://github.com/dckc/rust-sqlite3.git" [[example]] name = "example" path = "example/example.rs"
257dfb154d9626853629b79e1e3eeb1631ddde09
_includes/section_about.html
_includes/section_about.html
<section id="about"> <div class="container"> <div class="row"> <div class="col-lg-12"> <h2 class="section-heading">Палаточный ИТ-лагерь Дюна</h2> <h3 class="section-subheading text-muted"> Это яркий палаточный фестиваль в самый разгар лета! ☀ Площадка соберет множество топ-менеджеров, спикеров, разработчиков, маркетологов и многих, многих других. </h3> <!-- <div class="row"> <div class=""> <iframe width="854" height="480" src="https://www.youtube.com/embed/7d-hMnfFGC8?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> </div> </div> --> </div> </div> </div> </section>
<section id="about"> <div class="container"> <div class="row"> <div class="col-lg-12">Что такое Дюна?</h2> <h3 class="section-subheading text-muted"> Дюна - это тематический палаточный ИТ-лагерь, который пройдет 13-15 июля 2018 года на берегу Волги, на территории базы отдыха "Дубровка" в Энгельсе. На Дюне будет всё, что необходимо для отличных выходных: доклады про технологии, науку и дизайн, спортивные развлечения, вкусная еда, пляж, диджеи, вейк-борд, кикер, шашлыки, кальяны и многое много другое. А значит это идеальное место для того чтобы провести лучшие ИТ-выходные с коллегами и друзьями. <br/>И помни: все что было на Дюне, остается на Дюне. </h3> <!-- <div class="row"> <div class=""> <iframe width="854" height="480" src="https://www.youtube.com/embed/7d-hMnfFGC8?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> </div> </div> --> </div> </div> </div> </section>
Add new text to about
Add new text to about
HTML
apache-2.0
youcon/dune.github.io,youcon/dune.github.io,youcon/dune.github.io
html
## Code Before: <section id="about"> <div class="container"> <div class="row"> <div class="col-lg-12"> <h2 class="section-heading">Палаточный ИТ-лагерь Дюна</h2> <h3 class="section-subheading text-muted"> Это яркий палаточный фестиваль в самый разгар лета! ☀ Площадка соберет множество топ-менеджеров, спикеров, разработчиков, маркетологов и многих, многих других. </h3> <!-- <div class="row"> <div class=""> <iframe width="854" height="480" src="https://www.youtube.com/embed/7d-hMnfFGC8?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> </div> </div> --> </div> </div> </div> </section> ## Instruction: Add new text to about ## Code After: <section id="about"> <div class="container"> <div class="row"> <div class="col-lg-12">Что такое Дюна?</h2> <h3 class="section-subheading text-muted"> Дюна - это тематический палаточный ИТ-лагерь, который пройдет 13-15 июля 2018 года на берегу Волги, на территории базы отдыха "Дубровка" в Энгельсе. На Дюне будет всё, что необходимо для отличных выходных: доклады про технологии, науку и дизайн, спортивные развлечения, вкусная еда, пляж, диджеи, вейк-борд, кикер, шашлыки, кальяны и многое много другое. А значит это идеальное место для того чтобы провести лучшие ИТ-выходные с коллегами и друзьями. <br/>И помни: все что было на Дюне, остается на Дюне. </h3> <!-- <div class="row"> <div class=""> <iframe width="854" height="480" src="https://www.youtube.com/embed/7d-hMnfFGC8?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> </div> </div> --> </div> </div> </div> </section>
ead8d84df4db6e2c1f0b7cc5d5485870a73a393f
yang/yang-parser-spi/src/main/java/module-info.java
yang/yang-parser-spi/src/main/java/module-info.java
/* * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ module org.opendaylight.yangtools.yang.parser.spi { exports org.opendaylight.yangtools.yang.parser.spi; exports org.opendaylight.yangtools.yang.parser.spi.meta; exports org.opendaylight.yangtools.yang.parser.spi.source; exports org.opendaylight.yangtools.yang.parser.spi.validation; requires transitive org.opendaylight.yangtools.yang.model.api; requires org.slf4j; }
/* * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ module org.opendaylight.yangtools.yang.parser.spi { exports org.opendaylight.yangtools.yang.parser.spi; exports org.opendaylight.yangtools.yang.parser.spi.meta; exports org.opendaylight.yangtools.yang.parser.spi.source; exports org.opendaylight.yangtools.yang.parser.spi.validation; requires transitive org.opendaylight.yangtools.yang.model.api; requires org.slf4j; // Annotations requires static org.eclipse.jdt.annotation; }
Add a requirement on annotations
Add a requirement on annotations Do not rely to get these transitively, add a requires static. Change-Id: Ibf06934bcdf808e1bdc47cdb8097adc9d5650606 Signed-off-by: Robert Varga <91ae5aa8c7a9f7e57b701db766e23e544aaa6ae9@pantheon.tech>
Java
epl-1.0
opendaylight/yangtools,opendaylight/yangtools
java
## Code Before: /* * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ module org.opendaylight.yangtools.yang.parser.spi { exports org.opendaylight.yangtools.yang.parser.spi; exports org.opendaylight.yangtools.yang.parser.spi.meta; exports org.opendaylight.yangtools.yang.parser.spi.source; exports org.opendaylight.yangtools.yang.parser.spi.validation; requires transitive org.opendaylight.yangtools.yang.model.api; requires org.slf4j; } ## Instruction: Add a requirement on annotations Do not rely to get these transitively, add a requires static. Change-Id: Ibf06934bcdf808e1bdc47cdb8097adc9d5650606 Signed-off-by: Robert Varga <91ae5aa8c7a9f7e57b701db766e23e544aaa6ae9@pantheon.tech> ## Code After: /* * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ module org.opendaylight.yangtools.yang.parser.spi { exports org.opendaylight.yangtools.yang.parser.spi; exports org.opendaylight.yangtools.yang.parser.spi.meta; exports org.opendaylight.yangtools.yang.parser.spi.source; exports org.opendaylight.yangtools.yang.parser.spi.validation; requires transitive org.opendaylight.yangtools.yang.model.api; requires org.slf4j; // Annotations requires static org.eclipse.jdt.annotation; }
51650ca02af5af553d6bf624556d0194fbed12f5
pip_reqs.txt
pip_reqs.txt
certifi==2017.7.27.1 chardet==3.0.4 codacy-coverage==1.3.6 coverage==4.4.1 idna==2.5 pkg-resources==0.0.0 py==1.4.34 pytest==3.2.0 requests==2.18.3 urllib3==1.22
certifi==2017.7.27.1 chardet==3.0.4 codacy-coverage==1.3.6 coverage==4.4.1 idna==2.5 py==1.4.34 pytest==3.2.0 requests==2.18.3 urllib3==1.22
Fix unmeetable dependency on pip requirements
Fix unmeetable dependency on pip requirements
Text
mit
SolarLiner/libnotify-terminal
text
## Code Before: certifi==2017.7.27.1 chardet==3.0.4 codacy-coverage==1.3.6 coverage==4.4.1 idna==2.5 pkg-resources==0.0.0 py==1.4.34 pytest==3.2.0 requests==2.18.3 urllib3==1.22 ## Instruction: Fix unmeetable dependency on pip requirements ## Code After: certifi==2017.7.27.1 chardet==3.0.4 codacy-coverage==1.3.6 coverage==4.4.1 idna==2.5 py==1.4.34 pytest==3.2.0 requests==2.18.3 urllib3==1.22
880d7409e06f5aa694cc5321c32a95b8a67c90b2
src/discordcr/mappings/rest.cr
src/discordcr/mappings/rest.cr
require "./converters" module Discord module REST # A response to the Get Gateway REST API call. struct GatewayResponse JSON.mapping( url: String ) end end end
require "./converters" module Discord module REST # A response to the Get Gateway REST API call. struct GatewayResponse JSON.mapping( url: String ) end # A response to the Get Guild Prune Count REST API call. struct PruneCountResponse JSON.mapping( pruned: UInt32 ) end end end
Add a mapping for the response of the prune count endpoint
Add a mapping for the response of the prune count endpoint
Crystal
mit
meew0/discordcr
crystal
## Code Before: require "./converters" module Discord module REST # A response to the Get Gateway REST API call. struct GatewayResponse JSON.mapping( url: String ) end end end ## Instruction: Add a mapping for the response of the prune count endpoint ## Code After: require "./converters" module Discord module REST # A response to the Get Gateway REST API call. struct GatewayResponse JSON.mapping( url: String ) end # A response to the Get Guild Prune Count REST API call. struct PruneCountResponse JSON.mapping( pruned: UInt32 ) end end end
bb9ca4831513b2669df01d0d9a64701df71b5942
spec/lib/active_record/models/data_key_spec.rb
spec/lib/active_record/models/data_key_spec.rb
require 'spec_helper' module Voynich::ActiveRecord describe DataKey do before do allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:plaintext) { 'plaintext-data-key-generated-by-amazon-kms' } allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:ciphertext) { "encrypted-data-key#{SecureRandom.hex}" } allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:reencrypt) { "encrypted-data-key#{SecureRandom.hex}" } end describe "#reencrypt!" do let(:data_key) { DataKey.create!(name: 'data_key', cmk_id: Voynich.kms_cmk_id) } it "re-encrypt and save ciphertext" do before = data_key.ciphertext data_key.reencrypt! expect(data_key.ciphertext).to_not eq before end end end end
require 'spec_helper' module Voynich::ActiveRecord describe DataKey do before do allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:plaintext) { 'plaintext-data-key-generated-by-amazon-kms' } allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:ciphertext) { "encrypted-data-key" } allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:reencrypt) { "encrypted-data-key-new" } end describe "#reencrypt!" do let(:data_key) { DataKey.create!(name: 'data_key', cmk_id: Voynich.kms_cmk_id) } it "re-encrypt and save ciphertext" do data_key.reencrypt! expect(data_key.ciphertext).to eq "encrypted-data-key-new" end end end end
Update reencrypt spec to use fixed key string
Update reencrypt spec to use fixed key string
Ruby
mit
degica/voynich,degica/voynich
ruby
## Code Before: require 'spec_helper' module Voynich::ActiveRecord describe DataKey do before do allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:plaintext) { 'plaintext-data-key-generated-by-amazon-kms' } allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:ciphertext) { "encrypted-data-key#{SecureRandom.hex}" } allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:reencrypt) { "encrypted-data-key#{SecureRandom.hex}" } end describe "#reencrypt!" do let(:data_key) { DataKey.create!(name: 'data_key', cmk_id: Voynich.kms_cmk_id) } it "re-encrypt and save ciphertext" do before = data_key.ciphertext data_key.reencrypt! expect(data_key.ciphertext).to_not eq before end end end end ## Instruction: Update reencrypt spec to use fixed key string ## Code After: require 'spec_helper' module Voynich::ActiveRecord describe DataKey do before do allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:plaintext) { 'plaintext-data-key-generated-by-amazon-kms' } allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:ciphertext) { "encrypted-data-key" } allow_any_instance_of(Voynich::KMSDataKeyClient).to receive(:reencrypt) { "encrypted-data-key-new" } end describe "#reencrypt!" do let(:data_key) { DataKey.create!(name: 'data_key', cmk_id: Voynich.kms_cmk_id) } it "re-encrypt and save ciphertext" do data_key.reencrypt! expect(data_key.ciphertext).to eq "encrypted-data-key-new" end end end end
2680f9157474a644819ba025ce5e87698fe76d95
README.md
README.md
[![Dependency Status](https://gemnasium.com/paircolumbus/progress.svg)](https://gemnasium.com/paircolumbus/progress) Pair Columbus Challenge Progress
[![Dependency Status](https://gemnasium.com/paircolumbus/progress.svg)](https://gemnasium.com/paircolumbus/progress) [![Code Climate](https://codeclimate.com/github/paircolumbus/progress/badges/gpa.svg)](https://codeclimate.com/github/paircolumbus/progress) An easy way to check your progress on [Pair Columbus challenges](https://github.com/paircolumbus/Welcome/blob/master/ChallengeGuide.md). Remember, you don't need to be a member of Pair Columbus to work on the challenges (though if you want to [join us](http://paircolumbus.org/), that would be awesome). ## Features Enter a GitHub username to see which challenges that user has completed. Progress keeps track of this by assuming that you have completed any challenge that you have submitted a pull request. Please note that this may have false positives if you are contributing to a project, or send a pull request with an incomplete solution. If you need help with a solution you're working on, feel free to ask around on your pull request for that challenge. ## Usage You should [install Node.js](http://nodejs.org/download/) first. ```shell npm install npm start ``` If you run into issues with rate limiting, please [register a new OAuth application on GitHub](https://github.com/settings/applications/new) and set the `PROGRESS_ID` and `PROGRESS_SECRET` environment variables to your client ID and client secret (respectively) before you start the app. Progress is also deployed on [Heroku](https://www.heroku.com/), which will automatically deploy the app whenever you commit to `master` (and it already has the client ID and client secret set up. ## Stack These are the technologies used by Progress itself, not the technologies covered in the Pair Columbus challenges. - [Node.js](http://nodejs.org/) - [Express](http://expressjs.com/) - [GitHub API v3](https://developer.github.com/v3/) - [Bootstrap](http://getbootstrap.com/)
Add information to the readme, along with a Code Climate badge
Add information to the readme, along with a Code Climate badge
Markdown
mit
paircolumbus/progress
markdown
## Code Before: [![Dependency Status](https://gemnasium.com/paircolumbus/progress.svg)](https://gemnasium.com/paircolumbus/progress) Pair Columbus Challenge Progress ## Instruction: Add information to the readme, along with a Code Climate badge ## Code After: [![Dependency Status](https://gemnasium.com/paircolumbus/progress.svg)](https://gemnasium.com/paircolumbus/progress) [![Code Climate](https://codeclimate.com/github/paircolumbus/progress/badges/gpa.svg)](https://codeclimate.com/github/paircolumbus/progress) An easy way to check your progress on [Pair Columbus challenges](https://github.com/paircolumbus/Welcome/blob/master/ChallengeGuide.md). Remember, you don't need to be a member of Pair Columbus to work on the challenges (though if you want to [join us](http://paircolumbus.org/), that would be awesome). ## Features Enter a GitHub username to see which challenges that user has completed. Progress keeps track of this by assuming that you have completed any challenge that you have submitted a pull request. Please note that this may have false positives if you are contributing to a project, or send a pull request with an incomplete solution. If you need help with a solution you're working on, feel free to ask around on your pull request for that challenge. ## Usage You should [install Node.js](http://nodejs.org/download/) first. ```shell npm install npm start ``` If you run into issues with rate limiting, please [register a new OAuth application on GitHub](https://github.com/settings/applications/new) and set the `PROGRESS_ID` and `PROGRESS_SECRET` environment variables to your client ID and client secret (respectively) before you start the app. Progress is also deployed on [Heroku](https://www.heroku.com/), which will automatically deploy the app whenever you commit to `master` (and it already has the client ID and client secret set up. ## Stack These are the technologies used by Progress itself, not the technologies covered in the Pair Columbus challenges. - [Node.js](http://nodejs.org/) - [Express](http://expressjs.com/) - [GitHub API v3](https://developer.github.com/v3/) - [Bootstrap](http://getbootstrap.com/)
58c74eb1bf3d9f0043fd2fd7d28c5e858c057ada
.zuul.yaml
.zuul.yaml
- project: templates: - nodejs8-jobs - nodejs8-publish-to-npm - release-notes-jobs-python3 check: jobs: - tripleo-ci-centos-7-undercloud-oooq: files: - ^src/.*$ - ^webpack.*$ - ^package.json$ - ^npm-shrinkwrap.json$ - ^.babelrc$ gate: queue: tripleo jobs: - tripleo-ci-centos-7-undercloud-oooq: files: - ^src/.*$ - ^webpack.*$ - ^package.json$ - ^npm-shrinkwrap.json$ - ^.babelrc$
- project: templates: - nodejs8-jobs - nodejs8-publish-to-npm - release-notes-jobs-python3 check: jobs: - tripleo-ci-centos-7-undercloud-containers: files: - ^src/.*$ - ^webpack.*$ - ^package.json$ - ^npm-shrinkwrap.json$ - ^.babelrc$ gate: queue: tripleo jobs: - tripleo-ci-centos-7-undercloud-containers: files: - ^src/.*$ - ^webpack.*$ - ^package.json$ - ^npm-shrinkwrap.json$ - ^.babelrc$
Fix the missing undercloud jobs
Fix the missing undercloud jobs The old defined undercloud job is instack-undercloud based which has been dropped as of Stein. This replaces it with the containerized version. Change-Id: I90ada83a715f9a9631d474413a1d66befd02eaab
YAML
apache-2.0
knowncitizen/tripleo-ui,knowncitizen/tripleo-ui,knowncitizen/tripleo-ui,knowncitizen/tripleo-ui
yaml
## Code Before: - project: templates: - nodejs8-jobs - nodejs8-publish-to-npm - release-notes-jobs-python3 check: jobs: - tripleo-ci-centos-7-undercloud-oooq: files: - ^src/.*$ - ^webpack.*$ - ^package.json$ - ^npm-shrinkwrap.json$ - ^.babelrc$ gate: queue: tripleo jobs: - tripleo-ci-centos-7-undercloud-oooq: files: - ^src/.*$ - ^webpack.*$ - ^package.json$ - ^npm-shrinkwrap.json$ - ^.babelrc$ ## Instruction: Fix the missing undercloud jobs The old defined undercloud job is instack-undercloud based which has been dropped as of Stein. This replaces it with the containerized version. Change-Id: I90ada83a715f9a9631d474413a1d66befd02eaab ## Code After: - project: templates: - nodejs8-jobs - nodejs8-publish-to-npm - release-notes-jobs-python3 check: jobs: - tripleo-ci-centos-7-undercloud-containers: files: - ^src/.*$ - ^webpack.*$ - ^package.json$ - ^npm-shrinkwrap.json$ - ^.babelrc$ gate: queue: tripleo jobs: - tripleo-ci-centos-7-undercloud-containers: files: - ^src/.*$ - ^webpack.*$ - ^package.json$ - ^npm-shrinkwrap.json$ - ^.babelrc$
98df7851355f81f8b6119781c003dc2f84b4dc85
django-ssheepdog/setup.py
django-ssheepdog/setup.py
from setuptools import setup description = 'ssheepdog' long_desc = description setup( name='ssheepdog', version='0.0.1', url='https://github.com/SheepDogInc/ssheepdog', install_requires=[ 'django-celery', 'django-kombu', ], description=description, long_description=long_desc, author='SheepDogInc', author_email='info@sheepdoginc.ca', packages=['ssheepdog'] )
from setuptools import setup description = 'ssheepdog' long_desc = description setup( name='ssheepdog', version='0.0.1', url='https://github.com/SheepDogInc/ssheepdog', install_requires=[ 'django-celery', 'django-kombu', 'south', 'ssh' ], description=description, long_description=long_desc, author='SheepDogInc', author_email='info@sheepdoginc.ca', packages=['ssheepdog'] )
Add a couple of dependencies
Add a couple of dependencies
Python
bsd-3-clause
SheepDogInc/ssheepdog,SheepDogInc/ssheepdog,SheepDogInc/ssheepdog
python
## Code Before: from setuptools import setup description = 'ssheepdog' long_desc = description setup( name='ssheepdog', version='0.0.1', url='https://github.com/SheepDogInc/ssheepdog', install_requires=[ 'django-celery', 'django-kombu', ], description=description, long_description=long_desc, author='SheepDogInc', author_email='info@sheepdoginc.ca', packages=['ssheepdog'] ) ## Instruction: Add a couple of dependencies ## Code After: from setuptools import setup description = 'ssheepdog' long_desc = description setup( name='ssheepdog', version='0.0.1', url='https://github.com/SheepDogInc/ssheepdog', install_requires=[ 'django-celery', 'django-kombu', 'south', 'ssh' ], description=description, long_description=long_desc, author='SheepDogInc', author_email='info@sheepdoginc.ca', packages=['ssheepdog'] )
f80eac5ad35875234f587f31beb1a496084c8403
postgres-restore-s3/README.md
postgres-restore-s3/README.md
Backup PostgresSQL to S3 (supports periodic backups) ## Usage Docker: ```sh $ docker run -e S3_ACCESS_KEY_ID=key -e S3_SECRET_ACCESS_KEY=secret -e S3_BUCKET=my-bucket -e S3_PREFIX=backup -e POSTGRES_DATABASE=dbname -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password -e POSTGRES_HOST=localhost schickling/postgres-backup-s3 ``` Docker Compose: ```yaml postgres: image: postgres environment: POSTGRES_USER: user POSTGRES_PASSWORD: password pgbackups3: image: schickling/postgres-backup-s3 links: - postgres environment: SCHEDULE: '@daily' S3_REGION: region S3_ACCESS_KEY_ID: key S3_SECRET_ACCESS_KEY: secret S3_BUCKET: my-bucket S3_PREFIX: backup POSTGRES_DATABASE: dbname POSTGRES_USER: user POSTGRES_PASSWORD: password ``` ### Automatic Periodic Backups You can additionally set the `SCHEDULE` environment variable like `-e SCHEDULE="@daily"` to run the backup automatically. More information about the scheduling can be found [here](http://godoc.org/github.com/robfig/cron#hdr-Predefined_schedules).
Restore a SQL backup from S3 to PostgresSQL ## Warning This will potentially put your database in a very bad state or complete destroy your data, be very careful. ## Limitations This is made to restore a backup made from postgres-backup-s3, if you backup came from somewhere else please check your format. * Your s3 bucket *must* only contain backups which you wish to restore - it will always grabs the 'latest' based on unix sort with no filtering * They must be gzip encoded text sql files * If your bucket has more than a 1000 files the latest may not be restore, only one s3 ls command is made ## Usage Docker: ```sh $ docker run -e S3_ACCESS_KEY_ID=key -e S3_SECRET_ACCESS_KEY=secret -e S3_BUCKET=my-bucket -e S3_PREFIX=backup -e POSTGRES_DATABASE=dbname -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password -e POSTGRES_HOST=localhost schickling/postgres-restore-s3 ``` ## Dropping public If you wish to drop the public schema (drop schema public cascade; create schema public) then set the environment variable DROP_PUBLIC=yes. This is useful for situations where you wish to restore a database which currently has data / schemas in it.
Update readme for postgres restore
Update readme for postgres restore
Markdown
mit
schickling/dockerfiles,schickling/dockerfiles
markdown
## Code Before: Backup PostgresSQL to S3 (supports periodic backups) ## Usage Docker: ```sh $ docker run -e S3_ACCESS_KEY_ID=key -e S3_SECRET_ACCESS_KEY=secret -e S3_BUCKET=my-bucket -e S3_PREFIX=backup -e POSTGRES_DATABASE=dbname -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password -e POSTGRES_HOST=localhost schickling/postgres-backup-s3 ``` Docker Compose: ```yaml postgres: image: postgres environment: POSTGRES_USER: user POSTGRES_PASSWORD: password pgbackups3: image: schickling/postgres-backup-s3 links: - postgres environment: SCHEDULE: '@daily' S3_REGION: region S3_ACCESS_KEY_ID: key S3_SECRET_ACCESS_KEY: secret S3_BUCKET: my-bucket S3_PREFIX: backup POSTGRES_DATABASE: dbname POSTGRES_USER: user POSTGRES_PASSWORD: password ``` ### Automatic Periodic Backups You can additionally set the `SCHEDULE` environment variable like `-e SCHEDULE="@daily"` to run the backup automatically. More information about the scheduling can be found [here](http://godoc.org/github.com/robfig/cron#hdr-Predefined_schedules). ## Instruction: Update readme for postgres restore ## Code After: Restore a SQL backup from S3 to PostgresSQL ## Warning This will potentially put your database in a very bad state or complete destroy your data, be very careful. ## Limitations This is made to restore a backup made from postgres-backup-s3, if you backup came from somewhere else please check your format. * Your s3 bucket *must* only contain backups which you wish to restore - it will always grabs the 'latest' based on unix sort with no filtering * They must be gzip encoded text sql files * If your bucket has more than a 1000 files the latest may not be restore, only one s3 ls command is made ## Usage Docker: ```sh $ docker run -e S3_ACCESS_KEY_ID=key -e S3_SECRET_ACCESS_KEY=secret -e S3_BUCKET=my-bucket -e S3_PREFIX=backup -e POSTGRES_DATABASE=dbname -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password -e POSTGRES_HOST=localhost schickling/postgres-restore-s3 ``` ## Dropping public If you wish to drop the public schema (drop schema public cascade; create schema public) then set the environment variable DROP_PUBLIC=yes. This is useful for situations where you wish to restore a database which currently has data / schemas in it.
7f73439ff6ce1aa8c7bbbda972d8eb3c9bea7682
docs/adding-committers.md
docs/adding-committers.md
Admins (nduca, sullivan) can add contributors to the project. There are three steps: 1. Check that the person has signed the Contributor License Agreement. You can check [here](http://go/check-cla). If they have not signed, please redirect them to [this page][cla] and wait for them to sign before adding. 2. Add the person's github account to the [catapult] team. 3. Add the person's email to the [commit queue list]. Because there is no API to retrieve a person's GitHub ID from their email address or vice versa, we cannot automate this into one step. [cla]: https://cla.developers.google.com/about/google-individual?csw=1 [catapult]: https://github.com/orgs/catapult-project/teams/catapult [commit queue list]: https://chrome-infra-auth.appspot.com/auth/groups#project-catapult-committers
Admins (sullivan, benhenry, nednguyen) can add contributors to the project. There are three steps: 1. Check that the person has signed the Contributor License Agreement. You can check [here](http://go/check-cla). If they have not signed, please redirect them to [this page][cla] and wait for them to sign before adding. 2. Add the person's github account to the [catapult] team. 3. Add the person's email to the [commit queue list]. Because there is no API to retrieve a person's GitHub ID from their email address or vice versa, we cannot automate this into one step. [cla]: https://cla.developers.google.com/about/google-individual?csw=1 [catapult]: https://github.com/orgs/catapult-project/teams/catapult [commit queue list]: https://chrome-infra-auth.appspot.com/auth/groups#project-catapult-committers
Update admins in adding contributors docs.
Update admins in adding contributors docs. I put myself first instead of using alphabetic order so that people bug me by default. Hope that's okay! Review-Url: https://chromiumcodereview.appspot.com/3010423002
Markdown
bsd-3-clause
catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult
markdown
## Code Before: Admins (nduca, sullivan) can add contributors to the project. There are three steps: 1. Check that the person has signed the Contributor License Agreement. You can check [here](http://go/check-cla). If they have not signed, please redirect them to [this page][cla] and wait for them to sign before adding. 2. Add the person's github account to the [catapult] team. 3. Add the person's email to the [commit queue list]. Because there is no API to retrieve a person's GitHub ID from their email address or vice versa, we cannot automate this into one step. [cla]: https://cla.developers.google.com/about/google-individual?csw=1 [catapult]: https://github.com/orgs/catapult-project/teams/catapult [commit queue list]: https://chrome-infra-auth.appspot.com/auth/groups#project-catapult-committers ## Instruction: Update admins in adding contributors docs. I put myself first instead of using alphabetic order so that people bug me by default. Hope that's okay! Review-Url: https://chromiumcodereview.appspot.com/3010423002 ## Code After: Admins (sullivan, benhenry, nednguyen) can add contributors to the project. There are three steps: 1. Check that the person has signed the Contributor License Agreement. You can check [here](http://go/check-cla). If they have not signed, please redirect them to [this page][cla] and wait for them to sign before adding. 2. Add the person's github account to the [catapult] team. 3. Add the person's email to the [commit queue list]. Because there is no API to retrieve a person's GitHub ID from their email address or vice versa, we cannot automate this into one step. [cla]: https://cla.developers.google.com/about/google-individual?csw=1 [catapult]: https://github.com/orgs/catapult-project/teams/catapult [commit queue list]: https://chrome-infra-auth.appspot.com/auth/groups#project-catapult-committers
29ef482dc43b2f4927a02b13adf9b24402ddb949
test_project/adam.py
test_project/adam.py
def constant_number(): return 42 def constant_true(): return True def constant_false(): return False def unary_sub(): return -1 def unary_add(): return +1 def equals(vals): def constraint(x, y): return (x == y) ^ (x != y) return all([constraint(x, y) for x in vals for y in vals]) def use_break(limit): for x in range(limit): break return x def use_continue(limit): for x in range(limit): continue return x def trigger_infinite_loop(): # When `break` becomes `continue`, this should enter an infinite loop. This # helps us test timeouts. while True: break
def constant_number(): return 42 def constant_true(): return True def constant_false(): return False def unary_sub(): return -1 def unary_add(): return +1 def equals(vals): def constraint(x, y): return (x == y) ^ (x != y) return all([constraint(x, y) for x in vals for y in vals]) def use_break(limit): for x in range(limit): break return x def use_continue(limit): for x in range(limit): continue return x def trigger_infinite_loop(): # When `break` becomes `continue`, this should enter an infinite loop. This # helps us test timeouts. # Any object which isn't None passes the truth value testing so here # we use `while object()` instead of `while True` b/c the later becomes # `while False` when BooleanReplacer is applied and we don't trigger an # infinite loop. while object(): break
Modify the infinite loop function
Modify the infinite loop function Don't use `while True` b/c BooleanReplacer breaks this function's test. This is a bit ugly but until Issue #97 is fixed there is no other way around it.
Python
mit
sixty-north/cosmic-ray
python
## Code Before: def constant_number(): return 42 def constant_true(): return True def constant_false(): return False def unary_sub(): return -1 def unary_add(): return +1 def equals(vals): def constraint(x, y): return (x == y) ^ (x != y) return all([constraint(x, y) for x in vals for y in vals]) def use_break(limit): for x in range(limit): break return x def use_continue(limit): for x in range(limit): continue return x def trigger_infinite_loop(): # When `break` becomes `continue`, this should enter an infinite loop. This # helps us test timeouts. while True: break ## Instruction: Modify the infinite loop function Don't use `while True` b/c BooleanReplacer breaks this function's test. This is a bit ugly but until Issue #97 is fixed there is no other way around it. ## Code After: def constant_number(): return 42 def constant_true(): return True def constant_false(): return False def unary_sub(): return -1 def unary_add(): return +1 def equals(vals): def constraint(x, y): return (x == y) ^ (x != y) return all([constraint(x, y) for x in vals for y in vals]) def use_break(limit): for x in range(limit): break return x def use_continue(limit): for x in range(limit): continue return x def trigger_infinite_loop(): # When `break` becomes `continue`, this should enter an infinite loop. This # helps us test timeouts. # Any object which isn't None passes the truth value testing so here # we use `while object()` instead of `while True` b/c the later becomes # `while False` when BooleanReplacer is applied and we don't trigger an # infinite loop. while object(): break
2b27e9a96f1e339f17b916d2dc4e6f89090408be
Casks/doubletwist.rb
Casks/doubletwist.rb
cask :v1 => 'doubletwist' do version '3.1.2' sha256 '47975cc7517a6cf8c90362536a7feb53f0ff8af7d45866481d37cad2fcae4dac' url "http://download.doubletwist.com/releases/mac/dT-#{version}-kronos-patch1-r11040/doubleTwist.dmg" appcast 'http://download.doubletwist.com/mac/appcast.xml', :sha256 => '63ad1487f6e129aa79b9724f9191a52aa1a31ec0c26de63a9d778c1dd709a815' homepage 'http://www.doubletwist.com/' license :unknown app 'doubleTwist.app' end
cask :v1 => 'doubletwist' do version '3.1.2' sha256 '47975cc7517a6cf8c90362536a7feb53f0ff8af7d45866481d37cad2fcae4dac' url "http://download.doubletwist.com/releases/mac/dT-#{version}-kronos-patch1-r11040/doubleTwist.dmg" appcast 'http://download.doubletwist.com/mac/appcast.xml', :sha256 => '63ad1487f6e129aa79b9724f9191a52aa1a31ec0c26de63a9d778c1dd709a815' homepage 'http://www.doubletwist.com/' license :unknown app 'doubleTwist.app' zap :delete => [ '~/Library/Application Support/doubleTwist', '~/Library/Preferences/com.doubleTwist.desktop.plist', '~/Library/Caches/com.doubleTwist.desktop' ] end
Add zap stanza for doubleTwist
Add zap stanza for doubleTwist
Ruby
bsd-2-clause
claui/homebrew-cask,sideci-sample/sideci-sample-homebrew-cask,kesara/homebrew-cask,syscrusher/homebrew-cask,hovancik/homebrew-cask,aki77/homebrew-cask,rkJun/homebrew-cask,johntrandall/homebrew-cask,kei-yamazaki/homebrew-cask,cclauss/homebrew-cask,Dremora/homebrew-cask,imgarylai/homebrew-cask,lucasmezencio/homebrew-cask,rubenerd/homebrew-cask,fanquake/homebrew-cask,diogodamiani/homebrew-cask,aktau/homebrew-cask,pablote/homebrew-cask,malford/homebrew-cask,ohammersmith/homebrew-cask,alexg0/homebrew-cask,cprecioso/homebrew-cask,flada-auxv/homebrew-cask,mathbunnyru/homebrew-cask,tedbundyjr/homebrew-cask,iamso/homebrew-cask,inz/homebrew-cask,wickedsp1d3r/homebrew-cask,blogabe/homebrew-cask,LaurentFough/homebrew-cask,lalyos/homebrew-cask,jspahrsummers/homebrew-cask,cblecker/homebrew-cask,Keloran/homebrew-cask,usami-k/homebrew-cask,ky0615/homebrew-cask-1,mjdescy/homebrew-cask,decrement/homebrew-cask,andrewdisley/homebrew-cask,ninjahoahong/homebrew-cask,hanxue/caskroom,mazehall/homebrew-cask,lucasmezencio/homebrew-cask,joschi/homebrew-cask,yutarody/homebrew-cask,sosedoff/homebrew-cask,jhowtan/homebrew-cask,claui/homebrew-cask,cblecker/homebrew-cask,seanorama/homebrew-cask,Bombenleger/homebrew-cask,johan/homebrew-cask,athrunsun/homebrew-cask,sanyer/homebrew-cask,tangestani/homebrew-cask,gyndav/homebrew-cask,slnovak/homebrew-cask,wastrachan/homebrew-cask,ajbw/homebrew-cask,sohtsuka/homebrew-cask,asins/homebrew-cask,andyshinn/homebrew-cask,devmynd/homebrew-cask,miku/homebrew-cask,jonathanwiesel/homebrew-cask,rajiv/homebrew-cask,zmwangx/homebrew-cask,y00rb/homebrew-cask,FredLackeyOfficial/homebrew-cask,wKovacs64/homebrew-cask,guylabs/homebrew-cask,kostasdizas/homebrew-cask,robbiethegeek/homebrew-cask,feniix/homebrew-cask,kamilboratynski/homebrew-cask,taherio/homebrew-cask,xakraz/homebrew-cask,delphinus35/homebrew-cask,joschi/homebrew-cask,chrisRidgers/homebrew-cask,mAAdhaTTah/homebrew-cask,BahtiyarB/homebrew-cask,christophermanning/homebrew-cask,morganestes/homebrew-cask,cblecker/homebrew-cask,sohtsuka/homebrew-cask,huanzhang/homebrew-cask,aktau/homebrew-cask,shorshe/homebrew-cask,boecko/homebrew-cask,a-x-/homebrew-cask,nathanielvarona/homebrew-cask,santoshsahoo/homebrew-cask,wKovacs64/homebrew-cask,af/homebrew-cask,slack4u/homebrew-cask,antogg/homebrew-cask,norio-nomura/homebrew-cask,joaocc/homebrew-cask,toonetown/homebrew-cask,shonjir/homebrew-cask,qnm/homebrew-cask,mishari/homebrew-cask,toonetown/homebrew-cask,Labutin/homebrew-cask,underyx/homebrew-cask,bendoerr/homebrew-cask,crmne/homebrew-cask,xyb/homebrew-cask,6uclz1/homebrew-cask,gmkey/homebrew-cask,fwiesel/homebrew-cask,josa42/homebrew-cask,stevehedrick/homebrew-cask,underyx/homebrew-cask,a-x-/homebrew-cask,gyugyu/homebrew-cask,exherb/homebrew-cask,Gasol/homebrew-cask,mattfelsen/homebrew-cask,dunn/homebrew-cask,colindunn/homebrew-cask,aguynamedryan/homebrew-cask,andrewschleifer/homebrew-cask,jiashuw/homebrew-cask,donbobka/homebrew-cask,n0ts/homebrew-cask,bgandon/homebrew-cask,jacobbednarz/homebrew-cask,sscotth/homebrew-cask,chino/homebrew-cask,hackhandslabs/homebrew-cask,mindriot101/homebrew-cask,farmerchris/homebrew-cask,zchee/homebrew-cask,JosephViolago/homebrew-cask,scribblemaniac/homebrew-cask,jawshooah/homebrew-cask,yuhki50/homebrew-cask,gord1anknot/homebrew-cask,janlugt/homebrew-cask,wesen/homebrew-cask,yuhki50/homebrew-cask,skatsuta/homebrew-cask,uetchy/homebrew-cask,Keloran/homebrew-cask,ksato9700/homebrew-cask,zeusdeux/homebrew-cask,drostron/homebrew-cask,vmrob/homebrew-cask,hyuna917/homebrew-cask,cohei/homebrew-cask,m3nu/homebrew-cask,troyxmccall/homebrew-cask,seanzxx/homebrew-cask,xiongchiamiov/homebrew-cask,n0ts/homebrew-cask,kpearson/homebrew-cask,leonmachadowilcox/homebrew-cask,JikkuJose/homebrew-cask,ch3n2k/homebrew-cask,drostron/homebrew-cask,hristozov/homebrew-cask,iAmGhost/homebrew-cask,kingthorin/homebrew-cask,renard/homebrew-cask,opsdev-ws/homebrew-cask,kongslund/homebrew-cask,jgarber623/homebrew-cask,janlugt/homebrew-cask,shanonvl/homebrew-cask,githubutilities/homebrew-cask,guylabs/homebrew-cask,FinalDes/homebrew-cask,djmonta/homebrew-cask,BenjaminHCCarr/homebrew-cask,SentinelWarren/homebrew-cask,moogar0880/homebrew-cask,nivanchikov/homebrew-cask,samdoran/homebrew-cask,nshemonsky/homebrew-cask,xight/homebrew-cask,tedski/homebrew-cask,morsdyce/homebrew-cask,reitermarkus/homebrew-cask,rogeriopradoj/homebrew-cask,Fedalto/homebrew-cask,jen20/homebrew-cask,shoichiaizawa/homebrew-cask,fazo96/homebrew-cask,sscotth/homebrew-cask,ftiff/homebrew-cask,scw/homebrew-cask,shonjir/homebrew-cask,a1russell/homebrew-cask,elnappo/homebrew-cask,Hywan/homebrew-cask,danielgomezrico/homebrew-cask,sparrc/homebrew-cask,jmeridth/homebrew-cask,kuno/homebrew-cask,bosr/homebrew-cask,kolomiichenko/homebrew-cask,shishi/homebrew-cask,inta/homebrew-cask,zmwangx/homebrew-cask,cliffcotino/homebrew-cask,wickedsp1d3r/homebrew-cask,yutarody/homebrew-cask,dspeckhard/homebrew-cask,vitorgalvao/homebrew-cask,ericbn/homebrew-cask,nrlquaker/homebrew-cask,athrunsun/homebrew-cask,garborg/homebrew-cask,hovancik/homebrew-cask,okket/homebrew-cask,sebcode/homebrew-cask,carlmod/homebrew-cask,puffdad/homebrew-cask,illusionfield/homebrew-cask,mauricerkelly/homebrew-cask,alebcay/homebrew-cask,iamso/homebrew-cask,Ibuprofen/homebrew-cask,spruceb/homebrew-cask,boydj/homebrew-cask,tdsmith/homebrew-cask,pinut/homebrew-cask,inz/homebrew-cask,L2G/homebrew-cask,sscotth/homebrew-cask,mingzhi22/homebrew-cask,lantrix/homebrew-cask,kpearson/homebrew-cask,sjackman/homebrew-cask,alexg0/homebrew-cask,retbrown/homebrew-cask,joshka/homebrew-cask,jeroenj/homebrew-cask,jamesmlees/homebrew-cask,yurikoles/homebrew-cask,perfide/homebrew-cask,miccal/homebrew-cask,winkelsdorf/homebrew-cask,mathbunnyru/homebrew-cask,L2G/homebrew-cask,unasuke/homebrew-cask,unasuke/homebrew-cask,epardee/homebrew-cask,lukeadams/homebrew-cask,rickychilcott/homebrew-cask,fkrone/homebrew-cask,wickles/homebrew-cask,paour/homebrew-cask,MoOx/homebrew-cask,norio-nomura/homebrew-cask,ftiff/homebrew-cask,Nitecon/homebrew-cask,alebcay/homebrew-cask,arronmabrey/homebrew-cask,sebcode/homebrew-cask,neil-ca-moore/homebrew-cask,seanorama/homebrew-cask,shanonvl/homebrew-cask,shorshe/homebrew-cask,fanquake/homebrew-cask,maxnordlund/homebrew-cask,julienlavergne/homebrew-cask,paour/homebrew-cask,jrwesolo/homebrew-cask,pinut/homebrew-cask,jeroenseegers/homebrew-cask,tsparber/homebrew-cask,jellyfishcoder/homebrew-cask,MicTech/homebrew-cask,lolgear/homebrew-cask,gyndav/homebrew-cask,tyage/homebrew-cask,mokagio/homebrew-cask,andersonba/homebrew-cask,freeslugs/homebrew-cask,xight/homebrew-cask,goxberry/homebrew-cask,ddm/homebrew-cask,Ephemera/homebrew-cask,singingwolfboy/homebrew-cask,slack4u/homebrew-cask,zhuzihhhh/homebrew-cask,otaran/homebrew-cask,bric3/homebrew-cask,dspeckhard/homebrew-cask,alebcay/homebrew-cask,thomanq/homebrew-cask,mingzhi22/homebrew-cask,kiliankoe/homebrew-cask,y00rb/homebrew-cask,paulbreslin/homebrew-cask,ywfwj2008/homebrew-cask,xalep/homebrew-cask,linc01n/homebrew-cask,patresi/homebrew-cask,franklouwers/homebrew-cask,m3nu/homebrew-cask,lvicentesanchez/homebrew-cask,howie/homebrew-cask,ch3n2k/homebrew-cask,markthetech/homebrew-cask,lifepillar/homebrew-cask,robertgzr/homebrew-cask,AndreTheHunter/homebrew-cask,RJHsiao/homebrew-cask,d/homebrew-cask,bdhess/homebrew-cask,exherb/homebrew-cask,sysbot/homebrew-cask,adriweb/homebrew-cask,arranubels/homebrew-cask,JosephViolago/homebrew-cask,nightscape/homebrew-cask,13k/homebrew-cask,Cottser/homebrew-cask,stigkj/homebrew-caskroom-cask,ayohrling/homebrew-cask,ky0615/homebrew-cask-1,CameronGarrett/homebrew-cask,haha1903/homebrew-cask,frapposelli/homebrew-cask,robertgzr/homebrew-cask,guerrero/homebrew-cask,supriyantomaftuh/homebrew-cask,katoquro/homebrew-cask,inta/homebrew-cask,mauricerkelly/homebrew-cask,buo/homebrew-cask,hakamadare/homebrew-cask,jeroenseegers/homebrew-cask,mattrobenolt/homebrew-cask,julionc/homebrew-cask,devmynd/homebrew-cask,gabrielizaias/homebrew-cask,victorpopkov/homebrew-cask,valepert/homebrew-cask,coeligena/homebrew-customized,fazo96/homebrew-cask,jmeridth/homebrew-cask,iAmGhost/homebrew-cask,optikfluffel/homebrew-cask,chino/homebrew-cask,optikfluffel/homebrew-cask,feigaochn/homebrew-cask,rogeriopradoj/homebrew-cask,xyb/homebrew-cask,ksylvan/homebrew-cask,0rax/homebrew-cask,brianshumate/homebrew-cask,diguage/homebrew-cask,amatos/homebrew-cask,klane/homebrew-cask,ingorichter/homebrew-cask,mahori/homebrew-cask,hellosky806/homebrew-cask,gustavoavellar/homebrew-cask,cclauss/homebrew-cask,paulbreslin/homebrew-cask,neverfox/homebrew-cask,moimikey/homebrew-cask,neverfox/homebrew-cask,mazehall/homebrew-cask,sirodoht/homebrew-cask,SentinelWarren/homebrew-cask,mjgardner/homebrew-cask,bdhess/homebrew-cask,csmith-palantir/homebrew-cask,chadcatlett/caskroom-homebrew-cask,nicolas-brousse/homebrew-cask,JacopKane/homebrew-cask,helloIAmPau/homebrew-cask,puffdad/homebrew-cask,danielbayley/homebrew-cask,muan/homebrew-cask,daften/homebrew-cask,antogg/homebrew-cask,amatos/homebrew-cask,slnovak/homebrew-cask,giannitm/homebrew-cask,MatzFan/homebrew-cask,nelsonjchen/homebrew-cask,taherio/homebrew-cask,scottsuch/homebrew-cask,klane/homebrew-cask,flada-auxv/homebrew-cask,johntrandall/homebrew-cask,josa42/homebrew-cask,tolbkni/homebrew-cask,tangestani/homebrew-cask,jalaziz/homebrew-cask,claui/homebrew-cask,mgryszko/homebrew-cask,neverfox/homebrew-cask,riyad/homebrew-cask,carlmod/homebrew-cask,axodys/homebrew-cask,colindean/homebrew-cask,rubenerd/homebrew-cask,forevergenin/homebrew-cask,samnung/homebrew-cask,seanzxx/homebrew-cask,vuquoctuan/homebrew-cask,JacopKane/homebrew-cask,lauantai/homebrew-cask,mattrobenolt/homebrew-cask,leipert/homebrew-cask,stevenmaguire/homebrew-cask,remko/homebrew-cask,yurrriq/homebrew-cask,jbeagley52/homebrew-cask,MisumiRize/homebrew-cask,rkJun/homebrew-cask,bosr/homebrew-cask,mwilmer/homebrew-cask,esebastian/homebrew-cask,lieuwex/homebrew-cask,6uclz1/homebrew-cask,tjt263/homebrew-cask,jconley/homebrew-cask,tedski/homebrew-cask,gguillotte/homebrew-cask,decrement/homebrew-cask,j13k/homebrew-cask,renard/homebrew-cask,gerrypower/homebrew-cask,askl56/homebrew-cask,johnjelinek/homebrew-cask,nathancahill/homebrew-cask,vigosan/homebrew-cask,ponychicken/homebrew-customcask,englishm/homebrew-cask,dustinblackman/homebrew-cask,riyad/homebrew-cask,dwkns/homebrew-cask,santoshsahoo/homebrew-cask,morganestes/homebrew-cask,paulombcosta/homebrew-cask,spruceb/homebrew-cask,gilesdring/homebrew-cask,skyyuan/homebrew-cask,ldong/homebrew-cask,ebraminio/homebrew-cask,pablote/homebrew-cask,buo/homebrew-cask,vitorgalvao/homebrew-cask,sideci-sample/sideci-sample-homebrew-cask,Ngrd/homebrew-cask,mindriot101/homebrew-cask,rcuza/homebrew-cask,timsutton/homebrew-cask,giannitm/homebrew-cask,genewoo/homebrew-cask,deanmorin/homebrew-cask,adrianchia/homebrew-cask,elyscape/homebrew-cask,coeligena/homebrew-customized,Amorymeltzer/homebrew-cask,andyli/homebrew-cask,gabrielizaias/homebrew-cask,shishi/homebrew-cask,Saklad5/homebrew-cask,bcomnes/homebrew-cask,kostasdizas/homebrew-cask,johan/homebrew-cask,d/homebrew-cask,goxberry/homebrew-cask,mattrobenolt/homebrew-cask,theoriginalgri/homebrew-cask,hvisage/homebrew-cask,afh/homebrew-cask,bchatard/homebrew-cask,3van/homebrew-cask,elnappo/homebrew-cask,mjgardner/homebrew-cask,jeanregisser/homebrew-cask,miccal/homebrew-cask,lukeadams/homebrew-cask,bchatard/homebrew-cask,csmith-palantir/homebrew-cask,leipert/homebrew-cask,astorije/homebrew-cask,samshadwell/homebrew-cask,corbt/homebrew-cask,wmorin/homebrew-cask,jaredsampson/homebrew-cask,morsdyce/homebrew-cask,kievechua/homebrew-cask,vmrob/homebrew-cask,djakarta-trap/homebrew-myCask,samnung/homebrew-cask,zchee/homebrew-cask,dieterdemeyer/homebrew-cask,nrlquaker/homebrew-cask,scribblemaniac/homebrew-cask,lantrix/homebrew-cask,arronmabrey/homebrew-cask,tolbkni/homebrew-cask,jalaziz/homebrew-cask,Ibuprofen/homebrew-cask,reelsense/homebrew-cask,johnste/homebrew-cask,reitermarkus/homebrew-cask,markthetech/homebrew-cask,MerelyAPseudonym/homebrew-cask,lvicentesanchez/homebrew-cask,gwaldo/homebrew-cask,crzrcn/homebrew-cask,markhuber/homebrew-cask,wolflee/homebrew-cask,afdnlw/homebrew-cask,uetchy/homebrew-cask,ywfwj2008/homebrew-cask,xyb/homebrew-cask,AnastasiaSulyagina/homebrew-cask,stonehippo/homebrew-cask,patresi/homebrew-cask,troyxmccall/homebrew-cask,asins/homebrew-cask,Ngrd/homebrew-cask,andrewdisley/homebrew-cask,mfpierre/homebrew-cask,optikfluffel/homebrew-cask,tyage/homebrew-cask,lcasey001/homebrew-cask,RJHsiao/homebrew-cask,tangestani/homebrew-cask,dlovitch/homebrew-cask,guerrero/homebrew-cask,hanxue/caskroom,elyscape/homebrew-cask,hellosky806/homebrew-cask,qnm/homebrew-cask,aguynamedryan/homebrew-cask,christer155/homebrew-cask,joshka/homebrew-cask,gerrypower/homebrew-cask,gerrymiller/homebrew-cask,FranklinChen/homebrew-cask,0xadada/homebrew-cask,m3nu/homebrew-cask,RogerThiede/homebrew-cask,deanmorin/homebrew-cask,jayshao/homebrew-cask,Amorymeltzer/homebrew-cask,gord1anknot/homebrew-cask,segiddins/homebrew-cask,reitermarkus/homebrew-cask,vin047/homebrew-cask,jayshao/homebrew-cask,Dremora/homebrew-cask,wickles/homebrew-cask,mgryszko/homebrew-cask,segiddins/homebrew-cask,yurrriq/homebrew-cask,gibsjose/homebrew-cask,chuanxd/homebrew-cask,wayou/homebrew-cask,nrlquaker/homebrew-cask,j13k/homebrew-cask,adelinofaria/homebrew-cask,AdamCmiel/homebrew-cask,andrewdisley/homebrew-cask,cfillion/homebrew-cask,aki77/homebrew-cask,jonathanwiesel/homebrew-cask,chrisfinazzo/homebrew-cask,adrianchia/homebrew-cask,yutarody/homebrew-cask,faun/homebrew-cask,kongslund/homebrew-cask,13k/homebrew-cask,AnastasiaSulyagina/homebrew-cask,anbotero/homebrew-cask,imgarylai/homebrew-cask,mwek/homebrew-cask,JikkuJose/homebrew-cask,moogar0880/homebrew-cask,jawshooah/homebrew-cask,Whoaa512/homebrew-cask,askl56/homebrew-cask,ninjahoahong/homebrew-cask,tjt263/homebrew-cask,stonehippo/homebrew-cask,nivanchikov/homebrew-cask,koenrh/homebrew-cask,kesara/homebrew-cask,mishari/homebrew-cask,chuanxd/homebrew-cask,andyli/homebrew-cask,ericbn/homebrew-cask,arranubels/homebrew-cask,antogg/homebrew-cask,dieterdemeyer/homebrew-cask,kevyau/homebrew-cask,opsdev-ws/homebrew-cask,onlynone/homebrew-cask,danielbayley/homebrew-cask,mariusbutuc/homebrew-cask,epmatsw/homebrew-cask,nysthee/homebrew-cask,dezon/homebrew-cask,sanyer/homebrew-cask,faun/homebrew-cask,crmne/homebrew-cask,nysthee/homebrew-cask,howie/homebrew-cask,blainesch/homebrew-cask,Whoaa512/homebrew-cask,hackhandslabs/homebrew-cask,jen20/homebrew-cask,xtian/homebrew-cask,huanzhang/homebrew-cask,joschi/homebrew-cask,royalwang/homebrew-cask,xakraz/homebrew-cask,koenrh/homebrew-cask,albertico/homebrew-cask,ponychicken/homebrew-customcask,hristozov/homebrew-cask,kryhear/homebrew-cask,cobyism/homebrew-cask,wastrachan/homebrew-cask,nickpellant/homebrew-cask,dcondrey/homebrew-cask,rajiv/homebrew-cask,brianshumate/homebrew-cask,nickpellant/homebrew-cask,JoelLarson/homebrew-cask,MicTech/homebrew-cask,dictcp/homebrew-cask,esebastian/homebrew-cask,tranc99/homebrew-cask,feniix/homebrew-cask,pkq/homebrew-cask,miguelfrde/homebrew-cask,sparrc/homebrew-cask,jgarber623/homebrew-cask,timsutton/homebrew-cask,astorije/homebrew-cask,renaudguerin/homebrew-cask,xcezx/homebrew-cask,reelsense/homebrew-cask,BenjaminHCCarr/homebrew-cask,xtian/homebrew-cask,theoriginalgri/homebrew-cask,wizonesolutions/homebrew-cask,cliffcotino/homebrew-cask,a1russell/homebrew-cask,mahori/homebrew-cask,cedwardsmedia/homebrew-cask,prime8/homebrew-cask,githubutilities/homebrew-cask,nathansgreen/homebrew-cask,moimikey/homebrew-cask,jppelteret/homebrew-cask,kei-yamazaki/homebrew-cask,hyuna917/homebrew-cask,jangalinski/homebrew-cask,kTitan/homebrew-cask,akiomik/homebrew-cask,mrmachine/homebrew-cask,akiomik/homebrew-cask,ddm/homebrew-cask,jasmas/homebrew-cask,maxnordlund/homebrew-cask,My2ndAngelic/homebrew-cask,usami-k/homebrew-cask,mahori/homebrew-cask,tmoreira2020/homebrew,Ketouem/homebrew-cask,cfillion/homebrew-cask,kirikiriyamama/homebrew-cask,doits/homebrew-cask,lolgear/homebrew-cask,leonmachadowilcox/homebrew-cask,kolomiichenko/homebrew-cask,larseggert/homebrew-cask,sjackman/homebrew-cask,dezon/homebrew-cask,jrwesolo/homebrew-cask,moonboots/homebrew-cask,bendoerr/homebrew-cask,gyndav/homebrew-cask,coneman/homebrew-cask,FredLackeyOfficial/homebrew-cask,jacobdam/homebrew-cask,johnjelinek/homebrew-cask,victorpopkov/homebrew-cask,jaredsampson/homebrew-cask,schneidmaster/homebrew-cask,stephenwade/homebrew-cask,forevergenin/homebrew-cask,lieuwex/homebrew-cask,mkozjak/homebrew-cask,cobyism/homebrew-cask,cohei/homebrew-cask,asbachb/homebrew-cask,christophermanning/homebrew-cask,winkelsdorf/homebrew-cask,stephenwade/homebrew-cask,onlynone/homebrew-cask,colindunn/homebrew-cask,nathansgreen/homebrew-cask,thehunmonkgroup/homebrew-cask,jbeagley52/homebrew-cask,caskroom/homebrew-cask,Philosoft/homebrew-cask,gwaldo/homebrew-cask,SamiHiltunen/homebrew-cask,barravi/homebrew-cask,adriweb/homebrew-cask,a1russell/homebrew-cask,hvisage/homebrew-cask,neil-ca-moore/homebrew-cask,BenjaminHCCarr/homebrew-cask,JoelLarson/homebrew-cask,josa42/homebrew-cask,epardee/homebrew-cask,RickWong/homebrew-cask,jpmat296/homebrew-cask,gibsjose/homebrew-cask,chrisRidgers/homebrew-cask,bric3/homebrew-cask,xiongchiamiov/homebrew-cask,afh/homebrew-cask,shoichiaizawa/homebrew-cask,helloIAmPau/homebrew-cask,albertico/homebrew-cask,RickWong/homebrew-cask,zerrot/homebrew-cask,garborg/homebrew-cask,joaoponceleao/homebrew-cask,gurghet/homebrew-cask,thomanq/homebrew-cask,pacav69/homebrew-cask,doits/homebrew-cask,boecko/homebrew-cask,hanxue/caskroom,lalyos/homebrew-cask,williamboman/homebrew-cask,paulombcosta/homebrew-cask,Philosoft/homebrew-cask,otaran/homebrew-cask,0rax/homebrew-cask,lumaxis/homebrew-cask,petmoo/homebrew-cask,nicolas-brousse/homebrew-cask,alloy/homebrew-cask,tan9/homebrew-cask,Ephemera/homebrew-cask,moonboots/homebrew-cask,kiliankoe/homebrew-cask,imgarylai/homebrew-cask,hakamadare/homebrew-cask,okket/homebrew-cask,samshadwell/homebrew-cask,ptb/homebrew-cask,ahundt/homebrew-cask,tranc99/homebrew-cask,MichaelPei/homebrew-cask,michelegera/homebrew-cask,bric3/homebrew-cask,jellyfishcoder/homebrew-cask,kesara/homebrew-cask,joaocc/homebrew-cask,kingthorin/homebrew-cask,royalwang/homebrew-cask,feigaochn/homebrew-cask,boydj/homebrew-cask,mokagio/homebrew-cask,gguillotte/homebrew-cask,xcezx/homebrew-cask,Hywan/homebrew-cask,n8henrie/homebrew-cask,MerelyAPseudonym/homebrew-cask,frapposelli/homebrew-cask,adelinofaria/homebrew-cask,kuno/homebrew-cask,jangalinski/homebrew-cask,jhowtan/homebrew-cask,lukasbestle/homebrew-cask,blogabe/homebrew-cask,kirikiriyamama/homebrew-cask,delphinus35/homebrew-cask,Fedalto/homebrew-cask,jasmas/homebrew-cask,jpodlech/homebrew-cask,vuquoctuan/homebrew-cask,fkrone/homebrew-cask,cobyism/homebrew-cask,epmatsw/homebrew-cask,napaxton/homebrew-cask,tjnycum/homebrew-cask,af/homebrew-cask,gustavoavellar/homebrew-cask,casidiablo/homebrew-cask,singingwolfboy/homebrew-cask,ksylvan/homebrew-cask,gurghet/homebrew-cask,lauantai/homebrew-cask,colindean/homebrew-cask,zeusdeux/homebrew-cask,SamiHiltunen/homebrew-cask,sirodoht/homebrew-cask,jacobbednarz/homebrew-cask,Labutin/homebrew-cask,mjgardner/homebrew-cask,deiga/homebrew-cask,jedahan/homebrew-cask,Saklad5/homebrew-cask,katoquro/homebrew-cask,crzrcn/homebrew-cask,psibre/homebrew-cask,moimikey/homebrew-cask,linc01n/homebrew-cask,wuman/homebrew-cask,muan/homebrew-cask,jspahrsummers/homebrew-cask,julienlavergne/homebrew-cask,asbachb/homebrew-cask,larseggert/homebrew-cask,jalaziz/homebrew-cask,farmerchris/homebrew-cask,perfide/homebrew-cask,scottsuch/homebrew-cask,ahvigil/homebrew-cask,squid314/homebrew-cask,timsutton/homebrew-cask,joaoponceleao/homebrew-cask,jedahan/homebrew-cask,ayohrling/homebrew-cask,bgandon/homebrew-cask,AndreTheHunter/homebrew-cask,pgr0ss/homebrew-cask,mariusbutuc/homebrew-cask,MatzFan/homebrew-cask,kteru/homebrew-cask,elseym/homebrew-cask,tjnycum/homebrew-cask,kronicd/homebrew-cask,williamboman/homebrew-cask,napaxton/homebrew-cask,caskroom/homebrew-cask,nelsonjchen/homebrew-cask,malob/homebrew-cask,dwihn0r/homebrew-cask,Cottser/homebrew-cask,jtriley/homebrew-cask,kkdd/homebrew-cask,JosephViolago/homebrew-cask,atsuyim/homebrew-cask,ebraminio/homebrew-cask,lcasey001/homebrew-cask,KosherBacon/homebrew-cask,Bombenleger/homebrew-cask,skyyuan/homebrew-cask,jpodlech/homebrew-cask,mjdescy/homebrew-cask,bsiddiqui/homebrew-cask,uetchy/homebrew-cask,mikem/homebrew-cask,mhubig/homebrew-cask,MircoT/homebrew-cask,danielbayley/homebrew-cask,miku/homebrew-cask,kevyau/homebrew-cask,bcomnes/homebrew-cask,djakarta-trap/homebrew-myCask,bsiddiqui/homebrew-cask,ajbw/homebrew-cask,sanyer/homebrew-cask,johndbritton/homebrew-cask,Gasol/homebrew-cask,kkdd/homebrew-cask,julionc/homebrew-cask,mlocher/homebrew-cask,mchlrmrz/homebrew-cask,kassi/homebrew-cask,nathancahill/homebrew-cask,mlocher/homebrew-cask,diogodamiani/homebrew-cask,johnste/homebrew-cask,pacav69/homebrew-cask,mkozjak/homebrew-cask,Ephemera/homebrew-cask,lukasbestle/homebrew-cask,wmorin/homebrew-cask,psibre/homebrew-cask,skatsuta/homebrew-cask,xight/homebrew-cask,mchlrmrz/homebrew-cask,LaurentFough/homebrew-cask,alloy/homebrew-cask,stevenmaguire/homebrew-cask,MircoT/homebrew-cask,flaviocamilo/homebrew-cask,coneman/homebrew-cask,rhendric/homebrew-cask,tmoreira2020/homebrew,afdnlw/homebrew-cask,FranklinChen/homebrew-cask,ctrevino/homebrew-cask,JacopKane/homebrew-cask,stigkj/homebrew-caskroom-cask,mwek/homebrew-cask,lifepillar/homebrew-cask,mchlrmrz/homebrew-cask,kryhear/homebrew-cask,codeurge/homebrew-cask,tdsmith/homebrew-cask,kronicd/homebrew-cask,sosedoff/homebrew-cask,genewoo/homebrew-cask,daften/homebrew-cask,mattfelsen/homebrew-cask,jacobdam/homebrew-cask,andrewschleifer/homebrew-cask,dwihn0r/homebrew-cask,schneidmaster/homebrew-cask,malob/homebrew-cask,greg5green/homebrew-cask,casidiablo/homebrew-cask,robbiethegeek/homebrew-cask,shonjir/homebrew-cask,franklouwers/homebrew-cask,mathbunnyru/homebrew-cask,wolflee/homebrew-cask,tjnycum/homebrew-cask,vigosan/homebrew-cask,wayou/homebrew-cask,ksato9700/homebrew-cask,pkq/homebrew-cask,MichaelPei/homebrew-cask,MoOx/homebrew-cask,deiga/homebrew-cask,codeurge/homebrew-cask,wizonesolutions/homebrew-cask,phpwutz/homebrew-cask,lumaxis/homebrew-cask,dictcp/homebrew-cask,BahtiyarB/homebrew-cask,bkono/homebrew-cask,chrisfinazzo/homebrew-cask,jtriley/homebrew-cask,cedwardsmedia/homebrew-cask,tarwich/homebrew-cask,pgr0ss/homebrew-cask,stevehedrick/homebrew-cask,tsparber/homebrew-cask,kievechua/homebrew-cask,jppelteret/homebrew-cask,miguelfrde/homebrew-cask,stonehippo/homebrew-cask,renaudguerin/homebrew-cask,KosherBacon/homebrew-cask,kteru/homebrew-cask,mikem/homebrew-cask,retrography/homebrew-cask,syscrusher/homebrew-cask,mrmachine/homebrew-cask,dwkns/homebrew-cask,haha1903/homebrew-cask,corbt/homebrew-cask,blainesch/homebrew-cask,ptb/homebrew-cask,blogabe/homebrew-cask,coeligena/homebrew-customized,mwilmer/homebrew-cask,rcuza/homebrew-cask,esebastian/homebrew-cask,zhuzihhhh/homebrew-cask,artdevjs/homebrew-cask,joshka/homebrew-cask,sgnh/homebrew-cask,kTitan/homebrew-cask,nightscape/homebrew-cask,CameronGarrett/homebrew-cask,samdoran/homebrew-cask,christer155/homebrew-cask,vin047/homebrew-cask,retbrown/homebrew-cask,dictcp/homebrew-cask,ctrevino/homebrew-cask,fwiesel/homebrew-cask,elseym/homebrew-cask,dcondrey/homebrew-cask,jpmat296/homebrew-cask,greg5green/homebrew-cask,zorosteven/homebrew-cask,freeslugs/homebrew-cask,0xadada/homebrew-cask,nathanielvarona/homebrew-cask,michelegera/homebrew-cask,sgnh/homebrew-cask,scw/homebrew-cask,ianyh/homebrew-cask,alexg0/homebrew-cask,singingwolfboy/homebrew-cask,sanchezm/homebrew-cask,chadcatlett/caskroom-homebrew-cask,mwean/homebrew-cask,yumitsu/homebrew-cask,xalep/homebrew-cask,malford/homebrew-cask,tarwich/homebrew-cask,Ketouem/homebrew-cask,thii/homebrew-cask,FinalDes/homebrew-cask,supriyantomaftuh/homebrew-cask,wesen/homebrew-cask,RogerThiede/homebrew-cask,catap/homebrew-cask,enriclluelles/homebrew-cask,illusionfield/homebrew-cask,sanchezm/homebrew-cask,thehunmonkgroup/homebrew-cask,cprecioso/homebrew-cask,johndbritton/homebrew-cask,gerrymiller/homebrew-cask,andyshinn/homebrew-cask,ohammersmith/homebrew-cask,barravi/homebrew-cask,Nitecon/homebrew-cask,markhuber/homebrew-cask,dlovitch/homebrew-cask,fharbe/homebrew-cask,rickychilcott/homebrew-cask,fharbe/homebrew-cask,fly19890211/homebrew-cask,AdamCmiel/homebrew-cask,winkelsdorf/homebrew-cask,rogeriopradoj/homebrew-cask,gmkey/homebrew-cask,nathanielvarona/homebrew-cask,adrianchia/homebrew-cask,andersonba/homebrew-cask,ahundt/homebrew-cask,julionc/homebrew-cask,chrisfinazzo/homebrew-cask,qbmiller/homebrew-cask,tedbundyjr/homebrew-cask,djmonta/homebrew-cask,petmoo/homebrew-cask,shoichiaizawa/homebrew-cask,wuman/homebrew-cask,valepert/homebrew-cask,ahvigil/homebrew-cask,ericbn/homebrew-cask,My2ndAngelic/homebrew-cask,zorosteven/homebrew-cask,pkq/homebrew-cask,jamesmlees/homebrew-cask,dvdoliveira/homebrew-cask,thii/homebrew-cask,rajiv/homebrew-cask,mhubig/homebrew-cask,kassi/homebrew-cask,ianyh/homebrew-cask,flaviocamilo/homebrew-cask,dustinblackman/homebrew-cask,stephenwade/homebrew-cask,jeroenj/homebrew-cask,ingorichter/homebrew-cask,phpwutz/homebrew-cask,scribblemaniac/homebrew-cask,yurikoles/homebrew-cask,ldong/homebrew-cask,3van/homebrew-cask,yurikoles/homebrew-cask,qbmiller/homebrew-cask,bcaceiro/homebrew-cask,miccal/homebrew-cask,yumitsu/homebrew-cask,scottsuch/homebrew-cask,gilesdring/homebrew-cask,catap/homebrew-cask,englishm/homebrew-cask,jconley/homebrew-cask,paour/homebrew-cask,zerrot/homebrew-cask,malob/homebrew-cask,rhendric/homebrew-cask,MisumiRize/homebrew-cask,dunn/homebrew-cask,kamilboratynski/homebrew-cask,squid314/homebrew-cask,donbobka/homebrew-cask,wmorin/homebrew-cask,tan9/homebrew-cask,n8henrie/homebrew-cask,Amorymeltzer/homebrew-cask,dvdoliveira/homebrew-cask,sysbot/homebrew-cask,mAAdhaTTah/homebrew-cask,artdevjs/homebrew-cask,gyugyu/homebrew-cask,bcaceiro/homebrew-cask,remko/homebrew-cask,kingthorin/homebrew-cask,axodys/homebrew-cask,mwean/homebrew-cask,atsuyim/homebrew-cask,prime8/homebrew-cask,retrography/homebrew-cask,bkono/homebrew-cask,jiashuw/homebrew-cask,anbotero/homebrew-cask,fly19890211/homebrew-cask,nshemonsky/homebrew-cask,diguage/homebrew-cask,deiga/homebrew-cask,mfpierre/homebrew-cask,enriclluelles/homebrew-cask,danielgomezrico/homebrew-cask,jeanregisser/homebrew-cask,jgarber623/homebrew-cask
ruby
## Code Before: cask :v1 => 'doubletwist' do version '3.1.2' sha256 '47975cc7517a6cf8c90362536a7feb53f0ff8af7d45866481d37cad2fcae4dac' url "http://download.doubletwist.com/releases/mac/dT-#{version}-kronos-patch1-r11040/doubleTwist.dmg" appcast 'http://download.doubletwist.com/mac/appcast.xml', :sha256 => '63ad1487f6e129aa79b9724f9191a52aa1a31ec0c26de63a9d778c1dd709a815' homepage 'http://www.doubletwist.com/' license :unknown app 'doubleTwist.app' end ## Instruction: Add zap stanza for doubleTwist ## Code After: cask :v1 => 'doubletwist' do version '3.1.2' sha256 '47975cc7517a6cf8c90362536a7feb53f0ff8af7d45866481d37cad2fcae4dac' url "http://download.doubletwist.com/releases/mac/dT-#{version}-kronos-patch1-r11040/doubleTwist.dmg" appcast 'http://download.doubletwist.com/mac/appcast.xml', :sha256 => '63ad1487f6e129aa79b9724f9191a52aa1a31ec0c26de63a9d778c1dd709a815' homepage 'http://www.doubletwist.com/' license :unknown app 'doubleTwist.app' zap :delete => [ '~/Library/Application Support/doubleTwist', '~/Library/Preferences/com.doubleTwist.desktop.plist', '~/Library/Caches/com.doubleTwist.desktop' ] end
b202b5d5c88e8c64a95fbb0f105e97cc7bb4de2a
README.md
README.md
This package wraps the [libgeoip C library](http://www.maxmind.com/app/c) for access from Go (golang). Install with `go get https://github.com/abh/geoip` and use `godoc geoip` to read the documentation. There's a small example in the `ex/` subdirectory. You can download the free [GeoLite Country](http://www.maxmind.com/app/geoip_country) database or you can [subscribe to updates](http://www.maxmind.com/app/country). ## Examples file := "/usr/share/GeoIP/GeoIP.dat" gi := geoip.Open(file) if gi == nil { fmt.Printf("Could not open GeoIP database\n") } if gi != nil { country := gi.GetCountry("207.171.7.51") } // Setup gi6 by opening the optional IPv6 database and then: country := gi6.GetCountry_v6("2607:f238:2::5") fmt.Println(country) ## Contact Ask Bjørn Hansen <ask@develooper.com>. The package MIT licensed, see the LICENSE file. Originally based on an example from blasux@blasux.ru.
This package wraps the [libgeoip C library](http://www.maxmind.com/app/c) for access from Go (golang). [![Build Status](https://travis-ci.org/abh/geoip.png?branch=master)](https://travis-ci.org/abh/geoip) Install with `go get https://github.com/abh/geoip` and use `godoc geoip` to read the documentation. There's a small example in the `ex/` subdirectory. You can download the free [GeoLite Country](http://www.maxmind.com/app/geoip_country) database or you can [subscribe to updates](http://www.maxmind.com/app/country). ## Examples file := "/usr/share/GeoIP/GeoIP.dat" gi := geoip.Open(file) if gi == nil { fmt.Printf("Could not open GeoIP database\n") } if gi != nil { country := gi.GetCountry("207.171.7.51") } // Setup gi6 by opening the optional IPv6 database and then: country := gi6.GetCountry_v6("2607:f238:2::5") fmt.Println(country) ## Contact Ask Bjørn Hansen <ask@develooper.com>. The package MIT licensed, see the LICENSE file. Originally based on an example from blasux@blasux.ru.
Add build status image to readme
Add build status image to readme
Markdown
mit
mailgun/geoip,abh/geoip,aziontech/geoip,aziontech/geoip,etix/geoip,abh/geoip,davemarchevsky/geoip,davemarchevsky/geoip,etix/geoip,mailgun/geoip
markdown
## Code Before: This package wraps the [libgeoip C library](http://www.maxmind.com/app/c) for access from Go (golang). Install with `go get https://github.com/abh/geoip` and use `godoc geoip` to read the documentation. There's a small example in the `ex/` subdirectory. You can download the free [GeoLite Country](http://www.maxmind.com/app/geoip_country) database or you can [subscribe to updates](http://www.maxmind.com/app/country). ## Examples file := "/usr/share/GeoIP/GeoIP.dat" gi := geoip.Open(file) if gi == nil { fmt.Printf("Could not open GeoIP database\n") } if gi != nil { country := gi.GetCountry("207.171.7.51") } // Setup gi6 by opening the optional IPv6 database and then: country := gi6.GetCountry_v6("2607:f238:2::5") fmt.Println(country) ## Contact Ask Bjørn Hansen <ask@develooper.com>. The package MIT licensed, see the LICENSE file. Originally based on an example from blasux@blasux.ru. ## Instruction: Add build status image to readme ## Code After: This package wraps the [libgeoip C library](http://www.maxmind.com/app/c) for access from Go (golang). [![Build Status](https://travis-ci.org/abh/geoip.png?branch=master)](https://travis-ci.org/abh/geoip) Install with `go get https://github.com/abh/geoip` and use `godoc geoip` to read the documentation. There's a small example in the `ex/` subdirectory. You can download the free [GeoLite Country](http://www.maxmind.com/app/geoip_country) database or you can [subscribe to updates](http://www.maxmind.com/app/country). ## Examples file := "/usr/share/GeoIP/GeoIP.dat" gi := geoip.Open(file) if gi == nil { fmt.Printf("Could not open GeoIP database\n") } if gi != nil { country := gi.GetCountry("207.171.7.51") } // Setup gi6 by opening the optional IPv6 database and then: country := gi6.GetCountry_v6("2607:f238:2::5") fmt.Println(country) ## Contact Ask Bjørn Hansen <ask@develooper.com>. The package MIT licensed, see the LICENSE file. Originally based on an example from blasux@blasux.ru.
e386a9a6c4ffc9204011162f73ffa3d69f733bc5
meta-oe/recipes-graphics/assimp/assimp_3.1.1.bb
meta-oe/recipes-graphics/assimp/assimp_3.1.1.bb
DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ various well-known 3D model formats in a uniform manner." HOMEPAGE = "http://www.assimp.org/" SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=bc4231a2268da8fc55525ad119638a87" DEPENDS = "boost" SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}-3.1/${BPN}-${PV}_no_test_models.zip" SRC_URI[md5sum] = "ccd4788204509da58a3a53c7aeda7a8b" SRC_URI[sha256sum] = "da9827876f10a8b447270368753392cfd502e70a2e9d1361554e5dfcb1fede9e" inherit cmake FILES_${PN}-dev += "${libdir}/cmake"
DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ various well-known 3D model formats in a uniform manner." HOMEPAGE = "http://www.assimp.org/" SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=bc4231a2268da8fc55525ad119638a87" DEPENDS = "boost virtual/libgl" SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}-3.1/${BPN}-${PV}_no_test_models.zip" SRC_URI[md5sum] = "ccd4788204509da58a3a53c7aeda7a8b" SRC_URI[sha256sum] = "da9827876f10a8b447270368753392cfd502e70a2e9d1361554e5dfcb1fede9e" inherit cmake FILES_${PN}-dev += "${libdir}/cmake"
Add missing dependency on virtual/libgl
assimp: Add missing dependency on virtual/libgl Signed-off-by: Tom Hochstein <d3f54c5ed448dd8f49d051a9857d0e3d7888d99c@nxp.com> Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>
BitBake
mit
VCTLabs/meta-openembedded,openembedded/meta-openembedded,lgirdk/meta-openembedded,mrchapp/meta-openembedded,mrchapp/meta-openembedded,amery/meta-openembedded,moto-timo/meta-openembedded,rehsack/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,sigma-embedded/elito-org.openembedded.meta,VCTLabs/meta-openembedded,openembedded/meta-openembedded,rehsack/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,amery/meta-openembedded,kraj/meta-openembedded,schnitzeltony/meta-openembedded,amery/meta-openembedded,kraj/meta-openembedded,victronenergy/meta-openembedded,lgirdk/meta-openembedded,openembedded/meta-openembedded,mrchapp/meta-openembedded,mrchapp/meta-openembedded,moto-timo/meta-openembedded,lgirdk/meta-openembedded,amery/meta-openembedded,VCTLabs/meta-openembedded,openembedded/meta-openembedded,schnitzeltony/meta-openembedded,openembedded/meta-openembedded,victronenergy/meta-openembedded,victronenergy/meta-openembedded,rehsack/meta-openembedded,amery/meta-openembedded,VCTLabs/meta-openembedded,victronenergy/meta-openembedded,kraj/meta-openembedded,moto-timo/meta-openembedded,kraj/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,mrchapp/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,VCTLabs/meta-openembedded,victronenergy/meta-openembedded,kraj/meta-openembedded,victronenergy/meta-openembedded,rehsack/meta-openembedded,lgirdk/meta-openembedded,schnitzeltony/meta-openembedded,lgirdk/meta-openembedded,schnitzeltony/meta-openembedded,moto-timo/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,lgirdk/meta-openembedded,openembedded/meta-openembedded,rehsack/meta-openembedded,lgirdk/meta-openembedded,VCTLabs/meta-openembedded,kraj/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,schnitzeltony/meta-openembedded,mrchapp/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,kraj/meta-openembedded,VCTLabs/meta-openembedded,amery/meta-openembedded,rehsack/meta-openembedded,victronenergy/meta-openembedded,amery/meta-openembedded,rehsack/meta-openembedded,mrchapp/meta-openembedded,schnitzeltony/meta-openembedded,VCTLabs/meta-openembedded,schnitzeltony/meta-openembedded,amery/meta-openembedded,moto-timo/meta-openembedded
bitbake
## Code Before: DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ various well-known 3D model formats in a uniform manner." HOMEPAGE = "http://www.assimp.org/" SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=bc4231a2268da8fc55525ad119638a87" DEPENDS = "boost" SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}-3.1/${BPN}-${PV}_no_test_models.zip" SRC_URI[md5sum] = "ccd4788204509da58a3a53c7aeda7a8b" SRC_URI[sha256sum] = "da9827876f10a8b447270368753392cfd502e70a2e9d1361554e5dfcb1fede9e" inherit cmake FILES_${PN}-dev += "${libdir}/cmake" ## Instruction: assimp: Add missing dependency on virtual/libgl Signed-off-by: Tom Hochstein <d3f54c5ed448dd8f49d051a9857d0e3d7888d99c@nxp.com> Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com> ## Code After: DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ various well-known 3D model formats in a uniform manner." HOMEPAGE = "http://www.assimp.org/" SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=bc4231a2268da8fc55525ad119638a87" DEPENDS = "boost virtual/libgl" SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}-3.1/${BPN}-${PV}_no_test_models.zip" SRC_URI[md5sum] = "ccd4788204509da58a3a53c7aeda7a8b" SRC_URI[sha256sum] = "da9827876f10a8b447270368753392cfd502e70a2e9d1361554e5dfcb1fede9e" inherit cmake FILES_${PN}-dev += "${libdir}/cmake"
43b73cc7bb07bc5ad0ba7d177bca7483351d0e7b
README.md
README.md
Postfix Blackhole ================== A simple postfix blackhole container. Running ======== `docker run -it -p 25:25 feathj/postfix-blackhole` Note that `VIRTUAL_HOST` environment variable can be added if run with dinghy client `docker run -it -p 25:25 -e VIRTUAL_HOST=postfix-blackhole.docker feathj/postfix-blackhole` Inspired heavily by =================== [docker-postfix](https://github.com/catatnight/docker-postfix) [smtpblackhole](https://github.com/simap/smtpblackhole)
Postfix Blackhole ================== A simple postfix blackhole image. Useful for integration testing applications without actually sending smtp messages. Running ======== `$ docker run -it -p 25:25 feathj/postfix-blackhole` Note that `VIRTUAL_HOST` environment variable can be added if run with dinghy client `$ docker run -it -p 25:25 -e VIRTUAL_HOST=postfix-blackhole.docker feathj/postfix-blackhole` Or from docker-compose.yml: ``` postfix: image: feathj/postfix-blackhole ports: - "25:25" environment: VIRTUAL_HOST: "postfix.docker" ``` Inspired heavily by =================== [docker-postfix](https://github.com/catatnight/docker-postfix) [smtpblackhole](https://github.com/simap/smtpblackhole)
Add docker-compose sample to documentation
Add docker-compose sample to documentation
Markdown
mit
feathj/docker-postfix-blackhole
markdown
## Code Before: Postfix Blackhole ================== A simple postfix blackhole container. Running ======== `docker run -it -p 25:25 feathj/postfix-blackhole` Note that `VIRTUAL_HOST` environment variable can be added if run with dinghy client `docker run -it -p 25:25 -e VIRTUAL_HOST=postfix-blackhole.docker feathj/postfix-blackhole` Inspired heavily by =================== [docker-postfix](https://github.com/catatnight/docker-postfix) [smtpblackhole](https://github.com/simap/smtpblackhole) ## Instruction: Add docker-compose sample to documentation ## Code After: Postfix Blackhole ================== A simple postfix blackhole image. Useful for integration testing applications without actually sending smtp messages. Running ======== `$ docker run -it -p 25:25 feathj/postfix-blackhole` Note that `VIRTUAL_HOST` environment variable can be added if run with dinghy client `$ docker run -it -p 25:25 -e VIRTUAL_HOST=postfix-blackhole.docker feathj/postfix-blackhole` Or from docker-compose.yml: ``` postfix: image: feathj/postfix-blackhole ports: - "25:25" environment: VIRTUAL_HOST: "postfix.docker" ``` Inspired heavily by =================== [docker-postfix](https://github.com/catatnight/docker-postfix) [smtpblackhole](https://github.com/simap/smtpblackhole)
401511e6a3457be06c9052c9b012b910d7eb31fd
src/main.rs
src/main.rs
fn main() { let home = std::env::home_dir().unwrap(); let mut sbt_jar = std::path::PathBuf::from(home); sbt_jar.push(".sbt/launchers/0.13.13/sbt-launch.jar"); let sbt_jar = sbt_jar; use std::os::unix::process::CommandExt; let err = std::process::Command::new("java") .args(&["-Xms512m", "-Xmx1536m", "-Xss2m"]) .args(&[&"-jar".as_ref(), &sbt_jar.as_os_str()]) .arg("shell") .exec(); println!("error: {}", err); if let Some(err) = err.raw_os_error() { std::process::exit(err); } std::process::exit(-1) }
use std::ffi::{OsStr, OsString}; fn exec_runner<S: AsRef<OsStr>>(args: &[S]) { use std::os::unix::process::CommandExt; let err = std::process::Command::new(&args[0]).args(&args[1..]).exec(); println!("error: {}", err); if let Some(err) = err.raw_os_error() { std::process::exit(err); } std::process::exit(-1) } fn main() { let home = std::env::home_dir().unwrap(); let mut sbt_jar = std::path::PathBuf::from(home); sbt_jar.push(".sbt/launchers/0.13.13/sbt-launch.jar"); let sbt_jar = sbt_jar; let extra_jvm_opts = [OsStr::new("-Xms512m").to_os_string(), OsStr::new("-Xmx1536m").to_os_string(), OsStr::new("-Xss2m").to_os_string()]; let java_args: [OsString; 0] = []; let sbt_commands: [OsString; 0] = []; let residual_args: [OsString; 0] = []; let mut exec_args: Vec<OsString> = Vec::new(); exec_args.push(OsStr::new("java").to_os_string()); exec_args.extend_from_slice(&extra_jvm_opts); exec_args.extend_from_slice(&java_args); exec_args.extend_from_slice(&[OsStr::new("-jar").to_os_string(), sbt_jar.into_os_string()]); exec_args.push(OsStr::new("shell").to_os_string()); exec_args.extend_from_slice(&sbt_commands); exec_args.extend_from_slice(&residual_args); let exec_args = exec_args; exec_runner(&exec_args) }
Define arg groups & extract exec_runner
Define arg groups & extract exec_runner
Rust
apache-2.0
dwijnand/sbtl,dwijnand/sbtl
rust
## Code Before: fn main() { let home = std::env::home_dir().unwrap(); let mut sbt_jar = std::path::PathBuf::from(home); sbt_jar.push(".sbt/launchers/0.13.13/sbt-launch.jar"); let sbt_jar = sbt_jar; use std::os::unix::process::CommandExt; let err = std::process::Command::new("java") .args(&["-Xms512m", "-Xmx1536m", "-Xss2m"]) .args(&[&"-jar".as_ref(), &sbt_jar.as_os_str()]) .arg("shell") .exec(); println!("error: {}", err); if let Some(err) = err.raw_os_error() { std::process::exit(err); } std::process::exit(-1) } ## Instruction: Define arg groups & extract exec_runner ## Code After: use std::ffi::{OsStr, OsString}; fn exec_runner<S: AsRef<OsStr>>(args: &[S]) { use std::os::unix::process::CommandExt; let err = std::process::Command::new(&args[0]).args(&args[1..]).exec(); println!("error: {}", err); if let Some(err) = err.raw_os_error() { std::process::exit(err); } std::process::exit(-1) } fn main() { let home = std::env::home_dir().unwrap(); let mut sbt_jar = std::path::PathBuf::from(home); sbt_jar.push(".sbt/launchers/0.13.13/sbt-launch.jar"); let sbt_jar = sbt_jar; let extra_jvm_opts = [OsStr::new("-Xms512m").to_os_string(), OsStr::new("-Xmx1536m").to_os_string(), OsStr::new("-Xss2m").to_os_string()]; let java_args: [OsString; 0] = []; let sbt_commands: [OsString; 0] = []; let residual_args: [OsString; 0] = []; let mut exec_args: Vec<OsString> = Vec::new(); exec_args.push(OsStr::new("java").to_os_string()); exec_args.extend_from_slice(&extra_jvm_opts); exec_args.extend_from_slice(&java_args); exec_args.extend_from_slice(&[OsStr::new("-jar").to_os_string(), sbt_jar.into_os_string()]); exec_args.push(OsStr::new("shell").to_os_string()); exec_args.extend_from_slice(&sbt_commands); exec_args.extend_from_slice(&residual_args); let exec_args = exec_args; exec_runner(&exec_args) }
bcce902e439e46770236d9e3c58143e2bdd1bd41
manifest.json
manifest.json
{ "manifest_version": 2, "name": "MercadoLibre Más Vendido", "description": "Encontrá de manera rápida el artículo más vendido que estés buscando en MercadoLibre con esta extensión", "version": "0.0.3", "icons": { "16": "assets/mercado-libre_16.png", "48": "assets/mercado-libre_48.png", "128": "assets/mercado-libre_128.png" }, "page_action": { "default_title": "Busca el más vendido" }, "content_scripts": [ { "matches": [ "http://*.mercadolibre.com.ar/*", "https://*.mercadolibre.com.ar/*" ], "js": [ "src/content_script.js" ] } ] }
{ "manifest_version": 2, "name": "MercadoLibre Más Vendido", "description": "Encontrá de manera rápida el artículo más vendido que estés buscando en MercadoLibre con esta extensión", "version": "0.0.3", "icons": { "16": "assets/mercado-libre_16.png", "48": "assets/mercado-libre_48.png", "128": "assets/mercado-libre_128.png" }, "page_action": { "default_title": "Busca el más vendido" }, "browser_action": { "default_icon": "assets/mercado-libre_128.png" }, "content_scripts": [ { "matches": [ "http://*.mercadolibre.com.ar/*", "https://*.mercadolibre.com.ar/*" ], "js": [ "src/content_script.js" ] } ] }
Fix grey icon on block extensions
Fix grey icon on block extensions
JSON
mit
Fenwil/MercadoLibre-MasVendidos,Fenwil/MercadoLibre-MasVendidos
json
## Code Before: { "manifest_version": 2, "name": "MercadoLibre Más Vendido", "description": "Encontrá de manera rápida el artículo más vendido que estés buscando en MercadoLibre con esta extensión", "version": "0.0.3", "icons": { "16": "assets/mercado-libre_16.png", "48": "assets/mercado-libre_48.png", "128": "assets/mercado-libre_128.png" }, "page_action": { "default_title": "Busca el más vendido" }, "content_scripts": [ { "matches": [ "http://*.mercadolibre.com.ar/*", "https://*.mercadolibre.com.ar/*" ], "js": [ "src/content_script.js" ] } ] } ## Instruction: Fix grey icon on block extensions ## Code After: { "manifest_version": 2, "name": "MercadoLibre Más Vendido", "description": "Encontrá de manera rápida el artículo más vendido que estés buscando en MercadoLibre con esta extensión", "version": "0.0.3", "icons": { "16": "assets/mercado-libre_16.png", "48": "assets/mercado-libre_48.png", "128": "assets/mercado-libre_128.png" }, "page_action": { "default_title": "Busca el más vendido" }, "browser_action": { "default_icon": "assets/mercado-libre_128.png" }, "content_scripts": [ { "matches": [ "http://*.mercadolibre.com.ar/*", "https://*.mercadolibre.com.ar/*" ], "js": [ "src/content_script.js" ] } ] }
8d9cf180e671d9e332afb2f3c4b04f4ddee6409a
packages/web-api/src/response/TeamProfileGetResponse.ts
packages/web-api/src/response/TeamProfileGetResponse.ts
/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // // // // This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // // Please refer to the script code to learn how to update the source data. // // // ///////////////////////////////////////////////////////////////////////////////////////// import { WebAPICallResult } from '../WebClient'; export type TeamProfileGetResponse = WebAPICallResult & { ok?: boolean; profile?: Profile; error?: string; needed?: string; provided?: string; }; export interface Profile { fields?: Field[]; sections?: Section[]; } export interface Field { id?: string; ordering?: number; field_name?: string; label?: string; hint?: string; type?: string; is_hidden?: boolean; } export interface Section { id?: string; team_id?: string; section_type?: string; label?: string; order?: number; is_hidden?: boolean; }
/* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // // // // This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // // Please refer to the script code to learn how to update the source data. // // // ///////////////////////////////////////////////////////////////////////////////////////// import { WebAPICallResult } from '../WebClient'; export type TeamProfileGetResponse = WebAPICallResult & { ok?: boolean; profile?: Profile; error?: string; needed?: string; provided?: string; }; export interface Profile { fields?: Field[]; sections?: Section[]; } export interface Field { id?: string; ordering?: number; field_name?: string; label?: string; hint?: string; type?: string; is_hidden?: boolean; possible_values?: string[]; } export interface Section { id?: string; team_id?: string; section_type?: string; label?: string; order?: number; is_hidden?: boolean; }
Update the web-api response types using the latest source
Update the web-api response types using the latest source
TypeScript
mit
slackapi/node-slack-sdk,slackapi/node-slack-sdk,slackapi/node-slack-sdk,slackapi/node-slack-sdk
typescript
## Code Before: /* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // // // // This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // // Please refer to the script code to learn how to update the source data. // // // ///////////////////////////////////////////////////////////////////////////////////////// import { WebAPICallResult } from '../WebClient'; export type TeamProfileGetResponse = WebAPICallResult & { ok?: boolean; profile?: Profile; error?: string; needed?: string; provided?: string; }; export interface Profile { fields?: Field[]; sections?: Section[]; } export interface Field { id?: string; ordering?: number; field_name?: string; label?: string; hint?: string; type?: string; is_hidden?: boolean; } export interface Section { id?: string; team_id?: string; section_type?: string; label?: string; order?: number; is_hidden?: boolean; } ## Instruction: Update the web-api response types using the latest source ## Code After: /* eslint-disable */ ///////////////////////////////////////////////////////////////////////////////////////// // // // !!! DO NOT EDIT THIS FILE !!! // // // // This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // // Please refer to the script code to learn how to update the source data. // // // ///////////////////////////////////////////////////////////////////////////////////////// import { WebAPICallResult } from '../WebClient'; export type TeamProfileGetResponse = WebAPICallResult & { ok?: boolean; profile?: Profile; error?: string; needed?: string; provided?: string; }; export interface Profile { fields?: Field[]; sections?: Section[]; } export interface Field { id?: string; ordering?: number; field_name?: string; label?: string; hint?: string; type?: string; is_hidden?: boolean; possible_values?: string[]; } export interface Section { id?: string; team_id?: string; section_type?: string; label?: string; order?: number; is_hidden?: boolean; }
72138e55465113d5ef0ec8eba2802d93c1bf694f
.travis.yml
.travis.yml
language: go go: - 1.7 - 1.8 script: - go build $(glide novendor) - go test -v $(glide novendor)
language: go go: - 1.7 - 1.8 install: - go get github.com/Masterminds/glide script: - go build $(glide novendor) - go test -v $(glide novendor)
Install glide prior to using it :)
Install glide prior to using it :)
YAML
mit
scode/saltybox,scode/saltybox
yaml
## Code Before: language: go go: - 1.7 - 1.8 script: - go build $(glide novendor) - go test -v $(glide novendor) ## Instruction: Install glide prior to using it :) ## Code After: language: go go: - 1.7 - 1.8 install: - go get github.com/Masterminds/glide script: - go build $(glide novendor) - go test -v $(glide novendor)
f9f08f3c758f0e77b4a1fd9b1972a7e02cbcd6ab
.travis.yml
.travis.yml
language: java jdk: - oraclejdk8 node_js: - '7' services: - mysql - mongodb cache: yarn: true directories: - node_modules before_install: - pip install --user codecov - nvm install 7 - npm install -g yarn - yarn install - "mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin" install: - cd mr-gui && yarn install && cd .. - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V before_script: - mysql -e "create database IF NOT EXISTS metadata_registry; grant all on metadata_registry.* to 'root';SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE;" -uroot script: - mvn test - cd mr-gui && yarn install after_success: - codecov
language: java jdk: - oraclejdk8 node_js: - '7' services: - mysql addons: apt: sources: - mongodb-upstart - mongodb-3.0-precise packages: - mongodb-org-server - mongodb-org-shell cache: yarn: true directories: - node_modules before_install: - pip install --user codecov - nvm install 7 - npm install -g yarn - yarn install - "mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin" install: - cd mr-gui && yarn install && cd .. - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V before_script: - mysql -e "create database IF NOT EXISTS metadata_registry; grant all on metadata_registry.* to 'root';SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE;" -uroot script: - mvn test - cd mr-gui && yarn install after_success: - codecov
Use newer version of mongodb
Use newer version of mongodb
YAML
apache-2.0
OpenConext/OpenConext-manage,OpenConext/OpenConext-manage,OpenConext/OpenConext-manage
yaml
## Code Before: language: java jdk: - oraclejdk8 node_js: - '7' services: - mysql - mongodb cache: yarn: true directories: - node_modules before_install: - pip install --user codecov - nvm install 7 - npm install -g yarn - yarn install - "mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin" install: - cd mr-gui && yarn install && cd .. - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V before_script: - mysql -e "create database IF NOT EXISTS metadata_registry; grant all on metadata_registry.* to 'root';SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE;" -uroot script: - mvn test - cd mr-gui && yarn install after_success: - codecov ## Instruction: Use newer version of mongodb ## Code After: language: java jdk: - oraclejdk8 node_js: - '7' services: - mysql addons: apt: sources: - mongodb-upstart - mongodb-3.0-precise packages: - mongodb-org-server - mongodb-org-shell cache: yarn: true directories: - node_modules before_install: - pip install --user codecov - nvm install 7 - npm install -g yarn - yarn install - "mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin" install: - cd mr-gui && yarn install && cd .. - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V before_script: - mysql -e "create database IF NOT EXISTS metadata_registry; grant all on metadata_registry.* to 'root';SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE;" -uroot script: - mvn test - cd mr-gui && yarn install after_success: - codecov
b75a9f947c5aa66f64abc6d5a95dedf1b5424c45
src/app/aspect-view/aspect-view/aspect-view.component.html
src/app/aspect-view/aspect-view/aspect-view.component.html
<mat-expansion-panel> <mat-expansion-panel-header> <mat-panel-title> {{description.friendly_name}} </mat-panel-title> </mat-expansion-panel-header> <p>{{description.description}}</p> <app-generic-form [schemaUrl]="schemaUrl" [layoutUrl]="layoutUrl" (onSubmit)="submit($event)"> </app-generic-form> <app-visualization-view *ngIf="data !== undefined" [type]="description.output_type" [data]="data"> </app-visualization-view> </mat-expansion-panel>
<mat-expansion-panel> <mat-expansion-panel-header> <mat-panel-title> {{description.friendly_name}} </mat-panel-title> </mat-expansion-panel-header> <p>{{description.description}}</p> <app-generic-form [schemaUrl]="schemaUrl" [layoutUrl]="layoutUrl" (onSubmit)="submit($event)"> </app-generic-form> <app-visualization-view *ngIf="result !== undefined" [type]="description.output_type" [data]="result"> </app-visualization-view> </mat-expansion-panel>
Fix variables reference in aspect-view
Fix variables reference in aspect-view
HTML
apache-2.0
spectre-team/spectre,spectre-team/spectre,spectre-team/spectre
html
## Code Before: <mat-expansion-panel> <mat-expansion-panel-header> <mat-panel-title> {{description.friendly_name}} </mat-panel-title> </mat-expansion-panel-header> <p>{{description.description}}</p> <app-generic-form [schemaUrl]="schemaUrl" [layoutUrl]="layoutUrl" (onSubmit)="submit($event)"> </app-generic-form> <app-visualization-view *ngIf="data !== undefined" [type]="description.output_type" [data]="data"> </app-visualization-view> </mat-expansion-panel> ## Instruction: Fix variables reference in aspect-view ## Code After: <mat-expansion-panel> <mat-expansion-panel-header> <mat-panel-title> {{description.friendly_name}} </mat-panel-title> </mat-expansion-panel-header> <p>{{description.description}}</p> <app-generic-form [schemaUrl]="schemaUrl" [layoutUrl]="layoutUrl" (onSubmit)="submit($event)"> </app-generic-form> <app-visualization-view *ngIf="result !== undefined" [type]="description.output_type" [data]="result"> </app-visualization-view> </mat-expansion-panel>
64df4991a93471c2862c2371c33cf30e55769f06
test/Misc/win32-macho.c
test/Misc/win32-macho.c
// Check that basic use of win32-macho targets works. // REQUIRES: x86-registered-target // RUN: %clang -fsyntax-only -target x86_64-pc-win32-macho %s -o /dev/null
// Check that basic use of win32-macho targets works. // RUN: %clang -fsyntax-only -target x86_64-pc-win32-macho %s
Remove dev/null redirect and x86 backend requirement from new test.
Remove dev/null redirect and x86 backend requirement from new test. git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@210699 91177308-0d34-0410-b5e6-96231b3b80d8
C
apache-2.0
apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang
c
## Code Before: // Check that basic use of win32-macho targets works. // REQUIRES: x86-registered-target // RUN: %clang -fsyntax-only -target x86_64-pc-win32-macho %s -o /dev/null ## Instruction: Remove dev/null redirect and x86 backend requirement from new test. git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@210699 91177308-0d34-0410-b5e6-96231b3b80d8 ## Code After: // Check that basic use of win32-macho targets works. // RUN: %clang -fsyntax-only -target x86_64-pc-win32-macho %s
5da5cde87508e938657c49494bc1307a86c117bc
commands/yo.js
commands/yo.js
'use strict'; module.exports = function yo(controller) { controller.hears('yo', ['direct_mention'], function(bot, message) { bot.reply(message, 'Yo!'); }); }
'use strict'; module.exports = function yo(controller) { controller.hears('yo', ['direct_mention'], function(bot, message) { console.log(message); bot.reply(message, 'Yo!'); }); }
Test on the Yo COmmand
Test on the Yo COmmand
JavaScript
mit
remotebeta/codybot
javascript
## Code Before: 'use strict'; module.exports = function yo(controller) { controller.hears('yo', ['direct_mention'], function(bot, message) { bot.reply(message, 'Yo!'); }); } ## Instruction: Test on the Yo COmmand ## Code After: 'use strict'; module.exports = function yo(controller) { controller.hears('yo', ['direct_mention'], function(bot, message) { console.log(message); bot.reply(message, 'Yo!'); }); }
e1afde59e7a518a748fcf381eb4d674689f21c14
semantic.json
semantic.json
{ "base": "semantic/", "paths": { "source": { "config": "src/theme.config", "definitions": "src/definitions/", "site": "src/site/", "themes": "src/themes/" }, "output": { "packaged": "dist/", "uncompressed": "dist/components/", "compressed": "dist/components/", "themes": "dist/themes/" }, "clean": "dist/" }, "permission": false, "rtl": false, "version": "2.1.6" }
{ "base": "semantic/", "paths": { "source": { "config": "src/theme.config", "definitions": "src/definitions/", "site": "src/site/", "themes": "src/themes/" }, "output": { "packaged": "dist/", "uncompressed": "dist/components/", "compressed": "dist/components/", "themes": "dist/themes/" }, "clean": "dist/" }, "permission": false, "rtl": false, "version": "2.1.6", "autoInstall": true }
Add autoInstall option to prevent user prompt when running on automated deployment
Add autoInstall option to prevent user prompt when running on automated deployment
JSON
mit
selcher/zumu,selcher/zumu
json
## Code Before: { "base": "semantic/", "paths": { "source": { "config": "src/theme.config", "definitions": "src/definitions/", "site": "src/site/", "themes": "src/themes/" }, "output": { "packaged": "dist/", "uncompressed": "dist/components/", "compressed": "dist/components/", "themes": "dist/themes/" }, "clean": "dist/" }, "permission": false, "rtl": false, "version": "2.1.6" } ## Instruction: Add autoInstall option to prevent user prompt when running on automated deployment ## Code After: { "base": "semantic/", "paths": { "source": { "config": "src/theme.config", "definitions": "src/definitions/", "site": "src/site/", "themes": "src/themes/" }, "output": { "packaged": "dist/", "uncompressed": "dist/components/", "compressed": "dist/components/", "themes": "dist/themes/" }, "clean": "dist/" }, "permission": false, "rtl": false, "version": "2.1.6", "autoInstall": true }
ad92334950a29dbae2388c795bc086c71cc5649b
build/mocha-test.js
build/mocha-test.js
'use strict'; require('../node_modules/babel-core/register'); var src = [ 'tests/lib/*.js', 'tests/lib/parser/properties/*.js', 'tests/lib/parser/l20n/*.js', 'tests/lib/resolver/*.js', 'tests/lib/context/*.js', 'tests/lib/env/*.js', ]; module.exports = { dot: { options: { reporter: 'dot', }, src: src, } };
'use strict'; require('babel-register')({ presets: ['es2015'] }); var src = [ 'tests/lib/*.js', 'tests/lib/parser/properties/*.js', 'tests/lib/parser/l20n/*.js', 'tests/lib/resolver/*.js', 'tests/lib/context/*.js', 'tests/lib/env/*.js', ]; module.exports = { dot: { options: { reporter: 'dot', }, src: src, } };
Make mocha work with babel6
Make mocha work with babel6
JavaScript
apache-2.0
projectfluent/fluent.js,projectfluent/fluent.js,stasm/l20n.js,projectfluent/fluent.js,zbraniecki/l20n.js,zbraniecki/fluent.js,zbraniecki/fluent.js,l20n/l20n.js
javascript
## Code Before: 'use strict'; require('../node_modules/babel-core/register'); var src = [ 'tests/lib/*.js', 'tests/lib/parser/properties/*.js', 'tests/lib/parser/l20n/*.js', 'tests/lib/resolver/*.js', 'tests/lib/context/*.js', 'tests/lib/env/*.js', ]; module.exports = { dot: { options: { reporter: 'dot', }, src: src, } }; ## Instruction: Make mocha work with babel6 ## Code After: 'use strict'; require('babel-register')({ presets: ['es2015'] }); var src = [ 'tests/lib/*.js', 'tests/lib/parser/properties/*.js', 'tests/lib/parser/l20n/*.js', 'tests/lib/resolver/*.js', 'tests/lib/context/*.js', 'tests/lib/env/*.js', ]; module.exports = { dot: { options: { reporter: 'dot', }, src: src, } };
5ecb4853fa33ed66f4c4e9544896638e36e613ca
metadata/org.ligi.passandroid.txt
metadata/org.ligi.passandroid.txt
Categories:Office License:GPLv3 Web Site:https://github.com/ligi/PassAndroid/blob/HEAD/README.md Source Code:https://github.com/ligi/PassAndroid Issue Tracker:https://github.com/ligi/PassAndroid/issues Auto Name:"PassAndroid" Summary:View Passbook files Description: Displays Passbook (*.pkpass) files & shows the Barcode (QR, PDF417 and AZTEC format). It can be used also when offline. . Repo Type:git Repo:https://github.com/ligi/PassAndroid Build:2.3.1,231 commit=2.3.1 prebuild=sed -i '/play_services/d' build.gradle && sed -i '/android-sdk-manager/d' build.gradle gradle=NoMapsNoAnalyticsForFDroid Auto Update Mode:None Update Check Mode:Tags Current Version:2.3.1 Current Version Code:231
Categories:Office License:GPLv3 Web Site:https://github.com/ligi/PassAndroid/blob/HEAD/README.md Source Code:https://github.com/ligi/PassAndroid Issue Tracker:https://github.com/ligi/PassAndroid/issues Auto Name:"PassAndroid" Summary:View Passbook files Description: Displays Passbook (*.pkpass) files & shows the Barcode (QR, PDF417 and AZTEC format). It can be used also when offline. . Repo Type:git Repo:https://github.com/ligi/PassAndroid Build:2.3.1,231 commit=2.3.1 gradle=NoMapsNoAnalyticsForFDroid prebuild=sed -i '/play_services/d' build.gradle && \ sed -i '/android-sdk-manager/d' build.gradle Auto Update Mode:None Update Check Mode:Tags Current Version:2.3.2 Current Version Code:232
Update CV of "PassAndroid" to 2.3.2 (232)
Update CV of "PassAndroid" to 2.3.2 (232)
Text
agpl-3.0
f-droid/fdroid-data,f-droid/fdroiddata,f-droid/fdroiddata
text
## Code Before: Categories:Office License:GPLv3 Web Site:https://github.com/ligi/PassAndroid/blob/HEAD/README.md Source Code:https://github.com/ligi/PassAndroid Issue Tracker:https://github.com/ligi/PassAndroid/issues Auto Name:"PassAndroid" Summary:View Passbook files Description: Displays Passbook (*.pkpass) files & shows the Barcode (QR, PDF417 and AZTEC format). It can be used also when offline. . Repo Type:git Repo:https://github.com/ligi/PassAndroid Build:2.3.1,231 commit=2.3.1 prebuild=sed -i '/play_services/d' build.gradle && sed -i '/android-sdk-manager/d' build.gradle gradle=NoMapsNoAnalyticsForFDroid Auto Update Mode:None Update Check Mode:Tags Current Version:2.3.1 Current Version Code:231 ## Instruction: Update CV of "PassAndroid" to 2.3.2 (232) ## Code After: Categories:Office License:GPLv3 Web Site:https://github.com/ligi/PassAndroid/blob/HEAD/README.md Source Code:https://github.com/ligi/PassAndroid Issue Tracker:https://github.com/ligi/PassAndroid/issues Auto Name:"PassAndroid" Summary:View Passbook files Description: Displays Passbook (*.pkpass) files & shows the Barcode (QR, PDF417 and AZTEC format). It can be used also when offline. . Repo Type:git Repo:https://github.com/ligi/PassAndroid Build:2.3.1,231 commit=2.3.1 gradle=NoMapsNoAnalyticsForFDroid prebuild=sed -i '/play_services/d' build.gradle && \ sed -i '/android-sdk-manager/d' build.gradle Auto Update Mode:None Update Check Mode:Tags Current Version:2.3.2 Current Version Code:232
69f0f013b8cc6660b71b113b9d43840d558a395f
arm-eabi-4.8
arm-eabi-4.8
if [ -e Makefile ]; then make -j10 distclean fi; #Make a clean install always if [ -d /tmp/arm-eabi ] then rm -rf /tmp/arm-eabi fi; #Build Configuration ./configure --prefix=/tmp/arm-eabi --target=arm-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --program-transform-name='s&^&arm-eabi-&' --with-gcc-version=SaberMod --with-binutils-version=2.23 --with-gold-version=2.23 --enable-gold=default --with-gmp-version=5.1.1 --with-mpfr-version=3.1.2 --with-mpc-version=1.0.1 --with-gdb-version=7.6 --with-sysroot=/ --enable-threads=single #Build the toolchain make -j10; #Install the toolchain make install;
export CC=gcc-4.8; export CXX=g++-4.8; #Make a clean build if [ -e Makefile ]; then make -j10 distclean fi; #Make a clean install always if [ -d /tmp/arm-eabi ] then rm -rf /tmp/arm-eabi fi; #Build Configuration ./configure --prefix=/tmp/arm-eabi --target=arm-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --program-transform-name='s&^&arm-eabi-&' --with-gcc-version=SaberMod --with-binutils-version=2.23 --with-gold-version=2.23 --enable-gold=default --with-gmp-version=5.1.1 --with-mpfr-version=3.1.2 --with-mpc-version=1.0.1 --with-gdb-version=7.6 --with-sysroot=/ --enable-threads=single #Build the toolchain make -j10; #Install the toolchain make install;
Build with host gcc 4.8
Build with host gcc 4.8 Change-Id: I2730ec563b3675c3ac9ab1b5e49bcc30c0675a88
Groff
lgpl-2.1
KangDroidSMProject/toolchain_build
groff
## Code Before: if [ -e Makefile ]; then make -j10 distclean fi; #Make a clean install always if [ -d /tmp/arm-eabi ] then rm -rf /tmp/arm-eabi fi; #Build Configuration ./configure --prefix=/tmp/arm-eabi --target=arm-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --program-transform-name='s&^&arm-eabi-&' --with-gcc-version=SaberMod --with-binutils-version=2.23 --with-gold-version=2.23 --enable-gold=default --with-gmp-version=5.1.1 --with-mpfr-version=3.1.2 --with-mpc-version=1.0.1 --with-gdb-version=7.6 --with-sysroot=/ --enable-threads=single #Build the toolchain make -j10; #Install the toolchain make install; ## Instruction: Build with host gcc 4.8 Change-Id: I2730ec563b3675c3ac9ab1b5e49bcc30c0675a88 ## Code After: export CC=gcc-4.8; export CXX=g++-4.8; #Make a clean build if [ -e Makefile ]; then make -j10 distclean fi; #Make a clean install always if [ -d /tmp/arm-eabi ] then rm -rf /tmp/arm-eabi fi; #Build Configuration ./configure --prefix=/tmp/arm-eabi --target=arm-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --program-transform-name='s&^&arm-eabi-&' --with-gcc-version=SaberMod --with-binutils-version=2.23 --with-gold-version=2.23 --enable-gold=default --with-gmp-version=5.1.1 --with-mpfr-version=3.1.2 --with-mpc-version=1.0.1 --with-gdb-version=7.6 --with-sysroot=/ --enable-threads=single #Build the toolchain make -j10; #Install the toolchain make install;
2212a85eb41bcb733b3d559f2146bab4add31771
.travis.yml
.travis.yml
language: python python: - "2.7" - "3.2" - "3.3" - "3.4" # - 'pypy' # dbm test fails, remove for now... before_install: - sudo apt-get install strace install: - pip install . - pip install -r dev_requirements.txt python-coveralls # See https://github.com/travis-ci/travis-cookbooks/issues/155 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm branches: only: - master - test script: - doit pyflakes - py.test - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then doit coverage; fi after_success: - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coveralls; fi notifications: email: on_success: change on_failure: change
language: python python: - "2.7" - "3.3" - "3.4" # - 'pypy' # dbm test fails, remove for now... before_install: - sudo apt-get install strace install: - pip install . - pip install -r dev_requirements.txt python-coveralls # See https://github.com/travis-ci/travis-cookbooks/issues/155 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm branches: only: - master - test script: - doit pyflakes - py.test - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then doit coverage; fi after_success: - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coveralls; fi notifications: email: on_success: change on_failure: change
Remove Python 3.2 from Travis CI build matrix
Remove Python 3.2 from Travis CI build matrix Signed-off-by: Chris Warrick <de6f931166e131a07f31c96c765aee08f061d1a5@gmail.com>
YAML
mit
gh0std4ncer/doit,Hinidu/doit,pydoit/doit,saimn/doit,wangpanjun/doit,JohannesBuchner/doit
yaml
## Code Before: language: python python: - "2.7" - "3.2" - "3.3" - "3.4" # - 'pypy' # dbm test fails, remove for now... before_install: - sudo apt-get install strace install: - pip install . - pip install -r dev_requirements.txt python-coveralls # See https://github.com/travis-ci/travis-cookbooks/issues/155 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm branches: only: - master - test script: - doit pyflakes - py.test - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then doit coverage; fi after_success: - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coveralls; fi notifications: email: on_success: change on_failure: change ## Instruction: Remove Python 3.2 from Travis CI build matrix Signed-off-by: Chris Warrick <de6f931166e131a07f31c96c765aee08f061d1a5@gmail.com> ## Code After: language: python python: - "2.7" - "3.3" - "3.4" # - 'pypy' # dbm test fails, remove for now... before_install: - sudo apt-get install strace install: - pip install . - pip install -r dev_requirements.txt python-coveralls # See https://github.com/travis-ci/travis-cookbooks/issues/155 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm branches: only: - master - test script: - doit pyflakes - py.test - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then doit coverage; fi after_success: - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coveralls; fi notifications: email: on_success: change on_failure: change
af663a8917ece3979512d3064b51229bbca4aaae
site/build.md
site/build.md
<!-- Copyright (c) 2007-2020 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the under the Apache License, Version 2.0 (the "License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> # Build Instructions ## <a id="overview" class="anchor" href="#overview">Overview</a> <p class="intro"> This section provides links to the build instructions of the RabbitMQ server and available client libraries. </p> <div class="landing-box"> <h2>RabbitMQ Server</h2> <p> See <a href="build-server.html">server build instructions</a>. </p> </div> <div class="landing-box"> <h2>RabbitMQ Java AMQP client library</h2> <p> See <a href="build-java-client.html">Java client library build instructions</a>. </p> </div> <div class="landing-box"> <h2>RabbitMQ .NET/C# client library</h2> <p> See <a href="build-dotnet-client.html">.NET client library build instructions</a>. </p> </div> <div class="landing-box"> <h2>RabbitMQ Erlang client library</h2> <p> See <a href="build-erlang-client.html">Erlang client library build instructions</a>. </p> </div>
<!-- Copyright (c) 2007-2020 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the under the Apache License, Version 2.0 (the "License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> # Build Instructions ## <a id="overview" class="anchor" href="#overview">Overview</a> This section provides links to the build instructions of the RabbitMQ server and available client libraries: ## RabbitMQ Server * [RabbitMQ server](/build-server.html) * [Java client library](/build-java-client.html) * [.NET client library](/build-dotnet-client.html) * [Erlang client library](/build-erlang-client.html)
Convert one more tiny doc page to Markdown
Convert one more tiny doc page to Markdown
Markdown
apache-2.0
rabbitmq/rabbitmq-website,rabbitmq/rabbitmq-website,rabbitmq/rabbitmq-website,rabbitmq/rabbitmq-website,rabbitmq/rabbitmq-website
markdown
## Code Before: <!-- Copyright (c) 2007-2020 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the under the Apache License, Version 2.0 (the "License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> # Build Instructions ## <a id="overview" class="anchor" href="#overview">Overview</a> <p class="intro"> This section provides links to the build instructions of the RabbitMQ server and available client libraries. </p> <div class="landing-box"> <h2>RabbitMQ Server</h2> <p> See <a href="build-server.html">server build instructions</a>. </p> </div> <div class="landing-box"> <h2>RabbitMQ Java AMQP client library</h2> <p> See <a href="build-java-client.html">Java client library build instructions</a>. </p> </div> <div class="landing-box"> <h2>RabbitMQ .NET/C# client library</h2> <p> See <a href="build-dotnet-client.html">.NET client library build instructions</a>. </p> </div> <div class="landing-box"> <h2>RabbitMQ Erlang client library</h2> <p> See <a href="build-erlang-client.html">Erlang client library build instructions</a>. </p> </div> ## Instruction: Convert one more tiny doc page to Markdown ## Code After: <!-- Copyright (c) 2007-2020 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the under the Apache License, Version 2.0 (the "License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> # Build Instructions ## <a id="overview" class="anchor" href="#overview">Overview</a> This section provides links to the build instructions of the RabbitMQ server and available client libraries: ## RabbitMQ Server * [RabbitMQ server](/build-server.html) * [Java client library](/build-java-client.html) * [.NET client library](/build-dotnet-client.html) * [Erlang client library](/build-erlang-client.html)
713da615daffffea00446eb1c9c24d05df863f21
README.md
README.md
Read about the details and goals for the app [here](https://docs.google.com/document/d/12kksmdvx_QYvset1-sVcDQbEyCf70-3HfdkIVY58d24/edit?usp=sharing) ## Ruby version * Ruby 2.2.2 * Rails 4.2.6 ## Database * Postgresql ## Local Development Clone this repo. Bundle with `bundle install` Create DB `createdb db/development` Run migrations with `rake db:migrate` Start the server with `bin/rails s` ## How to run the test suite `rspec /spec/.` ## Deploy to Heroku [http://midwestaccesscoalition.herokuapp.com/](http://midwestaccesscoalition.herokuapp.com/)
[![Build Status](https://travis-ci.org/MidwestAccessCoalition/mac_app.svg?branch=master)](https://travis-ci.org/MidwestAccessCoalition/mac_app) ## Project Spec Read about the details and goals for the app [here](https://docs.google.com/document/d/12kksmdvx_QYvset1-sVcDQbEyCf70-3HfdkIVY58d24/edit?usp=sharing) ## Ruby version * Ruby 2.2.2 * Rails 4.2.6 ## Database * Postgresql ## Local Development Clone this repo. Bundle with `bundle install` Create DB `createdb db/development` Run migrations with `rake db:migrate` Start the server with `bin/rails s` ## Test DB Simple setup: ``` rake db:test:prepare ``` Manually reset DB: ``` bundle exec rake db:drop RAILS_ENV=test bundle exec rake db:create RAILS_ENV=test bundle exec rake db:schema:load RAILS_ENV=test ``` ## How to run the test suite `rspec` or `rake spec` ## Deploy to Heroku [http://midwestaccesscoalition.herokuapp.com/](http://midwestaccesscoalition.herokuapp.com/)
Add info for setting and resetting test DB
Add info for setting and resetting test DB
Markdown
mit
CorainChicago/mac_app,kathrynemary/mac_app,kathrynemary/mac_app,CorainChicago/mac_app,kathrynemary/mac_app,CorainChicago/mac_app
markdown
## Code Before: Read about the details and goals for the app [here](https://docs.google.com/document/d/12kksmdvx_QYvset1-sVcDQbEyCf70-3HfdkIVY58d24/edit?usp=sharing) ## Ruby version * Ruby 2.2.2 * Rails 4.2.6 ## Database * Postgresql ## Local Development Clone this repo. Bundle with `bundle install` Create DB `createdb db/development` Run migrations with `rake db:migrate` Start the server with `bin/rails s` ## How to run the test suite `rspec /spec/.` ## Deploy to Heroku [http://midwestaccesscoalition.herokuapp.com/](http://midwestaccesscoalition.herokuapp.com/) ## Instruction: Add info for setting and resetting test DB ## Code After: [![Build Status](https://travis-ci.org/MidwestAccessCoalition/mac_app.svg?branch=master)](https://travis-ci.org/MidwestAccessCoalition/mac_app) ## Project Spec Read about the details and goals for the app [here](https://docs.google.com/document/d/12kksmdvx_QYvset1-sVcDQbEyCf70-3HfdkIVY58d24/edit?usp=sharing) ## Ruby version * Ruby 2.2.2 * Rails 4.2.6 ## Database * Postgresql ## Local Development Clone this repo. Bundle with `bundle install` Create DB `createdb db/development` Run migrations with `rake db:migrate` Start the server with `bin/rails s` ## Test DB Simple setup: ``` rake db:test:prepare ``` Manually reset DB: ``` bundle exec rake db:drop RAILS_ENV=test bundle exec rake db:create RAILS_ENV=test bundle exec rake db:schema:load RAILS_ENV=test ``` ## How to run the test suite `rspec` or `rake spec` ## Deploy to Heroku [http://midwestaccesscoalition.herokuapp.com/](http://midwestaccesscoalition.herokuapp.com/)
dfe28e2acd8c4042b552ca019beed218e65b20a6
core/circle.yml
core/circle.yml
machine: ruby: version: 1.9.3-p392 services: - elasticsearch test: override: - bundle exec rspec spec-unit - bundle exec rspec spec - bundle exec rake konacha:load_poltergeist konacha:run - bundle exec rspec spec/acceptance - bundle exec rspec spec/screenshots
machine: ruby: version: 1.9.3-p392 services: - elasticsearch test: override: - bundle exec rspec spec-unit - bundle exec rspec spec - bundle exec rake konacha:load_poltergeist konacha:run - bundle exec rspec spec/acceptance
Disable screenshot tests (for now)
Disable screenshot tests (for now)
YAML
mit
daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core
yaml
## Code Before: machine: ruby: version: 1.9.3-p392 services: - elasticsearch test: override: - bundle exec rspec spec-unit - bundle exec rspec spec - bundle exec rake konacha:load_poltergeist konacha:run - bundle exec rspec spec/acceptance - bundle exec rspec spec/screenshots ## Instruction: Disable screenshot tests (for now) ## Code After: machine: ruby: version: 1.9.3-p392 services: - elasticsearch test: override: - bundle exec rspec spec-unit - bundle exec rspec spec - bundle exec rake konacha:load_poltergeist konacha:run - bundle exec rspec spec/acceptance
724acad12c5593242dbb1d5d58b6c8c49ea4e62a
lib/components/map/gridualizer.tsx
lib/components/map/gridualizer.tsx
import {Coords, DoneCallback, GridLayer as LeafletGridLayer} from 'leaflet' import {GridLayer, GridLayerProps, withLeaflet} from 'react-leaflet' type DrawTileFn = ( canvas: HTMLCanvasElement, coords: Coords, z: number ) => HTMLElement class MutableGridLayer extends LeafletGridLayer { drawTile: DrawTileFn constructor(options) { super(options) this.drawTile = options.drawTile } createTile(coords: Coords, _: DoneCallback) { const canvas = document.createElement('canvas') canvas.width = canvas.height = 256 this.drawTile(canvas, coords, coords.z) return canvas } } interface GridualizerLayerProps extends GridLayerProps { drawTile: DrawTileFn } class GridualizerLayer extends GridLayer< GridualizerLayerProps, MutableGridLayer > { createLeafletElement(props: GridualizerLayerProps) { return new MutableGridLayer({drawTile: props.drawTile}) } } export default withLeaflet(GridualizerLayer)
import {Coords, DoneCallback, GridLayer as LeafletGridLayer} from 'leaflet' import {GridLayer, GridLayerProps, withLeaflet} from 'react-leaflet' export type DrawTileFn = ( canvas: HTMLCanvasElement, coords: Coords, z: number ) => void class MutableGridLayer extends LeafletGridLayer { drawTile: DrawTileFn constructor(options) { super(options) this.drawTile = options.drawTile } createTile(coords: Coords, _: DoneCallback) { const canvas = document.createElement('canvas') canvas.width = canvas.height = 256 this.drawTile(canvas, coords, coords.z) return canvas } } interface GridualizerLayerProps extends GridLayerProps { drawTile: DrawTileFn } class GridualizerLayer extends GridLayer< GridualizerLayerProps, MutableGridLayer > { createLeafletElement(props: GridualizerLayerProps) { return new MutableGridLayer({drawTile: props.drawTile}) } } export default withLeaflet(GridualizerLayer)
Correct return type of DrawTileFn
Correct return type of DrawTileFn
TypeScript
mit
conveyal/analysis-ui,conveyal/analysis-ui,conveyal/analysis-ui
typescript
## Code Before: import {Coords, DoneCallback, GridLayer as LeafletGridLayer} from 'leaflet' import {GridLayer, GridLayerProps, withLeaflet} from 'react-leaflet' type DrawTileFn = ( canvas: HTMLCanvasElement, coords: Coords, z: number ) => HTMLElement class MutableGridLayer extends LeafletGridLayer { drawTile: DrawTileFn constructor(options) { super(options) this.drawTile = options.drawTile } createTile(coords: Coords, _: DoneCallback) { const canvas = document.createElement('canvas') canvas.width = canvas.height = 256 this.drawTile(canvas, coords, coords.z) return canvas } } interface GridualizerLayerProps extends GridLayerProps { drawTile: DrawTileFn } class GridualizerLayer extends GridLayer< GridualizerLayerProps, MutableGridLayer > { createLeafletElement(props: GridualizerLayerProps) { return new MutableGridLayer({drawTile: props.drawTile}) } } export default withLeaflet(GridualizerLayer) ## Instruction: Correct return type of DrawTileFn ## Code After: import {Coords, DoneCallback, GridLayer as LeafletGridLayer} from 'leaflet' import {GridLayer, GridLayerProps, withLeaflet} from 'react-leaflet' export type DrawTileFn = ( canvas: HTMLCanvasElement, coords: Coords, z: number ) => void class MutableGridLayer extends LeafletGridLayer { drawTile: DrawTileFn constructor(options) { super(options) this.drawTile = options.drawTile } createTile(coords: Coords, _: DoneCallback) { const canvas = document.createElement('canvas') canvas.width = canvas.height = 256 this.drawTile(canvas, coords, coords.z) return canvas } } interface GridualizerLayerProps extends GridLayerProps { drawTile: DrawTileFn } class GridualizerLayer extends GridLayer< GridualizerLayerProps, MutableGridLayer > { createLeafletElement(props: GridualizerLayerProps) { return new MutableGridLayer({drawTile: props.drawTile}) } } export default withLeaflet(GridualizerLayer)
7c68a1ccf2d0d5c05801a9b1db7c352d1980a852
docs/ipc.md
docs/ipc.md
There is no direct communication between the Listener and the Worker. ## Daemon / Master The Daemon process opens a pipe. When the Master process starts, it writes its pid to the pipe, and the daemon reads it and exits. If the read fails, the daemon exits with an error status. ## `self_pipe` Each process has a `self_pipe` that it uses as a sleep timer. When the process has no work to do, it performs an `IO.select` on the pipe. If a signal is received, the signal is recorded and a `'.'` is written to the pipe, which causes `IO.select` to finish. This helps avoid race conditions between the main loop and signal handling blocks.
`Resqued::ListenerProxy` opens a Unix domain socket to communicate between the Master and Listener processes. Resqued uses a socket (instead of a pipe) because the socket is bidirectional. Also, a socket can be transferred between processes more easily, which allows new listeners to reload the environment in a simple way, by starting via `fork`+`exec`, rather than just `fork`. The Listener process sends information about the lifecycle of worker processes that it controls. When a worker starts, the listener writes `"+#{pid},#{queues}\n"`, e.g. `"+21234,important,*\n"`. When a worker exits, the listener writes `"-#{pid}\n"`. The Master process broadcasts dead worker PIDs to all running listeners. This allows a new listener to wait for old workers to exit before starting their replacements. These messages are just the pid, `"#{pid}\n"`, e.g. `"21234\n"`. *Does the dead worker broadcast need to go to all listeners? Or just the current listener?* ## Listener / Worker There is no direct communication between the Listener and the Worker. ## Daemon / Master The Daemon process opens a pipe. When the Master process starts, it writes its pid to the pipe, and the daemon reads it and exits. If the read fails, the daemon exits with an error status. ## `self_pipe` Each process has a `self_pipe` that it uses as a sleep timer. When the process has no work to do, it performs an `IO.select` on the pipe. If a signal is received, the signal is recorded and a `'.'` is written to the pipe, which causes `IO.select` to finish. This helps avoid race conditions between the main loop and signal handling blocks.
Document the master <-> listener communication.
Document the master <-> listener communication.
Markdown
mit
spraints/resqued,bkeepers/resqued,spraints/resqued,bkeepers/resqued
markdown
## Code Before: There is no direct communication between the Listener and the Worker. ## Daemon / Master The Daemon process opens a pipe. When the Master process starts, it writes its pid to the pipe, and the daemon reads it and exits. If the read fails, the daemon exits with an error status. ## `self_pipe` Each process has a `self_pipe` that it uses as a sleep timer. When the process has no work to do, it performs an `IO.select` on the pipe. If a signal is received, the signal is recorded and a `'.'` is written to the pipe, which causes `IO.select` to finish. This helps avoid race conditions between the main loop and signal handling blocks. ## Instruction: Document the master <-> listener communication. ## Code After: `Resqued::ListenerProxy` opens a Unix domain socket to communicate between the Master and Listener processes. Resqued uses a socket (instead of a pipe) because the socket is bidirectional. Also, a socket can be transferred between processes more easily, which allows new listeners to reload the environment in a simple way, by starting via `fork`+`exec`, rather than just `fork`. The Listener process sends information about the lifecycle of worker processes that it controls. When a worker starts, the listener writes `"+#{pid},#{queues}\n"`, e.g. `"+21234,important,*\n"`. When a worker exits, the listener writes `"-#{pid}\n"`. The Master process broadcasts dead worker PIDs to all running listeners. This allows a new listener to wait for old workers to exit before starting their replacements. These messages are just the pid, `"#{pid}\n"`, e.g. `"21234\n"`. *Does the dead worker broadcast need to go to all listeners? Or just the current listener?* ## Listener / Worker There is no direct communication between the Listener and the Worker. ## Daemon / Master The Daemon process opens a pipe. When the Master process starts, it writes its pid to the pipe, and the daemon reads it and exits. If the read fails, the daemon exits with an error status. ## `self_pipe` Each process has a `self_pipe` that it uses as a sleep timer. When the process has no work to do, it performs an `IO.select` on the pipe. If a signal is received, the signal is recorded and a `'.'` is written to the pipe, which causes `IO.select` to finish. This helps avoid race conditions between the main loop and signal handling blocks.
fa9663eedc829046d80d168f4a9a8ad59ed0cb82
CHANGELOG.md
CHANGELOG.md
* Initial release.
* Add an option for a detach_if callable, which can contain logic to determine whether to remove an object from the pool. ### 0.1.0 (2014-02-14) * Initial release.
Update changelog for detach_if feature.
Update changelog for detach_if feature.
Markdown
mit
chanks/pond
markdown
## Code Before: * Initial release. ## Instruction: Update changelog for detach_if feature. ## Code After: * Add an option for a detach_if callable, which can contain logic to determine whether to remove an object from the pool. ### 0.1.0 (2014-02-14) * Initial release.
855735bfa4319f8d8850a6a1eb6918262eadefec
install.sh
install.sh
if [[ "$(uname)" == "Darwin" ]]; then if ! command -v brew -f &> /dev/null; then echo "No proper installer found. Please install homebrew" exit 1 fi INSTALLER="brew install" elif [[ "$(uname)" == "Linux"* ]]; then echo "--> Sleep to wait nix-env ready" sleep 300 # Source /etc/profile, it will set up nix, shadowenv and other goodies . /etc/profile if ! command -v nix-env -f &> /dev/null; then echo "No proper installer found. Please install Nix" exit 1 fi nix-channel --update && nix upgrade-nix INSTALLER="nix-env -f '<nixpkgs>' -iA" else echo "Unsupported system: $(uname)" exit 1 fi ### Install utils UTILS=(direnv ripgrep neovim fzf fd tig diff-so-fancy chezmoi) for i in "${UTILS[@]}" do $(echo "$INSTALLER $i") done ### Apply dotfiles chezmoi init https://github.com/ifyouseewendy/dotfiles.git --branch=chezmoi chezmoi apply ### Post hooks # neovim ln -s ~/.vimrc ~/.config/nvim/init.vim # vim-plug nvim --headless +PlugInstall +qa # tpm $HOME/.tmux/plugins/tpm/bin/install_plugins
if [[ "$(uname)" == "Darwin" ]]; then if ! command -v brew -f &> /dev/null; then echo "No proper installer found. Please install homebrew" exit 1 fi INSTALLER="brew install" elif [[ "$(uname)" == "Linux"* ]]; then echo "--> Sleep to wait nix-env ready" sleep 300 # Source /etc/profile, it will set up nix, shadowenv and other goodies . /etc/profile if ! command -v nix-env -f &> /dev/null; then echo "No proper installer found. Please install Nix" exit 1 fi nix-channel --update && nix upgrade-nix INSTALLER="nix-env -f '<nixpkgs>' -iA" else echo "Unsupported system: $(uname)" exit 1 fi # ### Install utils # UTILS=(direnv ripgrep neovim fzf fd tig diff-so-fancy chezmoi) for i in "${UTILS[@]}" do echo "--> installing $i" $(echo "$INSTALLER $i") done # # ### Apply dotfiles # # chezmoi init https://github.com/ifyouseewendy/dotfiles.git --branch=chezmoi # chezmoi apply # # ### Post hooks # # neovim # ln -s ~/.vimrc ~/.config/nvim/init.vim # # # vim-plug # nvim --headless +PlugInstall +qa # # # tpm # $HOME/.tmux/plugins/tpm/bin/install_plugins
Debug remove source etc profile
Debug remove source etc profile
Shell
mit
ifyouseewendy/dotfiles,ifyouseewendy/dotfiles
shell
## Code Before: if [[ "$(uname)" == "Darwin" ]]; then if ! command -v brew -f &> /dev/null; then echo "No proper installer found. Please install homebrew" exit 1 fi INSTALLER="brew install" elif [[ "$(uname)" == "Linux"* ]]; then echo "--> Sleep to wait nix-env ready" sleep 300 # Source /etc/profile, it will set up nix, shadowenv and other goodies . /etc/profile if ! command -v nix-env -f &> /dev/null; then echo "No proper installer found. Please install Nix" exit 1 fi nix-channel --update && nix upgrade-nix INSTALLER="nix-env -f '<nixpkgs>' -iA" else echo "Unsupported system: $(uname)" exit 1 fi ### Install utils UTILS=(direnv ripgrep neovim fzf fd tig diff-so-fancy chezmoi) for i in "${UTILS[@]}" do $(echo "$INSTALLER $i") done ### Apply dotfiles chezmoi init https://github.com/ifyouseewendy/dotfiles.git --branch=chezmoi chezmoi apply ### Post hooks # neovim ln -s ~/.vimrc ~/.config/nvim/init.vim # vim-plug nvim --headless +PlugInstall +qa # tpm $HOME/.tmux/plugins/tpm/bin/install_plugins ## Instruction: Debug remove source etc profile ## Code After: if [[ "$(uname)" == "Darwin" ]]; then if ! command -v brew -f &> /dev/null; then echo "No proper installer found. Please install homebrew" exit 1 fi INSTALLER="brew install" elif [[ "$(uname)" == "Linux"* ]]; then echo "--> Sleep to wait nix-env ready" sleep 300 # Source /etc/profile, it will set up nix, shadowenv and other goodies . /etc/profile if ! command -v nix-env -f &> /dev/null; then echo "No proper installer found. Please install Nix" exit 1 fi nix-channel --update && nix upgrade-nix INSTALLER="nix-env -f '<nixpkgs>' -iA" else echo "Unsupported system: $(uname)" exit 1 fi # ### Install utils # UTILS=(direnv ripgrep neovim fzf fd tig diff-so-fancy chezmoi) for i in "${UTILS[@]}" do echo "--> installing $i" $(echo "$INSTALLER $i") done # # ### Apply dotfiles # # chezmoi init https://github.com/ifyouseewendy/dotfiles.git --branch=chezmoi # chezmoi apply # # ### Post hooks # # neovim # ln -s ~/.vimrc ~/.config/nvim/init.vim # # # vim-plug # nvim --headless +PlugInstall +qa # # # tpm # $HOME/.tmux/plugins/tpm/bin/install_plugins
e24d07e42053207fc4b13339a3f5f86e144e3de9
doc/ops-guide/source/ops_projects.rst
doc/ops-guide/source/ops_projects.rst
================= Managing Projects ================= Users must be associated with at least one project, though they may belong to many. Therefore, you should add at least one project before adding users. Adding Projects ~~~~~~~~~~~~~~~ To create a project through the OpenStack dashboard: #. Log in as an administrative user. #. Select the :guilabel:`Identity` tab in the left navigation bar. #. Under Identity tab, click :guilabel:`Projects`. #. Click the :guilabel:`Create Project` button. You are prompted for a project name and an optional, but recommended, description. Select the checkbox at the bottom of the form to enable this project. By default, it is enabled, as shown in :ref:`figure_create_project`. .. _figure_create_project: .. figure:: figures/osog_0901.png :alt: Dashboard's Create Project form Figure Dashboard's Create Project form It is also possible to add project members and adjust the project quotas. We'll discuss those actions later, but in practice, it can be quite convenient to deal with all these operations at one time. To add a project through the command line, you must use the OpenStack command line client. .. code-block:: console # openstack project create demo This command creates a project named "demo." Optionally, you can add a description string by appending :option:`--description tenant-description`, which can be very useful. You can also create a group in a disabled state by appending :option:`--disable` to the command. By default, projects are created in an enabled state.
================= Managing Projects ================= Users must be associated with at least one project, though they may belong to many. Therefore, you should add at least one project before adding users. Adding Projects ~~~~~~~~~~~~~~~ To create a project through the OpenStack dashboard: #. Log in as an administrative user. #. Select the :guilabel:`Identity` tab in the left navigation bar. #. Under Identity tab, click :guilabel:`Projects`. #. Click the :guilabel:`Create Project` button. You are prompted for a project name and an optional, but recommended, description. Select the checkbox at the bottom of the form to enable this project. By default, it is enabled, as shown in :ref:`figure_create_project`. .. _figure_create_project: .. figure:: figures/osog_0901.png :alt: Dashboard's Create Project form Figure Dashboard's Create Project form It is also possible to add project members and adjust the project quotas. We'll discuss those actions later, but in practice, it can be quite convenient to deal with all these operations at one time. To add a project through the command line, you must use the OpenStack command line client. .. code-block:: console # openstack project create demo This command creates a project named ``demo``. Optionally, you can add a description string by appending :option:`--description PROJECT_DESCRIPTION`, which can be very useful. You can also create a group in a disabled state by appending :option:`--disable` to the command. By default, projects are created in an enabled state.
Fix typos and enhance description
Fix typos and enhance description In section 'Adding Projects', 1) “demo.” below might need to be changed to '“demo”.', 2) 'tenant-description' might be better if changed to 'project-description' Change-Id: Ib7a96c86ae95c95563aa51e9c4241103c922676e Closes-bug: 1604670
reStructuredText
apache-2.0
openstack/openstack-manuals,AlekhyaMallina-Vedams/openstack-manuals,openstack/openstack-manuals,AlekhyaMallina-Vedams/openstack-manuals,openstack/openstack-manuals,AlekhyaMallina-Vedams/openstack-manuals,openstack/openstack-manuals
restructuredtext
## Code Before: ================= Managing Projects ================= Users must be associated with at least one project, though they may belong to many. Therefore, you should add at least one project before adding users. Adding Projects ~~~~~~~~~~~~~~~ To create a project through the OpenStack dashboard: #. Log in as an administrative user. #. Select the :guilabel:`Identity` tab in the left navigation bar. #. Under Identity tab, click :guilabel:`Projects`. #. Click the :guilabel:`Create Project` button. You are prompted for a project name and an optional, but recommended, description. Select the checkbox at the bottom of the form to enable this project. By default, it is enabled, as shown in :ref:`figure_create_project`. .. _figure_create_project: .. figure:: figures/osog_0901.png :alt: Dashboard's Create Project form Figure Dashboard's Create Project form It is also possible to add project members and adjust the project quotas. We'll discuss those actions later, but in practice, it can be quite convenient to deal with all these operations at one time. To add a project through the command line, you must use the OpenStack command line client. .. code-block:: console # openstack project create demo This command creates a project named "demo." Optionally, you can add a description string by appending :option:`--description tenant-description`, which can be very useful. You can also create a group in a disabled state by appending :option:`--disable` to the command. By default, projects are created in an enabled state. ## Instruction: Fix typos and enhance description In section 'Adding Projects', 1) “demo.” below might need to be changed to '“demo”.', 2) 'tenant-description' might be better if changed to 'project-description' Change-Id: Ib7a96c86ae95c95563aa51e9c4241103c922676e Closes-bug: 1604670 ## Code After: ================= Managing Projects ================= Users must be associated with at least one project, though they may belong to many. Therefore, you should add at least one project before adding users. Adding Projects ~~~~~~~~~~~~~~~ To create a project through the OpenStack dashboard: #. Log in as an administrative user. #. Select the :guilabel:`Identity` tab in the left navigation bar. #. Under Identity tab, click :guilabel:`Projects`. #. Click the :guilabel:`Create Project` button. You are prompted for a project name and an optional, but recommended, description. Select the checkbox at the bottom of the form to enable this project. By default, it is enabled, as shown in :ref:`figure_create_project`. .. _figure_create_project: .. figure:: figures/osog_0901.png :alt: Dashboard's Create Project form Figure Dashboard's Create Project form It is also possible to add project members and adjust the project quotas. We'll discuss those actions later, but in practice, it can be quite convenient to deal with all these operations at one time. To add a project through the command line, you must use the OpenStack command line client. .. code-block:: console # openstack project create demo This command creates a project named ``demo``. Optionally, you can add a description string by appending :option:`--description PROJECT_DESCRIPTION`, which can be very useful. You can also create a group in a disabled state by appending :option:`--disable` to the command. By default, projects are created in an enabled state.
06d9171b2244e4dd9d5e1883101d7ec3e05be4b2
bitfield/apps.py
bitfield/apps.py
from django.apps import AppConfig class BitFieldAppConfig(AppConfig): name = 'bitfield' verbose_name = "Bit Field"
import django from django.apps import AppConfig django.setup() class BitFieldAppConfig(AppConfig): name = 'bitfield' verbose_name = "Bit Field"
Add django.setup to the AppConfig
Add django.setup to the AppConfig
Python
apache-2.0
Elec/django-bitfield,disqus/django-bitfield,joshowen/django-bitfield
python
## Code Before: from django.apps import AppConfig class BitFieldAppConfig(AppConfig): name = 'bitfield' verbose_name = "Bit Field" ## Instruction: Add django.setup to the AppConfig ## Code After: import django from django.apps import AppConfig django.setup() class BitFieldAppConfig(AppConfig): name = 'bitfield' verbose_name = "Bit Field"
a76e5b8a199570e4b22c005ae5b380ebe74ff9d7
package.json
package.json
{ "name": "@cognigy/cognigy-client", "version": "0.0.1", "description": "The cognigy client can be used to connect to the cognigy brain from a server project.", "author": "Cognigy GmbH", "license": "MIT", "main": "index.js", "typings": "index.d.ts", "scripts": { "prepublish": "tsc", "build": "tsc" }, "repository": { "type": "git", "url": "https://github.com/Cognigy/CognigyClient.git" }, "dependencies": { "isomorphic-fetch": "^2.2.1", "socket.io-client": "^1.7.3" }, "devDependencies": { "@types/isomorphic-fetch": "0.0.33", "@types/socket.io-client": "^1.4.29", "typescript": "^2.2.2" } }
{ "name": "@cognigy/cognigy-client", "version": "0.0.3", "description": "The cognigy client can be used to connect to the cognigy brain from a server project.", "author": "Cognigy GmbH", "license": "MIT", "main": "index.js", "typings": "index.d.ts", "scripts": { "prepublish": "tsc", "build": "tsc" }, "repository": { "type": "git", "url": "https://github.com/Cognigy/CognigyClient.git" }, "dependencies": { "isomorphic-fetch": "^2.2.1", "socket.io-client": "^1.7.3", "@types/isomorphic-fetch": "0.0.33", "@types/socket.io-client": "^1.4.29" }, "devDependencies": { "typescript": "^2.2.2" } }
Add type-definitions to dependencies instead of devDependencies so the consumer project installs the types.
Add type-definitions to dependencies instead of devDependencies so the consumer project installs the types.
JSON
mit
Cognigy/CognigyClient
json
## Code Before: { "name": "@cognigy/cognigy-client", "version": "0.0.1", "description": "The cognigy client can be used to connect to the cognigy brain from a server project.", "author": "Cognigy GmbH", "license": "MIT", "main": "index.js", "typings": "index.d.ts", "scripts": { "prepublish": "tsc", "build": "tsc" }, "repository": { "type": "git", "url": "https://github.com/Cognigy/CognigyClient.git" }, "dependencies": { "isomorphic-fetch": "^2.2.1", "socket.io-client": "^1.7.3" }, "devDependencies": { "@types/isomorphic-fetch": "0.0.33", "@types/socket.io-client": "^1.4.29", "typescript": "^2.2.2" } } ## Instruction: Add type-definitions to dependencies instead of devDependencies so the consumer project installs the types. ## Code After: { "name": "@cognigy/cognigy-client", "version": "0.0.3", "description": "The cognigy client can be used to connect to the cognigy brain from a server project.", "author": "Cognigy GmbH", "license": "MIT", "main": "index.js", "typings": "index.d.ts", "scripts": { "prepublish": "tsc", "build": "tsc" }, "repository": { "type": "git", "url": "https://github.com/Cognigy/CognigyClient.git" }, "dependencies": { "isomorphic-fetch": "^2.2.1", "socket.io-client": "^1.7.3", "@types/isomorphic-fetch": "0.0.33", "@types/socket.io-client": "^1.4.29" }, "devDependencies": { "typescript": "^2.2.2" } }
3d0ca502c32f978847c20e815ac45dda58cf4f8e
app/views/search/_search_type_nav.html.haml
app/views/search/_search_type_nav.html.haml
%ul.search-type-nav.nav.nav-tabs %li{class: ('active' unless @type == "users"), role: "presentation"} = link_to search_path(q: @q, type: nil) do Scrapers %span.badge #{@unfiltered_scrapers_count} %li{class: ('active' if @type == "users"), role: "presentation"} = link_to search_path(q: @q, type: "users") do Users %span.badge #{@owners.total_count}
%ul.search-type-nav.nav.nav-tabs %li{class: ('active' unless @type == "users"), role: "presentation"} = link_to search_path(q: @q, show: @show, type: nil) do Scrapers %span.badge #{@unfiltered_scrapers_count} %li{class: ('active' if @type == "users"), role: "presentation"} = link_to search_path(q: @q, show: @show, type: "users") do Users %span.badge #{@owners.total_count}
Maintain filter settings when navigating types
Maintain filter settings when navigating types When your on the scrapers search results with 'all' selected on the filters, if you move to users results and back, 'all' should still be selected. Add the 'show' param to the type navigation links. Issue raised here https://github.com/openaustralia/morph/pull/727#issuecomment-102881128
Haml
agpl-3.0
openaustralia/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph
haml
## Code Before: %ul.search-type-nav.nav.nav-tabs %li{class: ('active' unless @type == "users"), role: "presentation"} = link_to search_path(q: @q, type: nil) do Scrapers %span.badge #{@unfiltered_scrapers_count} %li{class: ('active' if @type == "users"), role: "presentation"} = link_to search_path(q: @q, type: "users") do Users %span.badge #{@owners.total_count} ## Instruction: Maintain filter settings when navigating types When your on the scrapers search results with 'all' selected on the filters, if you move to users results and back, 'all' should still be selected. Add the 'show' param to the type navigation links. Issue raised here https://github.com/openaustralia/morph/pull/727#issuecomment-102881128 ## Code After: %ul.search-type-nav.nav.nav-tabs %li{class: ('active' unless @type == "users"), role: "presentation"} = link_to search_path(q: @q, show: @show, type: nil) do Scrapers %span.badge #{@unfiltered_scrapers_count} %li{class: ('active' if @type == "users"), role: "presentation"} = link_to search_path(q: @q, show: @show, type: "users") do Users %span.badge #{@owners.total_count}
02fd94b32f82ca6a42078550455d037177fd55ab
app/initializers/storage-service.js
app/initializers/storage-service.js
export function initialize(container, application) { application.inject('route', 'storage', 'service:storage'); application.inject('component', 'storage', 'service:storage'); } export default { name: 'storage-service', initialize: initialize };
export function initialize() { let application = arguments[1] || arguments[0]; application.inject('route', 'storage', 'service:storage'); application.inject('component', 'storage', 'service:storage'); } export default { name: 'storage-service', initialize: initialize };
Remove Ember 2.1 deprecation warning
Remove Ember 2.1 deprecation warning Updates the initializer to remove the deprecation warning in Ember 2.1 caused by having two arguments (container, application) in the initialize function. This uses the backwards compatible safe method described in the deprecation pages (http://emberjs.com/deprecations/v2.x/#toc_initializer-arity)
JavaScript
mit
jerel/ember-storage,jerel/ember-storage
javascript
## Code Before: export function initialize(container, application) { application.inject('route', 'storage', 'service:storage'); application.inject('component', 'storage', 'service:storage'); } export default { name: 'storage-service', initialize: initialize }; ## Instruction: Remove Ember 2.1 deprecation warning Updates the initializer to remove the deprecation warning in Ember 2.1 caused by having two arguments (container, application) in the initialize function. This uses the backwards compatible safe method described in the deprecation pages (http://emberjs.com/deprecations/v2.x/#toc_initializer-arity) ## Code After: export function initialize() { let application = arguments[1] || arguments[0]; application.inject('route', 'storage', 'service:storage'); application.inject('component', 'storage', 'service:storage'); } export default { name: 'storage-service', initialize: initialize };
56c5d78ce5e4cfc3c358029911bce9d15c0dba4c
nuxeo-cluster/docker-compose.yml
nuxeo-cluster/docker-compose.yml
web: build: apache ports: - "8080:80" links: - redis - nuxeo1 - nuxeo2 volumes: - ./deploy:/deploy:ro - ./logs:/logs:rw nuxeo1: build: nuxeo hostname: nuxeo1 links: - redis - es - db environment: distribution: lastbuild volumes: - ./deploy:/deploy:ro - ./share:/share:rw - ./logs:/logs:rw nuxeo2: build: nuxeo hostname: nuxeo2 links: - redis - es - db environment: distribution: lastbuild volumes: - ./deploy:/deploy:ro - ./share:/share:rw - ./logs:/logs:rw redis: image: redis:3.0.4 es: image: elasticsearch:2.3.5 db: build: postgresql
web: build: apache ports: - "8080:80" links: - redis - nuxeo1 - nuxeo2 volumes: - ./deploy:/deploy:ro - ./logs:/logs:rw nuxeo1: build: nuxeo hostname: nuxeo1 links: - redis - es - db environment: distribution: lastbuild volumes: - ./deploy:/deploy:ro - ./share:/share:rw - ./logs:/logs:rw nuxeo2: build: nuxeo hostname: nuxeo2 links: - redis - es - db environment: distribution: lastbuild volumes: - ./deploy:/deploy:ro - ./share:/share:rw - ./logs:/logs:rw redis: image: redis:4.0.1 es: image: docker.elastic.co/elasticsearch/elasticsearch:5.6.2 db: build: postgresql
Upgrade ES to 5.6.2 (+redis to 4.0.1)
NXBT-1917: Upgrade ES to 5.6.2 (+redis to 4.0.1)
YAML
lgpl-2.1
nuxeo/nuxeo-tools-docker,nuxeo/nuxeo-tools-docker
yaml
## Code Before: web: build: apache ports: - "8080:80" links: - redis - nuxeo1 - nuxeo2 volumes: - ./deploy:/deploy:ro - ./logs:/logs:rw nuxeo1: build: nuxeo hostname: nuxeo1 links: - redis - es - db environment: distribution: lastbuild volumes: - ./deploy:/deploy:ro - ./share:/share:rw - ./logs:/logs:rw nuxeo2: build: nuxeo hostname: nuxeo2 links: - redis - es - db environment: distribution: lastbuild volumes: - ./deploy:/deploy:ro - ./share:/share:rw - ./logs:/logs:rw redis: image: redis:3.0.4 es: image: elasticsearch:2.3.5 db: build: postgresql ## Instruction: NXBT-1917: Upgrade ES to 5.6.2 (+redis to 4.0.1) ## Code After: web: build: apache ports: - "8080:80" links: - redis - nuxeo1 - nuxeo2 volumes: - ./deploy:/deploy:ro - ./logs:/logs:rw nuxeo1: build: nuxeo hostname: nuxeo1 links: - redis - es - db environment: distribution: lastbuild volumes: - ./deploy:/deploy:ro - ./share:/share:rw - ./logs:/logs:rw nuxeo2: build: nuxeo hostname: nuxeo2 links: - redis - es - db environment: distribution: lastbuild volumes: - ./deploy:/deploy:ro - ./share:/share:rw - ./logs:/logs:rw redis: image: redis:4.0.1 es: image: docker.elastic.co/elasticsearch/elasticsearch:5.6.2 db: build: postgresql
2aa7c1ad50ece6de98c226f7267cde63f563bda9
client/mobile/utils/environment.js
client/mobile/utils/environment.js
var environments = { devLocal: {server:'http://localhost', port:3000}, devDocker: {server:'http://192.168.99.100', port:3000}, devDeployed: {server:'http://45.55.171.230', port:3000}, production: {server:'http://45.55.134.204', port:3000} } module.exports = environments.devLocal;
var environments = { devLocal: {server:'http://localhost', port:3000}, devDocker: {server:'http://192.168.99.100', port:3000}, devDeployed: {server:'http://45.55.171.230', port:3000}, production: {server:'http://45.55.204.109', port:3000} } module.exports = environments.production;
Add new production IP address
Add new production IP address
JavaScript
mit
shanemcgraw/thumbroll,Jakeyrob/thumbroll,shanemcgraw/thumbroll,shanemcgraw/thumbroll,absurdSquid/thumbroll,Jakeyrob/thumbroll,Jakeyrob/thumbroll,absurdSquid/thumbroll
javascript
## Code Before: var environments = { devLocal: {server:'http://localhost', port:3000}, devDocker: {server:'http://192.168.99.100', port:3000}, devDeployed: {server:'http://45.55.171.230', port:3000}, production: {server:'http://45.55.134.204', port:3000} } module.exports = environments.devLocal; ## Instruction: Add new production IP address ## Code After: var environments = { devLocal: {server:'http://localhost', port:3000}, devDocker: {server:'http://192.168.99.100', port:3000}, devDeployed: {server:'http://45.55.171.230', port:3000}, production: {server:'http://45.55.204.109', port:3000} } module.exports = environments.production;
a7a1d513003a65c5c9772ba75631247decff444d
utils/utils.py
utils/utils.py
from django.core.paginator import Paginator, EmptyPage, InvalidPage from django.contrib.syndication.views import add_domain from django.contrib.sites.models import get_current_site def get_site_url(request, path): current_site = get_current_site(request) return add_domain(current_site.domain, path, request.is_secure()) def do_paging(request, queryset): paginator = Paginator(queryset, 25) # Make sure page request is an int. If not, deliver first page. try: page = int(request.GET.get('page', '1')) except ValueError: page = 1 # If page request (9999) is out of range, deliver last page of results. try: objects = paginator.page(page) except (EmptyPage, InvalidPage): objects = paginator.page(paginator.num_pages) return objects
from django.core.paginator import Paginator, EmptyPage, InvalidPage from django.contrib.syndication.views import add_domain from django.contrib.sites.models import get_current_site def get_site_url(request, path): """Retrieve current site site Always returns as http (never https) """ current_site = get_current_site(request) site_url = add_domain(current_site.domain, path, request.is_secure()) return site_url.replace('https', 'http') def do_paging(request, queryset): paginator = Paginator(queryset, 25) # Make sure page request is an int. If not, deliver first page. try: page = int(request.GET.get('page', '1')) except ValueError: page = 1 # If page request (9999) is out of range, deliver last page of results. try: objects = paginator.page(page) except (EmptyPage, InvalidPage): objects = paginator.page(paginator.num_pages) return objects
Make site url be http, not https
Make site url be http, not https
Python
bsd-3-clause
uq-eresearch/uqam,uq-eresearch/uqam,uq-eresearch/uqam,uq-eresearch/uqam
python
## Code Before: from django.core.paginator import Paginator, EmptyPage, InvalidPage from django.contrib.syndication.views import add_domain from django.contrib.sites.models import get_current_site def get_site_url(request, path): current_site = get_current_site(request) return add_domain(current_site.domain, path, request.is_secure()) def do_paging(request, queryset): paginator = Paginator(queryset, 25) # Make sure page request is an int. If not, deliver first page. try: page = int(request.GET.get('page', '1')) except ValueError: page = 1 # If page request (9999) is out of range, deliver last page of results. try: objects = paginator.page(page) except (EmptyPage, InvalidPage): objects = paginator.page(paginator.num_pages) return objects ## Instruction: Make site url be http, not https ## Code After: from django.core.paginator import Paginator, EmptyPage, InvalidPage from django.contrib.syndication.views import add_domain from django.contrib.sites.models import get_current_site def get_site_url(request, path): """Retrieve current site site Always returns as http (never https) """ current_site = get_current_site(request) site_url = add_domain(current_site.domain, path, request.is_secure()) return site_url.replace('https', 'http') def do_paging(request, queryset): paginator = Paginator(queryset, 25) # Make sure page request is an int. If not, deliver first page. try: page = int(request.GET.get('page', '1')) except ValueError: page = 1 # If page request (9999) is out of range, deliver last page of results. try: objects = paginator.page(page) except (EmptyPage, InvalidPage): objects = paginator.page(paginator.num_pages) return objects
d29e87eeb062df4d52c0c744919be4cae770fc2c
testing/config/settings/__init__.py
testing/config/settings/__init__.py
from daiquiri.core.settings.django import * from daiquiri.core.settings.celery import * from daiquiri.core.settings.daiquiri import * from daiquiri.core.settings.logging import * from daiquiri.core.settings.vendor import * from daiquiri.archive.settings import * from daiquiri.auth.settings import * from daiquiri.conesearch.settings import * from daiquiri.cutout.settings import * from daiquiri.files.settings import * from daiquiri.meetings.settings import * from daiquiri.metadata.settings import * from daiquiri.oai.settings import * from daiquiri.query.settings import * from daiquiri.serve.settings import * from daiquiri.stats.settings import * from daiquiri.tap.settings import * from daiquiri.wordpress.settings import * # override settings from base.py (which is checked in to git) try: from .base import * except ImportError: pass # override settings from local.py (which is not checked in to git) try: from .local import * except ImportError: pass
from daiquiri.core.settings.django import * from daiquiri.core.settings.celery import * from daiquiri.core.settings.daiquiri import * from daiquiri.core.settings.logging import * from daiquiri.core.settings.vendor import * from daiquiri.archive.settings import * from daiquiri.auth.settings import * from daiquiri.conesearch.settings import * from daiquiri.cutout.settings import * from daiquiri.files.settings import * from daiquiri.meetings.settings import * from daiquiri.metadata.settings import * from daiquiri.oai.settings import * from daiquiri.query.settings import * from daiquiri.registry.settings import * from daiquiri.serve.settings import * from daiquiri.stats.settings import * from daiquiri.tap.settings import * from daiquiri.wordpress.settings import * # override settings from base.py (which is checked in to git) try: from .base import * except ImportError: pass # override settings from local.py (which is not checked in to git) try: from .local import * except ImportError: pass
Add registry settings to testing
Add registry settings to testing
Python
apache-2.0
aipescience/django-daiquiri,aipescience/django-daiquiri,aipescience/django-daiquiri
python
## Code Before: from daiquiri.core.settings.django import * from daiquiri.core.settings.celery import * from daiquiri.core.settings.daiquiri import * from daiquiri.core.settings.logging import * from daiquiri.core.settings.vendor import * from daiquiri.archive.settings import * from daiquiri.auth.settings import * from daiquiri.conesearch.settings import * from daiquiri.cutout.settings import * from daiquiri.files.settings import * from daiquiri.meetings.settings import * from daiquiri.metadata.settings import * from daiquiri.oai.settings import * from daiquiri.query.settings import * from daiquiri.serve.settings import * from daiquiri.stats.settings import * from daiquiri.tap.settings import * from daiquiri.wordpress.settings import * # override settings from base.py (which is checked in to git) try: from .base import * except ImportError: pass # override settings from local.py (which is not checked in to git) try: from .local import * except ImportError: pass ## Instruction: Add registry settings to testing ## Code After: from daiquiri.core.settings.django import * from daiquiri.core.settings.celery import * from daiquiri.core.settings.daiquiri import * from daiquiri.core.settings.logging import * from daiquiri.core.settings.vendor import * from daiquiri.archive.settings import * from daiquiri.auth.settings import * from daiquiri.conesearch.settings import * from daiquiri.cutout.settings import * from daiquiri.files.settings import * from daiquiri.meetings.settings import * from daiquiri.metadata.settings import * from daiquiri.oai.settings import * from daiquiri.query.settings import * from daiquiri.registry.settings import * from daiquiri.serve.settings import * from daiquiri.stats.settings import * from daiquiri.tap.settings import * from daiquiri.wordpress.settings import * # override settings from base.py (which is checked in to git) try: from .base import * except ImportError: pass # override settings from local.py (which is not checked in to git) try: from .local import * except ImportError: pass
a903ac0eaa54cea58c8e6dd0bc4078b9ddd4283f
lib/pomo/task.rb
lib/pomo/task.rb
module Pomo class Task #-- # Mixins #++ include Growl ## # Task name. attr_accessor :name ## # Length in minutes. attr_accessor :length ## # Verbose task description. attr_accessor :description ## # Task completion bool. attr_accessor :complete ## # Initialize with _name_ and _options_. def initialize name = nil, options = {} @name = name or raise '<task> required' @description = options.delete :description @length = options.fetch :length, 25 @complete = false end ## # Quoted task name. def to_s name.inspect end ## # Check if the task has been completed. def complete? complete end ## # Start timing the task. def start complete_message = "time is up! hope you are finished #{self}" progress (0..length).to_a.reverse, :format => "(:progress_bar) :remaining minutes remaining", :complete_message => complete_message do |remaining| if remaining == length / 2 notify_info "#{remaining} minutes remaining, half way there!" elsif remaining == 5 notify_info "5 minutes remaining" end sleep 60 { :remaining => remaining } end @complete = true notify_warning complete_message end end end
module Pomo class Task #-- # Mixins #++ include Growl ## # Task name. attr_accessor :name ## # Length in minutes. attr_accessor :length ## # Verbose task description. attr_accessor :description ## # Task completion bool. attr_accessor :complete ## # Initialize with _name_ and _options_. def initialize name = nil, options = {} @name = name or raise '<task> required' @description = options.delete :description @length = options.fetch :length, 25 @complete = false end ## # Quoted task name. def to_s name.inspect end ## # Check if the task has been completed. def complete? complete end ## # Start timing the task. def start complete_message = "time is up! hope you are finished #{self}" format_message = "(:progress_bar) :remaining minutes remaining" progress (0..length).to_a.reverse, :format => format_message, :tokens => { :remaining => length }, :complete_message => complete_message do |remaining| if remaining == length / 2 notify_info "#{remaining} minutes remaining, half way there!" elsif remaining == 5 notify_info "5 minutes remaining" end sleep 60 { :remaining => remaining } end @complete = true notify_warning complete_message end end end
Prepare progress bar for immediate printing. (A change to my commander lib).
Prepare progress bar for immediate printing. (A change to my commander lib).
Ruby
mit
tj/pomo,totzyuta/pomo
ruby
## Code Before: module Pomo class Task #-- # Mixins #++ include Growl ## # Task name. attr_accessor :name ## # Length in minutes. attr_accessor :length ## # Verbose task description. attr_accessor :description ## # Task completion bool. attr_accessor :complete ## # Initialize with _name_ and _options_. def initialize name = nil, options = {} @name = name or raise '<task> required' @description = options.delete :description @length = options.fetch :length, 25 @complete = false end ## # Quoted task name. def to_s name.inspect end ## # Check if the task has been completed. def complete? complete end ## # Start timing the task. def start complete_message = "time is up! hope you are finished #{self}" progress (0..length).to_a.reverse, :format => "(:progress_bar) :remaining minutes remaining", :complete_message => complete_message do |remaining| if remaining == length / 2 notify_info "#{remaining} minutes remaining, half way there!" elsif remaining == 5 notify_info "5 minutes remaining" end sleep 60 { :remaining => remaining } end @complete = true notify_warning complete_message end end end ## Instruction: Prepare progress bar for immediate printing. (A change to my commander lib). ## Code After: module Pomo class Task #-- # Mixins #++ include Growl ## # Task name. attr_accessor :name ## # Length in minutes. attr_accessor :length ## # Verbose task description. attr_accessor :description ## # Task completion bool. attr_accessor :complete ## # Initialize with _name_ and _options_. def initialize name = nil, options = {} @name = name or raise '<task> required' @description = options.delete :description @length = options.fetch :length, 25 @complete = false end ## # Quoted task name. def to_s name.inspect end ## # Check if the task has been completed. def complete? complete end ## # Start timing the task. def start complete_message = "time is up! hope you are finished #{self}" format_message = "(:progress_bar) :remaining minutes remaining" progress (0..length).to_a.reverse, :format => format_message, :tokens => { :remaining => length }, :complete_message => complete_message do |remaining| if remaining == length / 2 notify_info "#{remaining} minutes remaining, half way there!" elsif remaining == 5 notify_info "5 minutes remaining" end sleep 60 { :remaining => remaining } end @complete = true notify_warning complete_message end end end
906247c6431b85c90f8aec8a7f4f73f1064abeba
mezzanine/pages/urls.py
mezzanine/pages/urls.py
from django.conf.urls.defaults import patterns, url # Page patterns. urlpatterns = patterns("mezzanine.pages.views", url("^admin_page_ordering/$", "admin_page_ordering", name="admin_page_ordering"), url("^(?P<slug>.*)/$", "page", name="page"), )
from django.conf.urls.defaults import patterns, url from django.conf import settings # Page patterns. urlpatterns = patterns("mezzanine.pages.views", url("^admin_page_ordering/$", "admin_page_ordering", name="admin_page_ordering"), url("^(?P<slug>.*)" + ("/" if settings.APPEND_SLASH else "") + "$", "page", name="page"), )
Use Page URLs without trailing slash when settings.APPEND_SLASH is False
Use Page URLs without trailing slash when settings.APPEND_SLASH is False
Python
bsd-2-clause
biomassives/mezzanine,AlexHill/mezzanine,spookylukey/mezzanine,frankchin/mezzanine,saintbird/mezzanine,adrian-the-git/mezzanine,jjz/mezzanine,agepoly/mezzanine,geodesign/mezzanine,jerivas/mezzanine,saintbird/mezzanine,wyzex/mezzanine,Skytorn86/mezzanine,industrydive/mezzanine,ryneeverett/mezzanine,eino-makitalo/mezzanine,theclanks/mezzanine,mush42/mezzanine,tuxinhang1989/mezzanine,orlenko/sfpirg,sjuxax/mezzanine,theclanks/mezzanine,mush42/mezzanine,orlenko/plei,orlenko/plei,frankier/mezzanine,molokov/mezzanine,dustinrb/mezzanine,Skytorn86/mezzanine,promil23/mezzanine,wrwrwr/mezzanine,dekomote/mezzanine-modeltranslation-backport,viaregio/mezzanine,stephenmcd/mezzanine,biomassives/mezzanine,ZeroXn/mezzanine,promil23/mezzanine,tuxinhang1989/mezzanine,dovydas/mezzanine,stephenmcd/mezzanine,nikolas/mezzanine,christianwgd/mezzanine,promil23/mezzanine,eino-makitalo/mezzanine,theclanks/mezzanine,orlenko/plei,sjdines/mezzanine,wbtuomela/mezzanine,jerivas/mezzanine,wbtuomela/mezzanine,wrwrwr/mezzanine,Cajoline/mezzanine,sjuxax/mezzanine,frankchin/mezzanine,SoLoHiC/mezzanine,scarcry/snm-mezzanine,AlexHill/mezzanine,Kniyl/mezzanine,gbosh/mezzanine,batpad/mezzanine,molokov/mezzanine,orlenko/sfpirg,readevalprint/mezzanine,webounty/mezzanine,molokov/mezzanine,Skytorn86/mezzanine,sjdines/mezzanine,sjuxax/mezzanine,SoLoHiC/mezzanine,douglaskastle/mezzanine,fusionbox/mezzanine,ryneeverett/mezzanine,Kniyl/mezzanine,christianwgd/mezzanine,wyzex/mezzanine,emile2016/mezzanine,scarcry/snm-mezzanine,readevalprint/mezzanine,douglaskastle/mezzanine,joshcartme/mezzanine,damnfine/mezzanine,gradel/mezzanine,Cicero-Zhao/mezzanine,cccs-web/mezzanine,damnfine/mezzanine,damnfine/mezzanine,wyzex/mezzanine,dovydas/mezzanine,webounty/mezzanine,Cajoline/mezzanine,vladir/mezzanine,frankier/mezzanine,douglaskastle/mezzanine,Kniyl/mezzanine,dustinrb/mezzanine,orlenko/sfpirg,PegasusWang/mezzanine,dovydas/mezzanine,emile2016/mezzanine,sjdines/mezzanine,SoLoHiC/mezzanine,emile2016/mezzanine,jjz/mezzanine,readevalprint/mezzanine,gbosh/mezzanine,wbtuomela/mezzanine,agepoly/mezzanine,Cicero-Zhao/mezzanine,fusionbox/mezzanine,stbarnabas/mezzanine,ZeroXn/mezzanine,webounty/mezzanine,viaregio/mezzanine,dsanders11/mezzanine,scarcry/snm-mezzanine,eino-makitalo/mezzanine,adrian-the-git/mezzanine,nikolas/mezzanine,jerivas/mezzanine,dekomote/mezzanine-modeltranslation-backport,geodesign/mezzanine,Cajoline/mezzanine,ryneeverett/mezzanine,frankier/mezzanine,joshcartme/mezzanine,vladir/mezzanine,stbarnabas/mezzanine,mush42/mezzanine,dustinrb/mezzanine,jjz/mezzanine,PegasusWang/mezzanine,frankchin/mezzanine,dekomote/mezzanine-modeltranslation-backport,gradel/mezzanine,tuxinhang1989/mezzanine,saintbird/mezzanine,viaregio/mezzanine,spookylukey/mezzanine,nikolas/mezzanine,industrydive/mezzanine,PegasusWang/mezzanine,joshcartme/mezzanine,agepoly/mezzanine,gradel/mezzanine,stephenmcd/mezzanine,geodesign/mezzanine,adrian-the-git/mezzanine,biomassives/mezzanine,industrydive/mezzanine,cccs-web/mezzanine,vladir/mezzanine,batpad/mezzanine,dsanders11/mezzanine,gbosh/mezzanine,ZeroXn/mezzanine,spookylukey/mezzanine,christianwgd/mezzanine,dsanders11/mezzanine
python
## Code Before: from django.conf.urls.defaults import patterns, url # Page patterns. urlpatterns = patterns("mezzanine.pages.views", url("^admin_page_ordering/$", "admin_page_ordering", name="admin_page_ordering"), url("^(?P<slug>.*)/$", "page", name="page"), ) ## Instruction: Use Page URLs without trailing slash when settings.APPEND_SLASH is False ## Code After: from django.conf.urls.defaults import patterns, url from django.conf import settings # Page patterns. urlpatterns = patterns("mezzanine.pages.views", url("^admin_page_ordering/$", "admin_page_ordering", name="admin_page_ordering"), url("^(?P<slug>.*)" + ("/" if settings.APPEND_SLASH else "") + "$", "page", name="page"), )
525e580d44a4f27accba27b7650e4d78e70f302d
src/List/ListItem.js
src/List/ListItem.js
import classNames from 'classnames'; import React, {PropTypes} from 'react'; import Util from '../Util/Util'; const CSSTransitionGroup = React.addons.CSSTransitionGroup; export default class ListItem extends React.Component { render() { let defaultClass = ListItem.defaultProps.className; let classes = classNames(this.props.className, defaultClass); let Tag = this.props.tag; // Uses all passed properties as attributes, excluding propTypes let attributes = Util.exclude(this.props, Object.keys(ListItem.propTypes)) || {}; if (attributes.transition) { return ( <CSSTransitionGroup {...attributes} className={classes} component={this.props.tag}> {this.props.children} </CSSTransitionGroup> ); } return ( <Tag {...attributes} className={classes}> {this.props.children} </Tag> ); } } ListItem.defaultProps = { className: 'list-item', tag: 'li' }; ListItem.propTypes = { children: PropTypes.node, className: PropTypes.string, tag: PropTypes.string };
import React, {PropTypes} from 'react'; import Util from '../Util/Util'; const CSSTransitionGroup = React.addons.CSSTransitionGroup; export default class ListItem extends React.Component { render() { let Tag = this.props.tag; // Uses all passed properties as attributes, excluding propTypes let attributes = Util.exclude(this.props, Object.keys(ListItem.propTypes)) || {}; if (attributes.transition) { return ( <CSSTransitionGroup {...attributes} className={this.props.className} component={this.props.tag}> {this.props.children} </CSSTransitionGroup> ); } return ( <Tag {...attributes} className={this.props.className}> {this.props.children} </Tag> ); } } ListItem.defaultProps = { className: 'list-item', tag: 'li' }; ListItem.propTypes = { children: PropTypes.node, className: PropTypes.string, tag: PropTypes.string };
Fix duplicated classnames being applied to list items
Fix duplicated classnames being applied to list items
JavaScript
apache-2.0
mesosphere/reactjs-components,mesosphere/reactjs-components
javascript
## Code Before: import classNames from 'classnames'; import React, {PropTypes} from 'react'; import Util from '../Util/Util'; const CSSTransitionGroup = React.addons.CSSTransitionGroup; export default class ListItem extends React.Component { render() { let defaultClass = ListItem.defaultProps.className; let classes = classNames(this.props.className, defaultClass); let Tag = this.props.tag; // Uses all passed properties as attributes, excluding propTypes let attributes = Util.exclude(this.props, Object.keys(ListItem.propTypes)) || {}; if (attributes.transition) { return ( <CSSTransitionGroup {...attributes} className={classes} component={this.props.tag}> {this.props.children} </CSSTransitionGroup> ); } return ( <Tag {...attributes} className={classes}> {this.props.children} </Tag> ); } } ListItem.defaultProps = { className: 'list-item', tag: 'li' }; ListItem.propTypes = { children: PropTypes.node, className: PropTypes.string, tag: PropTypes.string }; ## Instruction: Fix duplicated classnames being applied to list items ## Code After: import React, {PropTypes} from 'react'; import Util from '../Util/Util'; const CSSTransitionGroup = React.addons.CSSTransitionGroup; export default class ListItem extends React.Component { render() { let Tag = this.props.tag; // Uses all passed properties as attributes, excluding propTypes let attributes = Util.exclude(this.props, Object.keys(ListItem.propTypes)) || {}; if (attributes.transition) { return ( <CSSTransitionGroup {...attributes} className={this.props.className} component={this.props.tag}> {this.props.children} </CSSTransitionGroup> ); } return ( <Tag {...attributes} className={this.props.className}> {this.props.children} </Tag> ); } } ListItem.defaultProps = { className: 'list-item', tag: 'li' }; ListItem.propTypes = { children: PropTypes.node, className: PropTypes.string, tag: PropTypes.string };
8a8094f935c926ff739459053fa8155909923bf3
simplesamlphp/simplesamlphp/CVE-2016-3124.yaml
simplesamlphp/simplesamlphp/CVE-2016-3124.yaml
title: Information leakage issue in the sanitycheck module link: https://simplesamlphp.org/security/201603-01 cve: CVE-2016-3124 branches: master: time: 2016-03-07 13:04:57 versions: ['<=1.14.1'] 1.14: time: 2016-03-07 13:06:15 versions: ['<=1.14.1'] reference: composer://simplesamlphp/simplesamlphp
title: Information leakage issue in the sanitycheck module link: https://simplesamlphp.org/security/201603-01 cve: CVE-2016-3124 branches: master: time: 2016-03-07 13:04:57 versions: ['<=1.14.1'] reference: composer://simplesamlphp/simplesamlphp
Remove the 1.14 branch, not really needed.
Remove the 1.14 branch, not really needed.
YAML
unlicense
FriendsOfSilverStripe/security-advisories,markstory/security-advisories,Ocramius/security-advisories,FriendsOfPHP/security-advisories,kdambekalns/security-advisories,marcomenzel/security-advisories
yaml
## Code Before: title: Information leakage issue in the sanitycheck module link: https://simplesamlphp.org/security/201603-01 cve: CVE-2016-3124 branches: master: time: 2016-03-07 13:04:57 versions: ['<=1.14.1'] 1.14: time: 2016-03-07 13:06:15 versions: ['<=1.14.1'] reference: composer://simplesamlphp/simplesamlphp ## Instruction: Remove the 1.14 branch, not really needed. ## Code After: title: Information leakage issue in the sanitycheck module link: https://simplesamlphp.org/security/201603-01 cve: CVE-2016-3124 branches: master: time: 2016-03-07 13:04:57 versions: ['<=1.14.1'] reference: composer://simplesamlphp/simplesamlphp
496975c9986ef7fc4272a54e3060aa584ea4ee64
README.md
README.md
In January 2014 Github Team [announced Deployments API](http://developer.github.com/changes/2014-01-09-preview-the-new-deployments-api/) and you can use it with Capistrano 3. ## Installation Add this line to your application's Gemfile: gem 'capistrano-github' gem 'octokit', github: 'octokit/octokit.rb', branch: 'deployments-preview' And then execute: $ bundle Require github tasks and set `github_access_token`: ```ruby # Capfile require 'capistrano/github' ``` ```ruby # deploy.rb set :github_access_token, '89c3be3d1f917b6ccf5e2c141dbc403f57bc140c' ``` You can get your personal GH token [here](https://github.com/settings/applications) ## Usage New deployment record will be created automatically on each `cap deploy` run. To see the list of deployments, execute ```bash cap production github:deployments ``` ## Contributing 1. Fork it ( http://github.com/<my-github-username>/capistrano-github/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
In January 2014 Github Team [announced Deployments API](http://developer.github.com/changes/2014-01-09-preview-the-new-deployments-api/) and you can use it with Capistrano 3. ## Installation Add this line to your application's Gemfile: gem 'capistrano-github', github: 'capistrano/github' gem 'octokit', github: 'octokit/octokit.rb', branch: 'deployments-preview' And then execute: $ bundle Require github tasks and set `github_access_token`: ```ruby # Capfile require 'capistrano/github' ``` ```ruby # deploy.rb set :github_access_token, '89c3be3d1f917b6ccf5e2c141dbc403f57bc140c' ``` You can get your personal GH token [here](https://github.com/settings/applications) ## Usage New deployment record will be created automatically on each `cap deploy` run. To see the list of deployments, execute ```bash cap production github:deployments ``` ## Contributing 1. Fork it ( http://github.com/<my-github-username>/capistrano-github/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Update the Readme to use Github repo.
Update the Readme to use Github repo.
Markdown
mit
3scale/capistrano-github,net2b/capistrano-github,tjwallace/github,capistrano/github
markdown
## Code Before: In January 2014 Github Team [announced Deployments API](http://developer.github.com/changes/2014-01-09-preview-the-new-deployments-api/) and you can use it with Capistrano 3. ## Installation Add this line to your application's Gemfile: gem 'capistrano-github' gem 'octokit', github: 'octokit/octokit.rb', branch: 'deployments-preview' And then execute: $ bundle Require github tasks and set `github_access_token`: ```ruby # Capfile require 'capistrano/github' ``` ```ruby # deploy.rb set :github_access_token, '89c3be3d1f917b6ccf5e2c141dbc403f57bc140c' ``` You can get your personal GH token [here](https://github.com/settings/applications) ## Usage New deployment record will be created automatically on each `cap deploy` run. To see the list of deployments, execute ```bash cap production github:deployments ``` ## Contributing 1. Fork it ( http://github.com/<my-github-username>/capistrano-github/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request ## Instruction: Update the Readme to use Github repo. ## Code After: In January 2014 Github Team [announced Deployments API](http://developer.github.com/changes/2014-01-09-preview-the-new-deployments-api/) and you can use it with Capistrano 3. ## Installation Add this line to your application's Gemfile: gem 'capistrano-github', github: 'capistrano/github' gem 'octokit', github: 'octokit/octokit.rb', branch: 'deployments-preview' And then execute: $ bundle Require github tasks and set `github_access_token`: ```ruby # Capfile require 'capistrano/github' ``` ```ruby # deploy.rb set :github_access_token, '89c3be3d1f917b6ccf5e2c141dbc403f57bc140c' ``` You can get your personal GH token [here](https://github.com/settings/applications) ## Usage New deployment record will be created automatically on each `cap deploy` run. To see the list of deployments, execute ```bash cap production github:deployments ``` ## Contributing 1. Fork it ( http://github.com/<my-github-username>/capistrano-github/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
d63a2695a603cf09cbec6fa44df04dc5107c24c3
examples/blog/pages/2015-05-06-my-second-post/index.md
examples/blog/pages/2015-05-06-my-second-post/index.md
--- title: My Second Post! date: "2015-05-06T23:46:37.121Z" layout: post readNext: "/hi-folks/" path: "/my-second-post/" --- Wow! I love blogging so much already. Did you know that "despite its name, salted duck eggs can also be made from chicken eggs, though the taste and texture will be somewhat different, and the egg yolk will be less rich."? Yeah, I didn't either.
--- title: My Second Post! date: "2015-05-06T23:46:37.121Z" layout: post readNext: "/hi-folks/" path: "/my-second-post/" --- Wow! I love blogging so much already. Did you know that "despite its name, salted duck eggs can also be made from chicken eggs, though the taste and texture will be somewhat different, and the egg yolk will be less rich."? ([Wikipedia Link](http://en.wikipedia.org/wiki/Salted_duck_egg)) Yeah, I didn't either.
Tweak wording on the fake blog post
Tweak wording on the fake blog post
Markdown
mit
Khaledgarbaya/gatsby,okcoker/gatsby,ChristopherBiscardi/gatsby,gesposito/gatsby,gatsbyjs/gatsby,danielfarrell/gatsby,Khaledgarbaya/gatsby,fk/gatsby,gatsbyjs/gatsby,rothfels/gatsby,danielfarrell/gatsby,okcoker/gatsby,0x80/gatsby,gatsbyjs/gatsby,fson/gatsby,mingaldrichgan/gatsby,mingaldrichgan/gatsby,HaQadosch/gatsby,0x80/gatsby,chiedo/gatsby,mickeyreiss/gatsby,fabrictech/gatsby,bzero/gatsby,fabrictech/gatsby,mickeyreiss/gatsby,mickeyreiss/gatsby,okcoker/gatsby,alihalabyah/gatsby,shaunstanislaus/gatsby,fk/gatsby,Syncano/gatsby,fabrictech/gatsby,eriknyk/gatsby,domenicosolazzo/gatsby,aliswodeck/gatsby,kidaa/gatsby,MoOx/gatsby,gatsbyjs/gatsby,brianjking/gatsby,ChristopherBiscardi/gatsby,chiedo/gatsby,gesposito/gatsby,MariusCC/gatsby,chiedo/gatsby,mingaldrichgan/gatsby,danielfarrell/gatsby,Khaledgarbaya/gatsby,gatsbyjs/gatsby,ChristopherBiscardi/gatsby,lanastasov/gatsby,ChristopherBiscardi/gatsby,0x80/gatsby,rothfels/gatsby,gatsbyjs/gatsby,fk/gatsby
markdown
## Code Before: --- title: My Second Post! date: "2015-05-06T23:46:37.121Z" layout: post readNext: "/hi-folks/" path: "/my-second-post/" --- Wow! I love blogging so much already. Did you know that "despite its name, salted duck eggs can also be made from chicken eggs, though the taste and texture will be somewhat different, and the egg yolk will be less rich."? Yeah, I didn't either. ## Instruction: Tweak wording on the fake blog post ## Code After: --- title: My Second Post! date: "2015-05-06T23:46:37.121Z" layout: post readNext: "/hi-folks/" path: "/my-second-post/" --- Wow! I love blogging so much already. Did you know that "despite its name, salted duck eggs can also be made from chicken eggs, though the taste and texture will be somewhat different, and the egg yolk will be less rich."? ([Wikipedia Link](http://en.wikipedia.org/wiki/Salted_duck_egg)) Yeah, I didn't either.
d9cc135578fe736adb5fc3d407ae3ea94a76b066
tests/router.js
tests/router.js
"use strict"; var Router = require("../router"); exports.testValidAcceptHeader = function (test) { var results = Router.prototype._parseAcceptHeader("application/json"); test.deepEqual([{ "type": "application", "subtype": "json", "params": {} }], results); test.done(); };
"use strict"; var Router = require("../router"); exports.testValidAcceptHeader = function (test) { var results = Router.prototype._parseAcceptHeader("application/json"); test.deepEqual([{ "type": "application", "subtype": "json", "params": {} }], results); test.done(); }; exports.testValidAcceptHeaderWithParams = function (test) { var results = Router.prototype._parseAcceptHeader("application/json;q=3;v=1"); test.deepEqual([{ "type": "application", "subtype": "json", "params": { "q": "3", "v": "1" } }], results); test.done(); };
Add test for media type w/ params
Add test for media type w/ params
JavaScript
isc
whymarrh/mattress
javascript
## Code Before: "use strict"; var Router = require("../router"); exports.testValidAcceptHeader = function (test) { var results = Router.prototype._parseAcceptHeader("application/json"); test.deepEqual([{ "type": "application", "subtype": "json", "params": {} }], results); test.done(); }; ## Instruction: Add test for media type w/ params ## Code After: "use strict"; var Router = require("../router"); exports.testValidAcceptHeader = function (test) { var results = Router.prototype._parseAcceptHeader("application/json"); test.deepEqual([{ "type": "application", "subtype": "json", "params": {} }], results); test.done(); }; exports.testValidAcceptHeaderWithParams = function (test) { var results = Router.prototype._parseAcceptHeader("application/json;q=3;v=1"); test.deepEqual([{ "type": "application", "subtype": "json", "params": { "q": "3", "v": "1" } }], results); test.done(); };
2b229fa7aa43f01d957c56bc60f48a6ec8cbdc57
addons/account/static/src/xml/account.xml
addons/account/static/src/xml/account.xml
<?xml version="1.0" encoding="UTF-8"?> <!-- vim:fdl=1: --> <templates id="template" xml:space="preserve"> <t t-extend="ViewManager"> <t t-jquery=".oe-view-manager-header" t-operation="before"> </t> </t> </templates>
<?xml version="1.0" encoding="UTF-8"?> <!-- vim:fdl=1: --> <templates id="template" xml:space="preserve"> <t t-extend="ViewManagerAction"> <t t-jquery=".oe_view_manager_header" t-operation="after"> <div class='.oe_extended_form_view'></div> </t> </t> </templates>
Extend ViewManagerAction to add fromview
[IMP] Extend ViewManagerAction to add fromview bzr revid: rgaopenerp-20120611092619-6l8h7atm43fimeg6
XML
agpl-3.0
stephen144/odoo,frouty/odoo_oph,gavin-feng/odoo,tinkerthaler/odoo,nexiles/odoo,ChanduERP/odoo,rubencabrera/odoo,synconics/odoo,storm-computers/odoo,rschnapka/odoo,Eric-Zhong/odoo,microcom/odoo,BT-astauder/odoo,bguillot/OpenUpgrade,alexcuellar/odoo,factorlibre/OCB,microcom/odoo,leorochael/odoo,srimai/odoo,FlorianLudwig/odoo,frouty/odoogoeen,goliveirab/odoo,diagramsoftware/odoo,fdvarela/odoo8,chiragjogi/odoo,ccomb/OpenUpgrade,odooindia/odoo,hanicker/odoo,florentx/OpenUpgrade,BT-rmartin/odoo,JCA-Developpement/Odoo,spadae22/odoo,charbeljc/OCB,pedrobaeza/OpenUpgrade,fuselock/odoo,mlaitinen/odoo,apocalypsebg/odoo,gorjuce/odoo,Ernesto99/odoo,inspyration/odoo,SerpentCS/odoo,gdgellatly/OCB1,BT-rmartin/odoo,Nowheresly/odoo,nexiles/odoo,storm-computers/odoo,nagyistoce/odoo-dev-odoo,feroda/odoo,tvibliani/odoo,QianBIG/odoo,SAM-IT-SA/odoo,tinkerthaler/odoo,sysadminmatmoz/OCB,ecosoft-odoo/odoo,storm-computers/odoo,lsinfo/odoo,lgscofield/odoo,bplancher/odoo,JGarcia-Panach/odoo,pedrobaeza/OpenUpgrade,fgesora/odoo,OpenUpgrade/OpenUpgrade,dllsf/odootest,andreparames/odoo,bplancher/odoo,dgzurita/odoo,dsfsdgsbngfggb/odoo,sebalix/OpenUpgrade,virgree/odoo,jiangzhixiao/odoo,n0m4dz/odoo,bealdav/OpenUpgrade,TRESCLOUD/odoopub,christophlsa/odoo,glovebx/odoo,tvtsoft/odoo8,cpyou/odoo,spadae22/odoo,abenzbiria/clients_odoo,Nick-OpusVL/odoo,Daniel-CA/odoo,windedge/odoo,Daniel-CA/odoo,microcom/odoo,cdrooom/odoo,colinnewell/odoo,joshuajan/odoo,gsmartway/odoo,Endika/OpenUpgrade,Danisan/odoo-1,jesramirez/odoo,shaufi/odoo,ClearCorp-dev/odoo,alhashash/odoo,joariasl/odoo,Noviat/odoo,JCA-Developpement/Odoo,hanicker/odoo,glovebx/odoo,dalegregory/odoo,abdellatifkarroum/odoo,TRESCLOUD/odoopub,luiseduardohdbackup/odoo,aviciimaxwell/odoo,Ernesto99/odoo,slevenhagen/odoo,VielSoft/odoo,ovnicraft/odoo,hip-odoo/odoo,poljeff/odoo,lombritz/odoo,rschnapka/odoo,idncom/odoo,hmen89/odoo,pplatek/odoo,jiangzhixiao/odoo,provaleks/o8,Endika/OpenUpgrade,BT-rmartin/odoo,tvibliani/odoo,wangjun/odoo,credativUK/OCB,patmcb/odoo,bwrsandman/OpenUpgrade,fgesora/odoo,mszewczy/odoo,steedos/odoo,fdvarela/odoo8,fjbatresv/odoo,Ichag/odoo,bakhtout/odoo-educ,sebalix/OpenUpgrade,fjbatresv/odoo,shingonoide/odoo,VitalPet/odoo,luistorresm/odoo,ShineFan/odoo,nexiles/odoo,xzYue/odoo,camptocamp/ngo-addons-backport,RafaelTorrealba/odoo,blaggacao/OpenUpgrade,Daniel-CA/odoo,Ichag/odoo,stephen144/odoo,mszewczy/odoo,leoliujie/odoo,highco-groupe/odoo,tarzan0820/odoo,slevenhagen/odoo-npg,kittiu/odoo,minhtuancn/odoo,odoousers2014/odoo,odooindia/odoo,guewen/OpenUpgrade,hubsaysnuaa/odoo,shivam1111/odoo,x111ong/odoo,demon-ru/iml-crm,jeasoft/odoo,abstract-open-solutions/OCB,provaleks/o8,odootr/odoo,alexcuellar/odoo,ihsanudin/odoo,bwrsandman/OpenUpgrade,spadae22/odoo,fevxie/odoo,stonegithubs/odoo,vnsofthe/odoo,jeasoft/odoo,kittiu/odoo,virgree/odoo,Eric-Zhong/odoo,OSSESAC/odoopubarquiluz,guewen/OpenUpgrade,doomsterinc/odoo,fevxie/odoo,cpyou/odoo,Eric-Zhong/odoo,BT-ojossen/odoo,lombritz/odoo,KontorConsulting/odoo,abdellatifkarroum/odoo,jusdng/odoo,ThinkOpen-Solutions/odoo,Nick-OpusVL/odoo,papouso/odoo,srimai/odoo,dalegregory/odoo,agrista/odoo-saas,draugiskisprendimai/odoo,eino-makitalo/odoo,ramadhane/odoo,BT-fgarbely/odoo,MarcosCommunity/odoo,salaria/odoo,jusdng/odoo,goliveirab/odoo,blaggacao/OpenUpgrade,NeovaHealth/odoo,arthru/OpenUpgrade,odootr/odoo,hoatle/odoo,alhashash/odoo,Danisan/odoo-1,bguillot/OpenUpgrade,guewen/OpenUpgrade,mmbtba/odoo,jolevq/odoopub,jolevq/odoopub,addition-it-solutions/project-all,rubencabrera/odoo,Codefans-fan/odoo,makinacorpus/odoo,patmcb/odoo,jpshort/odoo,wangjun/odoo,hopeall/odoo,leoliujie/odoo,guewen/OpenUpgrade,kifcaliph/odoo,numerigraphe/odoo,nhomar/odoo,goliveirab/odoo,ygol/odoo,ojengwa/odoo,collex100/odoo,savoirfairelinux/odoo,feroda/odoo,gvb/odoo,bealdav/OpenUpgrade,ingadhoc/odoo,fuhongliang/odoo,papouso/odoo,cdrooom/odoo,ramadhane/odoo,Kilhog/odoo,Kilhog/odoo,vrenaville/ngo-addons-backport,ccomb/OpenUpgrade,JGarcia-Panach/odoo,RafaelTorrealba/odoo,cedk/odoo,ygol/odoo,bguillot/OpenUpgrade,Endika/odoo,Adel-Magebinary/odoo,thanhacun/odoo,ujjwalwahi/odoo,incaser/odoo-odoo,leoliujie/odoo,rgeleta/odoo,frouty/odoo_oph,Gitlab11/odoo,fossoult/odoo,rgeleta/odoo,wangjun/odoo,havt/odoo,CatsAndDogsbvba/odoo,nuuuboo/odoo,salaria/odoo,ingadhoc/odoo,dfang/odoo,goliveirab/odoo,omprakasha/odoo,odooindia/odoo,Elico-Corp/odoo_OCB,Adel-Magebinary/odoo,rahuldhote/odoo,RafaelTorrealba/odoo,fgesora/odoo,hanicker/odoo,OpenUpgrade/OpenUpgrade,leorochael/odoo,florentx/OpenUpgrade,apocalypsebg/odoo,lombritz/odoo,AuyaJackie/odoo,Drooids/odoo,lgscofield/odoo,minhtuancn/odoo,KontorConsulting/odoo,charbeljc/OCB,abdellatifkarroum/odoo,jiangzhixiao/odoo,ramadhane/odoo,spadae22/odoo,brijeshkesariya/odoo,ojengwa/odoo,nitinitprof/odoo,havt/odoo,Danisan/odoo-1,apanju/GMIO_Odoo,srimai/odoo,fuselock/odoo,abdellatifkarroum/odoo,grap/OpenUpgrade,slevenhagen/odoo-npg,Noviat/odoo,jusdng/odoo,ihsanudin/odoo,savoirfairelinux/OpenUpgrade,bobisme/odoo,jiachenning/odoo,ovnicraft/odoo,nexiles/odoo,hopeall/odoo,ujjwalwahi/odoo,0k/OpenUpgrade,shaufi/odoo,OSSESAC/odoopubarquiluz,dezynetechnologies/odoo,simongoffin/website_version,factorlibre/OCB,prospwro/odoo,fevxie/odoo,waytai/odoo,nhomar/odoo-mirror,hbrunn/OpenUpgrade,fgesora/odoo,sinbazhou/odoo,virgree/odoo,mvaled/OpenUpgrade,0k/OpenUpgrade,jpshort/odoo,datenbetrieb/odoo,ramitalat/odoo,Antiun/odoo,highco-groupe/odoo,bakhtout/odoo-educ,savoirfairelinux/OpenUpgrade,rahuldhote/odoo,xujb/odoo,kybriainfotech/iSocioCRM,vrenaville/ngo-addons-backport,CubicERP/odoo,colinnewell/odoo,bplancher/odoo,ccomb/OpenUpgrade,Codefans-fan/odoo,jolevq/odoopub,leoliujie/odoo,mmbtba/odoo,idncom/odoo,OpusVL/odoo,stephen144/odoo,charbeljc/OCB,minhtuancn/odoo,hanicker/odoo,kifcaliph/odoo,zchking/odoo,guewen/OpenUpgrade,NeovaHealth/odoo,codekaki/odoo,jaxkodex/odoo,makinacorpus/odoo,markeTIC/OCB,dezynetechnologies/odoo,hbrunn/OpenUpgrade,CopeX/odoo,laslabs/odoo,nexiles/odoo,Noviat/odoo,alexteodor/odoo,tarzan0820/odoo,numerigraphe/odoo,datenbetrieb/odoo,spadae22/odoo,kittiu/odoo,ThinkOpen-Solutions/odoo,grap/OCB,mmbtba/odoo,codekaki/odoo,BT-fgarbely/odoo,andreparames/odoo,windedge/odoo,Nick-OpusVL/odoo,bkirui/odoo,cysnake4713/odoo,omprakasha/odoo,kybriainfotech/iSocioCRM,ecosoft-odoo/odoo,Grirrane/odoo,avoinsystems/odoo,nitinitprof/odoo,mustafat/odoo-1,omprakasha/odoo,shaufi/odoo,sadleader/odoo,florian-dacosta/OpenUpgrade,syci/OCB,shivam1111/odoo,0k/odoo,havt/odoo,jesramirez/odoo,grap/OpenUpgrade,ThinkOpen-Solutions/odoo,QianBIG/odoo,Endika/odoo,draugiskisprendimai/odoo,colinnewell/odoo,SerpentCS/odoo,christophlsa/odoo,shingonoide/odoo,fevxie/odoo,oasiswork/odoo,Antiun/odoo,diagramsoftware/odoo,ShineFan/odoo,Antiun/odoo,hifly/OpenUpgrade,VitalPet/odoo,shaufi/odoo,wangjun/odoo,diagramsoftware/odoo,joshuajan/odoo,abenzbiria/clients_odoo,hopeall/odoo,lsinfo/odoo,n0m4dz/odoo,mustafat/odoo-1,fuhongliang/odoo,christophlsa/odoo,klunwebale/odoo,funkring/fdoo,doomsterinc/odoo,SAM-IT-SA/odoo,srsman/odoo,synconics/odoo,srsman/odoo,slevenhagen/odoo-npg,odoousers2014/odoo,elmerdpadilla/iv,tinkhaven-organization/odoo,0k/odoo,acshan/odoo,omprakasha/odoo,glovebx/odoo,Kilhog/odoo,frouty/odoo_oph,JCA-Developpement/Odoo,vnsofthe/odoo,jeasoft/odoo,bguillot/OpenUpgrade,oasiswork/odoo,charbeljc/OCB,Codefans-fan/odoo,alqfahad/odoo,kybriainfotech/iSocioCRM,brijeshkesariya/odoo,ovnicraft/odoo,VitalPet/odoo,hmen89/odoo,cloud9UG/odoo,datenbetrieb/odoo,virgree/odoo,jesramirez/odoo,Endika/OpenUpgrade,provaleks/o8,CopeX/odoo,hifly/OpenUpgrade,rgeleta/odoo,nuncjo/odoo,x111ong/odoo,FlorianLudwig/odoo,cpyou/odoo,agrista/odoo-saas,BT-ojossen/odoo,hopeall/odoo,tinkerthaler/odoo,OpenPymeMx/OCB,bkirui/odoo,syci/OCB,x111ong/odoo,kirca/OpenUpgrade,ovnicraft/odoo,RafaelTorrealba/odoo,bkirui/odoo,bwrsandman/OpenUpgrade,luistorresm/odoo,naousse/odoo,ApuliaSoftware/odoo,oliverhr/odoo,srsman/odoo,makinacorpus/odoo,sergio-incaser/odoo,damdam-s/OpenUpgrade,xzYue/odoo,fuselock/odoo,OpenUpgrade-dev/OpenUpgrade,osvalr/odoo,srimai/odoo,Drooids/odoo,jiachenning/odoo,bkirui/odoo,optima-ict/odoo,shaufi/odoo,ehirt/odoo,sv-dev1/odoo,simongoffin/website_version,ojengwa/odoo,credativUK/OCB,osvalr/odoo,damdam-s/OpenUpgrade,PongPi/isl-odoo,gdgellatly/OCB1,grap/OCB,cloud9UG/odoo,stonegithubs/odoo,csrocha/OpenUpgrade,odoo-turkiye/odoo,zchking/odoo,sv-dev1/odoo,PongPi/isl-odoo,alhashash/odoo,OSSESAC/odoopubarquiluz,tarzan0820/odoo,hoatle/odoo,Maspear/odoo,lombritz/odoo,aviciimaxwell/odoo,zchking/odoo,syci/OCB,csrocha/OpenUpgrade,ramadhane/odoo,xujb/odoo,mvaled/OpenUpgrade,hifly/OpenUpgrade,bobisme/odoo,alhashash/odoo,jaxkodex/odoo,odoo-turkiye/odoo,mszewczy/odoo,mmbtba/odoo,fjbatresv/odoo,ehirt/odoo,xzYue/odoo,CopeX/odoo,RafaelTorrealba/odoo,diagramsoftware/odoo,dgzurita/odoo,Grirrane/odoo,Endika/odoo,savoirfairelinux/odoo,gorjuce/odoo,microcom/odoo,AuyaJackie/odoo,apanju/odoo,OpenUpgrade/OpenUpgrade,prospwro/odoo,Nowheresly/odoo,cdrooom/odoo,markeTIC/OCB,gvb/odoo,colinnewell/odoo,srimai/odoo,ehirt/odoo,VitalPet/odoo,windedge/odoo,aviciimaxwell/odoo,frouty/odoo_oph,dllsf/odootest,ThinkOpen-Solutions/odoo,ehirt/odoo,elmerdpadilla/iv,idncom/odoo,Antiun/odoo,tvibliani/odoo,numerigraphe/odoo,srsman/odoo,JGarcia-Panach/odoo,jpshort/odoo,goliveirab/odoo,gavin-feng/odoo,PongPi/isl-odoo,rdeheele/odoo,dkubiak789/odoo,Ichag/odoo,NL66278/OCB,luistorresm/odoo,avoinsystems/odoo,guerrerocarlos/odoo,highco-groupe/odoo,datenbetrieb/odoo,juanalfonsopr/odoo,RafaelTorrealba/odoo,rdeheele/odoo,fgesora/odoo,mvaled/OpenUpgrade,bkirui/odoo,elmerdpadilla/iv,ecosoft-odoo/odoo,JonathanStein/odoo,ecosoft-odoo/odoo,janocat/odoo,dariemp/odoo,omprakasha/odoo,doomsterinc/odoo,ChanduERP/odoo,codekaki/odoo,incaser/odoo-odoo,Danisan/odoo-1,demon-ru/iml-crm,ujjwalwahi/odoo,ojengwa/odoo,brijeshkesariya/odoo,oliverhr/odoo,AuyaJackie/odoo,shaufi10/odoo,lombritz/odoo,mlaitinen/odoo,lsinfo/odoo,mustafat/odoo-1,janocat/odoo,brijeshkesariya/odoo,jpshort/odoo,VielSoft/odoo,sinbazhou/odoo,deKupini/erp,luiseduardohdbackup/odoo,ecosoft-odoo/odoo,grap/OCB,shivam1111/odoo,nuuuboo/odoo,deKupini/erp,inspyration/odoo,fuhongliang/odoo,Gitlab11/odoo,ShineFan/odoo,CopeX/odoo,windedge/odoo,javierTerry/odoo,BT-astauder/odoo,Endika/OpenUpgrade,javierTerry/odoo,PongPi/isl-odoo,chiragjogi/odoo,savoirfairelinux/odoo,oliverhr/odoo,odooindia/odoo,kirca/OpenUpgrade,steedos/odoo,joshuajan/odoo,oihane/odoo,florentx/OpenUpgrade,Nick-OpusVL/odoo,funkring/fdoo,waytai/odoo,ingadhoc/odoo,alexcuellar/odoo,SAM-IT-SA/odoo,thanhacun/odoo,vnsofthe/odoo,steedos/odoo,lsinfo/odoo,alexcuellar/odoo,nuuuboo/odoo,glovebx/odoo,laslabs/odoo,0k/OpenUpgrade,abstract-open-solutions/OCB,0k/OpenUpgrade,vrenaville/ngo-addons-backport,osvalr/odoo,hassoon3/odoo,SAM-IT-SA/odoo,ygol/odoo,blaggacao/OpenUpgrade,blaggacao/OpenUpgrade,feroda/odoo,jfpla/odoo,syci/OCB,ccomb/OpenUpgrade,hip-odoo/odoo,gvb/odoo,shaufi/odoo,slevenhagen/odoo-npg,MarcosCommunity/odoo,Noviat/odoo,synconics/odoo,charbeljc/OCB,nitinitprof/odoo,inspyration/odoo,ShineFan/odoo,savoirfairelinux/odoo,leoliujie/odoo,pedrobaeza/odoo,numerigraphe/odoo,wangjun/odoo,realsaiko/odoo,omprakasha/odoo,florentx/OpenUpgrade,tarzan0820/odoo,OpusVL/odoo,demon-ru/iml-crm,fuhongliang/odoo,GauravSahu/odoo,CatsAndDogsbvba/odoo,tvibliani/odoo,Bachaco-ve/odoo,dezynetechnologies/odoo,apanju/odoo,Daniel-CA/odoo,acshan/odoo,Maspear/odoo,shivam1111/odoo,factorlibre/OCB,luiseduardohdbackup/odoo,klunwebale/odoo,optima-ict/odoo,takis/odoo,andreparames/odoo,goliveirab/odoo,BT-astauder/odoo,hassoon3/odoo,aviciimaxwell/odoo,eino-makitalo/odoo,ThinkOpen-Solutions/odoo,frouty/odoo_oph,ApuliaSoftware/odoo,nitinitprof/odoo,avoinsystems/odoo,acshan/odoo,sergio-incaser/odoo,JonathanStein/odoo,doomsterinc/odoo,simongoffin/website_version,Ichag/odoo,pedrobaeza/odoo,rubencabrera/odoo,rowemoore/odoo,joariasl/odoo,jusdng/odoo,sysadminmatmoz/OCB,AuyaJackie/odoo,ovnicraft/odoo,Codefans-fan/odoo,papouso/odoo,nexiles/odoo,dariemp/odoo,waytai/odoo,rahuldhote/odoo,SAM-IT-SA/odoo,hbrunn/OpenUpgrade,OpenUpgrade-dev/OpenUpgrade,KontorConsulting/odoo,laslabs/odoo,thanhacun/odoo,BT-fgarbely/odoo,blaggacao/OpenUpgrade,colinnewell/odoo,makinacorpus/odoo,credativUK/OCB,fjbatresv/odoo,eino-makitalo/odoo,Drooids/odoo,thanhacun/odoo,savoirfairelinux/odoo,highco-groupe/odoo,fossoult/odoo,camptocamp/ngo-addons-backport,lightcn/odoo,jfpla/odoo,grap/OCB,luiseduardohdbackup/odoo,stonegithubs/odoo,Maspear/odoo,idncom/odoo,erkrishna9/odoo,erkrishna9/odoo,ApuliaSoftware/odoo,addition-it-solutions/project-all,fdvarela/odoo8,odooindia/odoo,avoinsystems/odoo,fuhongliang/odoo,glovebx/odoo,savoirfairelinux/odoo,funkring/fdoo,markeTIC/OCB,slevenhagen/odoo,realsaiko/odoo,frouty/odoogoeen,codekaki/odoo,ramitalat/odoo,patmcb/odoo,bobisme/odoo,shivam1111/odoo,GauravSahu/odoo,apanju/GMIO_Odoo,mvaled/OpenUpgrade,makinacorpus/odoo,AuyaJackie/odoo,lightcn/odoo,joariasl/odoo,VielSoft/odoo,havt/odoo,JonathanStein/odoo,QianBIG/odoo,mszewczy/odoo,jiangzhixiao/odoo,vrenaville/ngo-addons-backport,tangyiyong/odoo,stonegithubs/odoo,kifcaliph/odoo,SerpentCS/odoo,GauravSahu/odoo,pplatek/odoo,grap/OpenUpgrade,fuselock/odoo,fuselock/odoo,markeTIC/OCB,laslabs/odoo,NeovaHealth/odoo,pedrobaeza/odoo,tangyiyong/odoo,OpusVL/odoo,Nick-OpusVL/odoo,Kilhog/odoo,tvibliani/odoo,VielSoft/odoo,ihsanudin/odoo,Kilhog/odoo,fgesora/odoo,odoo-turkiye/odoo,vrenaville/ngo-addons-backport,GauravSahu/odoo,provaleks/o8,kirca/OpenUpgrade,Bachaco-ve/odoo,hanicker/odoo,slevenhagen/odoo,Ichag/odoo,oliverhr/odoo,odootr/odoo,dkubiak789/odoo,lgscofield/odoo,ihsanudin/odoo,avoinsystems/odoo,takis/odoo,osvalr/odoo,hifly/OpenUpgrade,tinkhaven-organization/odoo,grap/OpenUpgrade,dgzurita/odoo,MarcosCommunity/odoo,addition-it-solutions/project-all,sebalix/OpenUpgrade,agrista/odoo-saas,syci/OCB,Gitlab11/odoo,shaufi10/odoo,massot/odoo,damdam-s/OpenUpgrade,vrenaville/ngo-addons-backport,ChanduERP/odoo,rschnapka/odoo,BT-astauder/odoo,markeTIC/OCB,pedrobaeza/OpenUpgrade,OpenPymeMx/OCB,rschnapka/odoo,collex100/odoo,hbrunn/OpenUpgrade,alqfahad/odoo,JonathanStein/odoo,klunwebale/odoo,virgree/odoo,zchking/odoo,aviciimaxwell/odoo,waytai/odoo,fossoult/odoo,Noviat/odoo,fuselock/odoo,juanalfonsopr/odoo,Bachaco-ve/odoo,Antiun/odoo,dalegregory/odoo,VitalPet/odoo,minhtuancn/odoo,frouty/odoo_oph,MarcosCommunity/odoo,steedos/odoo,gdgellatly/OCB1,javierTerry/odoo,fjbatresv/odoo,markeTIC/OCB,MarcosCommunity/odoo,ramitalat/odoo,rdeheele/odoo,OpenUpgrade/OpenUpgrade,GauravSahu/odoo,optima-ict/odoo,takis/odoo,alexcuellar/odoo,odoo-turkiye/odoo,sadleader/odoo,takis/odoo,gdgellatly/OCB1,nuncjo/odoo,cedk/odoo,fuselock/odoo,Nowheresly/odoo,cedk/odoo,guerrerocarlos/odoo,nagyistoce/odoo-dev-odoo,oasiswork/odoo,abstract-open-solutions/OCB,bwrsandman/OpenUpgrade,rgeleta/odoo,chiragjogi/odoo,rubencabrera/odoo,vnsofthe/odoo,fdvarela/odoo8,provaleks/o8,tinkhaven-organization/odoo,lgscofield/odoo,jiachenning/odoo,leorochael/odoo,odoo-turkiye/odoo,odoo-turkiye/odoo,luistorresm/odoo,CubicERP/odoo,Kilhog/odoo,brijeshkesariya/odoo,TRESCLOUD/odoopub,kirca/OpenUpgrade,florian-dacosta/OpenUpgrade,JGarcia-Panach/odoo,camptocamp/ngo-addons-backport,abenzbiria/clients_odoo,sadleader/odoo,Drooids/odoo,arthru/OpenUpgrade,mkieszek/odoo,xujb/odoo,odoousers2014/odoo,MarcosCommunity/odoo,ClearCorp-dev/odoo,gdgellatly/OCB1,grap/OCB,alhashash/odoo,andreparames/odoo,jeasoft/odoo,OpusVL/odoo,kittiu/odoo,apanju/odoo,draugiskisprendimai/odoo,CubicERP/odoo,draugiskisprendimai/odoo,Noviat/odoo,bkirui/odoo,OSSESAC/odoopubarquiluz,vrenaville/ngo-addons-backport,nagyistoce/odoo-dev-odoo,CubicERP/odoo,vnsofthe/odoo,CopeX/odoo,nuncjo/odoo,n0m4dz/odoo,storm-computers/odoo,salaria/odoo,odootr/odoo,gavin-feng/odoo,papouso/odoo,jolevq/odoopub,nhomar/odoo,x111ong/odoo,hip-odoo/odoo,sergio-incaser/odoo,Nick-OpusVL/odoo,damdam-s/OpenUpgrade,FlorianLudwig/odoo,tvibliani/odoo,jaxkodex/odoo,ubic135/odoo-design,Drooids/odoo,ApuliaSoftware/odoo,massot/odoo,bealdav/OpenUpgrade,mustafat/odoo-1,arthru/OpenUpgrade,mszewczy/odoo,oihane/odoo,savoirfairelinux/OpenUpgrade,hbrunn/OpenUpgrade,pedrobaeza/odoo,Endika/odoo,sv-dev1/odoo,ehirt/odoo,xzYue/odoo,mvaled/OpenUpgrade,dariemp/odoo,luiseduardohdbackup/odoo,Maspear/odoo,ApuliaSoftware/odoo,waytai/odoo,draugiskisprendimai/odoo,spadae22/odoo,sinbazhou/odoo,virgree/odoo,rschnapka/odoo,realsaiko/odoo,jpshort/odoo,odoousers2014/odoo,synconics/odoo,mkieszek/odoo,cedk/odoo,funkring/fdoo,jfpla/odoo,realsaiko/odoo,havt/odoo,Eric-Zhong/odoo,QianBIG/odoo,draugiskisprendimai/odoo,bakhtout/odoo-educ,gsmartway/odoo,nhomar/odoo-mirror,bplancher/odoo,BT-rmartin/odoo,dfang/odoo,VielSoft/odoo,idncom/odoo,cloud9UG/odoo,simongoffin/website_version,Ichag/odoo,codekaki/odoo,microcom/odoo,dkubiak789/odoo,JonathanStein/odoo,nexiles/odoo,factorlibre/OCB,andreparames/odoo,abstract-open-solutions/OCB,ovnicraft/odoo,apanju/odoo,bplancher/odoo,colinnewell/odoo,xzYue/odoo,windedge/odoo,NL66278/OCB,apanju/odoo,tinkerthaler/odoo,deKupini/erp,juanalfonsopr/odoo,Grirrane/odoo,wangjun/odoo,dalegregory/odoo,hubsaysnuaa/odoo,ubic135/odoo-design,luistorresm/odoo,stonegithubs/odoo,Bachaco-ve/odoo,CatsAndDogsbvba/odoo,nuncjo/odoo,fevxie/odoo,Nowheresly/odoo,sergio-incaser/odoo,NeovaHealth/odoo,lombritz/odoo,incaser/odoo-odoo,tinkerthaler/odoo,florian-dacosta/OpenUpgrade,Adel-Magebinary/odoo,ShineFan/odoo,leoliujie/odoo,ovnicraft/odoo,Danisan/odoo-1,arthru/OpenUpgrade,idncom/odoo,nhomar/odoo-mirror,arthru/OpenUpgrade,ramadhane/odoo,alqfahad/odoo,jiangzhixiao/odoo,jolevq/odoopub,synconics/odoo,jeasoft/odoo,tvibliani/odoo,colinnewell/odoo,nhomar/odoo,KontorConsulting/odoo,hoatle/odoo,eino-makitalo/odoo,tvtsoft/odoo8,jpshort/odoo,abdellatifkarroum/odoo,provaleks/o8,odoousers2014/odoo,OpenPymeMx/OCB,apanju/odoo,hassoon3/odoo,PongPi/isl-odoo,gorjuce/odoo,VitalPet/odoo,Antiun/odoo,javierTerry/odoo,mkieszek/odoo,ecosoft-odoo/odoo,dalegregory/odoo,Nick-OpusVL/odoo,jeasoft/odoo,bguillot/OpenUpgrade,VielSoft/odoo,dkubiak789/odoo,camptocamp/ngo-addons-backport,dgzurita/odoo,sergio-incaser/odoo,slevenhagen/odoo,frouty/odoogoeen,hifly/OpenUpgrade,takis/odoo,JGarcia-Panach/odoo,KontorConsulting/odoo,dgzurita/odoo,apanju/GMIO_Odoo,gvb/odoo,hopeall/odoo,kybriainfotech/iSocioCRM,tvtsoft/odoo8,hanicker/odoo,RafaelTorrealba/odoo,NL66278/OCB,laslabs/odoo,rahuldhote/odoo,erkrishna9/odoo,rubencabrera/odoo,Ernesto99/odoo,osvalr/odoo,erkrishna9/odoo,shaufi10/odoo,ramitalat/odoo,ujjwalwahi/odoo,addition-it-solutions/project-all,sebalix/OpenUpgrade,bguillot/OpenUpgrade,ChanduERP/odoo,patmcb/odoo,andreparames/odoo,x111ong/odoo,ChanduERP/odoo,luistorresm/odoo,nitinitprof/odoo,luistorresm/odoo,incaser/odoo-odoo,JCA-Developpement/Odoo,vnsofthe/odoo,optima-ict/odoo,ojengwa/odoo,OpenPymeMx/OCB,FlorianLudwig/odoo,cysnake4713/odoo,synconics/odoo,datenbetrieb/odoo,hoatle/odoo,nitinitprof/odoo,minhtuancn/odoo,matrixise/odoo,bobisme/odoo,alqfahad/odoo,SerpentCS/odoo,guerrerocarlos/odoo,Ichag/odoo,shivam1111/odoo,BT-rmartin/odoo,Bachaco-ve/odoo,acshan/odoo,hubsaysnuaa/odoo,lsinfo/odoo,jfpla/odoo,BT-ojossen/odoo,sve-odoo/odoo,dsfsdgsbngfggb/odoo,gdgellatly/OCB1,dsfsdgsbngfggb/odoo,stonegithubs/odoo,mkieszek/odoo,pedrobaeza/OpenUpgrade,nuncjo/odoo,demon-ru/iml-crm,nuuuboo/odoo,savoirfairelinux/OpenUpgrade,Ernesto99/odoo,rdeheele/odoo,credativUK/OCB,hanicker/odoo,ramadhane/odoo,abstract-open-solutions/OCB,omprakasha/odoo,provaleks/o8,naousse/odoo,dezynetechnologies/odoo,odootr/odoo,nuncjo/odoo,tinkhaven-organization/odoo,apocalypsebg/odoo,diagramsoftware/odoo,hmen89/odoo,vnsofthe/odoo,tangyiyong/odoo,mlaitinen/odoo,rahuldhote/odoo,GauravSahu/odoo,leoliujie/odoo,bakhtout/odoo-educ,Adel-Magebinary/odoo,shaufi10/odoo,rowemoore/odoo,juanalfonsopr/odoo,bealdav/OpenUpgrade,rowemoore/odoo,ChanduERP/odoo,thanhacun/odoo,gorjuce/odoo,bkirui/odoo,ojengwa/odoo,ehirt/odoo,jaxkodex/odoo,Elico-Corp/odoo_OCB,dllsf/odootest,VielSoft/odoo,Endika/OpenUpgrade,OSSESAC/odoopubarquiluz,camptocamp/ngo-addons-backport,dkubiak789/odoo,dalegregory/odoo,factorlibre/OCB,rowemoore/odoo,0k/OpenUpgrade,vrenaville/ngo-addons-backport,gorjuce/odoo,feroda/odoo,odoo-turkiye/odoo,deKupini/erp,srsman/odoo,MarcosCommunity/odoo,gsmartway/odoo,joshuajan/odoo,frouty/odoogoeen,ThinkOpen-Solutions/odoo,sinbazhou/odoo,CatsAndDogsbvba/odoo,sinbazhou/odoo,KontorConsulting/odoo,SerpentCS/odoo,pplatek/odoo,frouty/odoogoeen,grap/OpenUpgrade,damdam-s/OpenUpgrade,Endika/odoo,dsfsdgsbngfggb/odoo,jeasoft/odoo,gsmartway/odoo,prospwro/odoo,Drooids/odoo,hopeall/odoo,abdellatifkarroum/odoo,goliveirab/odoo,Bachaco-ve/odoo,Endika/OpenUpgrade,ihsanudin/odoo,Adel-Magebinary/odoo,joariasl/odoo,OpenUpgrade-dev/OpenUpgrade,doomsterinc/odoo,frouty/odoogoeen,OpenUpgrade/OpenUpgrade,sadleader/odoo,jusdng/odoo,kirca/OpenUpgrade,collex100/odoo,codekaki/odoo,slevenhagen/odoo,dalegregory/odoo,ccomb/OpenUpgrade,dfang/odoo,apocalypsebg/odoo,acshan/odoo,chiragjogi/odoo,grap/OpenUpgrade,sv-dev1/odoo,Nowheresly/odoo,hubsaysnuaa/odoo,tangyiyong/odoo,shaufi/odoo,cloud9UG/odoo,doomsterinc/odoo,Endika/odoo,dezynetechnologies/odoo,CubicERP/odoo,prospwro/odoo,ihsanudin/odoo,0k/odoo,avoinsystems/odoo,matrixise/odoo,Gitlab11/odoo,gvb/odoo,klunwebale/odoo,lgscofield/odoo,stonegithubs/odoo,mvaled/OpenUpgrade,credativUK/OCB,bakhtout/odoo-educ,cysnake4713/odoo,mszewczy/odoo,FlorianLudwig/odoo,shingonoide/odoo,OpenPymeMx/OCB,tinkerthaler/odoo,mkieszek/odoo,rgeleta/odoo,poljeff/odoo,funkring/fdoo,nhomar/odoo,juanalfonsopr/odoo,naousse/odoo,ingadhoc/odoo,jfpla/odoo,agrista/odoo-saas,xujb/odoo,bwrsandman/OpenUpgrade,mlaitinen/odoo,alexteodor/odoo,BT-rmartin/odoo,sysadminmatmoz/OCB,andreparames/odoo,BT-ojossen/odoo,ingadhoc/odoo,NeovaHealth/odoo,naousse/odoo,sebalix/OpenUpgrade,CubicERP/odoo,AuyaJackie/odoo,hassoon3/odoo,salaria/odoo,apanju/odoo,ujjwalwahi/odoo,apocalypsebg/odoo,CubicERP/odoo,factorlibre/OCB,slevenhagen/odoo-npg,QianBIG/odoo,codekaki/odoo,jiachenning/odoo,matrixise/odoo,kybriainfotech/iSocioCRM,slevenhagen/odoo,alqfahad/odoo,jusdng/odoo,cloud9UG/odoo,nuuuboo/odoo,syci/OCB,Maspear/odoo,ramitalat/odoo,agrista/odoo-saas,janocat/odoo,fossoult/odoo,Antiun/odoo,dfang/odoo,steedos/odoo,addition-it-solutions/project-all,ShineFan/odoo,oihane/odoo,synconics/odoo,hopeall/odoo,acshan/odoo,christophlsa/odoo,massot/odoo,simongoffin/website_version,sinbazhou/odoo,collex100/odoo,ujjwalwahi/odoo,jiachenning/odoo,mmbtba/odoo,bobisme/odoo,grap/OCB,rubencabrera/odoo,camptocamp/ngo-addons-backport,florian-dacosta/OpenUpgrade,oasiswork/odoo,realsaiko/odoo,QianBIG/odoo,sve-odoo/odoo,joshuajan/odoo,Elico-Corp/odoo_OCB,pedrobaeza/OpenUpgrade,minhtuancn/odoo,Codefans-fan/odoo,zchking/odoo,rowemoore/odoo,leorochael/odoo,OpenUpgrade-dev/OpenUpgrade,optima-ict/odoo,pplatek/odoo,fossoult/odoo,oliverhr/odoo,cdrooom/odoo,tinkerthaler/odoo,n0m4dz/odoo,poljeff/odoo,idncom/odoo,jusdng/odoo,storm-computers/odoo,tarzan0820/odoo,massot/odoo,sinbazhou/odoo,ygol/odoo,oasiswork/odoo,JGarcia-Panach/odoo,nagyistoce/odoo-dev-odoo,deKupini/erp,florian-dacosta/OpenUpgrade,optima-ict/odoo,oliverhr/odoo,Nowheresly/odoo,stephen144/odoo,srimai/odoo,naousse/odoo,luiseduardohdbackup/odoo,ramitalat/odoo,jiachenning/odoo,blaggacao/OpenUpgrade,CopeX/odoo,doomsterinc/odoo,datenbetrieb/odoo,CatsAndDogsbvba/odoo,pedrobaeza/OpenUpgrade,wangjun/odoo,mmbtba/odoo,aviciimaxwell/odoo,dsfsdgsbngfggb/odoo,chiragjogi/odoo,nhomar/odoo-mirror,takis/odoo,BT-ojossen/odoo,erkrishna9/odoo,Kilhog/odoo,florian-dacosta/OpenUpgrade,ingadhoc/odoo,dezynetechnologies/odoo,slevenhagen/odoo,x111ong/odoo,Ernesto99/odoo,alexcuellar/odoo,ubic135/odoo-design,stephen144/odoo,tangyiyong/odoo,Elico-Corp/odoo_OCB,pplatek/odoo,rschnapka/odoo,charbeljc/OCB,abenzbiria/clients_odoo,lsinfo/odoo,hubsaysnuaa/odoo,prospwro/odoo,sebalix/OpenUpgrade,kittiu/odoo,mlaitinen/odoo,tvtsoft/odoo8,MarcosCommunity/odoo,sve-odoo/odoo,x111ong/odoo,Codefans-fan/odoo,frouty/odoogoeen,ubic135/odoo-design,laslabs/odoo,microcom/odoo,FlorianLudwig/odoo,sv-dev1/odoo,BT-ojossen/odoo,javierTerry/odoo,shingonoide/odoo,spadae22/odoo,fevxie/odoo,rowemoore/odoo,xujb/odoo,nuuuboo/odoo,alexteodor/odoo,apanju/GMIO_Odoo,cpyou/odoo,srimai/odoo,gavin-feng/odoo,OpenUpgrade-dev/OpenUpgrade,BT-fgarbely/odoo,JonathanStein/odoo,xzYue/odoo,christophlsa/odoo,lightcn/odoo,bwrsandman/OpenUpgrade,oasiswork/odoo,jaxkodex/odoo,Endika/odoo,hassoon3/odoo,prospwro/odoo,ujjwalwahi/odoo,pplatek/odoo,kittiu/odoo,draugiskisprendimai/odoo,abstract-open-solutions/OCB,sysadminmatmoz/OCB,numerigraphe/odoo,JonathanStein/odoo,OpenPymeMx/OCB,SerpentCS/odoo,oihane/odoo,shaufi10/odoo,prospwro/odoo,grap/OCB,zchking/odoo,gsmartway/odoo,salaria/odoo,GauravSahu/odoo,lightcn/odoo,hip-odoo/odoo,SerpentCS/odoo,damdam-s/OpenUpgrade,damdam-s/OpenUpgrade,alqfahad/odoo,Daniel-CA/odoo,ygol/odoo,slevenhagen/odoo-npg,jaxkodex/odoo,ecosoft-odoo/odoo,papouso/odoo,diagramsoftware/odoo,OpenPymeMx/OCB,mlaitinen/odoo,credativUK/OCB,rowemoore/odoo,kirca/OpenUpgrade,makinacorpus/odoo,mustafat/odoo-1,mvaled/OpenUpgrade,ApuliaSoftware/odoo,odootr/odoo,0k/odoo,ramadhane/odoo,joariasl/odoo,FlorianLudwig/odoo,dllsf/odootest,pedrobaeza/OpenUpgrade,bguillot/OpenUpgrade,papouso/odoo,csrocha/OpenUpgrade,joariasl/odoo,hifly/OpenUpgrade,brijeshkesariya/odoo,steedos/odoo,ubic135/odoo-design,collex100/odoo,fjbatresv/odoo,BT-fgarbely/odoo,kittiu/odoo,mmbtba/odoo,collex100/odoo,aviciimaxwell/odoo,fossoult/odoo,csrocha/OpenUpgrade,klunwebale/odoo,ehirt/odoo,Grirrane/odoo,ThinkOpen-Solutions/odoo,guerrerocarlos/odoo,grap/OCB,shingonoide/odoo,waytai/odoo,hoatle/odoo,gvb/odoo,elmerdpadilla/iv,jiangzhixiao/odoo,arthru/OpenUpgrade,Endika/OpenUpgrade,Gitlab11/odoo,massot/odoo,salaria/odoo,dfang/odoo,matrixise/odoo,sve-odoo/odoo,nitinitprof/odoo,nagyistoce/odoo-dev-odoo,apanju/GMIO_Odoo,xujb/odoo,oihane/odoo,apanju/GMIO_Odoo,abstract-open-solutions/OCB,janocat/odoo,gavin-feng/odoo,hmen89/odoo,kybriainfotech/iSocioCRM,dariemp/odoo,apocalypsebg/odoo,mszewczy/odoo,collex100/odoo,tangyiyong/odoo,NL66278/OCB,zchking/odoo,apanju/GMIO_Odoo,thanhacun/odoo,odoousers2014/odoo,hbrunn/OpenUpgrade,rubencabrera/odoo,jeasoft/odoo,gdgellatly/OCB1,mustafat/odoo-1,Eric-Zhong/odoo,eino-makitalo/odoo,javierTerry/odoo,Daniel-CA/odoo,tarzan0820/odoo,cysnake4713/odoo,credativUK/OCB,SAM-IT-SA/odoo,cedk/odoo,BT-ojossen/odoo,ojengwa/odoo,blaggacao/OpenUpgrade,highco-groupe/odoo,sadleader/odoo,tvtsoft/odoo8,credativUK/OCB,Drooids/odoo,tinkhaven-organization/odoo,n0m4dz/odoo,sve-odoo/odoo,sergio-incaser/odoo,gsmartway/odoo,fgesora/odoo,havt/odoo,hifly/OpenUpgrade,Eric-Zhong/odoo,rgeleta/odoo,CopeX/odoo,rahuldhote/odoo,bealdav/OpenUpgrade,gvb/odoo,srsman/odoo,ygol/odoo,hmen89/odoo,hubsaysnuaa/odoo,ccomb/OpenUpgrade,alqfahad/odoo,bwrsandman/OpenUpgrade,pplatek/odoo,jesramirez/odoo,grap/OpenUpgrade,alhashash/odoo,pedrobaeza/odoo,csrocha/OpenUpgrade,bealdav/OpenUpgrade,avoinsystems/odoo,Gitlab11/odoo,alexteodor/odoo,glovebx/odoo,lsinfo/odoo,shingonoide/odoo,cysnake4713/odoo,guewen/OpenUpgrade,jesramirez/odoo,ingadhoc/odoo,glovebx/odoo,poljeff/odoo,tinkhaven-organization/odoo,kifcaliph/odoo,shivam1111/odoo,sebalix/OpenUpgrade,csrocha/OpenUpgrade,Eric-Zhong/odoo,AuyaJackie/odoo,dsfsdgsbngfggb/odoo,sv-dev1/odoo,oihane/odoo,dariemp/odoo,ClearCorp-dev/odoo,chiragjogi/odoo,ihsanudin/odoo,JGarcia-Panach/odoo,kifcaliph/odoo,charbeljc/OCB,n0m4dz/odoo,virgree/odoo,dgzurita/odoo,chiragjogi/odoo,Elico-Corp/odoo_OCB,rahuldhote/odoo,Adel-Magebinary/odoo,tvtsoft/odoo8,BT-fgarbely/odoo,Grirrane/odoo,hubsaysnuaa/odoo,incaser/odoo-odoo,guerrerocarlos/odoo,christophlsa/odoo,takis/odoo,bplancher/odoo,shaufi10/odoo,cedk/odoo,VitalPet/odoo,fevxie/odoo,salaria/odoo,patmcb/odoo,jpshort/odoo,dezynetechnologies/odoo,Maspear/odoo,bakhtout/odoo-educ,addition-it-solutions/project-all,lgscofield/odoo,tinkhaven-organization/odoo,fdvarela/odoo8,luiseduardohdbackup/odoo,diagramsoftware/odoo,demon-ru/iml-crm,elmerdpadilla/iv,patmcb/odoo,frouty/odoogoeen,leorochael/odoo,odootr/odoo,shingonoide/odoo,lombritz/odoo,dkubiak789/odoo,leorochael/odoo,poljeff/odoo,Codefans-fan/odoo,naousse/odoo,incaser/odoo-odoo,hip-odoo/odoo,gorjuce/odoo,storm-computers/odoo,oliverhr/odoo,janocat/odoo,codekaki/odoo,OpenUpgrade/OpenUpgrade,dariemp/odoo,shaufi10/odoo,lightcn/odoo,BT-fgarbely/odoo,funkring/fdoo,pedrobaeza/odoo,dkubiak789/odoo,hip-odoo/odoo,kirca/OpenUpgrade,inspyration/odoo,savoirfairelinux/OpenUpgrade,xujb/odoo,patmcb/odoo,matrixise/odoo,nhomar/odoo,JCA-Developpement/Odoo,gavin-feng/odoo,bobisme/odoo,0k/OpenUpgrade,waytai/odoo,joariasl/odoo,cloud9UG/odoo,janocat/odoo,havt/odoo,Adel-Magebinary/odoo,NeovaHealth/odoo,mustafat/odoo-1,Danisan/odoo-1,acshan/odoo,rschnapka/odoo,ChanduERP/odoo,cpyou/odoo,TRESCLOUD/odoopub,rschnapka/odoo,apocalypsebg/odoo,brijeshkesariya/odoo,poljeff/odoo,alexteodor/odoo,CatsAndDogsbvba/odoo,camptocamp/ngo-addons-backport,naousse/odoo,VitalPet/odoo,Bachaco-ve/odoo,eino-makitalo/odoo,klunwebale/odoo,christophlsa/odoo,klunwebale/odoo,csrocha/OpenUpgrade,sysadminmatmoz/OCB,ccomb/OpenUpgrade,tarzan0820/odoo,lgscofield/odoo,ShineFan/odoo,n0m4dz/odoo,jfpla/odoo,NeovaHealth/odoo,jfpla/odoo,hassoon3/odoo,OSSESAC/odoopubarquiluz,Grirrane/odoo,jiangzhixiao/odoo,dsfsdgsbngfggb/odoo,OpenUpgrade/OpenUpgrade,Daniel-CA/odoo,incaser/odoo-odoo,fjbatresv/odoo,nhomar/odoo,funkring/fdoo,bakhtout/odoo-educ,abenzbiria/clients_odoo,nuncjo/odoo,makinacorpus/odoo,gdgellatly/OCB1,camptocamp/ngo-addons-backport,dfang/odoo,sv-dev1/odoo,dariemp/odoo,datenbetrieb/odoo,Ernesto99/odoo,minhtuancn/odoo,BT-rmartin/odoo,juanalfonsopr/odoo,TRESCLOUD/odoopub,ClearCorp-dev/odoo,javierTerry/odoo,dgzurita/odoo,eino-makitalo/odoo,joshuajan/odoo,poljeff/odoo,ygol/odoo,juanalfonsopr/odoo,nagyistoce/odoo-dev-odoo,Danisan/odoo-1,nuuuboo/odoo,oasiswork/odoo,florentx/OpenUpgrade,Maspear/odoo,feroda/odoo,stephen144/odoo,savoirfairelinux/OpenUpgrade,hoatle/odoo,fuhongliang/odoo,steedos/odoo,gavin-feng/odoo,jaxkodex/odoo,Gitlab11/odoo,factorlibre/OCB,mlaitinen/odoo,abdellatifkarroum/odoo,guerrerocarlos/odoo,sysadminmatmoz/OCB,hoatle/odoo,papouso/odoo,alexcuellar/odoo,guerrerocarlos/odoo,nhomar/odoo-mirror,numerigraphe/odoo,nagyistoce/odoo-dev-odoo,fossoult/odoo,guewen/OpenUpgrade,tangyiyong/odoo,OpenPymeMx/OCB,bobisme/odoo,PongPi/isl-odoo,thanhacun/odoo,janocat/odoo,KontorConsulting/odoo,0k/odoo,feroda/odoo,Nowheresly/odoo,osvalr/odoo,Elico-Corp/odoo_OCB,osvalr/odoo,gsmartway/odoo,CatsAndDogsbvba/odoo,srsman/odoo,Noviat/odoo,lightcn/odoo,rdeheele/odoo,BT-astauder/odoo,fuhongliang/odoo,windedge/odoo,kybriainfotech/iSocioCRM,rgeleta/odoo,OpenUpgrade-dev/OpenUpgrade,cedk/odoo,sysadminmatmoz/OCB,numerigraphe/odoo,lightcn/odoo,SAM-IT-SA/odoo,gorjuce/odoo,windedge/odoo,Ernesto99/odoo,feroda/odoo,PongPi/isl-odoo,NL66278/OCB,oihane/odoo,slevenhagen/odoo-npg,ApuliaSoftware/odoo,leorochael/odoo,cloud9UG/odoo,dllsf/odootest,markeTIC/OCB,ClearCorp-dev/odoo,mkieszek/odoo,xzYue/odoo,florentx/OpenUpgrade
xml
## Code Before: <?xml version="1.0" encoding="UTF-8"?> <!-- vim:fdl=1: --> <templates id="template" xml:space="preserve"> <t t-extend="ViewManager"> <t t-jquery=".oe-view-manager-header" t-operation="before"> </t> </t> </templates> ## Instruction: [IMP] Extend ViewManagerAction to add fromview bzr revid: rgaopenerp-20120611092619-6l8h7atm43fimeg6 ## Code After: <?xml version="1.0" encoding="UTF-8"?> <!-- vim:fdl=1: --> <templates id="template" xml:space="preserve"> <t t-extend="ViewManagerAction"> <t t-jquery=".oe_view_manager_header" t-operation="after"> <div class='.oe_extended_form_view'></div> </t> </t> </templates>
ef3ab958728896112129881de1e50b5d7478b3a7
lib/adhearsion-asr/plugin.rb
lib/adhearsion-asr/plugin.rb
module AdhearsionASR class Plugin < Adhearsion::Plugin config :adhearsion_asr do min_confidence 0.5, desc: 'The default minimum confidence level used for all recognizer invocations.' end end end
module AdhearsionASR class Plugin < Adhearsion::Plugin config :adhearsion_asr do min_confidence 0.5, desc: 'The default minimum confidence level used for all recognizer invocations.', transform: Proc.new { |v| v.to_f } end end end
Transform minimum confidence setting to a float
Transform minimum confidence setting to a float
Ruby
mit
adhearsion/adhearsion-asr
ruby
## Code Before: module AdhearsionASR class Plugin < Adhearsion::Plugin config :adhearsion_asr do min_confidence 0.5, desc: 'The default minimum confidence level used for all recognizer invocations.' end end end ## Instruction: Transform minimum confidence setting to a float ## Code After: module AdhearsionASR class Plugin < Adhearsion::Plugin config :adhearsion_asr do min_confidence 0.5, desc: 'The default minimum confidence level used for all recognizer invocations.', transform: Proc.new { |v| v.to_f } end end end
85827d7f1932740e663f99891757ce552613a2c5
README.md
README.md
Ruby version: `2.0.0` or above. Jekyll version: `3.3.1` ## Usage ### Development ```ruby jekyll serve ``` ### Production ```ruby jekyll build ```
- Ruby version: `2.0.0` or above. - Jekyll version: `3.3.1` ## Usage ### Development ```ruby jekyll serve ``` ### Production ```ruby jekyll build ``` ## Collaboration Travis CI will build `master` branch and run `bash ./deploy.sh`, which would push the build result to `release` branch. ## License Apache 2.0
Update readme add collaboration & license
Update readme add collaboration & license
Markdown
apache-2.0
gocn/edu,gocn/edu,gocn/edu
markdown
## Code Before: Ruby version: `2.0.0` or above. Jekyll version: `3.3.1` ## Usage ### Development ```ruby jekyll serve ``` ### Production ```ruby jekyll build ``` ## Instruction: Update readme add collaboration & license ## Code After: - Ruby version: `2.0.0` or above. - Jekyll version: `3.3.1` ## Usage ### Development ```ruby jekyll serve ``` ### Production ```ruby jekyll build ``` ## Collaboration Travis CI will build `master` branch and run `bash ./deploy.sh`, which would push the build result to `release` branch. ## License Apache 2.0
d1b7bcbca2be4eae3bf7572a8343a3bd69ce61a9
src/qt/android/res/values/libs.xml
src/qt/android/res/values/libs.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <array name="load_local_libs"> <item> arm64-v8a;libbitcoin-qt_arm64-v8a.so </item> <item> armeabi-v7a;libbitcoin-qt_armeabi-v7a.so </item> <item> x86_64;libbitcoin-qt_x86_64.so </item> <item> x86;libbitcoin-qt_x86.so </item> </array> </resources>
<?xml version="1.0" encoding="utf-8"?> <resources> <array name="load_local_libs"> <item> arm64-v8a;libbitcoin-qt_arm64-v8a.so </item> <item> armeabi-v7a;libbitcoin-qt_armeabi-v7a.so </item> <item> x86_64;libbitcoin-qt_x86_64.so </item> </array> </resources>
Drop no longer supported Android architecture
qt: Drop no longer supported Android architecture
XML
mit
mruddy/bitcoin,domob1812/bitcoin,particl/particl-core,bitcoin/bitcoin,namecoin/namecore,namecoin/namecoin-core,lateminer/bitcoin,kallewoof/bitcoin,Xekyo/bitcoin,kallewoof/bitcoin,particl/particl-core,bitcoinsSG/bitcoin,fujicoin/fujicoin,sstone/bitcoin,jamesob/bitcoin,bitcoin/bitcoin,bitcoin/bitcoin,bitcoinsSG/bitcoin,tecnovert/particl-core,Xekyo/bitcoin,namecoin/namecore,mruddy/bitcoin,namecoin/namecoin-core,lateminer/bitcoin,jambolo/bitcoin,ajtowns/bitcoin,fanquake/bitcoin,mruddy/bitcoin,kallewoof/bitcoin,jambolo/bitcoin,instagibbs/bitcoin,jambolo/bitcoin,andreaskern/bitcoin,andreaskern/bitcoin,namecoin/namecore,AkioNak/bitcoin,ajtowns/bitcoin,bitcoinsSG/bitcoin,sstone/bitcoin,domob1812/bitcoin,namecoin/namecoin-core,domob1812/bitcoin,tecnovert/particl-core,fanquake/bitcoin,Xekyo/bitcoin,ajtowns/bitcoin,bitcoin/bitcoin,jamesob/bitcoin,sipsorcery/bitcoin,fanquake/bitcoin,kallewoof/bitcoin,sstone/bitcoin,sipsorcery/bitcoin,instagibbs/bitcoin,ajtowns/bitcoin,namecoin/namecore,fujicoin/fujicoin,instagibbs/bitcoin,AkioNak/bitcoin,AkioNak/bitcoin,namecoin/namecoin-core,jamesob/bitcoin,bitcoinsSG/bitcoin,andreaskern/bitcoin,sstone/bitcoin,fanquake/bitcoin,mruddy/bitcoin,instagibbs/bitcoin,domob1812/bitcoin,kallewoof/bitcoin,namecoin/namecore,lateminer/bitcoin,bitcoinsSG/bitcoin,sstone/bitcoin,sipsorcery/bitcoin,namecoin/namecoin-core,namecoin/namecoin-core,fujicoin/fujicoin,ajtowns/bitcoin,AkioNak/bitcoin,mruddy/bitcoin,andreaskern/bitcoin,fujicoin/fujicoin,particl/particl-core,instagibbs/bitcoin,fujicoin/fujicoin,sipsorcery/bitcoin,jambolo/bitcoin,AkioNak/bitcoin,domob1812/bitcoin,domob1812/bitcoin,sipsorcery/bitcoin,sipsorcery/bitcoin,AkioNak/bitcoin,fanquake/bitcoin,particl/particl-core,tecnovert/particl-core,bitcoin/bitcoin,fanquake/bitcoin,fujicoin/fujicoin,particl/particl-core,Xekyo/bitcoin,lateminer/bitcoin,ajtowns/bitcoin,tecnovert/particl-core,andreaskern/bitcoin,andreaskern/bitcoin,jambolo/bitcoin,Xekyo/bitcoin,tecnovert/particl-core,lateminer/bitcoin,sstone/bitcoin,jamesob/bitcoin,bitcoin/bitcoin,particl/particl-core,namecoin/namecore,kallewoof/bitcoin,jamesob/bitcoin,tecnovert/particl-core,jambolo/bitcoin,instagibbs/bitcoin,lateminer/bitcoin,jamesob/bitcoin,Xekyo/bitcoin,mruddy/bitcoin,bitcoinsSG/bitcoin
xml
## Code Before: <?xml version="1.0" encoding="utf-8"?> <resources> <array name="load_local_libs"> <item> arm64-v8a;libbitcoin-qt_arm64-v8a.so </item> <item> armeabi-v7a;libbitcoin-qt_armeabi-v7a.so </item> <item> x86_64;libbitcoin-qt_x86_64.so </item> <item> x86;libbitcoin-qt_x86.so </item> </array> </resources> ## Instruction: qt: Drop no longer supported Android architecture ## Code After: <?xml version="1.0" encoding="utf-8"?> <resources> <array name="load_local_libs"> <item> arm64-v8a;libbitcoin-qt_arm64-v8a.so </item> <item> armeabi-v7a;libbitcoin-qt_armeabi-v7a.so </item> <item> x86_64;libbitcoin-qt_x86_64.so </item> </array> </resources>