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
946fd35452f9dad3d17f2b32309d9e9298dcdedb
pages/01.gantry5/06.troubleshooting/04.assignment-issues/docs.md
pages/01.gantry5/06.troubleshooting/04.assignment-issues/docs.md
--- title: Assignments Not Appearing on Front End taxonomy: category: docs tag: [gantry5] --- In general, assigning an outline to a specific menu item (or page, category, etc.) should make tie that outline to the assigned pages on the front end without issue. However, some third-party plugins (WordPress) and/o...
--- title: Assignments Not Appearing on Front End taxonomy: category: docs tag: [gantry5] --- In general, assigning an outline to a specific menu item (or page, category, etc.) should make tie that outline to the assigned pages on the front end without issue. However, some third-party plugins (WordPress) and/o...
Add another plugin that breaks Gantry 5 assignments and remove duplicate entry
Add another plugin that breaks Gantry 5 assignments and remove duplicate entry Add another plugin that breaks Gantry 5 assignments and remove duplicate entry
Markdown
mit
gantry/docs,gantry/docs
markdown
## Code Before: --- title: Assignments Not Appearing on Front End taxonomy: category: docs tag: [gantry5] --- In general, assigning an outline to a specific menu item (or page, category, etc.) should make tie that outline to the assigned pages on the front end without issue. However, some third-party plugins (...
dbde2d09dee54409653681e0a349a67796cd4195
README.md
README.md
This consists of two scripts to create compressed copies of the original files using gzip/zopfli and brotli. Their mdates are set to that of the original file in order to detect if the original file has changed. Optionally, .js and .css files are first minified using the Yuicompressor. The original files always remain ...
This consists of two scripts to create compressed copies of the original files using gzip/zopfli and brotli. Their mdates are set to that of the original file in order to detect if the original file has changed. Optionally, .js and .css files are first minified using the Yuicompressor. The original files always remain ...
Add links to further info
Add links to further info
Markdown
bsd-2-clause
utrenkner/csa
markdown
## Code Before: This consists of two scripts to create compressed copies of the original files using gzip/zopfli and brotli. Their mdates are set to that of the original file in order to detect if the original file has changed. Optionally, .js and .css files are first minified using the Yuicompressor. The original file...
7aeb6fe8dc2a6c0086d268e9afae1fbcc41e1bff
packages/la/language-sally.yaml
packages/la/language-sally.yaml
homepage: '' changelog-type: markdown hash: 747d58069c86cb825815828f465dc2658f06f602bdd0ad28f66ae6d1109cda9d test-bench-deps: {} maintainer: bjones@galois.com synopsis: AST and pretty printer for Sally changelog: ! '# Revision history for language-sally ## 0.1.0.0 -- 2017-06-02 * First version. Released on an ...
homepage: '' changelog-type: markdown hash: c371c79d18e6af9c07196277f22fd0f12ca4dac36380451f3d18217c96f40c33 test-bench-deps: {} maintainer: bjones@galois.com synopsis: AST and pretty printer for Sally changelog: ! '# Revision history for language-sally ## 0.1.0.0 -- 2017-06-02 * First version. Released on an ...
Update from Hackage at 2017-06-22T19:25:22Z
Update from Hackage at 2017-06-22T19:25:22Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: '' changelog-type: markdown hash: 747d58069c86cb825815828f465dc2658f06f602bdd0ad28f66ae6d1109cda9d test-bench-deps: {} maintainer: bjones@galois.com synopsis: AST and pretty printer for Sally changelog: ! '# Revision history for language-sally ## 0.1.0.0 -- 2017-06-02 * First version....
9d78b571fcd0575e02d4849a0938a51f15e07961
multi_schema/management/__init__.py
multi_schema/management/__init__.py
from django.db import models, connection from django.core.management.color import no_style from multi_schema.models import Schema def post_syncdb_duplicator(sender, **kwargs): # See if any of the newly created models are schema-aware schema_aware_models = [m for m in kwargs['created_models'] if m._is_schema_a...
from django.db import models, connection from django.core.management.color import no_style from multi_schema.models import Schema def post_syncdb_duplicator(sender, **kwargs): # See if any of the newly created models are schema-aware schema_aware_models = [m for m in kwargs['created_models'] if m._is_schema_a...
Create the correct references to other tables in all schemata.
Create the correct references to other tables in all schemata.
Python
bsd-3-clause
schinckel/django-boardinghouse,schinckel/django-boardinghouse,schinckel/django-boardinghouse
python
## Code Before: from django.db import models, connection from django.core.management.color import no_style from multi_schema.models import Schema def post_syncdb_duplicator(sender, **kwargs): # See if any of the newly created models are schema-aware schema_aware_models = [m for m in kwargs['created_models'] i...
0cc9e84c5338ed364398102408118a256edace4f
lib/gas/git_config.rb
lib/gas/git_config.rb
module Gas # Class that class that interacts with the git config module GitConfig # Parse out the current user from the gitconfig # @param [String] gitconfig The git configuration # @return [Gas::User] The current user or nil if not present def self.current_user name = `git config --global -...
module Gas # Module that class that interacts with the git config module GitConfig # Parse out the current user from the gitconfig # @param [String] gitconfig The git configuration # @return [Gas::User] The current user or nil if not present def self.current_user name = `git config --global ...
Trim down some more code
Trim down some more code
Ruby
mit
walle/gas
ruby
## Code Before: module Gas # Class that class that interacts with the git config module GitConfig # Parse out the current user from the gitconfig # @param [String] gitconfig The git configuration # @return [Gas::User] The current user or nil if not present def self.current_user name = `git c...
35a3f0f316ba9d68215a16f47f0ff10df47f987e
package.json
package.json
{ "name": "DeftJS", "version": "5.0.0", "author": { "name": "John Yanarella", "email": "john.yanarella@deftjs.org" }, "description": "Essential extensions for large-scale Sencha Touch and Ext JS applications", "homepage": "http://deftjs.org/", "repository": { "type": "git", "url": "https:/...
{ "name": "DeftJS", "version": "5.0.0", "author": { "name": "John Yanarella", "email": "john.yanarella@deftjs.org" }, "description": "Essential extensions for large-scale Sencha Touch and Ext JS applications", "homepage": "http://deftjs.org/", "repository": { "type": "git", "url": "https:/...
Add Karma phantomjs and firefox launchers as dev dependencies.
Add Karma phantomjs and firefox launchers as dev dependencies.
JSON
mit
deftjs/DeftJS5,deftjs/DeftJS5,deftjs/DeftJS5
json
## Code Before: { "name": "DeftJS", "version": "5.0.0", "author": { "name": "John Yanarella", "email": "john.yanarella@deftjs.org" }, "description": "Essential extensions for large-scale Sencha Touch and Ext JS applications", "homepage": "http://deftjs.org/", "repository": { "type": "git", ...
de9a6f647d0a6082e2a473895ec61ba23b41753e
controllers/oldauth.py
controllers/oldauth.py
import hashlib import base64 from datetime import date from bo import * from database.oldauth import * class Login(webapp.RequestHandler): def get(self): if self.request.get('site'): user = users.get_current_user() site = self.request.get('site') oa = db.Query(OldAuth)...
import hashlib import base64 from datetime import date from bo import * from database.oldauth import * class Login(webapp.RequestHandler): def get(self): if self.request.get('site'): u = User().current() user = users.get_current_user() site = self.request.get('site')...
Create users when they log in
Create users when they log in
Python
mit
argoroots/Entu,argoroots/Entu,argoroots/Entu
python
## Code Before: import hashlib import base64 from datetime import date from bo import * from database.oldauth import * class Login(webapp.RequestHandler): def get(self): if self.request.get('site'): user = users.get_current_user() site = self.request.get('site') oa = d...
492f91d1d910caa1307539335a5312bf03f64e53
app/views/reports/show.html.haml
app/views/reports/show.html.haml
:ruby has_report_actions = lookup_context.template_exists?("#{@report_view}_actions", 'reports', true) has_common_actions = lookup_context.template_exists?("common_actions", 'reports', true) %nav.navbar.navbar-default .container-fluid .navbar-header %button.navbar-toggle.collapsed{:data => {:toggle =...
:ruby has_report_actions = lookup_context.template_exists?("#{@report_view}_actions", 'reports', true) has_common_actions = lookup_context.template_exists?("common_actions", 'reports', true) has_specific_actions = lookup_context.template_exists?("#{@report.class_name.underscore}_actions", 'reports', true) %nav...
Remove filter button and automatically filter TAM service life report when choosing asset category; update label.
[TTPLAT-1127] Remove filter button and automatically filter TAM service life report when choosing asset category; update label.
Haml
mit
camsys/transam_core,camsys/transam_core,camsys/transam_core,camsys/transam_core
haml
## Code Before: :ruby has_report_actions = lookup_context.template_exists?("#{@report_view}_actions", 'reports', true) has_common_actions = lookup_context.template_exists?("common_actions", 'reports', true) %nav.navbar.navbar-default .container-fluid .navbar-header %button.navbar-toggle.collapsed{:da...
28e986aa1a00c8faeaf1c460036559eb54f627dc
index.js
index.js
'use strict'; var connect = require('readable-lists-api'); var run = require('./lib/run-bot.js'); var readers = {}; readers.pipermail = require('./lib/readers/pipermail'); var db = connect(process.env.DATABASE); function onList(list) { console.log(list.source); } function onError(err) { console.error(err.stack ...
'use strict'; var connect = require('readable-lists-api'); var run = require('./lib/run-bot.js'); var readers = {}; readers.pipermail = require('./lib/readers/pipermail'); var db = connect(process.argv[2] || process.env.DATABASE); function onList(list) { console.log(list.source); } function onError(err) { conso...
Support passing database as an argument
Support passing database as an argument
JavaScript
mit
readable-email/readable-email-bot,readable-lists/readable-lists-bot
javascript
## Code Before: 'use strict'; var connect = require('readable-lists-api'); var run = require('./lib/run-bot.js'); var readers = {}; readers.pipermail = require('./lib/readers/pipermail'); var db = connect(process.env.DATABASE); function onList(list) { console.log(list.source); } function onError(err) { console....
99bd75d582145f1adfa9e2f49baab0284a153b7f
README.md
README.md
Renaming and folder structure software build on Electron with C# and JavaScript Reflow allows you to create custom folder structures for projects that are packaged and can be re-created with a single click.
File management software build with C# and JavaScript Reflow allows to rename file lists with various attributes and create custom folder structures for projects that are packaged together and can be re-created upon template load. # To install all dependencies npm install # To run application npm start # To build a...
Update rename with cmd line instructions
Update rename with cmd line instructions
Markdown
mit
radencode/reflow-client,radencode/reflow,radencode/reflow-client,radencode/reflow
markdown
## Code Before: Renaming and folder structure software build on Electron with C# and JavaScript Reflow allows you to create custom folder structures for projects that are packaged and can be re-created with a single click. ## Instruction: Update rename with cmd line instructions ## Code After: File management softwar...
085edf28b2e70552789407e16ca83faf78313672
version.py
version.py
major = 0 minor=0 patch=0 branch="dev" timestamp=1376579871.17
major = 0 minor=0 patch=25 branch="master" timestamp=1376610207.69
Tag commit for v0.0.25-master generated by gitmake.py
Tag commit for v0.0.25-master generated by gitmake.py
Python
mit
ryansturmer/gitmake
python
## Code Before: major = 0 minor=0 patch=0 branch="dev" timestamp=1376579871.17 ## Instruction: Tag commit for v0.0.25-master generated by gitmake.py ## Code After: major = 0 minor=0 patch=25 branch="master" timestamp=1376610207.69
64e55b74ae91018f07fa97281ce75d97729cb5c3
README.md
README.md
Lightweight collections for JavaScript.
[![Build Status](https://secure.travis-ci.org/keyvanakbary/eter.svg?branch=master)](http://travis-ci.org/keyvanakbary/eter) Lightweight collections for JavaScript.
Add Travis build status icon
Add Travis build status icon
Markdown
mit
keyvanakbary/eter,keyvanakbary/eter
markdown
## Code Before: Lightweight collections for JavaScript. ## Instruction: Add Travis build status icon ## Code After: [![Build Status](https://secure.travis-ci.org/keyvanakbary/eter.svg?branch=master)](http://travis-ci.org/keyvanakbary/eter) Lightweight collections for JavaScript.
5c4ddd579902c5b274e2b75a218f869032ff92bd
resources/travis/deploy.sh
resources/travis/deploy.sh
REPO="https://${GH_BOT_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git" PAGES_CHECKOUT="$HOME/gh-pages" GEM_DIR=$(rvm gemdir) printf "travis_fold:start:clone_gh_pages\nCloning gh-pages\n" mkdir -p "$PAGES_CHECKOUT" git -C "$PAGES_CHECKOUT" init # pull the gh-pages branch from $REPO. # doesn't use `clone` to avoid writing t...
REPO="https://${GH_BOT_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git" PAGES_CHECKOUT="$HOME/gh-pages" printf "travis_fold:start:clone_gh_pages\nCloning gh-pages\n" mkdir -p "$PAGES_CHECKOUT" git -C "$PAGES_CHECKOUT" init # pull the gh-pages branch from $REPO. # doesn't use `clone` to avoid writing the token to disk git -...
Use 'rvm do' to run jekyll
Use 'rvm do' to run jekyll Summary: the deploy section indeed resets the ruby version (https://github.com/travis-ci/travis-ci/issues/5205), so we need to use rvm to get it back. Reviewed By: avikchaudhuri fb-gh-sync-id: cf52e60b7dae2bd6b040259d83ebf56c35af1430 shipit-source-id: cf52e60b7dae2bd6b040259d83ebf56c35af14...
Shell
mit
ForbesLindesay/flow,gabelevi/flow,graue/flow,gabro/flow,nmote/flow,gabro/flow,graue/flow,mroch/flow,popham/flow,d14b3l/flow,d14b3l/flow,popham/flow,jeffmo/flow,MichaelDeBoey/flow,gabelevi/flow,facebook/flow,facebook/flow,popham/flow,TiddoLangerak/flow,jamesgpearce/flow,mroch/flow,samwgoldman/flow,gabro/flow,JonathanUse...
shell
## Code Before: REPO="https://${GH_BOT_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git" PAGES_CHECKOUT="$HOME/gh-pages" GEM_DIR=$(rvm gemdir) printf "travis_fold:start:clone_gh_pages\nCloning gh-pages\n" mkdir -p "$PAGES_CHECKOUT" git -C "$PAGES_CHECKOUT" init # pull the gh-pages branch from $REPO. # doesn't use `clone` to...
03724ce6c0f32212963c528bce553c1f6ae46d81
spec/about-spec.coffee
spec/about-spec.coffee
About = require '../lib/about' {$} = require 'atom-space-pen-views' describe "About", -> workspaceElement = null beforeEach -> workspaceElement = atom.views.getView(atom.workspace) waitsForPromise -> atom.packages.activatePackage('about') describe "when the about:about-atom command is triggered"...
About = require '../lib/about' {$} = require 'atom-space-pen-views' describe "About", -> workspaceElement = null beforeEach -> workspaceElement = atom.views.getView(atom.workspace) waitsForPromise -> atom.packages.activatePackage('about') describe "when the about:about-atom command is triggered"...
Use atom.workspace.open() for specs to make them less flaky
Use atom.workspace.open() for specs to make them less flaky
CoffeeScript
mit
mnquintana/atom-about,atom/about
coffeescript
## Code Before: About = require '../lib/about' {$} = require 'atom-space-pen-views' describe "About", -> workspaceElement = null beforeEach -> workspaceElement = atom.views.getView(atom.workspace) waitsForPromise -> atom.packages.activatePackage('about') describe "when the about:about-atom comma...
c22925be0c54c2028ac85bfebac75a3c392861eb
app/models/dojo.rb
app/models/dojo.rb
class Dojo < ApplicationRecord NUM_OF_COUNTRIES = "75" NUM_OF_WHOLE_DOJOS = "1,500" NUM_OF_WHOLE_EVENTS = "1,555" NUM_OF_JAPAN_DOJOS = Dojo.count.to_s belongs_to :prefecture has_many :dojo_event_services, dependent: :destroy has_many :event_histories, dependent: :destroy serialize :tags befo...
class Dojo < ApplicationRecord NUM_OF_COUNTRIES = "75" NUM_OF_WHOLE_DOJOS = "1,500" NUM_OF_WHOLE_EVENTS = "1,555" NUM_OF_JAPAN_DOJOS = Dojo.count.to_s belongs_to :prefecture has_many :dojo_event_services, dependent: :destroy has_many :event_histories, dependent: :destroy serialize :tags befo...
Add scope for default order
Add scope for default order
Ruby
mit
yasslab/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp
ruby
## Code Before: class Dojo < ApplicationRecord NUM_OF_COUNTRIES = "75" NUM_OF_WHOLE_DOJOS = "1,500" NUM_OF_WHOLE_EVENTS = "1,555" NUM_OF_JAPAN_DOJOS = Dojo.count.to_s belongs_to :prefecture has_many :dojo_event_services, dependent: :destroy has_many :event_histories, dependent: :destroy serial...
7fe8ec0593c61fe745544eeb07439e6f3cce72b9
spec/rbNFA_spec.rb
spec/rbNFA_spec.rb
require 'spec_helper.rb' module RbNFA describe Regexp do it "can be build from literal string" do regexp = Regexp.new("a") regexp.should_not be_nil end it "can math string" do regexp = Regexp.new("a") regexp.match("aaa").should be_true end it "cannot match incorrect...
require 'spec_helper.rb' module RbNFA describe Regexp do it "can be build from literal string" do regexp = Regexp.new("a") regexp.should_not be_nil end it "can math string" do pending("to implementig other") regexp = Regexp.new("a") regexp.match("aaa").should be_true ...
Add basic requirements to lexer
Add basic requirements to lexer
Ruby
mit
bambuchaAdm/rbNFA
ruby
## Code Before: require 'spec_helper.rb' module RbNFA describe Regexp do it "can be build from literal string" do regexp = Regexp.new("a") regexp.should_not be_nil end it "can math string" do regexp = Regexp.new("a") regexp.match("aaa").should be_true end it "cannot...
843e338ed04a4908e13b34b248182da5fba87154
README.md
README.md
The best way to clone repositories.. ever
Checkout repositories like a pro ### Klone a project ``` klone kops ``` Will check my `.gitconfig` and discover that I am `@kris-nova` Will look up that I have a repository called `kops` Will discover that the repository was forked from `kubernetes/kops` Will check if either `~` or `$GOPATH` has a `.gitmodules` fil...
Define what klone should do
Define what klone should do
Markdown
apache-2.0
kris-nova/klone,kris-nova/klone
markdown
## Code Before: The best way to clone repositories.. ever ## Instruction: Define what klone should do ## Code After: Checkout repositories like a pro ### Klone a project ``` klone kops ``` Will check my `.gitconfig` and discover that I am `@kris-nova` Will look up that I have a repository called `kops` Will disco...
d4d9f2d4ca13a3faeaf012599d8bb7e74c3b8959
.travis.yml
.travis.yml
language: python python: - "2.7" cache: pip install: - pip install flake8 pytest websocket-client before_script: # stop the build if there are Python syntax errors or undefined names - flake8 . # exit-zero treats all errors as warnings. - flake8 . --exit-zero --select=C,E,F,W script: - python -m pytest...
dist: xenial language: python python: - "2.7" - "3.7" cache: pip install: - pip install flake8 pytest websocket-client before_script: # stop the build if there are Python syntax errors or undefined names - flake8 . # exit-zero treats all errors as warnings. - flake8 . --exit-zero --select=C,E,F,W scrip...
Enable testing in python 3 on Travis
Enable testing in python 3 on Travis Use Ubuntu Xenial (16.04), since the default (Trusty, 14.04) doesn't have python 3.7.
YAML
mit
rawdigits/wee-slack,wee-slack/wee-slack,trygveaa/wee-slack
yaml
## Code Before: language: python python: - "2.7" cache: pip install: - pip install flake8 pytest websocket-client before_script: # stop the build if there are Python syntax errors or undefined names - flake8 . # exit-zero treats all errors as warnings. - flake8 . --exit-zero --select=C,E,F,W script: - ...
b7a1f59b7748463be279e2f488d6476dab0566c6
src/AutoWiring.php
src/AutoWiring.php
<?php declare(strict_types=1); namespace Stratadox\Di; use ReflectionClass; final class AutoWiring { private $container; private function __construct(ContainerInterface $container) { $this->container = $container; } public static function the(ContainerInterface $container) : self {...
<?php declare(strict_types=1); namespace Stratadox\Di; use ReflectionClass; final class AutoWiring { private $container; private $links; private function __construct(ContainerInterface $container, array $links) { $this->container = $container; $this->links = $links; } publi...
Add support for interface typehints
Add support for interface typehints
PHP
mit
Stratadox/Di
php
## Code Before: <?php declare(strict_types=1); namespace Stratadox\Di; use ReflectionClass; final class AutoWiring { private $container; private function __construct(ContainerInterface $container) { $this->container = $container; } public static function the(ContainerInterface $contain...
e692efac8361c859fb046ed6a527c98eeeb36b79
pages/assure/assure_end_to_end.md
pages/assure/assure_end_to_end.md
--- title: End to End | Assure keywords: assure, access, security tags: [assure, access] sidebar: foundations_sidebar permalink: assure_end_to_end.html summary: "The Access page shows developers and users of the API how to access and call the API in the test environment" --- {% include important.html content="All phas...
--- title: End to End | Assure keywords: assure, access, security tags: [assure, access] sidebar: foundations_sidebar permalink: assure_end_to_end.html summary: "The end to end page shows how APIs can be assured in the scenarios and system integration tests required to assure a system before deploying" --- {% include ...
Update end to end assurance
Update end to end assurance
Markdown
apache-2.0
nhsconnect/CareConnectAPI,nhsconnect/CareConnectAPI,nhsconnect/CareConnectAPI,nhsconnect/CareConnectAPI
markdown
## Code Before: --- title: End to End | Assure keywords: assure, access, security tags: [assure, access] sidebar: foundations_sidebar permalink: assure_end_to_end.html summary: "The Access page shows developers and users of the API how to access and call the API in the test environment" --- {% include important.html c...
d6b787a05e4790d97d0937e30d5279bb4624eb1f
example/fltk/draw_x.cpp
example/fltk/draw_x.cpp
// Copyright (c) 2016, Herman Bergwerf. All rights reserved. // Use of this source code is governed by a MIT-style license // that can be found in the LICENSE file. // Based on: http://seriss.com/people/erco/fltk/#FltkX #include <FL/Fl.H> #include <FL/fl_draw.H> #include <FL/Fl_Box.H> #include <FL/Fl_Double_Window.H>...
// Copyright (c) 2016, Herman Bergwerf. All rights reserved. // Use of this source code is governed by a MIT-style license // that can be found in the LICENSE file. // Based on: http://seriss.com/people/erco/fltk/#FltkX #include <FL/Fl.H> #include <FL/fl_draw.H> #include <FL/Fl_Box.H> #include <FL/Fl_Double_Window.H>...
Fix the draw X FLTK C++ example
Fix the draw X FLTK C++ example
C++
mit
hermanbergwerf/fltk-dart,hermanbergwerf/fltk-dart,hermanbergwerf/fltk-dart,hermanbergwerf/fltk-dart
c++
## Code Before: // Copyright (c) 2016, Herman Bergwerf. All rights reserved. // Use of this source code is governed by a MIT-style license // that can be found in the LICENSE file. // Based on: http://seriss.com/people/erco/fltk/#FltkX #include <FL/Fl.H> #include <FL/fl_draw.H> #include <FL/Fl_Box.H> #include <FL/Fl_...
34ea5331f8e05dacf356096dfc1b63682fa78654
Wikipedia/Code/BITHockeyManager+WMFExtensions.h
Wikipedia/Code/BITHockeyManager+WMFExtensions.h
@interface BITHockeyManager (WMFExtensions) <BITHockeyManagerDelegate> /** * Configure and startup in one line. * This will call the methods below as part of the configuration process. * This method will use the current bundle id of the app */ - (void)wmf_setupAndStart; /** * Configure the alert to be displ...
@import HockeySDK; @interface BITHockeyManager (WMFExtensions) <BITHockeyManagerDelegate> /** * Configure and startup in one line. * This will call the methods below as part of the configuration process. * This method will use the current bundle id of the app */ - (void)wmf_setupAndStart; /** * Configure th...
Revert "use old import syntax for HockeySDK"
Revert "use old import syntax for HockeySDK" This reverts commit 0babdd70b3ab330f032790521002f2e171fcf3e6.
C
mit
wikimedia/wikipedia-ios,wikimedia/wikipedia-ios,josve05a/wikipedia-ios,julienbodet/wikipedia-ios,wikimedia/apps-ios-wikipedia,wikimedia/apps-ios-wikipedia,montehurd/apps-ios-wikipedia,wikimedia/apps-ios-wikipedia,wikimedia/wikipedia-ios,montehurd/apps-ios-wikipedia,wikimedia/wikipedia-ios,montehurd/apps-ios-wikipedia,j...
c
## Code Before: @interface BITHockeyManager (WMFExtensions) <BITHockeyManagerDelegate> /** * Configure and startup in one line. * This will call the methods below as part of the configuration process. * This method will use the current bundle id of the app */ - (void)wmf_setupAndStart; /** * Configure the a...
e333fcad9a4a48fd631b22ff27052b7a7935eed6
.gitlab-ci.yml
.gitlab-ci.yml
build-image: image: docker services: - docker:dind script: - docker version - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com - if [ $CI_BUILD_REF_NAME == "master" ]; then tag="latest"; else tag=$CI_BUILD_REF_NAME; fi - docker build --build-arg TOKEN_RANCHER_GEN=$TOKEN_RANCHE...
build-image: image: docker services: - docker:dind script: - docker version - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com - if [ $CI_BUILD_REF_NAME == "master" ]; then tag="latest"; else tag=$CI_BUILD_REF_NAME; fi - docker build -t registry.gitlab.com/adi90x/rancher-activ...
Delete TOKEN => No longer needed
Delete TOKEN => No longer needed
YAML
mit
adi90x/rancher-active-proxy,adi90x/rancher-active-proxy
yaml
## Code Before: build-image: image: docker services: - docker:dind script: - docker version - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com - if [ $CI_BUILD_REF_NAME == "master" ]; then tag="latest"; else tag=$CI_BUILD_REF_NAME; fi - docker build --build-arg TOKEN_RANCHER_G...
afc02f3b96a54f1b9ebfac457c6ae75a9ad8bc9e
lib/client/alumni_stories.rb
lib/client/alumni_stories.rb
require_relative 'base_client' module AlumniStories include BaseClient # Create a checkpoint # # @param id [Integer] An alumni story id. # @param direction [String] The direction to move to the alumni story. # @return [AlumniStory] The updated alumni story # @example Update an alumni story sort order ...
require_relative 'base_client' module AlumniStories include BaseClient # Change the sort order of an alumni story. # # @param id [Integer] An alumni story id. # @param direction [String] The direction to move to the alumni story. # @return [AlumniStory] The updated alumni story # @example Update an alum...
Fix copy paste doc error
Fix copy paste doc error
Ruby
mit
Bloc/spartacus,bmneely/spartacus
ruby
## Code Before: require_relative 'base_client' module AlumniStories include BaseClient # Create a checkpoint # # @param id [Integer] An alumni story id. # @param direction [String] The direction to move to the alumni story. # @return [AlumniStory] The updated alumni story # @example Update an alumni sto...
6af60e782ac0e6079b01b745ac1f9f23dd2b2263
debian-testing/update-git-reference.sh
debian-testing/update-git-reference.sh
set -exo pipefail for x in babl gegl gimp;do if [ ! -d /export/"${x}".git ]; then git clone --mirror git://git.gnome.org/"${x}" /export/"${x}".git fi ( cd /export/"${x}".git; git remote update --prune ) done
set -exo pipefail for x in babl gegl gimp libmypaint;do if [ ! -d /export/"${x}".git ]; then if [ "$x" = 'libmypaint' ]; then git clone --mirror https://github.com/mypaint/libmypaint.git /export/libmypaint.git else git clone --mirror git://git.gnome.org/"${x}" /export/"${x}...
Add libmypaint to git references
Add libmypaint to git references
Shell
mit
samrocketman/docker-jenkins-gimp,samrocketman/docker-jenkins-gimp,gimp-ci/docker-jenkins-gimp
shell
## Code Before: set -exo pipefail for x in babl gegl gimp;do if [ ! -d /export/"${x}".git ]; then git clone --mirror git://git.gnome.org/"${x}" /export/"${x}".git fi ( cd /export/"${x}".git; git remote update --prune ) done ## Instruction: Add libmypaint to git references ## Code After: set -ex...
962c475f7e36ce774f8fb3ff426218cdbf4182a1
Wallet/OnlineWallet.Web.Core/ClientApp/actions/wallets.ts
Wallet/OnlineWallet.Web.Core/ClientApp/actions/wallets.ts
import { Dispatch } from "redux"; import { Actions } from "../constants/actions"; import { Wallet, walletService } from "walletApi"; import { createAction } from "redux-actions"; import { AlertsActions } from "./alerts"; export const loadWalletSuccess = createAction<Wallet[]>(Actions.loadWallets); export function loa...
import { Dispatch } from "redux"; import { Actions } from "../constants/actions"; import { Wallet, walletService } from "walletApi"; import { createAction } from "redux-actions"; import { AlertsActions } from "./alerts"; export const loadWalletSuccess = createAction<Wallet[]>(Actions.loadWallets); export function loa...
Fix error message in failed wallet api call.
Fix error message in failed wallet api call.
TypeScript
mit
faddiv/budget-keeper,faddiv/budget-keeper,faddiv/budget-keeper,faddiv/budget-keeper
typescript
## Code Before: import { Dispatch } from "redux"; import { Actions } from "../constants/actions"; import { Wallet, walletService } from "walletApi"; import { createAction } from "redux-actions"; import { AlertsActions } from "./alerts"; export const loadWalletSuccess = createAction<Wallet[]>(Actions.loadWallets); exp...
d782496835ebfce672c5c38f8efe35ab0c97155b
src/Viewer/__tests__/orderPagesBooklet.test.js
src/Viewer/__tests__/orderPagesBooklet.test.js
import orderPagesBooklet from '../orderPagesBooklet'; const makePage = function () { return { element: document.createElement('div') }; }; test('Orders 8', () => { const pages = [ makePage(), makePage(), makePage(), makePage(), makePage(), makePage(), makePage(), makePage(), ]; ...
import orderPagesBooklet from '../orderPagesBooklet'; const makePage = function () { return { element: document.createElement('div') }; }; test('Orders 8', () => { const pages = [ makePage(), makePage(), makePage(), makePage(), makePage(), makePage(), makePage(), makePage(), ]; ...
Test that booklet page count always multiple of 4
Test that booklet page count always multiple of 4
JavaScript
mit
evnbr/bindery,evnbr/bindery
javascript
## Code Before: import orderPagesBooklet from '../orderPagesBooklet'; const makePage = function () { return { element: document.createElement('div') }; }; test('Orders 8', () => { const pages = [ makePage(), makePage(), makePage(), makePage(), makePage(), makePage(), makePage(), ma...
88e0b7f9f3d296fc6d23736239d471726efc8f0a
tests/285-test-execcontext.swift
tests/285-test-execcontext.swift
// Regression test for optimizations that might incorrectly execute function // on wrong process @dispatch=WORKER (int o) worker_task (int i) "turbine" "0.0.1" [ "set <<o>> <<i>>; if { $turbine::mode != \"WORKER\" } { error $turbine::mode }" ]; @dispatch=CONTROL (int o) control_task (int i) "turbine" "0.0.1" [ "s...
// Regression test for optimizations that might incorrectly execute function // on wrong process. // This test updated for merged engine/server // Check that worker task doesn't run twice in same context @dispatch=WORKER (int o) worker_task (int i) "turbine" "0.0.1" [ "set <<o>> <<i>>; if { $turbine::mode != \"WORKE...
Update 285 for combined engine/server
Update 285 for combined engine/server git-svn-id: 0c5512015aa96f7d3f5c3ad598bd98edc52008b1@12589 dc4e9af1-7f46-4ead-bba6-71afc04862de
Swift
apache-2.0
basheersubei/swift-t,JohnPJenkins/swift-t,swift-lang/swift-t,basheersubei/swift-t,blue42u/swift-t,JohnPJenkins/swift-t,swift-lang/swift-t,blue42u/swift-t,JohnPJenkins/swift-t,swift-lang/swift-t,swift-lang/swift-t,JohnPJenkins/swift-t,JohnPJenkins/swift-t,swift-lang/swift-t,blue42u/swift-t,blue42u/swift-t,basheersubei/s...
swift
## Code Before: // Regression test for optimizations that might incorrectly execute function // on wrong process @dispatch=WORKER (int o) worker_task (int i) "turbine" "0.0.1" [ "set <<o>> <<i>>; if { $turbine::mode != \"WORKER\" } { error $turbine::mode }" ]; @dispatch=CONTROL (int o) control_task (int i) "turbine...
9c887b56e377943edea48f819ab106f7b57e5786
tests/TestTaskBase.php
tests/TestTaskBase.php
<?php namespace Droath\ProjectX\Tests; use Droath\ProjectX\ProjectX; use Robo\Robo; use Robo\Tasks; use Symfony\Component\Console\Output\NullOutput; /** * Define test task base class. */ abstract class TestTaskBase extends TestBase { /** * Project-X application. * * @var \Droath\ProjectX\Project...
<?php namespace Droath\ProjectX\Tests; use Droath\ProjectX\ProjectX; use Robo\Robo; use Robo\Tasks; use Symfony\Component\Console\Output\NullOutput; /** * Define test task base class. */ abstract class TestTaskBase extends TestBase { /** * Project-X application. * * @var \Droath\ProjectX\Project...
Remove commented code from the test file.
GH-22: Remove commented code from the test file.
PHP
mit
droath/project-x,droath/project-x
php
## Code Before: <?php namespace Droath\ProjectX\Tests; use Droath\ProjectX\ProjectX; use Robo\Robo; use Robo\Tasks; use Symfony\Component\Console\Output\NullOutput; /** * Define test task base class. */ abstract class TestTaskBase extends TestBase { /** * Project-X application. * * @var \Droath\...
6ee28875acf1c0f805f7029b416a8ea7620404bd
app/assets/stylesheets/mumuki_laboratory/application/modules/_avatar.scss
app/assets/stylesheets/mumuki_laboratory/application/modules/_avatar.scss
.mu-user-avatar { width: 250px; height: 250px; border: 2px solid $mu-color-dark-separator; border-radius: 50%; padding: 2px; } .mu-edit-avatar { position: relative; top: 100px; right: 15px; &:hover { outline: none; opacity: 0.5; } &:focus { outline: none; opacity: 0.5; } } ...
.mu-user-avatar { width: 250px; height: 250px; border: 2px solid $mu-color-dark-separator; border-radius: 50%; padding: 2px; } .mu-edit-avatar { position: relative; top: 100px; right: 15px; &:hover { outline: none; opacity: 0.5; } &:focus { outline: none; opacity: 0.5; } } ...
Add focus properties to avatar items on picker
Add focus properties to avatar items on picker
SCSS
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
scss
## Code Before: .mu-user-avatar { width: 250px; height: 250px; border: 2px solid $mu-color-dark-separator; border-radius: 50%; padding: 2px; } .mu-edit-avatar { position: relative; top: 100px; right: 15px; &:hover { outline: none; opacity: 0.5; } &:focus { outline: none; opaci...
63e16e6547b4a7c067a9a1fa53dcecb9d704016b
uitest/src/com/vaadin/tests/tb3/SimpleMultiBrowserTest.java
uitest/src/com/vaadin/tests/tb3/SimpleMultiBrowserTest.java
/* * Copyright 2000-2013 Vaadin Ltd. * * 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...
/* * Copyright 2000-2013 Vaadin Ltd. * * 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...
Mark as deprecated to discourage usage for new tests
Mark as deprecated to discourage usage for new tests Change-Id: I87d417da5b6b8cf9753604944dff74f8f39c321a
Java
apache-2.0
Darsstar/framework,Scarlethue/vaadin,Peppe/vaadin,Peppe/vaadin,synes/vaadin,bmitc/vaadin,carrchang/vaadin,magi42/vaadin,mstahv/framework,Darsstar/framework,fireflyc/vaadin,peterl1084/framework,peterl1084/framework,bmitc/vaadin,Flamenco/vaadin,Darsstar/framework,Flamenco/vaadin,jdahlstrom/vaadin.react,oalles/vaadin,kiro...
java
## Code Before: /* * Copyright 2000-2013 Vaadin Ltd. * * 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 applicab...
677246d3af01f43e759a4c27a631688acd941762
doc/winforms.md
doc/winforms.md
Caliburn.Light can be used from non-XAML hosts. In order to accomplish this, you must follow a slightly different procedure than for a normal WPF app. Since your application does not initiate via the App.xaml you have to adapt the bootstrapper a bit (not much). This allows the bootstrapper to properly configure Calib...
Caliburn.Light can be used from non-XAML hosts. In order to accomplish this, you must follow a slightly different procedure than for a normal WPF app. Since your application does not initiate via the App.xaml you have to adapt the bootstrapper a bit (not much). This allows the bootstrapper to properly configure Calib...
Add links to demo apps
Add links to demo apps
Markdown
mit
tibel/Caliburn.Light
markdown
## Code Before: Caliburn.Light can be used from non-XAML hosts. In order to accomplish this, you must follow a slightly different procedure than for a normal WPF app. Since your application does not initiate via the App.xaml you have to adapt the bootstrapper a bit (not much). This allows the bootstrapper to properly...
35c8e79c92c71a9d6dfca1482c16b22f73c16540
README.md
README.md
Coverage reporting for cucumber with grunt. This project is aimed at those using cucumber to execute tests and need to gain coverage information, while coverage reporters are available for use with tools like selenium and protractor this is aimed at those running tests from the command line. Configure your tests to ...
Coverage reporting for cucumber with grunt. This project is aimed at those using cucumber to execute tests and need to gain coverage information, while coverage reporters are available for use with tools like selenium and protractor this is aimed at those running tests from the command line. Configure your tests to ...
Add example usage to readme
Add example usage to readme
Markdown
apache-2.0
sysen-limited/grunt-cucumber-coverage
markdown
## Code Before: Coverage reporting for cucumber with grunt. This project is aimed at those using cucumber to execute tests and need to gain coverage information, while coverage reporters are available for use with tools like selenium and protractor this is aimed at those running tests from the command line. Configur...
a1391c715dd0d17e8cc5c8e3062bc0d5c4689d48
src/_layouts/post.hbs
src/_layouts/post.hbs
--- layout: default.hbs pageClass: putainde-Post nav: true title: true sidebar: true footer: true author: false --- {{> body }} {{ author this.author }} {{#and happyplan.disqus_short_name page.comments }} <section class="putainde-Comments"> <h1 class="putainde-Comments-title">Comments</h1> <div id="disqus_thread"...
--- layout: default.hbs pageClass: putainde-Post nav: true title: true sidebar: true footer: true author: false --- {{> body }} {{ author this.author }} {{#if this.contributors}} <h2>Contributeurs</h2> <ul> {{#each this.contributors}} <li><a href="http://github.com/{{this}}">@{{this}}</a></li> {{/each}} ...
Support basique pour les contributeurs
Support basique pour les contributeurs Améliore #72 mais ce n'est pas optimal.
Handlebars
mit
revolunet/putaindecode.fr,pdoreau/putaindecode.fr,revolunet/putaindecode.fr,revolunet/putaindecode.fr,putaindecode/putaindecode.fr,pdoreau/putaindecode.fr,skinnyfoetusboy/putaindecode.fr,neemzy/putaindecode.fr,putaindecode/putaindecode.fr,skinnyfoetusboy/putaindecode.fr,skinnyfoetusboy/putaindecode.fr,neemzy/putaindeco...
handlebars
## Code Before: --- layout: default.hbs pageClass: putainde-Post nav: true title: true sidebar: true footer: true author: false --- {{> body }} {{ author this.author }} {{#and happyplan.disqus_short_name page.comments }} <section class="putainde-Comments"> <h1 class="putainde-Comments-title">Comments</h1> <div id...
14ff76bfc519d962bb9de87c55fefb8bd16cda9f
metadata/ua.gardenapple.itchupdater.yml
metadata/ua.gardenapple.itchupdater.yml
AntiFeatures: - NonFreeNet Categories: - Games - Internet License: GPL-3.0-only AuthorName: gardenapple AuthorEmail: gardenapple@posteo.net WebSite: https://gardenapple.itch.io/mitch SourceCode: https://gitlab.com/gardenappl/mitch IssueTracker: https://gitlab.com/gardenappl/mitch/issues Changelog: https://gardena...
AntiFeatures: - NonFreeNet Categories: - Games - Internet License: GPL-3.0-only AuthorName: gardenapple AuthorEmail: gardenapple@posteo.net WebSite: https://gardenapple.itch.io/mitch SourceCode: https://gitlab.com/gardenappl/mitch IssueTracker: https://gitlab.com/gardenappl/mitch/issues Changelog: https://gardena...
Update Mitch to 1.2.7 (19)
Update Mitch to 1.2.7 (19)
YAML
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata
yaml
## Code Before: AntiFeatures: - NonFreeNet Categories: - Games - Internet License: GPL-3.0-only AuthorName: gardenapple AuthorEmail: gardenapple@posteo.net WebSite: https://gardenapple.itch.io/mitch SourceCode: https://gitlab.com/gardenappl/mitch IssueTracker: https://gitlab.com/gardenappl/mitch/issues Changelog:...
d08e8144b90d3fe89fd449d31bdb655d62f3a749
serfclient/connection.py
serfclient/connection.py
import socket import sys class SerfConnectionError(Exception): pass class SerfConnection(object): """ Manages RPC communication to and from a Serf agent. """ def __init__(self, host='localhost', port=7373): self.host, self.port = host, port self._socket = None def __repr__(...
import socket import sys class SerfConnectionError(Exception): pass class SerfConnection(object): """ Manages RPC communication to and from a Serf agent. """ def __init__(self, host='localhost', port=7373): self.host, self.port = host, port self._socket = None def __repr__(...
Move all 'connect' logic into a private method
Move all 'connect' logic into a private method
Python
mit
charleswhchan/serfclient-py,KushalP/serfclient-py
python
## Code Before: import socket import sys class SerfConnectionError(Exception): pass class SerfConnection(object): """ Manages RPC communication to and from a Serf agent. """ def __init__(self, host='localhost', port=7373): self.host, self.port = host, port self._socket = None ...
f2c793c9fcbb3ad8b9e79dc703d04c1a49329a99
src/gui/org/deidentifier/arx/gui/view/impl/analyze/ViewStatistics.java
src/gui/org/deidentifier/arx/gui/view/impl/analyze/ViewStatistics.java
package org.deidentifier.arx.gui.view.impl.analyze; import java.awt.Panel; import org.deidentifier.arx.DataHandle; import org.deidentifier.arx.gui.model.Model; import org.deidentifier.arx.gui.model.ModelEvent.ModelPart; public abstract class ViewStatistics extends Panel{ private static final long serialVers...
package org.deidentifier.arx.gui.view.impl.analyze; import java.awt.Panel; import org.deidentifier.arx.DataHandle; import org.deidentifier.arx.gui.model.Model; import org.deidentifier.arx.gui.model.ModelEvent.ModelPart; public abstract class ViewStatistics extends Panel{ private static final long serialVers...
Fix bug when loading projects
Fix bug when loading projects
Java
apache-2.0
TheRealRasu/arx,bitraten/arx,arx-deidentifier/arx,bitraten/arx,fstahnke/arx,tijanat/arx,jgaupp/arx,tijanat/arx,RaffaelBild/arx,kbabioch/arx,RaffaelBild/arx,kentoa/arx,COWYARD/arx,fstahnke/arx,COWYARD/arx,jgaupp/arx,arx-deidentifier/arx,TheRealRasu/arx,kentoa/arx,kbabioch/arx
java
## Code Before: package org.deidentifier.arx.gui.view.impl.analyze; import java.awt.Panel; import org.deidentifier.arx.DataHandle; import org.deidentifier.arx.gui.model.Model; import org.deidentifier.arx.gui.model.ModelEvent.ModelPart; public abstract class ViewStatistics extends Panel{ private static final...
fb2f66adf5ba60d2cda934ef27125ce84057367e
PCbuild/rmpyc.py
PCbuild/rmpyc.py
def deltree(root): import os def rm(path): os.unlink(path) npyc = npyo = 0 dirs = [root] while dirs: dir = dirs.pop() for short in os.listdir(dir): full = os.path.join(dir, short) if os.path.isdir(full): dirs.append(full) e...
def deltree(root): import os from os.path import join npyc = npyo = 0 for root, dirs, files in os.walk(root): for name in files: delete = False if name.endswith('.pyc'): delete = True npyc += 1 elif name.endswith('.pyo'): ...
Use os.walk() to find files to delete.
Use os.walk() to find files to delete.
Python
mit
sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator
python
## Code Before: def deltree(root): import os def rm(path): os.unlink(path) npyc = npyo = 0 dirs = [root] while dirs: dir = dirs.pop() for short in os.listdir(dir): full = os.path.join(dir, short) if os.path.isdir(full): dirs.append(ful...
d9e98f608c2fb0b7151d9a6089bdd9844a9b1962
README.md
README.md
NodeJS Pianobar Frontend ======================== A web frontend for pianobar, which is a CLI frontend for Pandora. Install ------- ```bash git clone https://github.com/kylejohnson/nodejs-pianobar-frontend.git cd nodejs-pianobar-frontend npm install mkfifo ctl mkdir -p ~/.config/pianobar cat << EOF >> ~/.config/piano...
NodeJS Pianobar Frontend ======================== A web frontend for pianobar, which is a CLI frontend for Pandora. Install ------- ```bash git clone https://github.com/kylejohnson/nodejs-pianobar-frontend.git cd nodejs-pianobar-frontend npm install mkfifo ctl mkdir -p ~/.config/pianobar cat << EOF >> ~/.config/piano...
Update path to event_command and fifo in pianobar config.
Update path to event_command and fifo in pianobar config. Pianobar can't expand ~, so we use a full path.
Markdown
mit
kylejohnson/Patiobar,kylejohnson/Patiobar,kylejohnson/Patiobar
markdown
## Code Before: NodeJS Pianobar Frontend ======================== A web frontend for pianobar, which is a CLI frontend for Pandora. Install ------- ```bash git clone https://github.com/kylejohnson/nodejs-pianobar-frontend.git cd nodejs-pianobar-frontend npm install mkfifo ctl mkdir -p ~/.config/pianobar cat << EOF >>...
1eacbac722ca949518e1a8e9d6a0a957e193ba9e
tests/functional/staging_and_prod/test_admin.py
tests/functional/staging_and_prod/test_admin.py
from retry.api import retry_call from config import config from tests.pages import UploadCsvPage from tests.postman import ( send_notification_via_csv, get_notification_by_id_via_api, ) from tests.test_utils import assert_notification_body, recordtime, NotificationStatuses @recordtime def test_admin(driver...
import pytest from retry.api import retry_call from config import config from tests.pages import UploadCsvPage from tests.postman import ( send_notification_via_csv, get_notification_by_id_via_api, ) from tests.test_utils import assert_notification_body, recordtime, NotificationStatuses @pytest.mark.skip(...
Disable CSV upload tests temporarily
Disable CSV upload tests temporarily When the database tasks queue builds up we get false pager duty alerts due to the time it takes for the test csv to get through to the front of the queue.
Python
mit
alphagov/notifications-functional-tests,alphagov/notifications-functional-tests
python
## Code Before: from retry.api import retry_call from config import config from tests.pages import UploadCsvPage from tests.postman import ( send_notification_via_csv, get_notification_by_id_via_api, ) from tests.test_utils import assert_notification_body, recordtime, NotificationStatuses @recordtime def t...
52ec5f379c081d258dd965b3672f479b0363f6f7
app/views/calculators/_form_input_currency.html.erb
app/views/calculators/_form_input_currency.html.erb
<% error_messages = local_assigns[:error_messages] || [] hint = local_assigns[:hint] labelled_by = "#{field}-a" %> <div class="form-group <%= 'error' unless error_messages.empty? %>"> <label class="form-label" for="<%= field %>"> <%= label %> <%= content_tag :span, hint, class: 'form-hint' unless hint....
<% error_messages = local_assigns[:error_messages] || [] hint = local_assigns[:hint] labelled_by_symbol = "#{field}-symbol" labelled_by_label = "#{field}-label" %> <div class="form-group <%= 'error' unless error_messages.empty? %>"> <label class="form-label" for="<%= field %>" id="<%= labelled_by_label %>"> ...
Improve screen reader labelling for currency fields
Improve screen reader labelling for currency fields Ensure screen readers will read out both the label and currency symbol for these fields.
HTML+ERB
mit
guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance
html+erb
## Code Before: <% error_messages = local_assigns[:error_messages] || [] hint = local_assigns[:hint] labelled_by = "#{field}-a" %> <div class="form-group <%= 'error' unless error_messages.empty? %>"> <label class="form-label" for="<%= field %>"> <%= label %> <%= content_tag :span, hint, class: 'form-hi...
5d665f44dec254cd81303535f416a859dcd1dfd7
bin/run_tests.sh
bin/run_tests.sh
. venv/bin/activate py.test -v --durations 5 --cache-clear tests/
. venv/bin/activate py.test -v --cov gypsy --durations 5 --cache-clear tests/
Add coverage to test command
Add coverage to test command
Shell
mit
tesera/pygypsy,tesera/pygypsy
shell
## Code Before: . venv/bin/activate py.test -v --durations 5 --cache-clear tests/ ## Instruction: Add coverage to test command ## Code After: . venv/bin/activate py.test -v --cov gypsy --durations 5 --cache-clear tests/
4e0bb851349d27ed261d99d23068fd7323575560
FightingFantasy/FFIconButton.swift
FightingFantasy/FFIconButton.swift
// FightingFantasy // Created by Tony Smith on 29/10/2017. // Copyright © 2017 Tony Smith. All rights reserved. import Cocoa class FFIconButton: NSButton { var index: Int = 1 }
// FightingFantasy // Created by Tony Smith on 29/10/2017. // Copyright © 2017 Tony Smith. All rights reserved. import Cocoa class FFIconButton: NSButton { // Class properties // 'index' is the index of the button's icon within the 'icons' array // 'icons' is an array of NSImages for the backpack it...
Add property for the icons image array; respond to icon setting notifications by specific button; send the index of the selected image to the app delegate
Add property for the icons image array; respond to icon setting notifications by specific button; send the index of the selected image to the app delegate
Swift
mit
smittytone/FightingFantasy
swift
## Code Before: // FightingFantasy // Created by Tony Smith on 29/10/2017. // Copyright © 2017 Tony Smith. All rights reserved. import Cocoa class FFIconButton: NSButton { var index: Int = 1 } ## Instruction: Add property for the icons image array; respond to icon setting notifications by specific button;...
bd6085ffc934791a0ace2d876b0e61762669b1fe
app/models/plot.rb
app/models/plot.rb
class Plot < ApplicationRecord validates :plot_id, presence: true validates :latitude, presence: true, numericality: { greater_than: 0 } validates :longitude, presence: true, numericality: { greater_than: 0 } validates :elevation, numericality: { greater_than: 0, allow_nil: true } validates :area, numericalit...
class Plot < ApplicationRecord validates :plot_id, presence: true validates_numericality_of :latitude, greater_than: 0, allow_nil: true validates_numericality_of :longitude, greater_than: 0, allow_nil: true validates_numericality_of :elevation, greater_than: 0, allow_nil: true validates_numericality_of :area,...
Undo validation changes, it broke too many tests and should be a different issue at this point
Undo validation changes, it broke too many tests and should be a different issue at this point
Ruby
mit
osu-cascades/ecotone-web,osu-cascades/ecotone-web,osu-cascades/ecotone-web,osu-cascades/ecotone-web
ruby
## Code Before: class Plot < ApplicationRecord validates :plot_id, presence: true validates :latitude, presence: true, numericality: { greater_than: 0 } validates :longitude, presence: true, numericality: { greater_than: 0 } validates :elevation, numericality: { greater_than: 0, allow_nil: true } validates :a...
af9403793eefb5b3ee0217b077cb41a480251667
test/helpers.js
test/helpers.js
const Bluebird = require('bluebird'); const mongoose = require('mongoose'); const Alternative = require('../app/models/alternative'); const Election = require('../app/models/election'); const Vote = require('../app/models/vote'); const User = require('../app/models/user'); exports.dropDatabase = () => mongoose.conne...
const Bluebird = require('bluebird'); const mongoose = require('mongoose'); const Alternative = require('../app/models/alternative'); const Election = require('../app/models/election'); const Vote = require('../app/models/vote'); const User = require('../app/models/user'); exports.dropDatabase = () => mongoose.conne...
Make new code pass all new tests
Make new code pass all new tests This was done by setting the moderator flag in the helper function that creates admin users.
JavaScript
mit
webkom/vote,webkom/vote,webkom/vote,webkom/vote
javascript
## Code Before: const Bluebird = require('bluebird'); const mongoose = require('mongoose'); const Alternative = require('../app/models/alternative'); const Election = require('../app/models/election'); const Vote = require('../app/models/vote'); const User = require('../app/models/user'); exports.dropDatabase = () => ...
759b35e901b39773b6991f37bb267ef0c9a0bc70
README.md
README.md
in a Docker Instance The official linux installation for the [Materials Data Curator](https://github.com/usnistgov/mdcs) (MDC) is in a [text file in the MDC repo](https://github.com/usnistgov/MDCS/blob/stable/docs/Installation%20Instructions%20for%20Linux). ## Install Docker Install Docker and run the Deamon. See ...
in a Docker Instance The official linux installation for the [Materials Data Curator](https://github.com/usnistgov/mdcs) (MDC) is in a [text file in the MDC repo](https://github.com/usnistgov/MDCS/blob/stable/docs/Installation%20Instructions%20for%20Linux). ## Install Docker Install Docker and run the Deamon. See ...
Add docker run command to expose ports
Add docker run command to expose ports
Markdown
mit
wd15/mdc-dockerize
markdown
## Code Before: in a Docker Instance The official linux installation for the [Materials Data Curator](https://github.com/usnistgov/mdcs) (MDC) is in a [text file in the MDC repo](https://github.com/usnistgov/MDCS/blob/stable/docs/Installation%20Instructions%20for%20Linux). ## Install Docker Install Docker and run ...
7e819457a740fbbe72f8e9df484d3b166530ff89
_sass/_ventures.scss
_sass/_ventures.scss
.venture-grid { display: table; width: 100%; .venture-item { display: table-cell; margin: 0 2% $space/2; float: left; opacity: .9; &:hover { opacity: 1; } @include media($mobile) { width: 21%; } @include media($tablet) { width: 8.5%; } @include media...
.venture-item { display: block; margin: 0 2% $space/2; float: left; opacity: .9; &:hover { opacity: 1; } @include media($mobile) { width: 21%; } @include media($tablet) { width: 8.5%; } @include media($desktop) { width: 8.5%; } @include media($large) { width: 8.5%; } } ...
Revert "venture grid to css table -> better on mobile"
Revert "venture grid to css table -> better on mobile" This reverts commit 3178b1ae73e5c384755d0d1759fc1b7b4adec4b9.
SCSS
mit
StartupShell/web,StartupShell/web,StartupShell/web,StartupShell/shell-2015,StartupShell/shell-2015,StartupShell/shell-2015
scss
## Code Before: .venture-grid { display: table; width: 100%; .venture-item { display: table-cell; margin: 0 2% $space/2; float: left; opacity: .9; &:hover { opacity: 1; } @include media($mobile) { width: 21%; } @include media($tablet) { width: 8.5%; } ...
ee69ddf9fab513eade7242e8ecb33aed166d74ce
frontend/js/pages/Home.js
frontend/js/pages/Home.js
import React, { useState } from 'react'; import ColorChanger from '../app/example-app'; const Home = () => { const [showBugComponent, setShowBugComponent] = useState(false); return ( <> <ColorChanger /> <button type="button" onClick={() => setShowBugComponent(true)}> Click to test if Sent...
import React, { useState } from 'react'; const Home = () => { const [showBugComponent, setShowBugComponent] = useState(false); return ( <> <button type="button" onClick={() => setShowBugComponent(true)}> Click to test if Sentry is capturing frontend errors! (Should only work in Production) ...
Remove colorchange component references from home component
Remove colorchange component references from home component
JavaScript
mit
vintasoftware/django-react-boilerplate,vintasoftware/django-react-boilerplate,vintasoftware/django-react-boilerplate,vintasoftware/django-react-boilerplate
javascript
## Code Before: import React, { useState } from 'react'; import ColorChanger from '../app/example-app'; const Home = () => { const [showBugComponent, setShowBugComponent] = useState(false); return ( <> <ColorChanger /> <button type="button" onClick={() => setShowBugComponent(true)}> Click...
7e90b28cf208809b07f49ea4b2dcdbed3fc2b8e1
examples/test-adc/Cargo.toml
examples/test-adc/Cargo.toml
[package] name = "test-adc" version = "0.1.0" authors = ["Antti Peltonen <antti.peltonen@iki.fi>"] edition = "2018" [dependencies] yup-oauth2 = { path = "../../" } tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
[package] name = "test-adc" version = "0.1.0" authors = ["Antti Peltonen <antti.peltonen@iki.fi>", "Lukas Winkler <derwinlu@gmail.com>"] edition = "2018" [dependencies] yup-oauth2 = { path = "../../" } tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
Add myself as adc sample author
Add myself as adc sample author
TOML
apache-2.0
dermesser/yup-oauth2,dermesser/yup-oauth2
toml
## Code Before: [package] name = "test-adc" version = "0.1.0" authors = ["Antti Peltonen <antti.peltonen@iki.fi>"] edition = "2018" [dependencies] yup-oauth2 = { path = "../../" } tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] } ## Instruction: Add myself as adc sample author ## Code After: [pac...
6fd9bb3b07e91aeb18bfbdc22d3537b08a10b681
project.json
project.json
{ "version": "1.0.0-*", "description": "Detects and optionally terminates idle AWS instances by tag:name", "authors": [ "brian.kaiser" ], "tags": [ "" ], "projectUrl": "", "licenseUrl": "", "compilationOptions": { "emitEntryPoint": true }, "dependencies": { "AWSSDK.CloudWatch": "3.2.2-beta",...
{ "version": "1.0.0-*", "description": "Detects and optionally terminates idle AWS instances by tag:name", "authors": [ "brian.kaiser" ], "tags": [ "" ], "projectUrl": "", "licenseUrl": "", "exclude": [ "artifacts" ], "compilationOptions": { "emitEntryPoint": true }, "dependencies": { ...
Make sure to exclude artifacts directory
Make sure to exclude artifacts directory
JSON
mit
Briankaiser/find-idle-instances,Briankaiser/find-idle-instances
json
## Code Before: { "version": "1.0.0-*", "description": "Detects and optionally terminates idle AWS instances by tag:name", "authors": [ "brian.kaiser" ], "tags": [ "" ], "projectUrl": "", "licenseUrl": "", "compilationOptions": { "emitEntryPoint": true }, "dependencies": { "AWSSDK.CloudWatch...
783f792a73cf55116db8c04f01a5276c8bc256c8
platforms/esp32-idf/README.md
platforms/esp32-idf/README.md
Download and install ESP-IDF v4.0 ```sh export IDF_PATH=/opt/esp32/esp-idf # Set tools path if needed: #export IDF_TOOLS_PATH=/opt/esp32 source $IDF_PATH/export.sh idf.py menuconfig # Select target: idf.py set-target esp32s2beta # or esp32 idf.py build idf.py -p /dev/ttyUSB0 flash monitor ```
Download and install ESP-IDF v4.3-beta1 ```sh export IDF_PATH=/opt/esp32/esp-idf # Set tools path if needed: #export IDF_TOOLS_PATH=/opt/esp32 source $IDF_PATH/export.sh idf.py menuconfig # Select target: idf.py set-target esp32 #idf.py set-target esp32s2 #idf.py --preview set-target esp32c3 idf.py build idf.py...
Add build instructions for ESP32-C3
Add build instructions for ESP32-C3
Markdown
mit
wasm3/wasm3,wasm3/wasm3,wasm3/wasm3,wasm3/wasm3,wasm3/wasm3,wasm3/wasm3,wasm3/wasm3
markdown
## Code Before: Download and install ESP-IDF v4.0 ```sh export IDF_PATH=/opt/esp32/esp-idf # Set tools path if needed: #export IDF_TOOLS_PATH=/opt/esp32 source $IDF_PATH/export.sh idf.py menuconfig # Select target: idf.py set-target esp32s2beta # or esp32 idf.py build idf.py -p /dev/ttyUSB0 flash monitor ``` ...
5500ef1c5212e7a4c64b184add0263c7075ed5ba
README.md
README.md
MultiMC5-translate ================== Translations for MultiMC5 To participate in the translation effort, visit http://weblate.robotbrain.info/
MultiMC5-translate ================== Translations for MultiMC5 To participate in the translation effort, visit http://http://translate.multimc.org:8000/
Update readme.md, use new address.
Update readme.md, use new address.
Markdown
apache-2.0
MultiMC/MultiMC5-translate
markdown
## Code Before: MultiMC5-translate ================== Translations for MultiMC5 To participate in the translation effort, visit http://weblate.robotbrain.info/ ## Instruction: Update readme.md, use new address. ## Code After: MultiMC5-translate ================== Translations for MultiMC5 To participate in the tr...
1df4f791a65029861f506515f84a5d49d6467aa3
seedDummyData.sh
seedDummyData.sh
function aBuild { START=$RANDOM END=$[ $START + ( $RANDOM % 100 ) ] if [[ $[ $RANDOM % 2 ] -eq 0 ]]; then OUTCOME="pass" else OUTCOME="fail" fi echo '{"start": '$START', "end": '$END', "outcome": "'$OUTCOME'"}' } function send { JOB=$1 BUILD=$2 curl -H "Content-Type...
function anyBuild { START=$RANDOM END=$[ $START + ( $RANDOM % 100 ) ] if [[ $[ $RANDOM % 2 ] -eq 0 ]]; then OUTCOME="pass" else OUTCOME="fail" fi aBuild $START $END $OUTCOME } function aBrokenBuild { START=$RANDOM END=$[ $START + ( $RANDOM % 100 ) ] OUTCOME="fail" ...
Add some constant seed data for special cases
Add some constant seed data for special cases
Shell
bsd-2-clause
cburgmer/buildviz,cburgmer/buildviz,cburgmer/buildviz
shell
## Code Before: function aBuild { START=$RANDOM END=$[ $START + ( $RANDOM % 100 ) ] if [[ $[ $RANDOM % 2 ] -eq 0 ]]; then OUTCOME="pass" else OUTCOME="fail" fi echo '{"start": '$START', "end": '$END', "outcome": "'$OUTCOME'"}' } function send { JOB=$1 BUILD=$2 curl ...
19391efbfb1341a5ae1d26de4a46407ec83cb4c7
app/views/exercises/readme.erb
app/views/exercises/readme.erb
<div class="container"> <%= erb :"exercises/_navigation", locals: {exercise: exercise, active: 'readme' } %> <%= md(exercise.readme) %> </div>
<div class="container"> <%= erb :"exercises/_navigation", locals: {exercise: exercise, active: 'readme' } %> <%= md(exercise.files["README.md"]) %> </div>
Normalize usage of README api endpoint
Normalize usage of README api endpoint The x-api returns a files array for both the readme and the test suite. Use the README from there.
HTML+ERB
agpl-3.0
tejasbubane/exercism.io,Tonkpils/exercism.io,treiff/exercism.io,nathanbwright/exercism.io,RaptorRCX/exercism.io,Tonkpils/exercism.io,mhelmetag/exercism.io,treiff/exercism.io,jtigger/exercism.io,tejasbubane/exercism.io,IanDCarroll/exercism.io,treiff/exercism.io,mhelmetag/exercism.io,nathanbwright/exercism.io,Tonkpils/ex...
html+erb
## Code Before: <div class="container"> <%= erb :"exercises/_navigation", locals: {exercise: exercise, active: 'readme' } %> <%= md(exercise.readme) %> </div> ## Instruction: Normalize usage of README api endpoint The x-api returns a files array for both the readme and the test suite. Use the README from there. ...
751f40ef23250cf9fad1374359393588edee477a
back/blog/models/base.py
back/blog/models/base.py
from sqlalchemy.ext.declarative import declared_attr from blog.lib.database import db class ModelMixin(object): """A base mixin for all models.""" @declared_attr def __tablename__(cls): return cls.__name__.lower() def __str__(self): return '<{} (id={})>'.format(self.__class__.__name_...
from sqlalchemy.ext.declarative import declared_attr from blog.lib.database import db class ModelMixin(object): """A base mixin for all models.""" @declared_attr def __tablename__(cls): return cls.__name__.lower() def __str__(self): return '<{} (id={})>'.format(self.__class__.__name_...
Return "id" key to front instead of "id_".
Return "id" key to front instead of "id_".
Python
mit
astex/living-with-django,astex/living-with-django,astex/living-with-django
python
## Code Before: from sqlalchemy.ext.declarative import declared_attr from blog.lib.database import db class ModelMixin(object): """A base mixin for all models.""" @declared_attr def __tablename__(cls): return cls.__name__.lower() def __str__(self): return '<{} (id={})>'.format(self._...
9d1743a0da06c6efc03a2fd1b3c91cbe41d84b47
style/post.scss
style/post.scss
article { h1 { font-size: 2em; } img { width: 100%; } } blockquote { font-style: italic; quotes: "\201C" "\201D" "\2018" "\2019"; &:before { content: open-quote; font-size: 2em; line-height: 0.1em; margin-right: 0.25em; vertical-align: -0.4em; } p { display: inline;...
article { h1 { font-size: 2em; } img { width: 100%; } } blockquote { font-style: italic; quotes: "\201C" "\201D" "\2018" "\2019"; margin-top: 2em; margin-bottom: 2em; &:before { content: open-quote; font-size: 2em; line-height: 0.1em; margin-right: 0.25em; vertical-align...
Add extended spacing to blockquotes too
Add extended spacing to blockquotes too
SCSS
mit
jimmythompson/jimmythompson.co.uk,jimmythompson/jimmythompson.co.uk,jimmythompson/jimmythompson.co.uk
scss
## Code Before: article { h1 { font-size: 2em; } img { width: 100%; } } blockquote { font-style: italic; quotes: "\201C" "\201D" "\2018" "\2019"; &:before { content: open-quote; font-size: 2em; line-height: 0.1em; margin-right: 0.25em; vertical-align: -0.4em; } p { ...
7259247efad534704809dd7a809077e9a5408dbf
lib/algae/free.ex
lib/algae/free.ex
defmodule Algae.Free do use Quark.Partial @type t :: Algae.Free.Pure.t | Algae.Free.Wrap.t defmodule Pure do @type t :: %Algae.Free.Pure{pure: any} defstruct [:pure] end defmodule Wrap do @type t :: %Algae.Free.Wrap{wrap: any} @moduledoc ~S""" `wrap` must be some functor wrapping anoth...
defmodule Algae.Free do use Quark.Partial @type t :: Algae.Free.Pure.t | Algae.Free.Deep.t defmodule Shallow do @type t :: %Algae.Free.Shallow{shallow: any} defstruct [:shallow] end defmodule Deep do @moduledoc ~S""" Deep holds two values: a value (often a functor) in `deep`, and another ...
Rework %Free with more explicit structure
Rework %Free with more explicit structure
Elixir
mit
robot-overlord/algae
elixir
## Code Before: defmodule Algae.Free do use Quark.Partial @type t :: Algae.Free.Pure.t | Algae.Free.Wrap.t defmodule Pure do @type t :: %Algae.Free.Pure{pure: any} defstruct [:pure] end defmodule Wrap do @type t :: %Algae.Free.Wrap{wrap: any} @moduledoc ~S""" `wrap` must be some functo...
a139b760243fad68c9bb3c9b770d2f69928ebaa4
tasks/security/root_auth_plugin.yml
tasks/security/root_auth_plugin.yml
--- # On some installations the MySQL root user has the auth plugin check_token configured. # To change the root password we have to first change the auth plugin to mysql_native_password here. # We need to adjust .my.cnf here so that the other tasks will work as expected. - name: check auth system capabilities comma...
--- # On some installations the MySQL root user has the auth plugin check_token configured. # To change the root password we have to first change the auth plugin to mysql_native_password here. - name: check auth system capabilities command: mysql -NBe "DESCRIBE mysql.user plugin" register: mysql_check_new_auth c...
Fix changing of auth plugin for root user
Fix changing of auth plugin for root user
YAML
mit
mjanser/ansible-role-mysql
yaml
## Code Before: --- # On some installations the MySQL root user has the auth plugin check_token configured. # To change the root password we have to first change the auth plugin to mysql_native_password here. # We need to adjust .my.cnf here so that the other tasks will work as expected. - name: check auth system capa...
d7080ec7e3fcaa40e995a32a764894ce3bb9226e
lib/taskmeister/task_list.rb
lib/taskmeister/task_list.rb
module Taskmeister class TaskList def initialize(tasks) @hash = {} tasks.each do |t| add(t) end end def to_short_list longest_id = @hash.keys.max {|id| id.length } @hash.map { |id, task| marker = task.notes? ? " »" : "" "%-#{longest_id.length}s - %s%...
module Taskmeister class TaskList def initialize(tasks) @hash = {} tasks.each do |t| add(t) end end def to_short_list longest_id = @hash.keys.max_by(&:length) @hash.map { |id, task| marker = task.notes? ? " »" : "" "%-#{longest_id.length}s - %s%s" % ...
Fix column width on short_list
Fix column width on short_list
Ruby
mit
grassdog/taskmeister
ruby
## Code Before: module Taskmeister class TaskList def initialize(tasks) @hash = {} tasks.each do |t| add(t) end end def to_short_list longest_id = @hash.keys.max {|id| id.length } @hash.map { |id, task| marker = task.notes? ? " »" : "" "%-#{longest_i...
e0645c788d7fdc98e5286e7023e739f8b39d8737
src/model/SummaryModel.js
src/model/SummaryModel.js
/** * Copyright 2015 Ethan Smith */ var Backbone = require('backbone'), AmountEntryCollection = require('./AmountEntryCollection'); var SummaryModel = Backbone.Model.extend({ defaults: { headingLevel: 'h1', nestDepth: 'depth0', header: 'SummaryModel Header', classes: '' } }); Summ...
/** * Copyright 2015 Ethan Smith */ var Backbone = require('backbone'), AmountEntryCollection = require('./AmountEntryCollection'); var SummaryModel = Backbone.Model.extend({ defaults: { headingLevel: 'h1', nestDepth: 'depth0', header: 'SummaryModel Header', classes: '' }, init...
Add auto sanitize for nesting depth
Add auto sanitize for nesting depth
JavaScript
mit
onebytegone/banknote-client,onebytegone/banknote-client
javascript
## Code Before: /** * Copyright 2015 Ethan Smith */ var Backbone = require('backbone'), AmountEntryCollection = require('./AmountEntryCollection'); var SummaryModel = Backbone.Model.extend({ defaults: { headingLevel: 'h1', nestDepth: 'depth0', header: 'SummaryModel Header', classes: '...
7556ac4105736e6414933cc6bc928c696a625083
readFile.js
readFile.js
/** * Created by Kanthanarasimhaiah on 14/11/13. */ fs = require('fs'); var num_of_tasks; var total_time; var fileName = process.argv[2]; fs.readFile(fileName, 'utf8', function (err,data) { if (err) { return console.log(err); } //console.log(data); var input=data.split('\n'); var line1 ...
/** * Created by Kanthanarasimhaiah on 14/11/13. */ fs = require('fs'); function readTasks (file) { var data = fs.readFileSync(file, 'utf8'); var input=data.split('\n'); var line1 = input[0].split(' '); var num_of_tasks=parseInt(line1[0], 10); var total_time=parseInt(line1[1], 10); // read ...
Move task reading into a standalone function.
Move task reading into a standalone function. - Also, use readFileSync (synchronous).
JavaScript
mpl-2.0
kanaka/rbt_cfs
javascript
## Code Before: /** * Created by Kanthanarasimhaiah on 14/11/13. */ fs = require('fs'); var num_of_tasks; var total_time; var fileName = process.argv[2]; fs.readFile(fileName, 'utf8', function (err,data) { if (err) { return console.log(err); } //console.log(data); var input=data.split('\n')...
426b025f86dc48656c72734e79880d7b274d15c3
apps/sample-configs/renderManager.extended.portrait.json
apps/sample-configs/renderManager.extended.portrait.json
{ "meta": { "schemaVersion": 1 }, "renderManagerConfig": { "directModeEnabled": false, "directDisplayIndex": 0, "directHighPriorityEnabled": true, "numBuffers": 2, "verticalSyncEnabled": true, "verticalSyncBlockRenderingEnabled": true, "renderO...
{ "meta": { "schemaVersion": 1 }, "renderManagerConfig": { "directModeEnabled": false, "directDisplayIndex": 0, "directHighPriorityEnabled": true, "numBuffers": 2, "verticalSyncEnabled": true, "verticalSyncBlockRenderingEnabled": true, "renderO...
Disable client-side prediction in extended mode config.
Disable client-side prediction in extended mode config.
JSON
apache-2.0
godbyk/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Core,OSVR/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Core
json
## Code Before: { "meta": { "schemaVersion": 1 }, "renderManagerConfig": { "directModeEnabled": false, "directDisplayIndex": 0, "directHighPriorityEnabled": true, "numBuffers": 2, "verticalSyncEnabled": true, "verticalSyncBlockRenderingEnabled": true, ...
a0f1a330f3e0b0915e134231276a227d18e42093
CMakeLists.txt
CMakeLists.txt
cmake_minimum_required(VERSION 2.8.5) project(z80e C) option(enable-sdl "Enables the SDL frontend" NO) option(enable-tui "Enables the TUI frontend" YES) option(enable-zex "Enables the zex test suite" NO) option(enable-test "Enables the unit test frontend" NO) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") add_subdirecto...
cmake_minimum_required(VERSION 2.8.5) project(z80e C) option(enable-sdl "Enables the SDL frontend" NO) option(enable-tui "Enables the TUI frontend" YES) option(enable-zex "Enables the zex test suite" NO) option(enable-test "Enables the unit test frontend" NO) if(NOT WIN32 OR CYGWIN) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAG...
Fix PIC warning on cygwin/windows
Fix PIC warning on cygwin/windows
Text
mit
KnightOS/z80e,KnightOS/z80e
text
## Code Before: cmake_minimum_required(VERSION 2.8.5) project(z80e C) option(enable-sdl "Enables the SDL frontend" NO) option(enable-tui "Enables the TUI frontend" YES) option(enable-zex "Enables the zex test suite" NO) option(enable-test "Enables the unit test frontend" NO) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")...
ad3f7e0437ec6d6b45b001d5b067432ca498bb26
README.md
README.md
[![Build status](https://ci.appveyor.com/api/projects/status/7xxovtd60q5gl3ln/branch/development?svg=true)](https://ci.appveyor.com/project/inputfalken/sharpy/branch/development) [![Build Status](https://travis-ci.org/inputfalken/Sharpy.svg?branch=development)](https://travis-ci.org/inputfalken/Sharpy) An API for gene...
[![Build status](https://ci.appveyor.com/api/projects/status/7xxovtd60q5gl3ln/branch/development?svg=true)](https://ci.appveyor.com/project/inputfalken/sharpy/branch/development) [![Build Status](https://travis-ci.org/inputfalken/Sharpy.svg?branch=development)](https://travis-ci.org/inputfalken/Sharpy) An API for gene...
Remove example and only link to api docs
Remove example and only link to api docs Former-commit-id: e965e71da5f540e766a56c5e863b95cf29361b4f
Markdown
mit
inputfalken/Sharpy
markdown
## Code Before: [![Build status](https://ci.appveyor.com/api/projects/status/7xxovtd60q5gl3ln/branch/development?svg=true)](https://ci.appveyor.com/project/inputfalken/sharpy/branch/development) [![Build Status](https://travis-ci.org/inputfalken/Sharpy.svg?branch=development)](https://travis-ci.org/inputfalken/Sharpy) ...
02d1228e3d79dd93db2240066fc619d36e9e8f78
README.md
README.md
Our aim is to provide an alternative to _status update_ meetings inspired by [Google Snippets](http://blog.idonethis.com/google-snippets-internal-tool/). Every week your team gets asked a couple of simple questions: * What have you achieved this week? * What do you commit to do next week? The team replies and thos...
**ClojureCup 2015** Our aim is to provide an alternative to _status update_ meetings inspired by [Google Snippets](http://blog.idonethis.com/google-snippets-internal-tool/). Every week your team gets asked a couple of simple questions: * What have you achieved this week? * What do you commit to do next week? The ...
Add ClojureCup 2015 as clarification
Add ClojureCup 2015 as clarification
Markdown
mpl-2.0
teamweek-org/teamweek
markdown
## Code Before: Our aim is to provide an alternative to _status update_ meetings inspired by [Google Snippets](http://blog.idonethis.com/google-snippets-internal-tool/). Every week your team gets asked a couple of simple questions: * What have you achieved this week? * What do you commit to do next week? The team ...
83553cfe3b4aa58e871a33ac4d1ec459337a1c5a
javascripts/service/car_ads_service.js
javascripts/service/car_ads_service.js
define(["underscore", "jquery"], function(_, $) { return function (averageCartype) { var public = {}; var private = {}; private.createObject = function (averageCartype) { var queryObject = { c: [], sc: null, p: null, ecol: [] }; for (var carclass in ave...
define(["underscore", "jquery"], function(_, $) { return function (averageCartype) { var public = {}; var private = {}; private.createObject = function (averageCartype) { var queryObject = { c: [], sc: null, p: null, ecol: [] }; for (var carclass in ave...
Change return value of getResults
Change return value of getResults
JavaScript
mit
HPI-Hackathon/find-my-car,HPI-Hackathon/find-my-car
javascript
## Code Before: define(["underscore", "jquery"], function(_, $) { return function (averageCartype) { var public = {}; var private = {}; private.createObject = function (averageCartype) { var queryObject = { c: [], sc: null, p: null, ecol: [] }; for (var...
247c1041a1bfce59d1cfda66240c7c4f9df021a4
sql/sitevars-create.sql
sql/sitevars-create.sql
-- MySQL dump 8.22 -- -- Host: localhost Database: tbdb --------------------------------------------------------- -- Server version 3.23.54-log -- -- Dumping data for table 'sitevariables' -- INSERT INTO sitevariables VALUES ('general/testvar',NULL,'43','A test variable'); INSERT INTO sitevariables VALUES ('web/n...
-- MySQL dump 8.22 -- -- Host: localhost Database: tbdb --------------------------------------------------------- -- Server version 3.23.54-log -- -- Dumping data for table 'sitevariables' -- INSERT INTO sitevariables VALUES ('general/testvar',NULL,'43','A test variable'); INSERT INTO sitevariables VALUES ('web/n...
Add the new sitevars for swap warnings.
Add the new sitevars for swap warnings.
SQL
agpl-3.0
nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome
sql
## Code Before: -- MySQL dump 8.22 -- -- Host: localhost Database: tbdb --------------------------------------------------------- -- Server version 3.23.54-log -- -- Dumping data for table 'sitevariables' -- INSERT INTO sitevariables VALUES ('general/testvar',NULL,'43','A test variable'); INSERT INTO sitevariable...
cd87279f44661cb390bb68b7e989667606b5e728
web-ng/src/test.ts
web-ng/src/test.ts
/** * Copyright 2019 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2019 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Switch back to any type for require as it has no typing
Switch back to any type for require as it has no typing
TypeScript
apache-2.0
google/ground-platform,google/ground-platform,google/ground-platform,google/ground-platform
typescript
## Code Before: /** * Copyright 2019 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
bf2556696acf6a27469b5a8d1146213bb5d6c7bc
lib/alephant/views/base.rb
lib/alephant/views/base.rb
require 'mustache' require 'alephant/views' require 'hashie' require 'i18n' module Alephant::Views class Base < Mustache attr_accessor :data, :locale def initialize(data = {}) @data = Hashie::Mash.new data @locale = 'en' end def locale=(l) @locale = l end def t(*args) ...
require 'mustache' require 'alephant/views' require 'hashie' require 'json' require 'i18n' module Alephant::Views class Base < Mustache attr_accessor :data, :locale def initialize(data = {}, locale = 'en') @data = Hashie::Mash.new data @locale = locale end def locale=(l) @locale =...
Return a lambda in the translation instead of a standard value. Also adds template name as prefix key for translation
Return a lambda in the translation instead of a standard value. Also adds template name as prefix key for translation
Ruby
mit
BBC-News/alephant-renderer,BBC-News/alephant-renderer
ruby
## Code Before: require 'mustache' require 'alephant/views' require 'hashie' require 'i18n' module Alephant::Views class Base < Mustache attr_accessor :data, :locale def initialize(data = {}) @data = Hashie::Mash.new data @locale = 'en' end def locale=(l) @locale = l end ...
cf73f2fb5e6d08395b924e78bdac7c5a09190d56
src/CentraleLille/CustomFosUserBundle/Resources/views/Profile/show_content.html.twig
src/CentraleLille/CustomFosUserBundle/Resources/views/Profile/show_content.html.twig
{% trans_default_domain 'FOSUserBundle' %} <div class="fos_user_user_show"> <p>Username : {{ user.username }}</p> <p>Email : {{ user.email }}</p> <p>Nom : {{ user.lastname }}</p> <p>Prénom : {{ user.firstname }}</p> <p>Date de naissance : {{ user.birthdate}}</p> <p>Sexe : {{ user.sex }}</p> ...
{% trans_default_domain 'FOSUserBundle' %} <div class="fos_user_user_show"> <p>Username : {{ user.username }}</p> <p>Email : {{ user.email }}</p> <p>Nom : {{ user.lastname }}</p> <p>Prénom : {{ user.firstname }}</p> <p>Promo : {{ user.promo }}</p> <p>Téléphone : {{ user.phone }}</p> </div>
Remove birthday and sex from profile
Remove birthday and sex from profile
Twig
mit
alxckn/fablab,herbautmax/fablab,MatthieuLemoine/fablab,MatthieuLemoine/fablab,pierloui/fablab,EBMCentraleLille/fablab,herbautmax/fablab,pierloui/fablab,pierloui/fablab,MatthieuLemoine/fablab,JamesHyot/fablab,EBMCentraleLille/fablab,herbautmax/fablab,JamesHyot/fablab,alxckn/fablab,EBMCentraleLille/fablab,MatthieuLemoine...
twig
## Code Before: {% trans_default_domain 'FOSUserBundle' %} <div class="fos_user_user_show"> <p>Username : {{ user.username }}</p> <p>Email : {{ user.email }}</p> <p>Nom : {{ user.lastname }}</p> <p>Prénom : {{ user.firstname }}</p> <p>Date de naissance : {{ user.birthdate}}</p> <p>Sexe : {{ use...
d13a54667f9fdc2a7f576fd49ee5acd5edf4a74a
README.md
README.md
Easily build color variations of Solarized with YAML scheme definitions and ERB templates. I'm currently using this to generate [parsec](https://github.com/Keithbsmiley/parsec) ## Usage > ./build Build all schemes > ./build default.yml Build only the "default" theme > ./build https://awesome-schemes.com...
Easily build color variations of Solarized with YAML scheme definitions and ERB templates. I'm currently using this to generate [parsec](https://github.com/Keithbsmiley/parsec) ## Usage > ./build Build all schemes > ./build default.yml Build only the "default" theme > ./build https://awesome-schemes.com...
Add adding templates to readme
Add adding templates to readme
Markdown
mit
keith/color-builder,keith/color-builder
markdown
## Code Before: Easily build color variations of Solarized with YAML scheme definitions and ERB templates. I'm currently using this to generate [parsec](https://github.com/Keithbsmiley/parsec) ## Usage > ./build Build all schemes > ./build default.yml Build only the "default" theme > ./build https://awe...
7f6c2efdbecac6f3b6090c0b85796cd7f05f17b5
scrollfix.js
scrollfix.js
;(function(window, document){ document.addEventListener('touchmove', function(e) { isScrollElement(e.target) || e.preventDefault(); }, false); document.addEventListener('touchstart', function(e){ var elem = isScrollElement(e.target); if(elem) { var startTopScroll = elem.scrollTop; if(startTopScroll <= 0)...
;(function(window, document){ document.addEventListener('touchmove', function(e) { isScrollElement(e.target) || e.preventDefault(); }, false); document.addEventListener('touchstart', function(e){ var elem = isScrollElement(e.target); var startTopScroll = 0; if(elem) { startTopScroll = elem.scrollTop; i...
Change detection to ignore borders
Change detection to ignore borders
JavaScript
mit
nickcolley/ScrollFix
javascript
## Code Before: ;(function(window, document){ document.addEventListener('touchmove', function(e) { isScrollElement(e.target) || e.preventDefault(); }, false); document.addEventListener('touchstart', function(e){ var elem = isScrollElement(e.target); if(elem) { var startTopScroll = elem.scrollTop; if(star...
7b430680ed4fcde77c91e2cc8ca65b2ac3bf0cd6
lib/smartsheet/api/endpoint_spec.rb
lib/smartsheet/api/endpoint_spec.rb
require_relative 'url_builder' module Smartsheet module API class EndpointSpec VALID_METHODS = %i[get put post delete].freeze VALID_SPEC_KEYS = %i[headers body_type file_upload].freeze attr_reader :method, :url_segments def initialize(method, url, **spec) @method = method ...
require_relative 'url_builder' module Smartsheet module API class EndpointSpec VALID_METHODS = %i[get put post delete].freeze VALID_SPEC_KEYS = %i[headers body_type].freeze attr_reader :method, :url_segments def initialize(method, url, **spec) @method = method @url_segme...
Clean up endpoint spec accepted methods
Clean up endpoint spec accepted methods
Ruby
apache-2.0
smartsheet-platform/smartsheet-ruby-sdk,smartsheet-platform/smartsheet-ruby-sdk
ruby
## Code Before: require_relative 'url_builder' module Smartsheet module API class EndpointSpec VALID_METHODS = %i[get put post delete].freeze VALID_SPEC_KEYS = %i[headers body_type file_upload].freeze attr_reader :method, :url_segments def initialize(method, url, **spec) @method...
3d1496ea8f095dddf4cd6e89ec092ebfce988ce1
.travis.yml
.travis.yml
language: node_js node_js: - "6.9" branches: only: - master before_script: # - npm install -g firebase-tools - npm install -g @angular/cli script: - ng build --prod after_success: # - firebase deploy --token $FIREBASE_TOKEN notifications: slack: cen5035-uf:Yd5Sd6HvnpVAbLsbm9qRIJkn
language: node_js node_js: - "6.9" branches: only: - master - dev before_script: # - npm install -g firebase-tools - npm install -g @angular/cli script: - ng build --prod after_success: # - firebase deploy --token $FIREBASE_TOKEN notifications: slack: cen5035-uf:Yd5Sd6HvnpVAbLsbm9qRIJkn
Update dev branch to be included in builds:
Update dev branch to be included in builds:
YAML
mit
ciarapowell/Rater-System,ciarapowell/Rater-System,christopher1030123/Rater-System,ciarapowell/Rater-System,UF-COP5035/Rater-System,UF-COP5035/Rater-System,UF-COP5035/Rater-System,ltcarbonell/Rater-System,ltcarbonell/Rater-System,christopher1030123/Rater-System,ltcarbonell/Rater-System,christopher1030123/Rater-System
yaml
## Code Before: language: node_js node_js: - "6.9" branches: only: - master before_script: # - npm install -g firebase-tools - npm install -g @angular/cli script: - ng build --prod after_success: # - firebase deploy --token $FIREBASE_TOKEN notifications: slack: cen5035-uf:Yd5Sd6HvnpVAbLsbm9qRIJk...
15e963953cbd1cd9c559a5c8516b079aab0f4562
composer.json
composer.json
{ "name": "neilime/zf2-assets-bundle", "type": "library", "description": "Zend Framework 2 module that provides assets bundling / caching", "keywords": ["assets","bundle","cache","zf2", "css", "js", "less"], "homepage": "", "license": "MIT", "authors": [ { "name": "Neilim...
{ "name": "neilime/zf2-assets-bundle", "type": "library", "description": "Zend Framework 2 module that provides assets bundling / caching", "keywords": ["assets","bundle","cache","zf2", "css", "js", "less"], "homepage": "", "license": "MIT", "authors": [ { "name": "Neilim...
Use Nudge fork of lessphp
Use Nudge fork of lessphp
JSON
mit
neilime/zf2-assets-bundle,neilime/zf2-assets-bundle,neilime/zf2-assets-bundle
json
## Code Before: { "name": "neilime/zf2-assets-bundle", "type": "library", "description": "Zend Framework 2 module that provides assets bundling / caching", "keywords": ["assets","bundle","cache","zf2", "css", "js", "less"], "homepage": "", "license": "MIT", "authors": [ { ...
847b08d09d391fa8c3adbb58741b4be950ab8706
src/App.js
src/App.js
import React from 'react' import { StackNavigator } from 'react-navigation' import { Provider } from 'mobx-react' import LoginScreen from './screens/LoginScreen' import SignedInNavigator from './navigators/SignedInNavigator' import authStore from './stores/authStore' import profileStore from './stores/profileStore' ...
import React from 'react' import { Provider } from 'mobx-react' import { observer } from 'mobx-react' import authStore from './stores/authStore' import profileStore from './stores/profileStore' import { createRootNavigator } from './navigator' const stores = { authStore, profileStore, } @observer export default ...
Replace LoginNavigator by Layout from navigator.createRootNavigator
Replace LoginNavigator by Layout from navigator.createRootNavigator
JavaScript
mit
OpenHackFarm/tshansik-app
javascript
## Code Before: import React from 'react' import { StackNavigator } from 'react-navigation' import { Provider } from 'mobx-react' import LoginScreen from './screens/LoginScreen' import SignedInNavigator from './navigators/SignedInNavigator' import authStore from './stores/authStore' import profileStore from './stores...
b5e0c3ce5e69e5057765b14214f817f70f279e10
ci/scripts/build.ci.sh
ci/scripts/build.ci.sh
set -e -x -u ci/scripts/build.sh version=$(cat ../docs-version/version) tar -cvzf "docs-${version}.tgz" final_app/public manifest.yml manifest.dev.yml mv "docs-${version}.tgz" ../final-app/
set -e -x -u version=$(cat ../docs-version/version) ci/scripts/build.sh echo "${version}" > final_app/public/version.txt tar -cvzf "docs-${version}.tgz" final_app/public manifest.yml manifest.dev.yml mv "docs-${version}.tgz" ../final-app/
Add version file to deployed artifact
Add version file to deployed artifact
Shell
apache-2.0
swisscom/docs-appcloud-book,swisscom/docs-appcloud-book,swisscom/docs-appcloud-book,swisscom/docs-appcloud-book
shell
## Code Before: set -e -x -u ci/scripts/build.sh version=$(cat ../docs-version/version) tar -cvzf "docs-${version}.tgz" final_app/public manifest.yml manifest.dev.yml mv "docs-${version}.tgz" ../final-app/ ## Instruction: Add version file to deployed artifact ## Code After: set -e -x -u version=$(cat ../docs-ve...
934846abcf33b56d6f29e187ae167815c5465964
rancher-config/docker-compose.yml
rancher-config/docker-compose.yml
version: '2' services: gp-finder-frontend: image: "nhsuk/gp-finder:$DOCKER_IMAGE_TAG" environment: NODE_ENV: production HOTJAR_ANALYTICS_TRACKING_ID: $HOTJAR_ID GOOGLE_ANALYTICS_TRACKING_ID: $GOOGLE_ID WEBTRENDS_ANALYTICS_TRACKING_ID: $WEBTRENDS_ID labels: traefik.enable: s...
version: '2' services: gp-finder-frontend: image: "nhsuk/gp-finder:$DOCKER_IMAGE_TAG" environment: NODE_ENV: production HOTJAR_ANALYTICS_TRACKING_ID: $HOTJAR_ID GOOGLE_ANALYTICS_TRACKING_ID: $GOOGLE_ID WEBTRENDS_ANALYTICS_TRACKING_ID: $WEBTRENDS_ID MONGODB_HOST: profiles-db.pro...
Use ENV vars for mongo db config
Use ENV vars for mongo db config
YAML
mit
nhsuk/gp-finder,nhsuk/gp-finder
yaml
## Code Before: version: '2' services: gp-finder-frontend: image: "nhsuk/gp-finder:$DOCKER_IMAGE_TAG" environment: NODE_ENV: production HOTJAR_ANALYTICS_TRACKING_ID: $HOTJAR_ID GOOGLE_ANALYTICS_TRACKING_ID: $GOOGLE_ID WEBTRENDS_ANALYTICS_TRACKING_ID: $WEBTRENDS_ID labels: t...
917ac3d7f3454e368c09f7a6b812afde96a7d342
src/mods.js
src/mods.js
// @flow 'use strict'; const execa = require('execa'); /** * Returns a list of all globally installed NPM packages * @public * @returns {Promise.<Object|string>} Returns installed packages/stderr on success/failure. */ const getModules = (): Promise<Object | string> => { return new Promise((resolve, reject) => ...
// @flow 'use strict'; const execa = require('execa'); /** * Returns a list of all globally installed NPM packages * @public * @returns {Promise.<Object|string>} Returns installed packages/stderr on success/failure. */ const getModules = (): Promise<Object | string> => { return new Promise((resolve, reject) => ...
Exit if no global packages
Exit if no global packages - Excluding npm and this module, exit if there are no global packages
JavaScript
mit
riyadhalnur/npm-modules-sync
javascript
## Code Before: // @flow 'use strict'; const execa = require('execa'); /** * Returns a list of all globally installed NPM packages * @public * @returns {Promise.<Object|string>} Returns installed packages/stderr on success/failure. */ const getModules = (): Promise<Object | string> => { return new Promise((reso...
52f772e954ae26a70fe914ea00e4280660938c6a
telemetry/src/main/kotlin/org/strykeforce/thirdcoast/telemetry/grapher/ClientHandler.kt
telemetry/src/main/kotlin/org/strykeforce/thirdcoast/telemetry/grapher/ClientHandler.kt
package org.strykeforce.thirdcoast.telemetry.grapher import mu.KotlinLogging import okio.Buffer import java.net.DatagramPacket import java.net.DatagramSocket import java.net.InetSocketAddress import java.util.concurrent.Executors import java.util.concurrent.ScheduledExecutorService import java.util.concurrent.TimeUnit...
package org.strykeforce.thirdcoast.telemetry.grapher import mu.KotlinLogging import okio.Buffer import java.net.DatagramPacket import java.net.DatagramSocket import java.net.InetSocketAddress import java.util.concurrent.Executors import java.util.concurrent.ScheduledExecutorService import java.util.concurrent.TimeUnit...
Move period value to constant
Move period value to constant
Kotlin
mit
strykeforce/thirdcoast,strykeforce/thirdcoast,strykeforce/thirdcoast
kotlin
## Code Before: package org.strykeforce.thirdcoast.telemetry.grapher import mu.KotlinLogging import okio.Buffer import java.net.DatagramPacket import java.net.DatagramSocket import java.net.InetSocketAddress import java.util.concurrent.Executors import java.util.concurrent.ScheduledExecutorService import java.util.con...
e905837c869009476bc49e2fe2c4d80183e0ba9e
README.rst
README.rst
This is a tool to run notebooks with input values. When you write the notebook, these are defined in the first code cell, with regular assignments like this: .. code-block:: python stock = 'YHOO' days_back = 600 Nbparameterise handles finding and extracting these parameters, and replacing them with input val...
This is a tool to run notebooks with input values. When you write the notebook, these are defined in the first code cell, with regular assignments like this: .. code-block:: python stock = 'YHOO' days_back = 600 Nbparameterise handles finding and extracting these parameters, and replacing them with input val...
Add missing import for example
Add missing import for example
reStructuredText
mit
takluyver/nbparameterise
restructuredtext
## Code Before: This is a tool to run notebooks with input values. When you write the notebook, these are defined in the first code cell, with regular assignments like this: .. code-block:: python stock = 'YHOO' days_back = 600 Nbparameterise handles finding and extracting these parameters, and replacing the...
3aaa2c2b276b9ca9eec52c1703f3c750e2569ec4
heroku.worker.sh
heroku.worker.sh
git checkout -b "dist" echo Overwrite .gitignore cp .gitignore_dist .gitignore echo Build assets yarn build:server echo Commit assets git add -A git commit -m "Heroku Build" echo push to Heroku #git push web dist:master --force git push https://git.heroku.com/sftoolsunittestworker.git dist:master --force git che...
git checkout -b "dist" echo Overwrite .gitignore cp .gitignore_dist .gitignore echo Build assets yarn build:server echo Commit assets git add -A git commit -m "Heroku Build" echo push to Heroku #git push web dist:master --force git push worker dist:master --force git checkout master git branch -D "dist"
Change Git url to a remote
Change Git url to a remote
Shell
mit
Krisa/sftools,Krisa/sftools,Krisa/sftools,Krisa/sftools
shell
## Code Before: git checkout -b "dist" echo Overwrite .gitignore cp .gitignore_dist .gitignore echo Build assets yarn build:server echo Commit assets git add -A git commit -m "Heroku Build" echo push to Heroku #git push web dist:master --force git push https://git.heroku.com/sftoolsunittestworker.git dist:master -...
1fb96253a01920001ad9b1471309518bc28a93a0
chef-zero.gemspec
chef-zero.gemspec
$:.unshift(File.dirname(__FILE__) + '/lib') require 'chef_zero/version' Gem::Specification.new do |s| s.name = 'chef-zero' s.version = ChefZero::VERSION s.platform = Gem::Platform::RUBY s.summary = 'Self-contained, easy-setup, fast-start in-memory Chef server for testing and solo setup purposes' s.descriptio...
$:.unshift(File.dirname(__FILE__) + '/lib') require 'chef_zero/version' Gem::Specification.new do |s| s.name = 'chef-zero' s.version = ChefZero::VERSION s.platform = Gem::Platform::RUBY s.summary = 'Self-contained, easy-setup, fast-start in-memory Chef server for testing and solo setup purposes' s.descriptio...
Add gemspec files to allow bundler to run from the gem
Add gemspec files to allow bundler to run from the gem
Ruby
apache-2.0
higanworks/chef-zero,chef/chef-zero,higanworks/chef-zero,chef/chef-zero,chef/chef-zero
ruby
## Code Before: $:.unshift(File.dirname(__FILE__) + '/lib') require 'chef_zero/version' Gem::Specification.new do |s| s.name = 'chef-zero' s.version = ChefZero::VERSION s.platform = Gem::Platform::RUBY s.summary = 'Self-contained, easy-setup, fast-start in-memory Chef server for testing and solo setup purposes...
939998db349c364aa0f5ba4705d4feb2da7104d5
nn/flags.py
nn/flags.py
import functools import tensorflow as tf FLAGS = tf.app.flags.FLAGS tf.app.flags.DEFINE_string("batch-size", 64, "") tf.app.flags.DEFINE_float("dropout-prob", 0, "") tf.app.flags.DEFINE_string("word-file", None, "") tf.app.flags.DEFINE_integer("num-threads-per-queue", 2, "") tf.app.flags.DEFINE_integer("queue-capac...
import functools import tensorflow as tf FLAGS = tf.app.flags.FLAGS tf.app.flags.DEFINE_string("batch-size", 64, "") tf.app.flags.DEFINE_float("dropout-prob", 0, "") tf.app.flags.DEFINE_string("word-file", None, "") tf.app.flags.DEFINE_integer("num-threads-per-queue", 2, "") tf.app.flags.DEFINE_integer("queue-capac...
Fix float type flag definition
Fix float type flag definition
Python
unlicense
raviqqe/tensorflow-extenteten,raviqqe/tensorflow-extenteten
python
## Code Before: import functools import tensorflow as tf FLAGS = tf.app.flags.FLAGS tf.app.flags.DEFINE_string("batch-size", 64, "") tf.app.flags.DEFINE_float("dropout-prob", 0, "") tf.app.flags.DEFINE_string("word-file", None, "") tf.app.flags.DEFINE_integer("num-threads-per-queue", 2, "") tf.app.flags.DEFINE_inte...
adad71197f4156cee87075685de2b5a17cb6f424
app/components/questions/pieChart.jsx
app/components/questions/pieChart.jsx
import React, { Component } from 'react' import Pie from 'react-simple-pie-chart' export default React.createClass ({ getInitialState: function () { return { expandedSector: null } }, handleMouseEnterOnSector: function (sector) { this.setState({ expandedSector: sector }) }, handleMouseLea...
import React, { Component } from 'react' import Pie from 'react-simple-pie-chart' export default React.createClass ({ getInitialState: function () { return { expandedSector: null } }, handleMouseEnterOnSector: function (sector) { this.setState({ expandedSector: sector }) }, handleMouseLea...
Add a link to readme from chart.
Add a link to readme from chart.
JSX
agpl-3.0
empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core
jsx
## Code Before: import React, { Component } from 'react' import Pie from 'react-simple-pie-chart' export default React.createClass ({ getInitialState: function () { return { expandedSector: null } }, handleMouseEnterOnSector: function (sector) { this.setState({ expandedSector: sector }) }, ...
fc87ff300d3ce9d022abb5b43ab779a66a790fcf
README.md
README.md
Game Engine Info: - You need to have access to the nvidia PhysX SDK - You need to have downloaded QT to compile the editor - CodeSolution/Code/3rdParty/3rdParty.7z is only up to date in the latest code, all other files are delete from the repository in order to save space. - See ReadMe in 3rdParty main folder if you...
Game Engine Info: - You need to have access to the nvidia PhysX SDK - You need to have downloaded QT to compile the editor - CodeSolution/Code/3rdParty/3rdParty.7z is only up to date in the latest code, all other files are delete from the repository in order to save space. - See ReadMe in 3rdParty main folder if you...
Update Readme with demo playlist link
Update Readme with demo playlist link
Markdown
apache-2.0
aliascc/Arenal-Engine,aliascc/Arenal-Engine,aliascc/Arenal-Engine
markdown
## Code Before: Game Engine Info: - You need to have access to the nvidia PhysX SDK - You need to have downloaded QT to compile the editor - CodeSolution/Code/3rdParty/3rdParty.7z is only up to date in the latest code, all other files are delete from the repository in order to save space. - See ReadMe in 3rdParty ma...
b0b7c34c5a00c792b21bada9b4a0d344c6800b0e
Cargo.toml
Cargo.toml
[package] name = "rat" version = "0.0.6" authors = ["Lukas Pustina <lukas@pustina.net>"] description = "REST API tool -- qeuery various REST APIs comfortably" repository = "https://github.com/lukaspustina/rat " readme = "README.md" license = "MIT" keywords = ["REST", "API", "CenterDevice", "Pocket", "ElasticSearch", "S...
[package] name = "rat" version = "0.0.6" authors = ["Lukas Pustina <lukas@pustina.net>"] description = "REST API tool -- qeuery various REST APIs comfortably" repository = "https://github.com/lukaspustina/rat " readme = "README.md" license = "MIT" keywords = ["REST", "API", "CenterDevice", "Pocket", "ElasticSearch", "S...
Update mime_multipart to 0.5 which includes my fix
Update mime_multipart to 0.5 which includes my fix
TOML
mit
lukaspustina/rat,lukaspustina/rat,lukaspustina/rat,lukaspustina/rat
toml
## Code Before: [package] name = "rat" version = "0.0.6" authors = ["Lukas Pustina <lukas@pustina.net>"] description = "REST API tool -- qeuery various REST APIs comfortably" repository = "https://github.com/lukaspustina/rat " readme = "README.md" license = "MIT" keywords = ["REST", "API", "CenterDevice", "Pocket", "El...
a6a173add99480c310710d26dc21b25e5a64f88d
extras/www/static/js/key_nav.js
extras/www/static/js/key_nav.js
$(document).ready(function() { $(document).keyup(function(e) { var tag = e.target.tagName.toLowerCase(); if (tag != 'input' && tag != 'textarea' && tag != 'select' && !e.ctrlKey) { if (e.keyCode==78 || e.keyCode==77) { $('.nav-menu-icon').trigger('click'); } e...
$(document).ready(function() { $(document).keyup(function(e) { var tag = e.target.tagName.toLowerCase(); if (tag != 'input' && tag != 'textarea' && tag != 'select' && !e.ctrlKey) { if (e.keyCode==78 || e.keyCode==77) { $('.nav-menu-icon').trigger('click'); } e...
Update key shortcut for new signature
Update key shortcut for new signature
JavaScript
mit
jhuapl-marti/marti,Magicked/crits,korrosivesec/crits,dreardon/crits,ckane/crits,Magicked/crits,ckane/crits,jhuapl-marti/marti,dreardon/crits,ckane/crits,dreardon/crits,lakiw/cripts,korrosivesec/crits,ckane/crits,jhuapl-marti/marti,korrosivesec/crits,Magicked/crits,jhuapl-marti/marti,korrosivesec/crits,lakiw/cripts,laki...
javascript
## Code Before: $(document).ready(function() { $(document).keyup(function(e) { var tag = e.target.tagName.toLowerCase(); if (tag != 'input' && tag != 'textarea' && tag != 'select' && !e.ctrlKey) { if (e.keyCode==78 || e.keyCode==77) { $('.nav-menu-icon').trigger('click');...
0ef2c395326d1749bda2a2804c522d6421ec8aaa
src/server.ts
src/server.ts
import { config } from 'dotenv'; config(); import Application from './application'; new Application().start();
import { config } from 'dotenv'; config(); import 'reflect-metadata'; import Application from './application'; new Application().start();
Add reflect-metadata on the project
Add reflect-metadata on the project
TypeScript
mit
rafaell-lycan/sabesp-mananciais-api,rafaell-lycan/sabesp-mananciais-api
typescript
## Code Before: import { config } from 'dotenv'; config(); import Application from './application'; new Application().start(); ## Instruction: Add reflect-metadata on the project ## Code After: import { config } from 'dotenv'; config(); import 'reflect-metadata'; import Application from './application'; new Appl...
5c171c5eec654217cd761c0683ba5c45ccb15a30
lib/aliases.zsh
lib/aliases.zsh
alias pu='pushd' alias po='popd' # Super user alias _='sudo' alias gr='grep -in' # Show history alias history='fc -l 1' # List direcory contents alias lsa='ls -lahF' alias l='ls -lA1' alias ll='ls -l' alias la='ls -lA' alias rm='rm -i' alias du='du -h' # Use the keyboard shortcut, dummy alias cl='echo "No! Use CT...
alias pu='pushd' alias po='popd' # Super user alias _='sudo' alias gr='grep -in' # Show history alias history='fc -l 1' # List direcory contents alias lsa='ls -lahF' alias lsal='ls -lahF|less' alias l='ls -lA1' alias ll='ls -l' alias la='ls -lA' alias rm='rm -i' alias du='du -h' # Use the keyboard shortcut, dummy...
Add new lsal alias to less lsa output
Add new lsal alias to less lsa output
Shell
mit
devnall/oh-my-zsh,devnall/oh-my-zsh,devnall/oh-my-zsh,devnall/oh-my-zsh
shell
## Code Before: alias pu='pushd' alias po='popd' # Super user alias _='sudo' alias gr='grep -in' # Show history alias history='fc -l 1' # List direcory contents alias lsa='ls -lahF' alias l='ls -lA1' alias ll='ls -l' alias la='ls -lA' alias rm='rm -i' alias du='du -h' # Use the keyboard shortcut, dummy alias cl='...
f8f2f201082dbc244519b51cc8a6ad8322014199
src/app/issue/issue_ctrl.js
src/app/issue/issue_ctrl.js
var mod = angular.module('Trestle.issue', []); mod.controller('IssueCtrl', function($scope, $dialog) { // init $scope.$id = "IssueCtrl_" + $scope.$id; _.extend(this, { init: function(issue) { this.issue = issue; }, isPullRequest: function() { return this.issue.pull_reques...
var mod = angular.module('Trestle.issue', []); mod.controller('IssueCtrl', function($scope, $modal, $rootScope) { // init $scope.$id = "IssueCtrl_" + $scope.$id; _.extend(this, { init: function(issue) { this.issue = issue; }, isPullRequest: function() { return this.issue....
Move the issue details over to using $modal.
refactor: Move the issue details over to using $modal.
JavaScript
bsd-3-clause
trestle-pm/trestle
javascript
## Code Before: var mod = angular.module('Trestle.issue', []); mod.controller('IssueCtrl', function($scope, $dialog) { // init $scope.$id = "IssueCtrl_" + $scope.$id; _.extend(this, { init: function(issue) { this.issue = issue; }, isPullRequest: function() { return this.i...
076c21fd4957d7b978b16038d5e48edfd2d03420
README.md
README.md
Configuration server ========================================== [![Build Status](https://travis-ci.org/coffeine-009/config.svg?branch=master)](https://travis-ci.org/coffeine-009/config) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/caeebbc93f9e42baae2ff0bc1771fc92)](https://www.codacy.com/app/vitaliyacm/...
Configuration server ========================================== [![Build Status](https://travis-ci.org/coffeine-009/config.svg?branch=master)](https://travis-ci.org/coffeine-009/config) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/caeebbc93f9e42baae2ff0bc1771fc92)](https://www.codacy.com/app/vitaliyacm/...
Update info about connecting into container.
Update info about connecting into container.
Markdown
mit
coffeine-009/config
markdown
## Code Before: Configuration server ========================================== [![Build Status](https://travis-ci.org/coffeine-009/config.svg?branch=master)](https://travis-ci.org/coffeine-009/config) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/caeebbc93f9e42baae2ff0bc1771fc92)](https://www.codacy.com...
1de855f2d99eee1da1e324698052bd8756ec6339
Haneke/Entity.swift
Haneke/Entity.swift
// // Entity.swift // Haneke // // Created by Hermes Pique on 9/9/14. // Copyright (c) 2014 Haneke. All rights reserved. // import UIKit public protocol Entity { var key : String { get } func fetchImageWithSuccess(success doSuccess : (UIImage) -> (), failure doFailure : ((NSError?) -> ())) } c...
// // Entity.swift // Haneke // // Created by Hermes Pique on 9/9/14. // Copyright (c) 2014 Haneke. All rights reserved. // import UIKit public protocol Entity { var key : String { get } func fetchImageWithSuccess(success doSuccess : (UIImage) -> (), failure doFailure : ((NSError?) -> ())) ...
Add cancelFetch to entity protocol
Add cancelFetch to entity protocol
Swift
apache-2.0
fedtuck/HanekeSwift,3drobotics/HanekeSwift,beneiltis/HanekeSwift,jdauphant/HanekeSwift,bensonzhow/HanekeSwift,yoller/HanekeSwift,crossPQW/HanekeSwift,AlexSeverinov/HanekeSwift,jdauphant/HanekeSwift,qblu/HanekeSwift,clooth/HanekeSwift,wilbert/HanekeSwift,szehnder/HanekeSwift,zilverline/HanekeSwift,mokey1422/HanekeSwift,...
swift
## Code Before: // // Entity.swift // Haneke // // Created by Hermes Pique on 9/9/14. // Copyright (c) 2014 Haneke. All rights reserved. // import UIKit public protocol Entity { var key : String { get } func fetchImageWithSuccess(success doSuccess : (UIImage) -> (), failure doFailure : ((NSError?) -...
5099d0a576418ce2f352d275ee6aadd708da4fb1
website/script/basics_intro_halite.js
website/script/basics_intro_halite.js
$(function() { var data = textFromURL("ar1481484242-3993659735.hlt", $("#gameReplay"), function(data) { console.log(data) if(data != null) { showGame(data, $("#gameReplay"), null, 500, true, true); } }); })
$(function() { var data = textFromURL("ar1482413174-917235674.hlt", $("#gameReplay"), function(data) { console.log(data) if(data != null) { showGame(data, $("#gameReplay"), null, 500, true, true); } }); })
Put a random bot replay on intro halite
Put a random bot replay on intro halite
JavaScript
mit
HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,lanyudhy/Halite-II,HaliteChallenge/Halite,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,yangle/HaliteIO,lanyudhy/Halite-II,yangle/HaliteIO,HaliteChallenge/Halite-II,HaliteChallenge/Halite,HaliteChallenge/Halite...
javascript
## Code Before: $(function() { var data = textFromURL("ar1481484242-3993659735.hlt", $("#gameReplay"), function(data) { console.log(data) if(data != null) { showGame(data, $("#gameReplay"), null, 500, true, true); } }); }) ## Instruction: Put a random bot replay on intro hal...
1bbe01fb9cafcb2effd6e95f40ae5c9872469f08
exporter/mailer.py
exporter/mailer.py
import sendgrid import config as config from sendgrid.helpers.mail import Mail, Content sg = sendgrid.SendGridAPIClient(apikey=config.SENDGRID_API_KEY) from_mail = sendgrid.Email(config.SENDGRID_FROM_MAIL) def send_download_link(to, link): to_mail = sendgrid.Email(to) content = Content("text/html", "<html> Y...
import sendgrid import config as config from sendgrid.helpers.mail import Mail, Content sg = sendgrid.SendGridAPIClient(apikey=config.SENDGRID_API_KEY) from_mail = sendgrid.Email(config.SENDGRID_FROM_MAIL) def send_download_link(to, link): to_mail = sendgrid.Email(to) content = Content("text/html", "<html> <...
Add heading to export mail
Add heading to export mail
Python
mit
melonmanchan/achso-video-exporter,melonmanchan/achso-video-exporter
python
## Code Before: import sendgrid import config as config from sendgrid.helpers.mail import Mail, Content sg = sendgrid.SendGridAPIClient(apikey=config.SENDGRID_API_KEY) from_mail = sendgrid.Email(config.SENDGRID_FROM_MAIL) def send_download_link(to, link): to_mail = sendgrid.Email(to) content = Content("text/...
1ca70dee87fbcbbbd6c267013c7be5f39999a6d9
setup.py
setup.py
try: from setuptools import setup except: from distutils.core import setup long_description = "" with open('README.rst') as f: long_description = f.read() setup( name='ImageHash', version='4.2.1', author='Johannes Buchner', author_email='buchner.johannes@gmx.at', py_modules=['imagehas...
try: from setuptools import setup except: from distutils.core import setup long_description = "" with open('README.rst') as f: long_description = f.read() setup( name='ImageHash', version='4.2.1', author='Johannes Buchner', author_email='buchner.johannes@gmx.at', py_modules=['imagehas...
Use official OSI name in the license metadata
Use official OSI name in the license metadata This makes it easier for automatic license checkers to verify the license of this package. The license file is included in MANIFEST.in as is standard practice.
Python
bsd-2-clause
JohannesBuchner/imagehash,JohannesBuchner/imagehash
python
## Code Before: try: from setuptools import setup except: from distutils.core import setup long_description = "" with open('README.rst') as f: long_description = f.read() setup( name='ImageHash', version='4.2.1', author='Johannes Buchner', author_email='buchner.johannes@gmx.at', py_mo...
329f4cd5123440baf537db30340fd3d33d7bbbf1
games/management/commands/makelove.py
games/management/commands/makelove.py
from django.core.management.base import BaseCommand from games import models, bundle def package_love(stdout, game, release): if release.get_asset('love') is not None: stdout.write(u"SKIPPING {}".format(release)) return upload = release.get_asset('uploaded') if upload is None: s...
import zipfile from django.core.management.base import BaseCommand from games import models, bundle def package_love(stdout, game, release): if release.get_asset('love') is not None: stdout.write(u"SKIPPING {}".format(release)) return upload = release.get_asset('uploaded') if upload is...
Make sure that uploaded files are zipfiles
Make sure that uploaded files are zipfiles
Python
mit
stackmachine/bearweb,stackmachine/bearweb,stackmachine/bearweb,stackmachine/bearweb,stackmachine/bearweb,stackmachine/bearweb
python
## Code Before: from django.core.management.base import BaseCommand from games import models, bundle def package_love(stdout, game, release): if release.get_asset('love') is not None: stdout.write(u"SKIPPING {}".format(release)) return upload = release.get_asset('uploaded') if upload is...
03fba42ffe6b52c1e9c4f9a4c076acbf722d2ba6
browser/dom.js
browser/dom.js
const flatten = require('flatten') const Set = require('es6-set') function normalizeRoot(root) { if(!root) return document if(typeof(root) == 'string') return $(root) return root } function $(selector, root) { root = normalizeRoot(root) return wrapNode(root.querySelector(selector)) } $.all = function $$(sel...
const flatten = require('flatten') const Set = require('es6-set') function normalizeRoot(root) { if(!root) return document if(typeof(root) == 'string') return $(root) return root } function $(selector, root) { root = normalizeRoot(root) return wrapNode(root.querySelector(selector)) } $.all = function $$(sel...
Fix $.wrap for null This also fixes $ for when no element is found
Fix $.wrap for null This also fixes $ for when no element is found
JavaScript
mit
CoderPuppy/movie-voting.js,CoderPuppy/movie-voting.js,CoderPuppy/movie-voting.js
javascript
## Code Before: const flatten = require('flatten') const Set = require('es6-set') function normalizeRoot(root) { if(!root) return document if(typeof(root) == 'string') return $(root) return root } function $(selector, root) { root = normalizeRoot(root) return wrapNode(root.querySelector(selector)) } $.all =...
c6a6c684ac4d5ae710152fa08329419c38a075f8
docs/linux-build.md
docs/linux-build.md
There are build scripts for recent versions of CentOS- and Debian-flavored Linuxes in `../scripts/{centos,debian}-build`. Both install all prerequisites, then build the client and the man pages in Docker containers for CentOS 7, Debian 8, and Ubuntu 14.04. On CentOS 6, the client builds, but not the man pages, becaus...
There are build scripts for recent versions of CentOS- and Debian-flavored Linuxes in `../scripts/{centos,debian}-build`. Both install all prerequisites, then build the client and the man pages in Docker containers for CentOS 7, Debian 8, and Ubuntu 14.04. On CentOS 6, the client builds, but not the man pages, becaus...
Add instructions for bulding a deb
Add instructions for bulding a deb
Markdown
mit
ttaylorr/git-lfs,sanoursa/git-lfs,beni55/git-lfs,clareliguori/git-lfs,github/git-lfs,crealytics/git-lfs,github/git-lfs,rtyley/git-lfs,modulexcite/git-lfs,iSC-Labs/git-lfs,Jericho25/-git-lfs_miilkyway,larsxschneider/git-lfs,dakotahawkins/git-lfs,yonglehou/git-lfs,modulexcite/git-lfs,dakotahawkins/git-lfs,phungmy/git-lfs...
markdown
## Code Before: There are build scripts for recent versions of CentOS- and Debian-flavored Linuxes in `../scripts/{centos,debian}-build`. Both install all prerequisites, then build the client and the man pages in Docker containers for CentOS 7, Debian 8, and Ubuntu 14.04. On CentOS 6, the client builds, but not the m...
c695c00ca095ec9b6d8bb55313edb035f01a1453
README.md
README.md
SimpleAddress ============= SimpleAddress is a simple address program built with python, bottle, mongo, angular, and UI bootstrap. The project served two primary purposes, which are important to keep in mind if you choose to use or edit it. The first purpose was to learn more. I wanted to use mongo, angular, and UI...
SimpleAddress ============= SimpleAddress is a simple address web application for viewing, searching, adding, editing, and exporting your personal address list. This is very much a learning project with an express purpose of using new technologies in an intent to learn. In doing so, it is needlessly complex at times...
Make a nicer readme, with more details
Make a nicer readme, with more details
Markdown
mit
jlutz777/SimpleAddress,jlutz777/SimpleAddress,jlutz777/SimpleAddress
markdown
## Code Before: SimpleAddress ============= SimpleAddress is a simple address program built with python, bottle, mongo, angular, and UI bootstrap. The project served two primary purposes, which are important to keep in mind if you choose to use or edit it. The first purpose was to learn more. I wanted to use mongo,...