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
db284fbf008ed6c0823dbf3cd18a29f0cb88a09f
src/ModelOutputHandler/src/uk/ac/ox/zoo/seeg/abraid/mp/modeloutputhandler/geoserver/layer.xml.ftl
src/ModelOutputHandler/src/uk/ac/ox/zoo/seeg/abraid/mp/modeloutputhandler/geoserver/layer.xml.ftl
<layer> <styles /> <authorityURLs /> <identifiers /> <enabled>true</enabled> <name>${basename}</name> <type>RASTER</type> <defaultStyle>abraid_raster</defaultStyle> <attribution> <logoWidth>0</logoWidth> <logoHeight>0</logoHeight> </attribution> </layer>
<layer> <styles /> <authorityURLs /> <identifiers /> <enabled>true</enabled> <name>${basename}</name> <type>RASTER</type> <defaultStyle> <name>abraid_raster</name> <workspace>abraid</workspace> </defaultStyle> <attribution> <logoWidth>0</logoWidth> <lo...
Fix default style detection for REST api based geoserver layer creation
Fix default style detection for REST api based geoserver layer creation
FreeMarker
apache-2.0
SEEG-Oxford/ABRAID-MP,SEEG-Oxford/ABRAID-MP,SEEG-Oxford/ABRAID-MP,SEEG-Oxford/ABRAID-MP,SEEG-Oxford/ABRAID-MP,SEEG-Oxford/ABRAID-MP
freemarker
## Code Before: <layer> <styles /> <authorityURLs /> <identifiers /> <enabled>true</enabled> <name>${basename}</name> <type>RASTER</type> <defaultStyle>abraid_raster</defaultStyle> <attribution> <logoWidth>0</logoWidth> <logoHeight>0</logoHeight> </attribution> </laye...
3ecdff8d9c6f7e8118547e662dedfc90dcb74dde
composer.json
composer.json
{ "name": "lankit/datatables-bundle", "description": "DataTables.js server-side processing for Doctrine Entities", "keywords": ["LanKitDatatables","LanKit","DataTables"], "type": "symfony-bundle", "license": "MIT", "authors": [ { "name": "Chad Sikorra", "email": "...
{ "name": "lankit/datatables-bundle", "description": "DataTables.js server-side processing for Doctrine Entities", "keywords": ["LanKitDatatables","LanKit","DataTables"], "type": "symfony-bundle", "license": "MIT", "authors": [ { "name": "Chad Sikorra", "email": "...
Update symfony framework version requirement
Update symfony framework version requirement
JSON
mit
nino-s/DatatablesBundle
json
## Code Before: { "name": "lankit/datatables-bundle", "description": "DataTables.js server-side processing for Doctrine Entities", "keywords": ["LanKitDatatables","LanKit","DataTables"], "type": "symfony-bundle", "license": "MIT", "authors": [ { "name": "Chad Sikorra", ...
74a5b5df23a69d4db3305d2e1c4d27bea880c3cb
src/main/java/com/raoulvdberge/refinedstorage/integration/forgeenergy/ItemEnergyForge.java
src/main/java/com/raoulvdberge/refinedstorage/integration/forgeenergy/ItemEnergyForge.java
package com.raoulvdberge.refinedstorage.integration.forgeenergy; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.energy.EnergyStorage; public class ItemEnergyForge extends EnergyStorage { private static final String NBT_ENERGY = "Energy"; private ItemSt...
package com.raoulvdberge.refinedstorage.integration.forgeenergy; import net.minecraft.item.ItemStack; import net.minecraft.nbt.CompoundNBT; import net.minecraftforge.energy.EnergyStorage; public class ItemEnergyForge extends EnergyStorage { private static final String NBT_ENERGY = "Energy"; private ItemStack...
Fix errors in integration pkg
Fix errors in integration pkg
Java
mit
raoulvdberge/refinedstorage,raoulvdberge/refinedstorage
java
## Code Before: package com.raoulvdberge.refinedstorage.integration.forgeenergy; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.energy.EnergyStorage; public class ItemEnergyForge extends EnergyStorage { private static final String NBT_ENERGY = "Energy"; ...
5d7299dd3942d293723b6db31c57cc14c658f4c1
pom.xml
pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.jenkins-ci.plugins</groupId> <artifa...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.jenkins-ci.plugins</groupId> ...
Make it compatible to 1.409 series
Make it compatible to 1.409 series
XML
mit
jenkinsci/scripttrigger-plugin,jenkinsci/scripttrigger-plugin
xml
## Code Before: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.jenkins-ci.plugins</groupId>...
50a675aca4c977a26b981e72ed383924abd86855
cumulusci.properties
cumulusci.properties
cumulusci.package.name=HEDAP cumulusci.package.namespace=heda cumulusci.package.apiVersion=35.0 cumulusci.package.installClass=STG_InstallScript cumulusci.unmanaged.destroy.mode=partial cumulusci.github.url.raw=https://raw.github.com/SalesforceFoundation/HEDAP cumulusci.mrbelvedere.url=https://mrbelvedere.salesforcefou...
cumulusci.package.name=HEDAP cumulusci.package.name.managed=HEDA cumulusci.package.namespace=heda cumulusci.package.apiVersion=35.0 cumulusci.package.installClass=STG_InstallScript cumulusci.unmanaged.destroy.mode=partial cumulusci.github.url.raw=https://raw.github.com/SalesforceFoundation/HEDAP cumulusci.mrbelvedere.u...
Set packaging org package name to HEDA
Set packaging org package name to HEDA
INI
bsd-3-clause
chanli/HEDAP,SalesforceFoundation/HEDAP,chanli/HEDAP,chanli/HEDAP,SalesforceFoundation/HEDAP,SalesforceFoundation/HEDAP,chanli/HEDAP
ini
## Code Before: cumulusci.package.name=HEDAP cumulusci.package.namespace=heda cumulusci.package.apiVersion=35.0 cumulusci.package.installClass=STG_InstallScript cumulusci.unmanaged.destroy.mode=partial cumulusci.github.url.raw=https://raw.github.com/SalesforceFoundation/HEDAP cumulusci.mrbelvedere.url=https://mrbelvede...
9c85546068802a9c487d6104829bd233cc832556
roles/present/tasks/main.yml
roles/present/tasks/main.yml
--- - name: presenter docker: name: presenter image: deconst/presenter pull: always state: reloaded links: - "content-service:content-service" - "mapping-service:mapping-service" env: CONTENT_SERVICE_URL: http://content-service:8080/ MAPPING_SERVICE_URL: http://mapping-ser...
--- - name: presenter docker: name: presenter image: deconst/presenter pull: always state: reloaded links: - "content-service:content-service" - "mapping-service:mapping-service" env: CONTENT_SERVICE_URL: http://content-service:{{ content_service_port }}/ MAPPING_SERVICE_U...
Use the variables in the presenter, too.
Use the variables in the presenter, too.
YAML
apache-2.0
deconst/deploy,ktbartholomew/deploy,ktbartholomew/deploy,deconst/deploy
yaml
## Code Before: --- - name: presenter docker: name: presenter image: deconst/presenter pull: always state: reloaded links: - "content-service:content-service" - "mapping-service:mapping-service" env: CONTENT_SERVICE_URL: http://content-service:8080/ MAPPING_SERVICE_URL: ht...
aff0b36c0e8fa352711cf0c3c30509ab995b7330
notes/todo.txt
notes/todo.txt
Refactor email_format_validator_test.rb and password_format_validator_test.rb Refactor email_format_validator.rb and password_format_validator.rb Map db exceptions to model errors Refactor fixtures: use better fixture names Remove uneeded methods from HomeController (e.g. index) Refactor sign_up_test.rb Test what...
Refactor email_format_validator_test.rb and password_format_validator_test.rb Refactor email_format_validator.rb and password_format_validator.rb Map db exceptions to model errors Refactor fixtures: use better fixture names Remove uneeded methods from HomeController (e.g. index) Refactor sign_up_test.rb Test what...
Add TODO to remove title from startup page
Add TODO to remove title from startup page
Text
mit
milewdev/biodb,milewdev/biodb,milewdev/biodb
text
## Code Before: Refactor email_format_validator_test.rb and password_format_validator_test.rb Refactor email_format_validator.rb and password_format_validator.rb Map db exceptions to model errors Refactor fixtures: use better fixture names Remove uneeded methods from HomeController (e.g. index) Refactor sign_up_te...
b426bf9c0d1ed909365cb6b8496e1c26867f8456
README.md
README.md
Hello Sphere API ================ First steps to accessing the API of [SPHERE.IO](http://sphere.io/) in several languages.
Hello Sphere API ================ ![SPHERE.IO icon](https://admin.sphere.io/assets/images/sphere_logo_rgb_long.png) [![Build Status](https://travis-ci.org/sphereio/sphere-hello-api.png?branch=master)](https://travis-ci.org/sphereio/sphere-hello-api) First steps to accessing the API of [SPHERE.IO](http://sphere.io/) ...
Add sphere logo and travis-ci badge.
Add sphere logo and travis-ci badge.
Markdown
mit
sphereio/sphere-hello-api,sphereio/sphere-hello-api,sphereio/sphere-hello-api,sphereio/sphere-hello-api,sphereio/sphere-hello-api,sphereio/sphere-hello-api
markdown
## Code Before: Hello Sphere API ================ First steps to accessing the API of [SPHERE.IO](http://sphere.io/) in several languages. ## Instruction: Add sphere logo and travis-ci badge. ## Code After: Hello Sphere API ================ ![SPHERE.IO icon](https://admin.sphere.io/assets/images/sphere_logo_rgb_lon...
a60e5dc4bf31fb7d8ce8bb08c0178a70312f4c94
src/PiradoIV/Munchitos/Image.php
src/PiradoIV/Munchitos/Image.php
<?php namespace PiradoIV\Munchitos; class Image { protected $node; /** * Creates a new Image instance. * * @param DOMNode $node A DOMNode instance. * * @return void */ public function __construct($node) { $this->node = $node; } public function altText() ...
<?php namespace PiradoIV\Munchitos; class Image { protected $node; /** * Creates a new Image instance. * * @param DOMNode $node A DOMNode instance. * * @return void */ public function __construct($node) { $this->node = $node; } /** * Extracts the al...
Add comments for image class
Add comments for image class
PHP
mit
piradoiv/munchitos
php
## Code Before: <?php namespace PiradoIV\Munchitos; class Image { protected $node; /** * Creates a new Image instance. * * @param DOMNode $node A DOMNode instance. * * @return void */ public function __construct($node) { $this->node = $node; } public fun...
bc58c78dd64d40b0eea39183113f619aa3b9af45
app/serializers/character.js
app/serializers/character.js
import DS from 'ember-data'; export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, { attrs: { events: { embedded: 'always' } }, extract: function(store, type, payload, id, requestType) { var results = {}; results['characters'] = payload.data.results; results['meta'] = payload.data; ...
import DS from 'ember-data'; export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, { attrs: { events: { embedded: 'always' } }, extract: function(store, type, payload, id, requestType) { var results = {}; results['characters'] = payload.data.results; results['meta'] = payload.data; ...
Use map instead of loop whilst normalising events
Use map instead of loop whilst normalising events
JavaScript
mit
dtt101/superhero,dtt101/superhero
javascript
## Code Before: import DS from 'ember-data'; export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, { attrs: { events: { embedded: 'always' } }, extract: function(store, type, payload, id, requestType) { var results = {}; results['characters'] = payload.data.results; results['meta'] =...
555a4a15aab539adb19b98ec2e99a827afb075e6
ci/tasks/promote-candidate.sh
ci/tasks/promote-candidate.sh
set -e : ${AWS_ACCESS_KEY_ID:?} : ${AWS_SECRET_ACCESS_KEY:?} source bosh-cpi-src/ci/utils.sh source /etc/profile.d/chruby.sh chruby 2.4.2 # Creates an integer version number from the semantic version format # May be changed when we decide to fully use semantic versions for releases integer_version=`cut -d "." -f1 r...
set -e : ${AWS_ACCESS_KEY_ID:?} : ${AWS_SECRET_ACCESS_KEY:?} source bosh-cpi-src/ci/utils.sh source /etc/profile.d/chruby.sh chruby 2.4.2 # Creates an integer version number from the semantic version format # May be changed when we decide to fully use semantic versions for releases integer_version=`cut -d "." -f1 r...
Update private.yml format to v2
Update private.yml format to v2 Signed-off-by: Neha Jain <b21d539db42de6b5c6c25a59f239550a20ac2588@vmware.com>
Shell
apache-2.0
cloudfoundry-incubator/bosh-aws-cpi-release,cloudfoundry-incubator/bosh-aws-cpi-release,cloudfoundry-incubator/bosh-aws-cpi-release
shell
## Code Before: set -e : ${AWS_ACCESS_KEY_ID:?} : ${AWS_SECRET_ACCESS_KEY:?} source bosh-cpi-src/ci/utils.sh source /etc/profile.d/chruby.sh chruby 2.4.2 # Creates an integer version number from the semantic version format # May be changed when we decide to fully use semantic versions for releases integer_version=`...
f9bd33dafe554ddb2ff82a4f956b4fd0a4db72ac
src/Umbraco.Infrastructure/WebAssets/PreviewInitialize.js
src/Umbraco.Infrastructure/WebAssets/PreviewInitialize.js
[ 'lib/jquery/jquery.min.js', 'lib/angular/angular.js', 'lib/underscore/underscore-min.js', 'lib/umbraco/Extensions.js', 'js/app.js', 'js/umbraco.resources.js', 'js/umbraco.services.js', 'js/umbraco.interceptors.js', 'ServerVariables', 'lib/signalr/jquery.signalR.js', 'BackO...
[ 'lib/jquery/jquery.min.js', 'lib/angular/angular.js', 'lib/underscore/underscore-min.js', 'lib/umbraco/Extensions.js', 'js/app.js', 'js/umbraco.resources.js', 'js/umbraco.services.js', 'js/umbraco.interceptors.js', 'ServerVariables', 'lib/signalr/signalr.min.js', 'js/umbra...
Include new SignalR in preview view
Include new SignalR in preview view
JavaScript
mit
umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,...
javascript
## Code Before: [ 'lib/jquery/jquery.min.js', 'lib/angular/angular.js', 'lib/underscore/underscore-min.js', 'lib/umbraco/Extensions.js', 'js/app.js', 'js/umbraco.resources.js', 'js/umbraco.services.js', 'js/umbraco.interceptors.js', 'ServerVariables', 'lib/signalr/jquery.signalR...
cfcfb26977881cbb603a340e3c585b88ef50bced
src/Console/Commands/SeedCommand.php
src/Console/Commands/SeedCommand.php
<?php declare(strict_types=1); namespace Cortex\Foundation\Console\Commands; use Illuminate\Console\Command; use Rinvex\Support\Traits\SeederHelper; class SeedCommand extends Command { use SeederHelper; /** * The name and signature of the console command. * * @var string */ protecte...
<?php declare(strict_types=1); namespace Cortex\Foundation\Console\Commands; use Illuminate\Console\Command; use Rinvex\Support\Traits\SeederHelper; class SeedCommand extends Command { use SeederHelper; /** * The name and signature of the console command. * * @var string */ protecte...
Exclude policy from existing ability seeder query check
Exclude policy from existing ability seeder query check
PHP
mit
rinvex/cortex-foundation
php
## Code Before: <?php declare(strict_types=1); namespace Cortex\Foundation\Console\Commands; use Illuminate\Console\Command; use Rinvex\Support\Traits\SeederHelper; class SeedCommand extends Command { use SeederHelper; /** * The name and signature of the console command. * * @var string ...
cade6d5f4f1bd0d1a19078ed362c14e3a4dcdba8
api/lib/api_web/views/resource_view.ex
api/lib/api_web/views/resource_view.ex
defmodule ApiWeb.ResourceView do use ApiWeb, :view alias ApiWeb.ResourceView def render("index.json", %{resources: resources}) do %{data: render_many(resources, ResourceView, "resource.json")} end def render("resource.json", %{resource: %{ "type" => type, "identifier" => identifier }}) do %{type: ty...
defmodule ApiWeb.ResourceView do use ApiWeb, :view alias ApiWeb.ResourceView def render("index.json", %{resources: resources}) do %{data: render_many(resources, ResourceView, "resource.json")} end def render("resource.json", %{resource: %{"id" => id, "type" => type, "identifier" => identifier, ...
Add id & shortDescription to resource output
Add id & shortDescription to resource output
Elixir
apache-2.0
dainst/idai-field-web,dainst/idai-field-web,dainst/idai-field-web
elixir
## Code Before: defmodule ApiWeb.ResourceView do use ApiWeb, :view alias ApiWeb.ResourceView def render("index.json", %{resources: resources}) do %{data: render_many(resources, ResourceView, "resource.json")} end def render("resource.json", %{resource: %{ "type" => type, "identifier" => identifier }}) d...
ce28d39244b75ee0dd865017b4cf1a0125bf4887
ynr/apps/parties/serializers.py
ynr/apps/parties/serializers.py
from rest_framework import serializers from parties.models import Party, PartyDescription, PartyEmblem class PartyEmblemSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = PartyEmblem fields = ( "image", "description", "date_approved", ...
from rest_framework import serializers from parties.models import Party, PartyDescription, PartyEmblem class PartyEmblemSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = PartyEmblem fields = ( "image", "description", "date_approved", ...
Add legacy slug to embedded Party on memberships
Add legacy slug to embedded Party on memberships
Python
agpl-3.0
DemocracyClub/yournextrepresentative,DemocracyClub/yournextrepresentative,DemocracyClub/yournextrepresentative
python
## Code Before: from rest_framework import serializers from parties.models import Party, PartyDescription, PartyEmblem class PartyEmblemSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = PartyEmblem fields = ( "image", "description", "date_...
e625d829629bca4180aae2f74dff35ee31377288
README.md
README.md
[![Build Status](https://travis-ci.org/editorconfig/editorconfig-vscode.svg?branch=master)](https://travis-ci.org/editorconfig/editorconfig-vscode) Forked from [`Microsoft/vscode-editorconfig`](https://github.com/Microsoft/vscode-editorconfig), because issues and pull requests were not being addressed in a timely man...
[![Build Status](https://travis-ci.org/editorconfig/editorconfig-vscode.svg?branch=master)](https://travis-ci.org/editorconfig/editorconfig-vscode) Forked from [`Microsoft/vscode-editorconfig`](https://github.com/Microsoft/vscode-editorconfig), which Microsoft [has now deprecated](https://github.com/Microsoft/vscode-...
Update readme, deprecate Microsoft extension
Update readme, deprecate Microsoft extension
Markdown
mit
jedmao/editorconfig-vscode,editorconfig/editorconfig-vscode
markdown
## Code Before: [![Build Status](https://travis-ci.org/editorconfig/editorconfig-vscode.svg?branch=master)](https://travis-ci.org/editorconfig/editorconfig-vscode) Forked from [`Microsoft/vscode-editorconfig`](https://github.com/Microsoft/vscode-editorconfig), because issues and pull requests were not being addressed...
33ae72d4c09fd2713f6d5dde20ef3bd02384dacd
src/prefabs/datatype_map.js
src/prefabs/datatype_map.js
// Constructor function Map() { this.value = undefined; } // Static Methods Map.isMap = (map) => map instanceof Map; // Prototype Methods Map.prototype.value = function() { throw "Map is not implemented yet"; } Map.prototype.toString = function() { throw "Map is not implemented yet"; } Map.prototype.isU...
// Constructor function ErlMap(map) { this.value = typeof map == "object" ? map : {}; } // Static Methods ErlMap.isErlMap = (map) => map instanceof ErlMap; // Prototype Methods ErlMap.prototype.getValue = function() { return this.value; }; ErlMap.prototype.get = function(key) { if (typeof key != "string"...
Add some functionality to the map datatype
Add some functionality to the map datatype
JavaScript
mit
Vereis/jarlang,Vereis/jarlang
javascript
## Code Before: // Constructor function Map() { this.value = undefined; } // Static Methods Map.isMap = (map) => map instanceof Map; // Prototype Methods Map.prototype.value = function() { throw "Map is not implemented yet"; } Map.prototype.toString = function() { throw "Map is not implemented yet"; } M...
a521c4a4a55437452a4a7d006ec8faea0521ea05
capstone/rl/learners/sarsa.py
capstone/rl/learners/sarsa.py
from ..learner import Learner from ..policies import RandomPolicy from ..value_functions import TabularQ from ...utils import check_random_state class Sarsa(Learner): def __init__(self, env, policy=None, learning_rate=0.1, discount_factor=0.99, n_episodes=1000, verbose=True, random_state=None): ...
from ..learner import Learner from ..policies import RandomPolicy from ..value_functions import TabularQ from ...utils import check_random_state class Sarsa(Learner): def __init__(self, env, policy=None, learning_rate=0.1, discount_factor=0.99, n_episodes=1000, verbose=True, random_state=None): ...
Create tabular q-function with kwarg random_state
Create tabular q-function with kwarg random_state
Python
mit
davidrobles/mlnd-capstone-code
python
## Code Before: from ..learner import Learner from ..policies import RandomPolicy from ..value_functions import TabularQ from ...utils import check_random_state class Sarsa(Learner): def __init__(self, env, policy=None, learning_rate=0.1, discount_factor=0.99, n_episodes=1000, verbose=True, rand...
1730a9b355bc090a006842c04ebdc87421218c9c
templates/zerver/help/roles-and-permissions.md
templates/zerver/help/roles-and-permissions.md
There are several roles in a Zulip organization. * **Organization Administrator**: Can manage users, public streams, organization settings, and billing. * **Member**: Has access to all public streams. This is the default role for most users. * **Guest**: Can only access streams they've been added to. Cannot cre...
There are several roles in a Zulip organization. * **Organization Administrator**: Can manage users, public streams, organization settings, and billing. * **Member**: Has access to all public streams. This is the default role for most users. * **Guest**: Can only access streams they've been added to. Cannot cre...
Make it clearer that guests can see other members.
help: Make it clearer that guests can see other members.
Markdown
apache-2.0
hackerkid/zulip,zulip/zulip,timabbott/zulip,kou/zulip,showell/zulip,rht/zulip,kou/zulip,hackerkid/zulip,zulip/zulip,kou/zulip,brainwane/zulip,showell/zulip,eeshangarg/zulip,synicalsyntax/zulip,tommyip/zulip,hackerkid/zulip,andersk/zulip,shubhamdhama/zulip,hackerkid/zulip,hackerkid/zulip,tommyip/zulip,timabbott/zulip,zu...
markdown
## Code Before: There are several roles in a Zulip organization. * **Organization Administrator**: Can manage users, public streams, organization settings, and billing. * **Member**: Has access to all public streams. This is the default role for most users. * **Guest**: Can only access streams they've been adde...
9250926c608917b4ecd98ba49a8ad981ef886c9a
.travis.yml
.travis.yml
sudo: false language: ruby rvm: - 2.3.2 - 2.2.6 - 2.1.10 - 2.0.0 notifications: email: - travisci@dennmart.com
sudo: false language: ruby rvm: - 2.4.0 - 2.3.2 - 2.2.6 - 2.1.10 - 2.0.0 notifications: email: - travisci@dennmart.com
Add Ruby 2.4 to Travis CI testing
Add Ruby 2.4 to Travis CI testing
YAML
mit
dennmart/wanikani-gem
yaml
## Code Before: sudo: false language: ruby rvm: - 2.3.2 - 2.2.6 - 2.1.10 - 2.0.0 notifications: email: - travisci@dennmart.com ## Instruction: Add Ruby 2.4 to Travis CI testing ## Code After: sudo: false language: ruby rvm: - 2.4.0 - 2.3.2 - 2.2.6 - 2.1.10 - 2.0.0 notifications: email: -...
fe2eff994f753fda1a3d1b2296f6824f59f1f3d5
config/maki.php
config/maki.php
<?php return [ // Class you want to use to represent sections 'sectionClass' => \StartupPalace\Maki\Section::class, // Class you want to use to represent field values 'fieldValueClass' => \StartupPalace\Maki\FieldValue::class, // Path to Maki's templates (from `resources/views`) 'templatePath' ...
<?php return [ // Class you want to use to represent sections 'sectionClass' => \StartupPalace\Maki\Section::class, // Class you want to use to represent field values 'fieldValueClass' => \StartupPalace\Maki\FieldValue::class, // Path to Maki's templates (from `resources/views`) 'templatePath' ...
Remove button and cover fields from default config
Remove button and cover fields from default config
PHP
mit
startup-palace/laravel-maki,startup-palace/laravel-maki
php
## Code Before: <?php return [ // Class you want to use to represent sections 'sectionClass' => \StartupPalace\Maki\Section::class, // Class you want to use to represent field values 'fieldValueClass' => \StartupPalace\Maki\FieldValue::class, // Path to Maki's templates (from `resources/views`) ...
e409e210a440897e515e0a84a9f3336be5e52b01
updater.sh
updater.sh
docker pull resin/rpi-raspbian:wheezy docker run -d -i -t --name img-updater resin/rpi-raspbian:wheezy /bin/bash docker exec img-updater apt-get update docker exec img-updater apt-get upgrade -y # Generate version tag for docker image: resin/rpi-raspbian:wheezy-YYYY-MM-DD # Default OS_NAME=resin/rpi-raspbian:w...
docker pull resin/rpi-raspbian:wheezy docker run -d -i -t --name img-updater resin/rpi-raspbian:wheezy /bin/bash docker exec img-updater apt-get update docker exec img-updater apt-get upgrade -y # Generate version tag for docker image: resin/rpi-raspbian:wheezy-YYYY-MM-DD OS_NAME="resin/rpi-raspbian:wheezy" VERSIONT...
Change to UNIX script file
Change to UNIX script file
Shell
apache-2.0
resin-io-library/resin-rpi-raspbian,nghiant2710/resin-rpi-raspbian
shell
## Code Before: docker pull resin/rpi-raspbian:wheezy docker run -d -i -t --name img-updater resin/rpi-raspbian:wheezy /bin/bash docker exec img-updater apt-get update docker exec img-updater apt-get upgrade -y # Generate version tag for docker image: resin/rpi-raspbian:wheezy-YYYY-MM-DD # Default OS_NAME=resin/rpi-...
c74b52812d2bd21a62a96dda7a1ae48a10e132ba
core/spec/integration-real/interactors/users/delete_spec.rb
core/spec/integration-real/interactors/users/delete_spec.rb
require 'spec_helper' describe Interactors::Users::Delete do include PavlovSupport it 'persistant stores the delete flag' do user = create :full_user initial_username = user.username expect(user.deleted).to eq(false) as(user) do |pavlov| described_class.new(user_id: user.id.to_s, pavlov_opti...
require 'spec_helper' describe Interactors::Users::Delete do include PavlovSupport it 'persistant stores the delete flag' do user = create :full_user initial_username = user.username expect(user.deleted).to eq(false) as(user) do |pavlov| pavlov.interactor :'users/delete', user_id: user.id.to...
Use more typical pavlov for integration tests.
Use more typical pavlov for integration tests.
Ruby
mit
daukantas/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core
ruby
## Code Before: require 'spec_helper' describe Interactors::Users::Delete do include PavlovSupport it 'persistant stores the delete flag' do user = create :full_user initial_username = user.username expect(user.deleted).to eq(false) as(user) do |pavlov| described_class.new(user_id: user.id.t...
298ce557ab8498a1e80f816e5aec78d8ad8547e4
.rubocop.yml
.rubocop.yml
AllCops: Include: - 'Rakefile' Exclude: - 'bin/**/*' - 'vendor/**/*' Metrics/AbcSize: Enabled: false Metrics/LineLength: Exclude: - 'Gemfile' Metrics/MethodLength: Enabled: false Style/AlignParameters: Enabled: false Style/AndOr: EnforcedStyle: conditionals Style/Blocks: Enabled: f...
AllCops: Include: - 'Rakefile' Exclude: - 'bin/**/*' - 'vendor/**/*' Metrics/AbcSize: Max: 25 Metrics/LineLength: Exclude: - 'Gemfile' Metrics/MethodLength: Max: 25 Style/AlignParameters: Enabled: false Style/AndOr: EnforcedStyle: conditionals Style/Blocks: Enabled: false Style/Cl...
Enforce (high) limits for method length and complexity
Enforce (high) limits for method length and complexity
YAML
apache-2.0
zendesk/biz,zendesk/biz
yaml
## Code Before: AllCops: Include: - 'Rakefile' Exclude: - 'bin/**/*' - 'vendor/**/*' Metrics/AbcSize: Enabled: false Metrics/LineLength: Exclude: - 'Gemfile' Metrics/MethodLength: Enabled: false Style/AlignParameters: Enabled: false Style/AndOr: EnforcedStyle: conditionals Style/Bloc...
a61be7565c67c16df0cf4362a3441723ae1082ef
dist/utilities/_icon-font.scss
dist/utilities/_icon-font.scss
// Icon Font // ========= // // This is the base mixin required to make our icons work! Note that it takes // a number of related mixins, functions and variables for icons to work, as // seen in the below example usage: // // ```scss // // _variable.scss // $icon-address: ( // menu: '\e000' // ); // // // settings/...
// Icon Font // ========= // // This is the base mixin required to make our icons work! Note that it takes // a number of related mixins, functions and variables for icons to work, as // seen in the below example usage: // // ```scss // // _variable.scss // $icon-address: ( // menu: '\e000' // ); // // // settings/...
Add `text-transform` reset and `speak: none`
Add `text-transform` reset and `speak: none`
SCSS
mit
mobify/spline,mobify/spline
scss
## Code Before: // Icon Font // ========= // // This is the base mixin required to make our icons work! Note that it takes // a number of related mixins, functions and variables for icons to work, as // seen in the below example usage: // // ```scss // // _variable.scss // $icon-address: ( // menu: '\e000' // ); //...
ab3662315ca01a7616906f2853daed2891d3e73c
lib/ionic_notification/status_service.rb
lib/ionic_notification/status_service.rb
module IonicNotification class StatusService include HTTParty base_uri IonicNotification.ionic_api_url attr_accessor :body def initialize(message_uuid) @message_uuid = message_uuid end def check_status! self.class.get("/push/notifications/#{@message_uuid}", payload) end ...
module IonicNotification class StatusService include HTTParty base_uri IonicNotification.ionic_api_url attr_accessor :body def initialize(message_uuid) @message_uuid = message_uuid end def check_status! self.class.get("/push/notifications/#{@message_uuid}", payload) end ...
Update status check to use new Ionic header
Update status check to use new Ionic header Fixes "Authorization header is malformed; JWT could not be extracted."
Ruby
mit
rentziass/ionic_notification,rentziass/ionic_notification
ruby
## Code Before: module IonicNotification class StatusService include HTTParty base_uri IonicNotification.ionic_api_url attr_accessor :body def initialize(message_uuid) @message_uuid = message_uuid end def check_status! self.class.get("/push/notifications/#{@message_uuid}", paylo...
818db80420a80b32c3440c068393449df3d484b7
README.md
README.md
Regulated distraction. https://chrome.google.com/webstore/detail/fbnpehpbojenlldmfcopeajkichnnjpo --- Todo/eventual possibilities: * Fix incognito behavior. * Run at certain times of the day? * Better icon and promo graphics. --- © 2012 [Teddy Cross](http://tkaz.ec), shared under the [MIT](http://www.opensource.or...
Regulated distraction. https://chrome.google.com/webstore/detail/fbnpehpbojenlldmfcopeajkichnnjpo --- Posts about Session Manager: * [Morphine: Website Blocker With A Unique Reward-Based System For Unblocking](http://www.addictivetips.com/web/morphine-chrome-website-blocker-with-unique-reward-based-unblocking/) ---...
Add link to AddictiveTips review
Add link to AddictiveTips review
Markdown
mit
tkazec/morphine,tkazec/morphine,tkazec/morphine
markdown
## Code Before: Regulated distraction. https://chrome.google.com/webstore/detail/fbnpehpbojenlldmfcopeajkichnnjpo --- Todo/eventual possibilities: * Fix incognito behavior. * Run at certain times of the day? * Better icon and promo graphics. --- © 2012 [Teddy Cross](http://tkaz.ec), shared under the [MIT](http://w...
30c3c64d89c22f31e02fec320f33f543be382c73
source/stylesheets/_variables.scss
source/stylesheets/_variables.scss
/* Override default Bootstrap variables here */ $icon-font-path: '/fonts/'; //== Colors // $gray-darker: ; // $gray-dark: ; // $gray: ; // $gray-light: ; // $gray-lighter: ; // $gray-block: ; // $blue-brand: ; // $blue-li...
/* Override default Bootstrap variables here */ $icon-font-path: '/fonts/'; //== Colors $gray-base: ; // Bootstrap generates remaining $gray-* variants from this. $brand-primary: ; $brand-success: ; $brand-info: ; $brand-warning: ; $brand-danger: ...
Use better defaults for base Sass variables from Bootstrap
Use better defaults for base Sass variables from Bootstrap
SCSS
mit
cabgfx/middleman-base,cabgfx/middleman-base,cabgfx/middleman-base
scss
## Code Before: /* Override default Bootstrap variables here */ $icon-font-path: '/fonts/'; //== Colors // $gray-darker: ; // $gray-dark: ; // $gray: ; // $gray-light: ; // $gray-lighter: ; // $gray-block: ; // $blue-brand: ...
e0040b8c2d12a6681e286f791864daec0e4a894b
1-common-tasks/containers/check-existence-of-key.cpp
1-common-tasks/containers/check-existence-of-key.cpp
// Check existence of a key // C++11 #include <map> #include <string> int main() { std::map<string, int> m = {{"a", 1}, {"b", 2}, {"c", 3}}; if (m.count("b")) { // We know "b" is in m } } // Check if a particular key is in an associative container. // // On [9], we create a [`std::map`](cpp/containe...
// Check existence of a key // C++11 #include <map> #include <string> int main() { std::map<std::string, int> m = {{"a", 1}, {"b", 2}, {"c", 3}}; if (m.count("b")) { // We know "b" is in m } } // Check if a particular key is in an associative container. // // On [9], we create a [`std::map`](cpp/container/m...
Make corrections to key existence sample
Make corrections to key existence sample
C++
cc0-1.0
brunotag/CppSamples-Samples,vjacquet/CppSamples-Samples,thatbrod/CppSamples-Samples,rollbear/CppSamples-Samples,tmwoz/CppSamples-Samples,sftrabbit/CppSamples-Samples
c++
## Code Before: // Check existence of a key // C++11 #include <map> #include <string> int main() { std::map<string, int> m = {{"a", 1}, {"b", 2}, {"c", 3}}; if (m.count("b")) { // We know "b" is in m } } // Check if a particular key is in an associative container. // // On [9], we create a [`std::ma...
77e281fdf5018ab8b818da976c1fe938bb8198e9
spec/controllers/workers_controller_spec.rb
spec/controllers/workers_controller_spec.rb
require 'rails_helper' RSpec.describe Kuroko2::WorkersController, :type => :controller do routes { Kuroko2::Engine.routes } end
require 'rails_helper' RSpec.describe Kuroko2::WorkersController, :type => :controller do routes { Kuroko2::Engine.routes } before { sign_in } let(:worker) { create(:worker) } describe '#update' do subject! { patch :update, params: { id: worker.id, suspended: true } } it do expect(response).t...
Add spec for workers controller
Add spec for workers controller
Ruby
mit
cookpad/kuroko2,cookpad/kuroko2,cookpad/kuroko2
ruby
## Code Before: require 'rails_helper' RSpec.describe Kuroko2::WorkersController, :type => :controller do routes { Kuroko2::Engine.routes } end ## Instruction: Add spec for workers controller ## Code After: require 'rails_helper' RSpec.describe Kuroko2::WorkersController, :type => :controller do routes { Kuroko...
19d053cc0f3ef64466b63510fd89984d19ad2a77
app/controllers/user/base_controller.rb
app/controllers/user/base_controller.rb
class User::BaseController < ApplicationController include User::SessionHelper include User::VerificationHelper layout "user/layouts/application" end
class User::BaseController < ApplicationController include User::SessionHelper include User::VerificationHelper layout "user/layouts/application" private def read_only_user_attributes return [] unless auth_modules_present? @read_only_user_attributes ||= current_site.configuration.auth_modules_data...
Allow definition of read only user fields from auth modules
Allow definition of read only user fields from auth modules In config/application.yml, at the auth modules section, for an auth provider a read_only_user_attributes can be defined, with an array of user attributes identifiers which the user won't be able to edit. The attributes identifiers can be both names of attribu...
Ruby
agpl-3.0
PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev
ruby
## Code Before: class User::BaseController < ApplicationController include User::SessionHelper include User::VerificationHelper layout "user/layouts/application" end ## Instruction: Allow definition of read only user fields from auth modules In config/application.yml, at the auth modules section, for an auth p...
4a1afa694cd8ebd6591d5a825ee35e4f57c98469
mk/os-Linux.mk
mk/os-Linux.mk
SFX= .Linux.in PKG_PREFIX?= /usr CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700 LIBDL= -Wl,-Bdynamic -ldl
SFX= .Linux.in PKG_PREFIX?= /usr CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700 LIBDL= -Wl,-Bdynamic -ldl ifeq (${MKSELINUX},yes) CPPFLAGS+= -DHAVE_SELINUX LIBSELINUX= -lselinux LDADD += $(LIBSELINUX) endif
Add SELinux support to the build system
Add SELinux support to the build system X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
Makefile
bsd-2-clause
williamh/openrc,dwfreed/openrc,williamh/openrc,OpenRC/openrc,OpenRC/openrc,dwfreed/openrc,OpenRC/openrc,dwfreed/openrc,williamh/openrc
makefile
## Code Before: SFX= .Linux.in PKG_PREFIX?= /usr CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700 LIBDL= -Wl,-Bdynamic -ldl ## Instruction: Add SELinux support to the build system X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956 ## Code After: SFX= .Linux.in PKG_PREFIX?= /usr ...
c0fae23a9c73645dc82bc52c9783bd01e8c26c65
pkg/apis/pipeline/controller.go
pkg/apis/pipeline/controller.go
/* Copyright 2019 The Tekton Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
/* Copyright 2019 The Tekton Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
Update comment on RunControllerName const
Update comment on RunControllerName const Prior to this commit the code comment for the `RunControllerName` const actually desribed the PipelineRun controller name. This commit updates the code comment to correctly document the custom task controller name.
Go
apache-2.0
tektoncd/pipeline,tektoncd/pipeline
go
## Code Before: /* Copyright 2019 The Tekton Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
7936f75924baee8e6f49112b38aa5de137f6f47f
README.md
README.md
Utilities for automatically wrapping c++ classes for use in javascript with the V8 Javascript engine - compatible with V8 v4.9.0.0 (i.e. not the original API that cvv8 (a much better library for doing this, but it doesn't work on the current V8 API) ``` class MyClass { public: MyClass(){} int some_method(int x){ret...
Utilities for automatically wrapping c++ classes for use in javascript with the V8 Javascript engine - compatible with V8 v4.9.0.0 (i.e. the current API as of early 2016) ``` class MyClass { public: MyClass(){} int some_method(int x){return 2*x;} int value; }; auto wrapper = V8ClassWrapper<MyClass> wrapped_point("...
Put some usage details in it
Put some usage details in it
Markdown
mit
xaxxon/v8-class-wrapper,xaxxon/v8-class-wrapper,xaxxon/v8toolkit,xaxxon/v8toolkit,xaxxon/v8-class-wrapper,xaxxon/v8toolkit
markdown
## Code Before: Utilities for automatically wrapping c++ classes for use in javascript with the V8 Javascript engine - compatible with V8 v4.9.0.0 (i.e. not the original API that cvv8 (a much better library for doing this, but it doesn't work on the current V8 API) ``` class MyClass { public: MyClass(){} int some_m...
e74c03aca3e44419c301b526b8b7a0277cc6811b
tests/cases/fourslash/tsxCompletionNonTagLessThan.ts
tests/cases/fourslash/tsxCompletionNonTagLessThan.ts
/// <reference path='fourslash.ts'/> ////var x: Array<numb/*a*/; ////[].map<numb/*b*/; ////1 < Infini/*c*/; for (const marker of ["a", "b"]) { goTo.marker(marker); verify.completionListContains("number"); verify.not.completionListContains("SVGNumber"); }; goTo.marker("c"); verify.completionListContains("...
/// <reference path='fourslash.ts'/> // @Filename: /a.tsx ////var x: Array<numb/*a*/; ////[].map<numb/*b*/; ////1 < Infini/*c*/; for (const marker of ["a", "b"]) { goTo.marker(marker); verify.completionListContains("number"); verify.not.completionListContains("SVGNumber"); }; goTo.marker("c"); verify.com...
Add missing filename to tsx test
Add missing filename to tsx test
TypeScript
apache-2.0
kpreisser/TypeScript,TukekeSoft/TypeScript,mihailik/TypeScript,DLehenbauer/TypeScript,TukekeSoft/TypeScript,weswigham/TypeScript,minestarks/TypeScript,jwbay/TypeScript,TukekeSoft/TypeScript,minestarks/TypeScript,mihailik/TypeScript,RyanCavanaugh/TypeScript,erikmcc/TypeScript,SaschaNaz/TypeScript,DLehenbauer/TypeScript,...
typescript
## Code Before: /// <reference path='fourslash.ts'/> ////var x: Array<numb/*a*/; ////[].map<numb/*b*/; ////1 < Infini/*c*/; for (const marker of ["a", "b"]) { goTo.marker(marker); verify.completionListContains("number"); verify.not.completionListContains("SVGNumber"); }; goTo.marker("c"); verify.completi...
183b2800bf7fc480e7dc5a2256b2f08528574fe1
package.json
package.json
{ "name": "ezel", "version": "0.0.2", "scripts": { "start": "make s" }, "dependencies": { "express": "*", "jade": "*", "swig": "*", "less": "*", "sharify": "*", "backbone": "*", "backbone-super-sync": "*", "less-middleware": "*", "pinyin": "*", "node-uuid": "*", ...
{ "name": "majinhu-web", "version": "0.0.1", "scripts": { "start": "make s" }, "dependencies": { "express": "*", "jade": "*", "swig": "*", "less": "*", "sharify": "*", "backbone": "*", "backbone-super-sync": "*", "less-middleware": "*", "pinyin": "git://github.com/vinge...
Update pinyin to use git repo instead of the one on npm.
Update pinyin to use git repo instead of the one on npm.
JSON
mit
starsirius/majinhu-web
json
## Code Before: { "name": "ezel", "version": "0.0.2", "scripts": { "start": "make s" }, "dependencies": { "express": "*", "jade": "*", "swig": "*", "less": "*", "sharify": "*", "backbone": "*", "backbone-super-sync": "*", "less-middleware": "*", "pinyin": "*", "node...
0c105778d41ec852842737306c2c1e954c1a7c59
README.md
README.md
js-ipld ======= [![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.ne...
js-ipld ======= [![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.ne...
Add link to ipld spec
docs(readme): Add link to ipld spec
Markdown
mit
diasdavid/node-ipld,diasdavid/js-ipld,ipld/js-ipld-dag-cbor
markdown
## Code Before: js-ipld ======= [![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://web...
fbbcb6b76893d07aa29744e115ec24b2c04f9648
.travis.yml
.travis.yml
language: python python: - "2.7" sudo: false # Cache the pip directory. "cache: pip" doesn't work due to install override. See https://github.com/travis-ci/travis-ci/issues/3239. cache: directories: - $HOME/.cache/pip install: - pip install -U pip wheel codecov - pip install -r requirements.txt script: m...
language: python python: - "2.7" sudo: false # Cache the pip directory. "cache: pip" doesn't work due to install override. See https://github.com/travis-ci/travis-ci/issues/3239. cache: directories: - $HOME/.cache/pip install: - pip install -U pip wheel codecov - pip install -r requirements.txt script: m...
Update the pypi password (ECOM-3912)
Update the pypi password (ECOM-3912)
YAML
apache-2.0
edx/ecommerce-api-client,edx/edx-rest-api-client
yaml
## Code Before: language: python python: - "2.7" sudo: false # Cache the pip directory. "cache: pip" doesn't work due to install override. See https://github.com/travis-ci/travis-ci/issues/3239. cache: directories: - $HOME/.cache/pip install: - pip install -U pip wheel codecov - pip install -r requiremen...
0fbf0ec5106cbae23fe7d48b4276f63cc2664ed8
.travis.yml
.travis.yml
language: python dist: xenial python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "3.7" - "3.8-dev" # linux deps addons: apt: packages: - mlocate - coreutils - python-virtualenv # osx deps before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi -...
language: python dist: xenial python: - "2.7" - "3.4" - "3.5" - "3.6" - "3.7" - "3.8-dev" # linux deps addons: apt: packages: - mlocate - coreutils - python-virtualenv # osx deps before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_N...
Use trusty for ancient py26/py33 CI builds
Use trusty for ancient py26/py33 CI builds
YAML
mit
randomir/envie,randomir/envie
yaml
## Code Before: language: python dist: xenial python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "3.7" - "3.8-dev" # linux deps addons: apt: packages: - mlocate - coreutils - python-virtualenv # osx deps before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bre...
8ab1461cd63761215f68f4aeabcbf991ca12d61f
package.json
package.json
{ "name": "messaging-console-server", "version": "1.0.0-SNAPSHOT", "private": true, "dependencies": { "adm-zip": "0.4.7", "bcryptjs": "2.1.0", "connect-redis": "1.4.5", "ejs": "0.7.1", "ejs-locals": "1.0.2", "emailjs": "0.3.13", "enum": "0.2.5", "express": "3.4.0", "express-e...
{ "name": "messaging-console-server", "version": "1.0.1", "private": true, "dependencies": { "adm-zip": "0.4.7", "bcryptjs": "2.1.0", "connect-redis": "1.4.5", "ejs": "0.7.1", "ejs-locals": "1.0.2", "emailjs": "0.3.13", "enum": "0.2.5", "express": "3.4.0", "express-ejs-layout...
Update version number 1.0.0-SNAPSHOT -> 1.0.1
Update version number 1.0.0-SNAPSHOT -> 1.0.1 Former-commit-id: 2f4a98a07d53adc667efc22ef393189cf4e8fd83 Former-commit-id: 6065c5699dd65f219df39ec6647f3590e00667bd Former-commit-id: 0189082f6111b83713ee208e1779f0e2cc1f32b2 Former-commit-id: afad11efb0baf3d2a7d21140bcc1eadbe55761b9
JSON
apache-2.0
magnetsystems/message-console-server,magnetsystems/message-console-server,magnetsystems/message-console-server
json
## Code Before: { "name": "messaging-console-server", "version": "1.0.0-SNAPSHOT", "private": true, "dependencies": { "adm-zip": "0.4.7", "bcryptjs": "2.1.0", "connect-redis": "1.4.5", "ejs": "0.7.1", "ejs-locals": "1.0.2", "emailjs": "0.3.13", "enum": "0.2.5", "express": "3.4.0"...
7aa89902f8af2ca1f4b3c9e356a62062cc74696b
bot/anime_searcher.py
bot/anime_searcher.py
from itertools import chain from typing import Iterable from minoshiro import Medium, Minoshiro, Site from minoshiro.helpers import get_synonyms class AnimeSearcher(Minoshiro): async def get(self, query: str, medium: Medium, sites: Iterable[Site] = None, *, timeout=3): sites = sites if ...
from typing import Iterable from minoshiro import Medium, Minoshiro, Site from minoshiro.helpers import get_synonyms class AnimeSearcher(Minoshiro): async def get(self, query: str, medium: Medium, sites: Iterable[Site] = None, *, timeout=3): sites = sites if sites else list(Site) ...
Update anime searcher implementation to use super class methods
Update anime searcher implementation to use super class methods
Python
apache-2.0
MaT1g3R/YasenBaka
python
## Code Before: from itertools import chain from typing import Iterable from minoshiro import Medium, Minoshiro, Site from minoshiro.helpers import get_synonyms class AnimeSearcher(Minoshiro): async def get(self, query: str, medium: Medium, sites: Iterable[Site] = None, *, timeout=3): s...
c16390479ac5ec863f622c69df571a0c6cc808e4
docs/Dumps.md
docs/Dumps.md
This document contains various links to packet logs, dumps and other information dumped by Soly. It is used as a reference, along with other community material, to implement PSOBB packets. ### Login/Character 1. [Basic auth/selection flow](https://gist.github.com/HelloKitty/7c941fd8a841fb5ac6cf8c530a8d214e) 2. [Join...
This document contains various links to packet logs, dumps and other information dumped by Soly. It is used as a reference, along with other community material, to implement PSOBB packets. ### Login/Character 1. [Basic auth/selection flow](https://gist.github.com/HelloKitty/7c941fd8a841fb5ac6cf8c530a8d214e) 2. [Join...
Add non-empty lobby join gist
Add non-empty lobby join gist
Markdown
agpl-3.0
HelloKitty/Booma.Proxy
markdown
## Code Before: This document contains various links to packet logs, dumps and other information dumped by Soly. It is used as a reference, along with other community material, to implement PSOBB packets. ### Login/Character 1. [Basic auth/selection flow](https://gist.github.com/HelloKitty/7c941fd8a841fb5ac6cf8c530a...
a59fa8bb59fc2d6831b8f5bcd2658d3f82f8924d
codeship-steps.yml
codeship-steps.yml
- name: test service: web command: whenavail db 3306 100 make test
- name: test service: web command: whenavail db 3306 100 /data/run-tests.sh
Correct use of make within docker container.
Correct use of make within docker container.
YAML
mit
silinternational/simplesamlphp-module-silauth,silinternational/simplesamlphp-module-silauth
yaml
## Code Before: - name: test service: web command: whenavail db 3306 100 make test ## Instruction: Correct use of make within docker container. ## Code After: - name: test service: web command: whenavail db 3306 100 /data/run-tests.sh
1b577fa733f09543a513aaf35aabcc686f1450fc
spec/tic_tac_toe_spec.rb
spec/tic_tac_toe_spec.rb
require_relative '../lib/tic_tac_toe.rb'
require_relative '../lib/tic_tac_toe.rb' describe TicTacToe do describe '#initialize' do it 'creates a empty board represented by an array of 9 slots' do ttt = TicTacToe.new expect(ttt.instance_variable_get(:@board)).to eq([" ", " ", " ", " ", " ", " ", " ", " ", " ", ]) end end end
Test TicTacToe class to instantiate with an array of 9 strings assigned to the variable @board
Test TicTacToe class to instantiate with an array of 9 strings assigned to the variable @board
Ruby
mit
portatlas/tictactoe,portatlas/tictactoe
ruby
## Code Before: require_relative '../lib/tic_tac_toe.rb' ## Instruction: Test TicTacToe class to instantiate with an array of 9 strings assigned to the variable @board ## Code After: require_relative '../lib/tic_tac_toe.rb' describe TicTacToe do describe '#initialize' do it 'creates a empty board represented by...
35e6d5cf29edeab3f4d3ac47a445c15c369203fa
index.js
index.js
module.exports = function (dest, src) { Object.getOwnPropertyNames(src).forEach(function (name) { var descriptor = Object.getOwnPropertyDescriptor(src, name) Object.defineProperty(dest, name, descriptor) }) return dest }
/*! * merge-descriptors * Copyright(c) 2014 Jonathan Ong * MIT Licensed */ /** * Module exports. * @public */ module.exports = merge /** * Merge the property descriptors of `src` into `dest` * * @param {object} dest Object to add descriptors to * @param {object} src Object to clone descriptors from * @re...
Add jsdoc to source file
Add jsdoc to source file
JavaScript
mit
nooks/merge-descriptors,component/merge-descriptors
javascript
## Code Before: module.exports = function (dest, src) { Object.getOwnPropertyNames(src).forEach(function (name) { var descriptor = Object.getOwnPropertyDescriptor(src, name) Object.defineProperty(dest, name, descriptor) }) return dest } ## Instruction: Add jsdoc to source file ## Code After: /*! * merg...
2f3a7b23b62dca9435d4e0f9274c3b0307a983b3
gin/shell/gin_shell_unittest.cc
gin/shell/gin_shell_unittest.cc
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/files/file_path.h" #include "base/path_service.h" #include "base/process/launch.h" #include "base/strings/st...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/process/launch.h" #include "base/strings/string_u...
Verify that gin_shell and hello_world.js exist.
Verify that gin_shell and hello_world.js exist. This issue: https://code.google.com/p/chromium/issues/detail?id=398549, was difficult to debug because gin/shell/gin_shell_unittest.cc didn't verify that its input files existed before forging ahead. The unit test now verifies that the gin_shell and hello_world.js paths...
C++
bsd-3-clause
Jonekee/chromium.src,Jonekee/chromium.src,dednal/chromium.src,krieger-od/nwjs_chromium.src,axinging/chromium-crosswalk,axinging/chromium-crosswalk,markYoungH/chromium.src,dushu1203/chromium.src,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,Jonekee/chromium.src,chuan9/chromium-crosswalk,Chi...
c++
## Code Before: // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/files/file_path.h" #include "base/path_service.h" #include "base/process/launch.h" #include ...
841b6acb18b6415cd37e2c0ed2e18819af556694
packages/gs/gstorable.yaml
packages/gs/gstorable.yaml
homepage: '' changelog-type: '' hash: e934670c205899e16afdd174425c6c6aeb0435a35ba12b2fd382d1169959f944 test-bench-deps: base: -any hspec: ! '>=1.1' generic-storable: -any ghc-prim: ! '>=0.2' QuickCheck: ! '>=2.4' maintainer: vamchale@gmail.com synopsis: Generic implementation of Storable changelog: '' basic-d...
homepage: '' changelog-type: '' hash: 63004dde29b28251d8d04abb49cf6770016d7693b47c91f9c93ece8a50ed7a0f test-bench-deps: base: -any hspec: ! '>=1.1' generic-storable: -any ghc-prim: ! '>=0.2' QuickCheck: ! '>=2.4' maintainer: vamchale@gmail.com synopsis: Generic implementation of Storable changelog: '' basic-d...
Update from Hackage at 2018-01-31T05:01:04Z
Update from Hackage at 2018-01-31T05:01:04Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: '' changelog-type: '' hash: e934670c205899e16afdd174425c6c6aeb0435a35ba12b2fd382d1169959f944 test-bench-deps: base: -any hspec: ! '>=1.1' generic-storable: -any ghc-prim: ! '>=0.2' QuickCheck: ! '>=2.4' maintainer: vamchale@gmail.com synopsis: Generic implementation of Storable chang...
0485391cc5e26fc42068366f861da19c49b21416
static/global/css/not-implemented.css
static/global/css/not-implemented.css
.not-implemented { color: rgba(0, 0, 255, 0.5) !important; background-color: #ddf !important; /*display: none;*/ } .not-implemented * { color: rgba(0, 0, 255, 0.5) !important; background-color: #ddf !important; /*display: none;*/ }
.not-implemented { color: rgba(0, 0, 255, 0.5) !important; background-color: #ddf !important; display: none; } .not-implemented * { color: rgba(0, 0, 255, 0.5) !important; background-color: #ddf !important; display: none !important; }
Hide unimplemented stuff for presentation
Hide unimplemented stuff for presentation
CSS
bsd-3-clause
onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site
css
## Code Before: .not-implemented { color: rgba(0, 0, 255, 0.5) !important; background-color: #ddf !important; /*display: none;*/ } .not-implemented * { color: rgba(0, 0, 255, 0.5) !important; background-color: #ddf !important; /*display: none;*/ } ## Instruction: Hide unimplemented stuff for presentation ...
f8d3bb1a8af963348ddc2ad0991fe6596e42885e
lib/Snippets.js
lib/Snippets.js
var extractSnippets = require('./extractSnippets'); var evaluateSnippets = require('./evaluateSnippets'); class Snippets { constructor(snippets) { this.items = snippets; } evaluate(options, cb) { return evaluateSnippets(this.items, options).then(() => this); } get(index) { return this.items[ind...
var extractSnippets = require('./extractSnippets'); var evaluateSnippets = require('./evaluateSnippets'); class Snippets { constructor(snippets) { this.items = snippets; } async evaluate(options) { return evaluateSnippets(this.items, options).then(() => this); } get(index) { return this.items[i...
Remove cb argument from evaluate() and mark as async.
Remove cb argument from evaluate() and mark as async. Co-Authored-By: Andreas Lind <9d09920e13870a2871b35105baa9dce1d35b3390@gmail.com>
JavaScript
mit
unexpectedjs/unexpected-markdown
javascript
## Code Before: var extractSnippets = require('./extractSnippets'); var evaluateSnippets = require('./evaluateSnippets'); class Snippets { constructor(snippets) { this.items = snippets; } evaluate(options, cb) { return evaluateSnippets(this.items, options).then(() => this); } get(index) { retur...
8815d90ab060cc49f397caf424f0c263be7fca4b
app/assets/javascripts/sprangular/directives/addressForm.coffee
app/assets/javascripts/sprangular/directives/addressForm.coffee
Sprangular.directive 'addressForm', -> restrict: 'E' templateUrl: 'addresses/form.html' scope: address: '=' countries: '=' disabled: '=' submitted: '=' controller: ($scope) -> $scope.selectedCountry = null $scope.hasErrors = false $scope.$watchGroup ['address.firstname', 'address.la...
Sprangular.directive 'addressForm', -> restrict: 'E' templateUrl: 'addresses/form.html' scope: address: '=' countries: '=' disabled: '=' submitted: '=' controller: ($scope, Account) -> $scope.user = Account.user $scope.selectedCountry = null $scope.hasErrors = false $scope.$watc...
Add $scope.user to address-form directive
Add $scope.user to address-form directive
CoffeeScript
mit
sprangular/sprangular,sprangular/sprangular,sprangular/sprangular
coffeescript
## Code Before: Sprangular.directive 'addressForm', -> restrict: 'E' templateUrl: 'addresses/form.html' scope: address: '=' countries: '=' disabled: '=' submitted: '=' controller: ($scope) -> $scope.selectedCountry = null $scope.hasErrors = false $scope.$watchGroup ['address.firstna...
83ceca04758c6546c41d5bc7f96583d838f25e11
src/mmw/apps/user/backends.py
src/mmw/apps/user/backends.py
from django.core.exceptions import ObjectDoesNotExist from django.contrib.auth.backends import BaseBackend from django.contrib.auth.models import User from apps.user.models import ItsiUser, ConcordUser class SSOAuthenticationBackend(BaseBackend): """ A custom authentication back-end for Single Sign On provid...
from django.core.exceptions import ObjectDoesNotExist from django.contrib.auth.backends import BaseBackend from django.contrib.auth.models import User from apps.user.models import ItsiUser, ConcordUser class SSOAuthenticationBackend(BaseBackend): """ A custom authentication back-end for Single Sign On provid...
Add request parameter to backend.authenticate
Add request parameter to backend.authenticate Without this, the signature of our custom backend does not match that of the function call. This signature is tested in django.contrib.auth.authenticate here: https://github.com/django/django/blob/fdf209eab8949ddc345aa0212b349c79fc6fdebb/django/contrib/auth/__init__.py#L69...
Python
apache-2.0
WikiWatershed/model-my-watershed,WikiWatershed/model-my-watershed,WikiWatershed/model-my-watershed,WikiWatershed/model-my-watershed,WikiWatershed/model-my-watershed
python
## Code Before: from django.core.exceptions import ObjectDoesNotExist from django.contrib.auth.backends import BaseBackend from django.contrib.auth.models import User from apps.user.models import ItsiUser, ConcordUser class SSOAuthenticationBackend(BaseBackend): """ A custom authentication back-end for Singl...
09c2189cf07eb7b259e00f0ae6491360853147a7
config/routes.rb
config/routes.rb
LunarShell::Engine.routes.draw do namespace :satellites do resource :clear, only: [] resource :exit, only: [] resource :help, only: [] resource :history, only: [] resource :passwd, only: [:create] do post 'confirm_password' post 'new_password' end resource :quit, only: [] r...
LunarShell::Engine.routes.draw do namespace :satellites do resource :clear, only: [] resource :exit, only: [] resource :help, only: [] resource :history, only: [] resource :passwd, only: [:create] do post 'confirm_password' post 'new_password' end resource :quit, only: [] r...
Add run route so we can use this in the middleware
Add run route so we can use this in the middleware
Ruby
mit
davenguyen/lunar-shell,davenguyen/lunar-shell,davenguyen/lunar-shell
ruby
## Code Before: LunarShell::Engine.routes.draw do namespace :satellites do resource :clear, only: [] resource :exit, only: [] resource :help, only: [] resource :history, only: [] resource :passwd, only: [:create] do post 'confirm_password' post 'new_password' end resource :quit...
05172584e5322e5d053d91211f1d104a8825268e
lazy_tags/templates/lazy_tags/lazy_tags_js.html
lazy_tags/templates/lazy_tags/lazy_tags_js.html
{% autoescape off %} <script type="text/javascript"> $(function() { {% for tag_id in lazy_tag_ids %} $.ajax({ type: "GET", url: "{% url 'lazy_tag' tag_id %}", success: function(data) { $('#{{ tag_id }}-spinner').hide(); ...
{% load url from future %} {% autoescape off %} <script type="text/javascript"> $(function() { {% for tag_id in lazy_tag_ids %} $.ajax({ type: "GET", url: "{% url 'lazy_tag' tag_id %}", success: function(data) { $('#{{ tag_id }...
Fix Django 1.4 compat issue
Fix Django 1.4 compat issue
HTML
mit
grantmcconnaughey/django-lazy-tags,grantmcconnaughey/django-lazy-tags
html
## Code Before: {% autoescape off %} <script type="text/javascript"> $(function() { {% for tag_id in lazy_tag_ids %} $.ajax({ type: "GET", url: "{% url 'lazy_tag' tag_id %}", success: function(data) { $('#{{ tag_id }}-spinner')....
73a7c9c65b02cbce03436e28250f4b725b8d2ac2
src/parsers/index.coffee
src/parsers/index.coffee
asDriver = (parser) -> (raw) -> "\n" + parser(raw.split(/\n/)).join("\n") + "\n" exports.identity = asDriver require './identity' exports.slackapp = asDriver require './slackapp'
asDriver = (parser) -> (raw) -> trimmed = raw.replace(/\u200B/g, "") "\n" + parser(trimmed.split(/\n/)).join("\n") + "\n" exports.identity = asDriver require './identity' exports.slackapp = asDriver require './slackapp'
Trim zero-width spaces from input.
Trim zero-width spaces from input.
CoffeeScript
mit
smashwilson/hubot-quotefile
coffeescript
## Code Before: asDriver = (parser) -> (raw) -> "\n" + parser(raw.split(/\n/)).join("\n") + "\n" exports.identity = asDriver require './identity' exports.slackapp = asDriver require './slackapp' ## Instruction: Trim zero-width spaces from input. ## Code After: asDriver = (parser) -> (raw) -> trimmed = raw....
88812a7f3a11c4adb255f4d42740ad04b5a5aa67
README.md
README.md
> markdown-it plugin for embedding Youtube videos. ## Usage #### Enable plugin ```js var md = require('markdown-it')({ html: true, linkify: true, typography: true }).use(require('markdown-it-youtube'); // <-- this use(package_name) is required ``` #### Example ```md !![youtube](dQw4w9WgXcQ) ``` is interpre...
> markdown-it plugin for embedding Youtube videos. ## Usage #### Enable plugin ```js var md = require('markdown-it')({ html: true, linkify: true, typography: true }).use(require('markdown-it-youtube'); // <-- this use(package_name) is required ``` #### Example ```md @[youtube](dQw4w9WgXcQ) ``` is interpret...
Fix example to match actual usage and add a note for the limitations of this code
Fix example to match actual usage and add a note for the limitations of this code
Markdown
mit
brianjgeiger/markdown-it-video
markdown
## Code Before: > markdown-it plugin for embedding Youtube videos. ## Usage #### Enable plugin ```js var md = require('markdown-it')({ html: true, linkify: true, typography: true }).use(require('markdown-it-youtube'); // <-- this use(package_name) is required ``` #### Example ```md !![youtube](dQw4w9WgXcQ) ...
d9e56bd8169a17105258048080a75398cd898ea4
app/controllers/facebooked/api_controller.rb
app/controllers/facebooked/api_controller.rb
class Facebooked::ApiController < ApplicationController def albums return render :inline => 'false' unless self.provider.token albums = [] begin response = JSON.parse(self.provider.get('/me/albums', {:fields => 'id,photos,privacy,count,link,name,from'})) return render :inline => '[]' unless ...
class Facebooked::ApiController < ApplicationController def albums return render :inline => 'false' unless self.provider.token albums = [] begin response = JSON.parse(self.provider.get('/me/albums', {:fields => 'id,photos,privacy,count,link,name,from'})) return render :inline => '[]' unless ...
Return an empty array when user has not facebook albums.
Return an empty array when user has not facebook albums.
Ruby
agpl-3.0
cykod/Webiva-facebooked,cykod/Webiva-facebooked
ruby
## Code Before: class Facebooked::ApiController < ApplicationController def albums return render :inline => 'false' unless self.provider.token albums = [] begin response = JSON.parse(self.provider.get('/me/albums', {:fields => 'id,photos,privacy,count,link,name,from'})) return render :inline...
6437e10bb77ce1520fcc635be787c284316ac4ce
config.rb
config.rb
activate :directory_indexes set :relative_links, true set :haml, { format: :html5 } set :markdown, auto_ids: false # Disable Haml warnings Haml::TempleEngine.disable_option_validator! page "/*.xml", layout: false page "/*.json", layout: false page "/*.txt", layout: false page "/404.html", directory_index: false set...
activate :directory_indexes set :relative_links, true set :haml, { format: :html5 } set :markdown, auto_ids: false # Disable Haml warnings Haml::TempleEngine.disable_option_validator! page "/*.xml", layout: false page "/*.json", layout: false page "/*.txt", layout: false page "/404.html", directory_index: false set...
Add directory to Gzip ignores Without "assets/", mm build would error and complain that the @bourbon import in site.css could not be found
Add directory to Gzip ignores Without "assets/", mm build would error and complain that the @bourbon import in site.css could not be found
Ruby
mit
euroteamoutreach/euroteamoutreach.org,euroteamoutreach/euroteamoutreach.org,euroteamoutreach/euroteamoutreach.org,euroteamoutreach/euroteamoutreach.org
ruby
## Code Before: activate :directory_indexes set :relative_links, true set :haml, { format: :html5 } set :markdown, auto_ids: false # Disable Haml warnings Haml::TempleEngine.disable_option_validator! page "/*.xml", layout: false page "/*.json", layout: false page "/*.txt", layout: false page "/404.html", directory_i...
2aaa6423e0a86d44d0f9e31938219369d5d9baff
src/manifest.json
src/manifest.json
{ "manifest_version": 2, "name": "TweetDeck Activity Muter", "short_name": "TAM", "description": "This extension will block certain annoying users from appearing in the Activity column in TweetDeck.", "version": "1.6.1", "author": "outime", "page_action": { "default_icon": "icons/page_action_icon.p...
{ "manifest_version": 2, "name": "TweetDeck Activity Muter", "short_name": "TAM", "description": "This extension will block certain annoying users from appearing in the Activity column in TweetDeck.", "version": "1.6.1", "author": "outime", "page_action": { "default_icon": "icons/page_action_icon.p...
Add Firefox Store specific attributes
Add Firefox Store specific attributes
JSON
mit
outime/tweetdeck-activity-muter,outime/tweetdeck-activity-muter
json
## Code Before: { "manifest_version": 2, "name": "TweetDeck Activity Muter", "short_name": "TAM", "description": "This extension will block certain annoying users from appearing in the Activity column in TweetDeck.", "version": "1.6.1", "author": "outime", "page_action": { "default_icon": "icons/pa...
e7c1ac5d6e80b5def95a61fdb7eb79f4da9e45cb
Runtime/Rendering/ResourceDX11.h
Runtime/Rendering/ResourceDX11.h
namespace Mile { enum class ERenderResourceType { VertexBuffer, IndexBuffer, ConstantBuffer, StructuredBuffer, ByteAddressBuffer, IndirectArgumentsBuffer, Texture1D, Texture2D, Texture3D, RenderTarget, DepthStencilBuffer, Cubemap }; c...
namespace Mile { enum class ERenderResourceType { VertexBuffer, IndexBuffer, ConstantBuffer, StructuredBuffer, ByteAddressBuffer, IndirectArgumentsBuffer, Texture1D, Texture2D, Texture3D, RenderTarget, DepthStencilBuffer, DynamicCubemap }...
Modify HasAvailableRenderer method to check actually matched with Engine owned renderer
Modify HasAvailableRenderer method to check actually matched with Engine owned renderer
C
mit
HoRangDev/MileEngine,HoRangDev/MileEngine
c
## Code Before: namespace Mile { enum class ERenderResourceType { VertexBuffer, IndexBuffer, ConstantBuffer, StructuredBuffer, ByteAddressBuffer, IndirectArgumentsBuffer, Texture1D, Texture2D, Texture3D, RenderTarget, DepthStencilBuffer, Cub...
4cbaa96904ce3812c3d9e601a8730d876a926538
README.md
README.md
[![Build Status](https://secure.travis-ci.org/wdavidw/node-buffered-stream.png)](http://travis-ci.org/wdavidw/node-buffered-stream) This module create a Stream which implement both the writer and reader API. Quick example ------------- The example below will buffer the data from i readable stream and send them to a ...
[![Build Status](https://secure.travis-ci.org/wdavidw/node-buffered-stream.png)](http://travis-ci.org/wdavidw/node-buffered-stream) This module create a Stream which implement both the writer and reader API. The content written to the stream is buffered at a defined size and later flushed into the final destination st...
Improve project introduction and sample
Improve project introduction and sample
Markdown
bsd-3-clause
wdavidw/node-buffered-stream
markdown
## Code Before: [![Build Status](https://secure.travis-ci.org/wdavidw/node-buffered-stream.png)](http://travis-ci.org/wdavidw/node-buffered-stream) This module create a Stream which implement both the writer and reader API. Quick example ------------- The example below will buffer the data from i readable stream and...
2fa21688bfc54532e6868afb74c255dee4f1bb3e
etc/kayobe/kolla/globals.yml
etc/kayobe/kolla/globals.yml
--- # Add extra Kolla global configuration here. rabbitmq_monitoring_user: "monitoring"
--- # Add extra Kolla global configuration here. rabbitmq_monitoring_user: "monitoring" keystone_token_provider: "fernet"
Switch to Fernet token format
Switch to Fernet token format Configure Keystone's token driver for Fernet[0] instead of UUID. The latter has been deprecated for some time now, and will be removed as of the 'Rocky' release of OpenStack[1]. Fernet has been the default since 'Ocata'. NB: This change is prompted by a bug in Keystone affecting feder...
YAML
apache-2.0
SKA-ScienceDataProcessor/alaska-kayobe-config
yaml
## Code Before: --- # Add extra Kolla global configuration here. rabbitmq_monitoring_user: "monitoring" ## Instruction: Switch to Fernet token format Configure Keystone's token driver for Fernet[0] instead of UUID. The latter has been deprecated for some time now, and will be removed as of the 'Rocky' release of Ope...
318846b58ad173404c25c911c84a7618a7f8baa5
723e_web/app/scripts/models/userModel.js
723e_web/app/scripts/models/userModel.js
define(["jquery", "backbone", "ws"], function($, Backbone, WebServices) { var user = Backbone.Model.extend({ urlRoot: WebServices.v1.users, defaults: { }, initialize: function() { //alert("Welcome to this world"); }, currency: function(){ var accounts = this.get('accounts'); if(accounts.length =...
define(["jquery", "backbone", "ws"], function($, Backbone, WebServices) { var user = Backbone.Model.extend({ urlRoot: WebServices.v1.users, defaults: { }, initialize: function() { //alert("Welcome to this world"); }, currency: function(){ var accounts = this.get('accounts'); return this.get('ac...
Fix bug with accounts.length with web interface
Fix bug with accounts.length with web interface
JavaScript
mit
sebastienbarbier/723e_server,sebastienbarbier/723e,Natim/723e,Natim/723e,sebastienbarbier/723e_server,sebastienbarbier/723e,Natim/723e
javascript
## Code Before: define(["jquery", "backbone", "ws"], function($, Backbone, WebServices) { var user = Backbone.Model.extend({ urlRoot: WebServices.v1.users, defaults: { }, initialize: function() { //alert("Welcome to this world"); }, currency: function(){ var accounts = this.get('accounts'); if(a...
7176adf7fa96e88b1e42a910cbb0b94aaeba1639
gitconfig.erb
gitconfig.erb
[user] name = Abe Voelker email = abe@abevoelker.com [alias] co = checkout [color] diff = auto status = auto branch = auto [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = mate_wait autocrlf = input [apply] whitespace = nowarn [format] pretty = %C(yellow)%h%Creset %s %C(red)(%an, %cr)%Creset [gi...
[user] name = Abe Voelker email = abe@abevoelker.com [alias] s = status a = add co = checkout [color] diff = auto status = auto branch = auto [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = gvim -f autocrlf = input [apply] whitespace = nowarn [format] pretty = %C(yellow)%h%Creset %s %C(red)...
Change default git editor to gVim and add some aliases
Change default git editor to gVim and add some aliases
HTML+ERB
mit
nacengineer/dotfiles,nacengineer/dotfiles
html+erb
## Code Before: [user] name = Abe Voelker email = abe@abevoelker.com [alias] co = checkout [color] diff = auto status = auto branch = auto [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = mate_wait autocrlf = input [apply] whitespace = nowarn [format] pretty = %C(yellow)%h%Creset %s %C(red)(%an,...
4b17fb3ada500594523fe3e5f1e4a69d6503a4c5
src/js/courses-widget.js
src/js/courses-widget.js
/** * @file courses-widget.js * Additional js functions if the course-overview is loaded as separate widget */ /** * change normal overview page to separate widget page */ function initCourseOverviewWidget(){ // add url-parameter widget=true to all course page links var aElememts = document.getElementsByTag...
/** * @file courses-widget.js * Additional js functions if the course-overview is loaded as separate widget */ /** * change normal overview page to separate widget page */ function initCourseOverviewWidget(){ // add url-parameter widget=true to all course page links var aElememts = document.getElementsByTag...
Add course: opens new page correctly in ROLE
Add course: opens new page correctly in ROLE
JavaScript
apache-2.0
rwth-acis/Anatomy2.0,rwth-acis/Anatomy2.0,rwth-acis/Anatomy2.0,rwth-acis/Anatomy2.0
javascript
## Code Before: /** * @file courses-widget.js * Additional js functions if the course-overview is loaded as separate widget */ /** * change normal overview page to separate widget page */ function initCourseOverviewWidget(){ // add url-parameter widget=true to all course page links var aElememts = document....
3dc7ae07d6179be70fc823c953c68cb8e0c986ff
lib/minimap-bookmarks-binding.coffee
lib/minimap-bookmarks-binding.coffee
{CompositeDisposable} = require 'atom' module.exports = class MinimapBookmarksBinding constructor: (@minimap) -> @subscriptions = new CompositeDisposable @editor = @minimap.getTextEditor() @subscriptions.add @editor.displayBuffer.onDidCreateMarker (marker) => if marker.matchesProperties(class: 'bo...
{CompositeDisposable} = require 'atom' module.exports = class MinimapBookmarksBinding constructor: (@minimap) -> @subscriptions = new CompositeDisposable @editor = @minimap.getTextEditor() @decorationsByMarkerId = {} @decorationSubscriptionsByMarkerId = {} @subscriptions.add @editor.displayBuffe...
Implement retrieving existing markers and destroying decorations along binding
Implement retrieving existing markers and destroying decorations along binding
CoffeeScript
mit
atom-minimap/minimap-bookmarks
coffeescript
## Code Before: {CompositeDisposable} = require 'atom' module.exports = class MinimapBookmarksBinding constructor: (@minimap) -> @subscriptions = new CompositeDisposable @editor = @minimap.getTextEditor() @subscriptions.add @editor.displayBuffer.onDidCreateMarker (marker) => if marker.matchesPrope...
a2a60cb92406ec5319ea3323f30147992bd71b84
collects/tests/typed-racket/fail/back-and-forth.rkt
collects/tests/typed-racket/fail/back-and-forth.rkt
(exn-pred exn:fail:contract? #rx".*contract violation.*contract.*f.*\\(-> Number Number\\).*") #lang scheme/load (module m typed/scheme (: f (Number -> Number)) (define (f x) (add1 x)) (define g 17) (provide f g)) (module violator scheme (require 'm) (f 'foo)) (module o typed/scheme (require 'violator...
(exn-pred exn:fail:contract? #rx".*contract violation.*\\(-> Number Number\\).*contract.*f.*") #lang scheme/load (module m typed/scheme (: f (Number -> Number)) (define (f x) (add1 x)) (define g 17) (provide f g)) (module violator scheme (require 'm) (f 'foo)) (module o typed/scheme (require 'violator...
Fix TR test for new contract error message format.
Fix TR test for new contract error message format.
Racket
bsd-2-clause
mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket
racket
## Code Before: (exn-pred exn:fail:contract? #rx".*contract violation.*contract.*f.*\\(-> Number Number\\).*") #lang scheme/load (module m typed/scheme (: f (Number -> Number)) (define (f x) (add1 x)) (define g 17) (provide f g)) (module violator scheme (require 'm) (f 'foo)) (module o typed/scheme (r...
5b16fae70b4e01577d27621f0918d725211a85d5
k9mail/src/main/res/values-v21/styles.xml
k9mail/src/main/res/values-v21/styles.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <!-- On Lollipop, notifications are on white rather than on dark grey, making the title too light. When using targetSdk 17, #ffffffff (which should be white) is being used as a mask or inverted (not sure which). The net effect is that spe...
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="TextAppearance.StatusBar.EventContent.Emphasized" parent="@android:style/TextAppearance.StatusBar.EventContent"> <item name="android:textColor">#000000</item> </style> </resources>
Adjust emphasized notification color after targetSdkVersion update
Adjust emphasized notification color after targetSdkVersion update
XML
apache-2.0
vatsalsura/k-9,dgger/k-9,k9mail/k-9,gilbertw1/k-9,CodingRmy/k-9,GuillaumeSmaha/k-9,G00fY2/k-9_material_design,github201407/k-9,ndew623/k-9,jca02266/k-9,439teamwork/k-9,sedrubal/k-9,sedrubal/k-9,mawiegand/k-9,gilbertw1/k-9,jberkel/k-9,CodingRmy/k-9,roscrazy/k-9,G00fY2/k-9_material_design,dgger/k-9,philipwhiuk/k-9,439tea...
xml
## Code Before: <?xml version="1.0" encoding="utf-8"?> <resources> <!-- On Lollipop, notifications are on white rather than on dark grey, making the title too light. When using targetSdk 17, #ffffffff (which should be white) is being used as a mask or inverted (not sure which). The net ef...
6d44ebc2e9c7043d8fac1cbfa544840b29eb2fcc
build/Start-ElasticSearch.ps1
build/Start-ElasticSearch.ps1
$es_version = "5.0.0" If ($env:ES_VERSION) { $es_version = $env:ES_VERSION } If ($env:JAVA_HOME -eq $null -or !(Test-Path -Path $env:JAVA_HOME)) { Write-Error "Please ensure the latest version of java is installed and the JAVA_HOME environmental variable has been set." Return } Push-Location $PSScriptRoo...
$es_version = "5.0.0" If ($env:ES_VERSION) { $es_version = $env:ES_VERSION } If ($env:JAVA_HOME -eq $null -or !(Test-Path -Path $env:JAVA_HOME)) { Write-Error "Please ensure the latest version of java is installed and the JAVA_HOME environmental variable has been set." Return } Push-Location $PSScriptRoo...
Revert changes to es start script
Revert changes to es start script
PowerShell
apache-2.0
exceptionless/Foundatio.Parsers,exceptionless/Exceptionless.LuceneQueryParser
powershell
## Code Before: $es_version = "5.0.0" If ($env:ES_VERSION) { $es_version = $env:ES_VERSION } If ($env:JAVA_HOME -eq $null -or !(Test-Path -Path $env:JAVA_HOME)) { Write-Error "Please ensure the latest version of java is installed and the JAVA_HOME environmental variable has been set." Return } Push-Locat...
a7e0a66dcf7e061326ae46a5fe53540ccffe4a3d
docs/requirements.txt
docs/requirements.txt
sphinx docutils==0.17 git+http://github.com/SymbiFlow/sphinx_materialdesign_theme.git@master#egg=sphinx_symbiflow_theme sphinx-tabs sphinx-jinja
sphinx docutils==0.17 git+https://github.com/SymbiFlow/sphinx_symbiflow_theme.git#egg=sphinx-symbiflow-theme sphinx-tabs sphinx-jinja
Switch to correct SymbiFlow theme
Switch to correct SymbiFlow theme Signed-off-by: Karol Gugala <38af71640571ee4b5093d4f69ffca1ac454f2948@antmicro.com>
Text
apache-2.0
SymbiFlow/symbiflow-examples,SymbiFlow/symbiflow-examples
text
## Code Before: sphinx docutils==0.17 git+http://github.com/SymbiFlow/sphinx_materialdesign_theme.git@master#egg=sphinx_symbiflow_theme sphinx-tabs sphinx-jinja ## Instruction: Switch to correct SymbiFlow theme Signed-off-by: Karol Gugala <38af71640571ee4b5093d4f69ffca1ac454f2948@antmicro.com> ## Code After: sphinx ...
ef8de8a17e917b2bc5c59939ee3e75f9fbbd4127
middleware/cors/cors_spec.lua
middleware/cors/cors_spec.lua
local helper = require 'spec.helper' local cors = require 'cors' describe("CORS", function() describe("when the status is not 404", function() it("does nothing", function() local request = { method = 'GET', uri = '/'} local response = { status = 200, body = 'ok' } local res, env = helper...
local helper = require 'spec.helper' local cors = require 'cors' describe("CORS", function() describe("when the status is not 404", function() it("does nothing", function() local request = { method = 'GET', uri_full = '/'} local response = { status = 200, body = 'ok' } local res, env = h...
Add extra tests for core
Add extra tests for core
Lua
mit
APItools/middleware
lua
## Code Before: local helper = require 'spec.helper' local cors = require 'cors' describe("CORS", function() describe("when the status is not 404", function() it("does nothing", function() local request = { method = 'GET', uri = '/'} local response = { status = 200, body = 'ok' } local r...
8fe158c58c21fd07a9ed1784b455d041e60c7539
lib/rdg/cfg.rb
lib/rdg/cfg.rb
require "require_all" require_relative "tree/ast" require_rel "analysis/*" require_rel "control/*" module RDG class CFG def self.from_path(path) new(Tree::AST.from_path(path)) end def self.from_source(source) new(Tree::AST.from_source(source)) end def initialize(ast) @context...
require "require_all" require_relative "tree/ast" require_rel "analysis/*" require_rel "control/*" module RDG class CFG def self.from_path(path) new(Tree::AST.from_path(path)) end def self.from_source(source) new(Tree::AST.from_source(source)) end def self.from_ast(ast) new(T...
Improve API for using CFG programmatically.
Improve API for using CFG programmatically.
Ruby
mit
mutiny/rdg
ruby
## Code Before: require "require_all" require_relative "tree/ast" require_rel "analysis/*" require_rel "control/*" module RDG class CFG def self.from_path(path) new(Tree::AST.from_path(path)) end def self.from_source(source) new(Tree::AST.from_source(source)) end def initialize(ast...
f0f4aeb0f8f7e43b46b8e0e3fcfb35474c22dff2
resources/wpadmin/css/wpadmin.site.css
resources/wpadmin/css/wpadmin.site.css
.select2-selection ul li { list-style-type: inherit; } .select2-container--default .select2-selection--multiple .select2-selection__choice { line-height: unset !important; } .wmd-wrapper { padding-top: 2em; } .wmd-wrapper ul.wmd-button-row { margin-left: 0; } .wmd-input { width: 100% !important; } ...
.select2-selection ul li { list-style-type: inherit; } .select2-container--default .select2-selection--multiple .select2-selection__choice { line-height: unset !important; } .wmd-wrapper { padding-top: 2em; } .wmd-wrapper ul.wmd-button-row { margin-left: 0; } .wmd-input { width: 100% !important; } ...
Make contest organizer selection wide enough to be usable
Make contest organizer selection wide enough to be usable
CSS
agpl-3.0
DMOJ/site,Phoenix1369/site,monouno/site,Minkov/site,monouno/site,DMOJ/site,Minkov/site,Minkov/site,Phoenix1369/site,monouno/site,Minkov/site,DMOJ/site,DMOJ/site,Phoenix1369/site,Phoenix1369/site,monouno/site,monouno/site
css
## Code Before: .select2-selection ul li { list-style-type: inherit; } .select2-container--default .select2-selection--multiple .select2-selection__choice { line-height: unset !important; } .wmd-wrapper { padding-top: 2em; } .wmd-wrapper ul.wmd-button-row { margin-left: 0; } .wmd-input { width: 100%...
40a5069c9c9df754e5dbc43481e8795e2fc7feb9
README.md
README.md
startupweekend ============== Framework for building web applications at Startup Weekend Education ( #SWEDU ) 2013 ## Instructions You'll need [node.js](http://nodejs.org) and [mongodb](http://mongodb.org) to run this application. Installing these is out-of-scope, and instructions are contained on the links to the l...
Maki ============== Maki is a framework for hand-rolling web applications in a way that makes sense. ## Instructions You'll need [node.js](http://nodejs.org) and [mongodb](http://mongodb.org) to run this application. Installing these is out-of-scope, and instructions are contained on the links to the left. 1. Clone...
Update readme to provide maki-based instructions.
Update readme to provide maki-based instructions.
Markdown
mit
martindale/maki,martindale/maki
markdown
## Code Before: startupweekend ============== Framework for building web applications at Startup Weekend Education ( #SWEDU ) 2013 ## Instructions You'll need [node.js](http://nodejs.org) and [mongodb](http://mongodb.org) to run this application. Installing these is out-of-scope, and instructions are contained on th...
a671e10c9783d9aa7ac80d9ee0d720e1a1449c1a
test/integration/test-association-hasone-required.js
test/integration/test-association-hasone-required.js
var common = require('../common'); var assert = require('assert'); common.createConnection(function (err, db) { var testRequired = function(required, done) { var Person = db.define('test_association_hasone_required_owner', common.getModelProperties()); var Animal = db.define('test_association_hasone...
var common = require('../common'); var assert = require('assert'); common.createConnection(function (err, db) { var testRequired = function(required, done) { var Person = db.define('test_association_hasone_required_owner', common.getModelProperties()); var Animal = db.define('test_association_hasone...
Stop mysql auto-inserting 0 into owner_id field
Stop mysql auto-inserting 0 into owner_id field
JavaScript
mit
kapouer/node-orm2,benkitzelman/node-orm2,kapouer/node-orm2,hallta/node-orm2,stueynz/node-orm2,locomote/node-orm2,mariamjpinto/node-orm2,benkitzelman/node-orm2,kolonse/node-orm2,dresende/node-orm2,jtrinc/node-orm2,kolonse/node-orm2,pskucherov/node-orm2,kolonse/node-orm2,ScoutGroup/onionrm,benkitzelman/node-orm2,kapouer/...
javascript
## Code Before: var common = require('../common'); var assert = require('assert'); common.createConnection(function (err, db) { var testRequired = function(required, done) { var Person = db.define('test_association_hasone_required_owner', common.getModelProperties()); var Animal = db.define('test_as...
7dafc8f681e28a9e43ef94af9d308191530b807e
src/day01_2016.rs
src/day01_2016.rs
use std::fs::File; use std::io::prelude::*; use std::io::BufReader; pub fn taxicab(file: &str) -> i64 { let input = File::open(file).expect("File open fail."); let reader = BufReader::new(input); let cur_dir = Direction::North; for line in reader.lines() { let line = line.unwrap(); pr...
use std::fs::File; use std::io::prelude::*; use std::io::BufReader; pub fn taxicab(file: &str) -> i64 { let input = File::open(file).expect("File open fail."); let reader = BufReader::new(input); let cur_dir = Direction::North; reader.lines() .filter_map(Result::ok) .flat_map(|line| {...
Add iterator to parse file.
Add iterator to parse file.
Rust
mit
nathanjent/adventofcode-rust
rust
## Code Before: use std::fs::File; use std::io::prelude::*; use std::io::BufReader; pub fn taxicab(file: &str) -> i64 { let input = File::open(file).expect("File open fail."); let reader = BufReader::new(input); let cur_dir = Direction::North; for line in reader.lines() { let line = line.unwr...
00aa59468c4dbfde282891f1396e29bd3f28fb62
gunny/reveille/service.py
gunny/reveille/service.py
from twisted.application import internet from twisted.application.service import Service from twisted.internet import reactor from autobahn.websocket import connectWS class ControlService(Service): pass class PlayerService(Service): def __init__(self, factory): self.factory = factory self....
from twisted.application.service import Service from twisted.internet import stdio from autobahn.websocket import connectWS class CoxswainService(Service): def __init__(self, factory): self.factory = factory self.conn = None def startService(self): #self.factory(ReveilleCommandProto...
Rename classes to reflect intended use.
Rename classes to reflect intended use.
Python
bsd-2-clause
davidblewett/gunny,davidblewett/gunny
python
## Code Before: from twisted.application import internet from twisted.application.service import Service from twisted.internet import reactor from autobahn.websocket import connectWS class ControlService(Service): pass class PlayerService(Service): def __init__(self, factory): self.factory = facto...
1bd2523d6c875b810ce9e3da4f2dd4a62907bed4
oscar/templates/dashboard/catalogue/category_create.html
oscar/templates/dashboard/catalogue/category_create.html
{% extends 'dashboard/layout.html' %} {% load category_tags %} {% block body_class %}catalogue{% endblock %} {% block title %} Category management | {{ block.super }} {% endblock %} {% block breadcrumbs %} <ul class="breadcrumb"> <li> <a href="{% url dashboard:index %}">Dashboard</a> <span class="...
{% extends 'dashboard/layout.html' %} {% load category_tags %} {% block body_class %}catalogue{% endblock %} {% block title %} Category management | {{ block.super }} {% endblock %} {% block breadcrumbs %} <ul class="breadcrumb"> <li> <a href="{% url dashboard:index %}">Dashboard</a> <span class="...
Add categories list to breadcrumbs
Add categories list to breadcrumbs
HTML
bsd-3-clause
taedori81/django-oscar,john-parton/django-oscar,manevant/django-oscar,pdonadeo/django-oscar,itbabu/django-oscar,solarissmoke/django-oscar,vovanbo/django-oscar,jinnykoo/wuyisj,binarydud/django-oscar,rocopartners/django-oscar,okfish/django-oscar,spartonia/django-oscar,itbabu/django-oscar,django-oscar/django-oscar,saadatq...
html
## Code Before: {% extends 'dashboard/layout.html' %} {% load category_tags %} {% block body_class %}catalogue{% endblock %} {% block title %} Category management | {{ block.super }} {% endblock %} {% block breadcrumbs %} <ul class="breadcrumb"> <li> <a href="{% url dashboard:index %}">Dashboard</a> ...
faf2781b08f785a28090698d97010a72b2443748
README.md
README.md
ExPy ==== In-process Python for use within Excel. Currently tested against Python 2.7 and Excel 32bit. Works with, for example, the Windows 32 bit Anaconda distribution. BSD-3 type license, see LICENSE. For more information see http://www.bnikolic.co.uk/expy/expy.html. Build of current latest version is available a...
ExPy ==== In-process Python for use within Excel. Currently tested against Python 2.7 and Excel 32bit. Works with, for example, the Windows 32 bit Anaconda distribution. BSD-3 type license, see LICENSE. For more information see http://www.bnikolic.co.uk/expy/expy.html. Build of current latest version is available a...
Update the documentation with installation instructions
Update the documentation with installation instructions
Markdown
bsd-3-clause
bnikolic/ExPy,bnikolic/ExPy
markdown
## Code Before: ExPy ==== In-process Python for use within Excel. Currently tested against Python 2.7 and Excel 32bit. Works with, for example, the Windows 32 bit Anaconda distribution. BSD-3 type license, see LICENSE. For more information see http://www.bnikolic.co.uk/expy/expy.html. Build of current latest versio...
15eb9523a92822b762a6e2c1cdc2a3d1f8426a8e
tests/test-utils.js
tests/test-utils.js
import { underscore } from '@ember/string'; export function serializer(payload) { const serializedPayload = {}; Object.keys(payload.attrs).map((_key) => { serializedPayload[underscore(_key)] = payload[_key]; }); return serializedPayload; }
import { underscore } from '@ember/string'; function _serialize_object(payload) { const serializedPayload = {}; Object.keys(payload.attrs).map((_key) => { serializedPayload[underscore(_key)] = payload[_key]; }); return serializedPayload; } export function serializer(data, many = false) { if (many == tru...
Refactor serializer to support list
Refactor serializer to support list
JavaScript
agpl-3.0
appknox/irene,appknox/irene,appknox/irene
javascript
## Code Before: import { underscore } from '@ember/string'; export function serializer(payload) { const serializedPayload = {}; Object.keys(payload.attrs).map((_key) => { serializedPayload[underscore(_key)] = payload[_key]; }); return serializedPayload; } ## Instruction: Refactor serializer to support lis...
deaa375dee4b41e57deb599f55440f77e271029e
notes/lang.md
notes/lang.md
--- layout: page title: 'Programming languages' date: 2014-10-26 12:00:00 --- * [C and C++](/notes/c.html) * [Clojure](/notes/clojure.html) * [Elixir](/notes/elixir.html) * [Elm](/notes/elm.html) * [Erlang](/notes/erlang.html) * [JavaScript](/notes/js.html) * [Io](/notes/io.html) * [Ruby](/notes/ruby.html) Other in...
--- layout: page title: 'Programming languages' date: 2014-10-26 12:00:00 --- * [C and C++](/notes/c.html) * [Clojure](/notes/clojure.html) * [Elixir](/notes/elixir.html) - [Phoenix](/notes/phoenix.html) * [Elm](/notes/elm.html) * [Erlang](/notes/erlang.html) * [JavaScript](/notes/js.html) * [Io](/notes/io.html) * [...
Add link to phoenix notes
Add link to phoenix notes
Markdown
mit
nithinbekal/nithinbekal.github.io,nithinbekal/nithinbekal.github.io
markdown
## Code Before: --- layout: page title: 'Programming languages' date: 2014-10-26 12:00:00 --- * [C and C++](/notes/c.html) * [Clojure](/notes/clojure.html) * [Elixir](/notes/elixir.html) * [Elm](/notes/elm.html) * [Erlang](/notes/erlang.html) * [JavaScript](/notes/js.html) * [Io](/notes/io.html) * [Ruby](/notes/ruby...
4fa97dc64a6bdc1ac79979b90544708f02c5e9a3
app/assets/javascripts/dashboard.coffee
app/assets/javascripts/dashboard.coffee
$ -> $("select#dashboard_filter_interval").on "change", (e) -> this.form.submit()
$(document).on 'turbolinks:load', () -> $("select#dashboard_filter_interval").on "change", (e) -> this.form.submit()
Use turbolinks for dom loading
Use turbolinks for dom loading
CoffeeScript
mit
rubyforgood/diaper,rubyforgood/diaper,rubyforgood/diaper,rubyforgood/diaper
coffeescript
## Code Before: $ -> $("select#dashboard_filter_interval").on "change", (e) -> this.form.submit() ## Instruction: Use turbolinks for dom loading ## Code After: $(document).on 'turbolinks:load', () -> $("select#dashboard_filter_interval").on "change", (e) -> this.form.submit()
820964a2e18b16020bd780b86e7722350d7163f1
main.go
main.go
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/ec2" ) func main() { svc := ec2.New(session.New(), &aws.Config{Region: aws.String("us-west-2")}) resp, err := svc.DescribeInstances(nil) if err != nil { panic(err) } fmt...
package main import ( "fmt" "os" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/ec2" ) func main() { if len(os.Args) != 2 { fmt.Println("Usage:\n\tmain region_name") os.Exit(-1) } region := os.Args[1] if region == "" { fmt.Println("Usage:\n\...
Add defensive check to program arguments
Add defensive check to program arguments
Go
mit
daniel-bryant-uk/go-aws-sdk-exp
go
## Code Before: package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/ec2" ) func main() { svc := ec2.New(session.New(), &aws.Config{Region: aws.String("us-west-2")}) resp, err := svc.DescribeInstances(nil) if err != nil { pan...
0188ed897afa488a669e7589af5c1330bab732c2
src/utils/dates.ts
src/utils/dates.ts
/** * Expects a string in MTurk's URL encoded date format * (e.g. '09262017' would be converted into a Date object for * September 26th, 2017) * @param encodedDate string in described format */ export const encodedDateStringToDate = (encodedDate: string): Date => { const parseableDateString = encod...
/** * Expects a string in MTurk's URL encoded date format * (e.g. '09262017' would be converted into a Date object for * September 26th, 2017) * @param encodedDate string in described format */ export const encodedDateStringToDate = (encodedDate: string): Date => { const parseableDateString = encod...
Add utility function for converting date objects to Mturk formatted date strings.
Add utility function for converting date objects to Mturk formatted date strings.
TypeScript
mit
Anveio/mturk-engine,Anveio/mturk-engine,Anveio/mturk-engine
typescript
## Code Before: /** * Expects a string in MTurk's URL encoded date format * (e.g. '09262017' would be converted into a Date object for * September 26th, 2017) * @param encodedDate string in described format */ export const encodedDateStringToDate = (encodedDate: string): Date => { const parseableDateString = ...
7f768e8e124228615089049afaa7c6fd9166f681
lib/domgen/jpa/templates/aggregate_entity_test.java.erb
lib/domgen/jpa/templates/aggregate_entity_test.java.erb
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.jpa.qualified_aggregate_entity_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public class <%= repository.jpa.aggregate_entity_test_name %> { @org.testng.annotations.Test publi...
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.jpa.qualified_aggregate_entity_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public class <%= repository.jpa.aggregate_entity_test_name %> { @org.testng.annotations.Test publi...
Support non-jpa queries that are omitted for finders
Support non-jpa queries that are omitted for finders
HTML+ERB
apache-2.0
realityforge/domgen,icaughley/domgen,realityforge/domgen,icaughley/domgen
html+erb
## Code Before: /* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.jpa.qualified_aggregate_entity_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public class <%= repository.jpa.aggregate_entity_test_name %> { @org.testng.annotati...
61dd80443c1ed9588dead6a44dff39cf39f63777
build.ps1
build.ps1
if (-not (Test-Path env:APPVEYOR_BUILD_NUMBER)) { $env:APPVEYOR_BUILD_NUMBER = '0' } $suffix = "build." + $env:APPVEYOR_BUILD_NUMBER $TOOLS_DIR = Join-Path $PSScriptRoot "tools" $NUGET_EXE = Join-Path $TOOLS_DIR "nuget.exe" dotnet build src\LibLog.sln -c Release dotnet test src\LibLog.Tests -c Release --no-build Get-...
function Run-Task { param( [scriptblock] $block ) & $block if($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } } if (-not (Test-Path env:APPVEYOR_BUILD_NUMBER)) { $env:APPVEYOR_BUILD_NUMBER = '0' } $suffix = "build." + $env:APPVEYOR_BUILD_NUMBER $TOOLS_DIR = Join-Path $PSScriptRoot...
Exit script of either of the dotnet task fails.
Exit script of either of the dotnet task fails.
PowerShell
mit
damianh/LibLog
powershell
## Code Before: if (-not (Test-Path env:APPVEYOR_BUILD_NUMBER)) { $env:APPVEYOR_BUILD_NUMBER = '0' } $suffix = "build." + $env:APPVEYOR_BUILD_NUMBER $TOOLS_DIR = Join-Path $PSScriptRoot "tools" $NUGET_EXE = Join-Path $TOOLS_DIR "nuget.exe" dotnet build src\LibLog.sln -c Release dotnet test src\LibLog.Tests -c Release ...
429c5c1f398b1bb006ffe489fe642528e12f58a6
.travis.yml
.travis.yml
language: cpp compiler: - gcc before_install: - sudo apt-get update -qq - sudo apt-get install -y libqt4-dev libdcmtk2-dev libinsighttoolkit3-dev libgdcm2-dev before_script: - echo before_script in `pwd` - mkdir build - cd build - ../cmake-2.8.12.2-Linux-i386/bin/cmake .. script: make
language: cpp compiler: - gcc before_install: - sudo apt-get update -qq - sudo apt-get install -y libqt4-dev libdcmtk2-dev libinsighttoolkit3-dev libgdcm2-dev before_script: - echo before_script in `pwd` - mkdir build - cd build - cmake .. script: make Experimental
Fix cmake path for updated apt-get version
Fix cmake path for updated apt-get version
YAML
apache-2.0
pieper/CTK,pieper/CTK,pieper/CTK,pieper/CTK
yaml
## Code Before: language: cpp compiler: - gcc before_install: - sudo apt-get update -qq - sudo apt-get install -y libqt4-dev libdcmtk2-dev libinsighttoolkit3-dev libgdcm2-dev before_script: - echo before_script in `pwd` - mkdir build - cd build - ../cmake-2.8.12.2-Linux-i386/bin/cmake .. script: make ...
b40447a79ed4d94ba05e379e4192556c271a1e4b
test/browser.spec.js
test/browser.spec.js
var expect = require('chai').expect; var request = require('supertest'); var http = require('http'); var cookie = require('../lib/browser'); describe('server-side cookie', function() { describe('.set', function() { it('should work', function() { cookie.set('yolo', 'swag'); expect(cookie.get('yolo'))....
var expect = require('chai').expect; var request = require('supertest'); var http = require('http'); var cookie = require('../lib/browser'); describe('server-side cookie', function() { describe('.get', function() { it('should work', function() { expect(cookie.get('swag_swag_swag_')).to.be.undefined; })...
Add simple test case for browser `.get`
Add simple test case for browser `.get`
JavaScript
mit
srph/cookie-machine
javascript
## Code Before: var expect = require('chai').expect; var request = require('supertest'); var http = require('http'); var cookie = require('../lib/browser'); describe('server-side cookie', function() { describe('.set', function() { it('should work', function() { cookie.set('yolo', 'swag'); expect(cook...
d9a6419c814733f77f4eb96fc31f497b10a61148
django/handlers/main.yml
django/handlers/main.yml
--- # process handlers - name: stop service group become_user: "root" supervisorctl: > name="{{ service_name }}:" state=stopped - name: restart service group become_user: "root" supervisorctl: > name="{{ service_name }}:" state=restarted - name: restart webapp become_user: "root" supervis...
--- # process handlers - name: stop service group become_user: "root" supervisorctl: > name="{{ service_name }}:" state=stopped - name: restart service group become_user: "root" supervisorctl: > name="{{ service_name }}:" state=restarted - name: restart django app become_user: "root" supe...
Update handler after task rename
Update handler after task rename
YAML
mit
fdemmer/ansible_roles
yaml
## Code Before: --- # process handlers - name: stop service group become_user: "root" supervisorctl: > name="{{ service_name }}:" state=stopped - name: restart service group become_user: "root" supervisorctl: > name="{{ service_name }}:" state=restarted - name: restart webapp become_user: "...
fb4e1b8d572909a6e9c554e961e3b9770111301b
programs/cleos/CMakeLists.txt
programs/cleos/CMakeLists.txt
configure_file(help_text.cpp.in help_text.cpp @ONLY) add_executable( ${CLI_CLIENT_EXECUTABLE_NAME} main.cpp httpc.cpp ${CMAKE_CURRENT_BINARY_DIR}/help_text.cpp localize.hpp config.hpp CLI11.hpp) if( UNIX AND NOT APPLE ) set(rt_library rt ) endif() set(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale) set(LOCALEDOMAIN ...
configure_file(help_text.cpp.in help_text.cpp @ONLY) add_executable( ${CLI_CLIENT_EXECUTABLE_NAME} main.cpp httpc.cpp ${CMAKE_CURRENT_BINARY_DIR}/help_text.cpp localize.hpp config.hpp CLI11.hpp) if( UNIX AND NOT APPLE ) set(rt_library rt ) endif() # See "Note: Special instructions for GCC 8" on https://github.com/CL...
Define CLI11_HAS_FILESYSTEM=0 for GCC 8
Define CLI11_HAS_FILESYSTEM=0 for GCC 8 As outlined on https://github.com/CLIUtils/CLI11, filesystem library is separate from the standard library on GCC 8. CLI11 uses the filesystem library only for the path type checks, which are not used by cleos, so it's safe to switch to the fallback implementation provided by CL...
Text
mit
EOSIO/eos,EOSIO/eos,EOSIO/eos,EOSIO/eos,EOSIO/eos
text
## Code Before: configure_file(help_text.cpp.in help_text.cpp @ONLY) add_executable( ${CLI_CLIENT_EXECUTABLE_NAME} main.cpp httpc.cpp ${CMAKE_CURRENT_BINARY_DIR}/help_text.cpp localize.hpp config.hpp CLI11.hpp) if( UNIX AND NOT APPLE ) set(rt_library rt ) endif() set(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale) s...
01cdc471ea2a32be08b8dc3c57c3477cbe82e600
docs/src/main/sphinx/connector/localfile.rst
docs/src/main/sphinx/connector/localfile.rst
==================== Local file connector ==================== The local file connector allows querying data stored on the local file system of each worker. Configuration ------------- To configure the local file connector, create a catalog properties file under ``etc/catalog`` named, for example, ``localfile.proper...
==================== Local file connector ==================== The local file connector allows querying the HTTP request log files stored on the local file system of each worker. Configuration ------------- To configure the local file connector, create a catalog properties file under ``etc/catalog`` named, for examp...
Clarify scope of local file connector
Clarify scope of local file connector
reStructuredText
apache-2.0
electrum/presto,ebyhr/presto,Praveen2112/presto,losipiuk/presto,ebyhr/presto,dain/presto,losipiuk/presto,losipiuk/presto,ebyhr/presto,Praveen2112/presto,smartnews/presto,11xor6/presto,electrum/presto,smartnews/presto,smartnews/presto,smartnews/presto,losipiuk/presto,Praveen2112/presto,electrum/presto,losipiuk/presto,da...
restructuredtext
## Code Before: ==================== Local file connector ==================== The local file connector allows querying data stored on the local file system of each worker. Configuration ------------- To configure the local file connector, create a catalog properties file under ``etc/catalog`` named, for example, ``...
a23076a5f63ea4205a866cce81829343b4ca8907
test/CodeGen/X86/fast-cc-tail-call.ll
test/CodeGen/X86/fast-cc-tail-call.ll
; RUN: llvm-as < %s | llc -x86-asm-syntax=intel -enable-x86-fastcc | not grep call fastcc int %bar(int %X, int(double, int) *%FP) { %Y = tail call fastcc int %FP(double 0.0, int %X) ret int %Y }
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc | not grep call fastcc int %bar(int %X, int(double, int) *%FP) { %Y = tail call fastcc int %FP(double 0.0, int %X) ret int %Y }
Fix this to test the BE we care about
Fix this to test the BE we care about git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@22631 91177308-0d34-0410-b5e6-96231b3b80d8
LLVM
bsd-2-clause
dslab-epfl/asap,chubbymaggie/asap,apple/swift-llvm,chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/ll...
llvm
## Code Before: ; RUN: llvm-as < %s | llc -x86-asm-syntax=intel -enable-x86-fastcc | not grep call fastcc int %bar(int %X, int(double, int) *%FP) { %Y = tail call fastcc int %FP(double 0.0, int %X) ret int %Y } ## Instruction: Fix this to test the BE we care about git-svn-id: 0ff597fd157e6f4fc38580e8d64a...
b311626d133211e9ca29bd32470fe74e06db71dd
app/htdocs/js/Paste/new.js
app/htdocs/js/Paste/new.js
$(function(){ $('ul.radio-optiongroups').each(function(){ var $list = $(this), $select = $('<select />', {'class': 'hg'}); $list .children('li.field').children('label').find('input[type="radio"]') .each(function(){ var $radio = $(this), ...
$(function(){ $('.holoform .field_error').live('click', function(e){ $('.field.recently-focused') .removeClass('recently-focused'); $(this) .closest('.field') .addClass('recently-focused'); }); $('ul.radio-optiongroups').each(function(){ var...
Bring error message to the top, when clicked.
Bring error message to the top, when clicked.
JavaScript
mit
marek-saji/nyopaste,marek-saji/nyopaste
javascript
## Code Before: $(function(){ $('ul.radio-optiongroups').each(function(){ var $list = $(this), $select = $('<select />', {'class': 'hg'}); $list .children('li.field').children('label').find('input[type="radio"]') .each(function(){ var $rad...
d809e567440a5f6e1bd2d1e97926ec7e64fd7b21
org.scala-ide.sdt.aspects/src/scala/tools/eclipse/contribution/weaving/jdt/core/CompilationUnitNameAspect.aj
org.scala-ide.sdt.aspects/src/scala/tools/eclipse/contribution/weaving/jdt/core/CompilationUnitNameAspect.aj
package scala.tools.eclipse.contribution.weaving.jdt.core; import org.eclipse.jdt.internal.core.util.Util; /** * We override the behaviour of isValidCompilationUnitName() for .scala files. * The standard implementation applies Java identifier rules on the prefix of * the file name, so that, for example, "package.s...
package scala.tools.eclipse.contribution.weaving.jdt.core; import org.eclipse.jdt.internal.core.util.Util; import org.eclipse.jdt.core.JavaConventions; import org.eclipse.core.runtime.IStatus; import org.eclipse.jdt.internal.core.JavaModelStatus; /** * We override the behaviour of isValidCompilationUnitName() for .s...
Add a 2nd pointcut to handle files named "package.scala".
Add a 2nd pointcut to handle files named "package.scala".
AspectJ
bsd-3-clause
romanowski/scala-ide,dragos/scala-ide,Kwestor/scala-ide,wpopielarski/scala-ide,dragos/scala-ide,wpopielarski/scala-ide,andrey-ilinykh/scala-ide,mlangc/scala-ide,stephenh/scala-ide,Duhemm/scala-ide,pilipolio/scala-ide,romanowski/scala-ide,mlangc/scala-ide,dragos/scala-ide,sschaef/scala-ide,romanowski/scala-ide,aleksi-lu...
aspectj
## Code Before: package scala.tools.eclipse.contribution.weaving.jdt.core; import org.eclipse.jdt.internal.core.util.Util; /** * We override the behaviour of isValidCompilationUnitName() for .scala files. * The standard implementation applies Java identifier rules on the prefix of * the file name, so that, for exa...
d78bec8544692093621cdd05e55fe35a66673177
templates/modular/view.html.twig
templates/modular/view.html.twig
{% set view_settings = {} %} {# Set view settings from header. #} {% if header.view %} {% set view_settings = header.view %} {% endif %} {# Set view settings from page. #} {% if page.header.view %} {% set view_settings = view_settings|merge(page.header.view) %} {% endif %} {# Set view settings from plugin c...
{% set view_settings = {} %} {# Set view settings from plugin config. #} {% set config = config.get('plugins.view') %} {% if config.header.view %} {% set view_settings = view_settings|merge(config.header.view) %} {% endif %} {# Set view settings from page. #} {% if page.header.view %} {% set view_settings = v...
Fix default template vars merge
Fix default template vars merge
Twig
mit
ellioseven/grav-plugin-view,ellioseven/grav-plugin-view
twig
## Code Before: {% set view_settings = {} %} {# Set view settings from header. #} {% if header.view %} {% set view_settings = header.view %} {% endif %} {# Set view settings from page. #} {% if page.header.view %} {% set view_settings = view_settings|merge(page.header.view) %} {% endif %} {# Set view settin...
05e98995148f5ff951cf49c397bd8973344d5d80
bower.json
bower.json
{ "name": "angular-virtual-keyboard", "version": "0.4.2", "homepage": "https://github.com/the-darc/angular-virtual-keyboard", "author": "the-darc <darc.tec@gmail.com>", "description": "An AngularJs Virtual Keyboard Interface based on GreyWyvern VKI", "main": "release/angular-virtual-keyboard.min.js", "key...
{ "name": "angular-virtual-keyboard", "version": "0.4.2", "homepage": "https://github.com/the-darc/angular-virtual-keyboard", "author": "the-darc <darc.tec@gmail.com>", "description": "An AngularJs Virtual Keyboard Interface based on GreyWyvern VKI", "main": [ "release/angular-virtual-keyboard.min.js", ...
Include angular-virtual-keyboard.css in main section to provide easy setup with wiredep for example
Include angular-virtual-keyboard.css in main section to provide easy setup with wiredep for example
JSON
mit
the-darc/angular-virtual-keyboard,Tak0r/angular-virtual-keyboard,the-darc/angular-virtual-keyboard,Tak0r/angular-virtual-keyboard
json
## Code Before: { "name": "angular-virtual-keyboard", "version": "0.4.2", "homepage": "https://github.com/the-darc/angular-virtual-keyboard", "author": "the-darc <darc.tec@gmail.com>", "description": "An AngularJs Virtual Keyboard Interface based on GreyWyvern VKI", "main": "release/angular-virtual-keyboard...
d3fc9414effb4c49104cc4a0888872d9eb4c20a9
py/garage/garage/sql/utils.py
py/garage/garage/sql/utils.py
__all__ = [ 'ensure_only_one_row', 'insert_or_ignore', ] def ensure_only_one_row(rows): row = rows.fetchone() if row is None or rows.fetchone() is not None: raise KeyError return row def insert_or_ignore(conn, table, values): conn.execute(table.insert().prefix_with('OR IGNORE'), valu...
__all__ = [ 'add_if_not_exists_clause', 'ensure_only_one_row', 'insert_or_ignore', ] from garage import asserts from sqlalchemy.schema import CreateIndex def add_if_not_exists_clause(index, engine): # `sqlalchemy.Index.create()` does not take `checkfirst` for reasons # that I am unaware of, and ...
Add a hack for appending "IF NOT EXISTS" clause to "CREATE INDEX"
Add a hack for appending "IF NOT EXISTS" clause to "CREATE INDEX"
Python
mit
clchiou/garage,clchiou/garage,clchiou/garage,clchiou/garage
python
## Code Before: __all__ = [ 'ensure_only_one_row', 'insert_or_ignore', ] def ensure_only_one_row(rows): row = rows.fetchone() if row is None or rows.fetchone() is not None: raise KeyError return row def insert_or_ignore(conn, table, values): conn.execute(table.insert().prefix_with('O...
2a8f6c3028feec7fc9a01cbdfad45955c4771bf8
ReactAndroid/src/main/java/com/facebook/yoga/YogaJNI.java
ReactAndroid/src/main/java/com/facebook/yoga/YogaJNI.java
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. * */ package com.facebook.yoga; import com.facebook.soloader.SoLoader; public class YogaJNI { // Known constants. 1-3 used in ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. * */ package com.facebook.yoga; import com.facebook.soloader.SoLoader; public class YogaJNI { private static boolean isInitiali...
Add Yoga JNI bindings to libcoldstart
Add Yoga JNI bindings to libcoldstart Summary: Yoga's JNI bindings are usually loaded during class loading, and can stall the UI thread. Here, we try to mitigate the problem by adding the bindings to libcoldstart. Reviewed By: michalgr Differential Revision: D12956818 fbshipit-source-id: 9dda5cb6d26c2bae64606bc2d7...
Java
mit
arthuralee/react-native,myntra/react-native,facebook/react-native,hoangpham95/react-native,exponentjs/react-native,hammerandchisel/react-native,facebook/react-native,facebook/react-native,exponentjs/react-native,pandiaraj44/react-native,pandiaraj44/react-native,hoangpham95/react-native,pandiaraj44/react-native,hoangpha...
java
## Code Before: /* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. * */ package com.facebook.yoga; import com.facebook.soloader.SoLoader; public class YogaJNI { // Known constan...
cc4435f6634190bb5222b10c6b2fc2ec4eca8462
assets/js/argumenta/widgets/Tags/style.css
assets/js/argumenta/widgets/Tags/style.css
/* Argumenta - Tags Widget Stylesheet */ .tags-widget .support-tags-header { border-bottom: 2px solid #4d4; color: #4d4; } .tags-widget .dispute-tags-header { border-bottom: 2px solid #f47; color: #f47; } .tags-widget .citation-tags-header { border-bottom: 2px solid #333; color: #333; } .tags-w...
/* Argumenta - Tags Widget Stylesheet */ .tags-widget .support-tags-header { border-bottom: 2px solid #4d4; color: #4d4; } .tags-widget .dispute-tags-header { border-bottom: 2px solid #f47; color: #f47; } .tags-widget .citation-tags-header { border-bottom: 2px solid #333; color: #333; } .tags-w...
Fix size of tag icons when nested
Fix size of tag icons when nested
CSS
mit
argumenta/argumenta-widgets,argumenta/argumenta-widgets
css
## Code Before: /* Argumenta - Tags Widget Stylesheet */ .tags-widget .support-tags-header { border-bottom: 2px solid #4d4; color: #4d4; } .tags-widget .dispute-tags-header { border-bottom: 2px solid #f47; color: #f47; } .tags-widget .citation-tags-header { border-bottom: 2px solid #333; color:...
f3f4c6e453b11f60ab4dcb38093437227bcd0b8e
sale_order_requirement/static/src/css/style.css
sale_order_requirement/static/src/css/style.css
th[data-id=level_name] { min-width: 90px; }
th[data-id=level_name] { min-width: 90px; } /* RAL 6017 */ .openerp .header, .openerp .main_table, .openerp .ui-widget-header, .openerp .menu, .openerp .menu a:hover, .openerp .menu a:focus, .openerp .menu a.active, .openerp .secondary_menu a.oe_secondary_menu_item { background-color: #468641 !important; } ....
Set RAL 6017 as background color, kind of yellow as color
Set RAL 6017 as background color, kind of yellow as color
CSS
agpl-3.0
iw3hxn/LibrERP,iw3hxn/LibrERP,iw3hxn/LibrERP,iw3hxn/LibrERP,iw3hxn/LibrERP
css
## Code Before: th[data-id=level_name] { min-width: 90px; } ## Instruction: Set RAL 6017 as background color, kind of yellow as color ## Code After: th[data-id=level_name] { min-width: 90px; } /* RAL 6017 */ .openerp .header, .openerp .main_table, .openerp .ui-widget-header, .openerp .menu, .openerp .menu ...
d049b966a9ee17dda51cff9d43655f81fca6b221
metadata/com.github.k1rakishou.chan.fdroid.yml
metadata/com.github.k1rakishou.chan.fdroid.yml
AntiFeatures: - NonFreeNet Categories: - Internet License: GPL-3.0-only WebSite: https://github.com/K1rakishou/Kuroba-Experimental SourceCode: https://github.com/K1rakishou/Kuroba-Experimental IssueTracker: https://github.com/K1rakishou/Kuroba-Experimental/issues AutoName: ${appName} RepoType: git Repo: https://g...
AntiFeatures: - NonFreeNet Categories: - Internet License: GPL-3.0-only WebSite: https://github.com/K1rakishou/Kuroba-Experimental SourceCode: https://github.com/K1rakishou/Kuroba-Experimental IssueTracker: https://github.com/K1rakishou/Kuroba-Experimental/issues AutoName: ${appName} RepoType: git Repo: https://g...
Update ${appName} to v0.6.4 (604)
Update ${appName} to v0.6.4 (604)
YAML
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata
yaml
## Code Before: AntiFeatures: - NonFreeNet Categories: - Internet License: GPL-3.0-only WebSite: https://github.com/K1rakishou/Kuroba-Experimental SourceCode: https://github.com/K1rakishou/Kuroba-Experimental IssueTracker: https://github.com/K1rakishou/Kuroba-Experimental/issues AutoName: ${appName} RepoType: git...