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
e86fa27215ef2fd4db131b7bfd9cef43a59dcbce
README.md
README.md
A basic homebrew web browser for the Nintendo 3DS # Features - View a preset page (char *url = "http://jsa.paperplane.io/index.html") - Save aforementioned page to a file - tl;dr nothing of use to you # Credits - jsa - josamilu (help with file downloading, some inspiration)
A basic demo of using HTTP:C on 3DS to grab a webpage (the bare foundations for making a browser). NOTE: This hasn't been updated in a very long time -- https://github.com/devkitPro/3ds-examples is probably a far better bet if you want to see good code. # Features - Show the source of a preset page (char *url = "http...
Clarify the state of the project in readme
Clarify the state of the project in readme
Markdown
apache-2.0
thejsa/KoopaCruiser,thejsa/KoopaCruiser
markdown
## Code Before: A basic homebrew web browser for the Nintendo 3DS # Features - View a preset page (char *url = "http://jsa.paperplane.io/index.html") - Save aforementioned page to a file - tl;dr nothing of use to you # Credits - jsa - josamilu (help with file downloading, some inspiration) ## Instruction: Clarify th...
67303672d04d7eece4736a9bc672e006cbc87976
app/Http/Controllers/SearchController.php
app/Http/Controllers/SearchController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Classes\EsiConnection; use Illuminate\Support\Facades\Log; class SearchController extends Controller { public function search(Request $request) { $esi = new EsiConnection; $result = $esi->esi->setQueryString([ ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Classes\EsiConnection; use Illuminate\Support\Facades\Log; class SearchController extends Controller { public function search(Request $request) { $esi = new EsiConnection; $result = $esi->esi->setQueryString([ ...
Update property of corporation name returned in search.
Update property of corporation name returned in search.
PHP
mit
matthewpennell/moon-mining-manager,matthewpennell/moon-mining-manager
php
## Code Before: <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Classes\EsiConnection; use Illuminate\Support\Facades\Log; class SearchController extends Controller { public function search(Request $request) { $esi = new EsiConnection; $result = $esi->esi->setQuery...
d18ed8284cb22e061e5fb2d51eafbe10e32621bf
main/settings.ini
main/settings.ini
x=1366 y=768 fullscreen=false controlType=0 vol=0.66
x=1366 y=768 fullscreen=false controlType=0 vol=0.66 keyUpMouse=W keyDownMouse=S keyUp=Up keyDown=Down keyLeft=Left keyRight=Right keyShoot=Space keyShoot2=L-Ctrl keyAbility=L-Shift keyEscape=Escape keyMap=Tab keyInventory=I keyTalk=T keyPause=P keyDrop=D keySellMenu=S keyBuyMenu=B keyChangeShipMenu=C keyHireShipMenu=H...
Include default key mappings - temp file that probably shouldn't be in Git anyway, but for now
Include default key mappings - temp file that probably shouldn't be in Git anyway, but for now
INI
apache-2.0
MovingBlocks/DestinationSol,MovingBlocks/DestinationSol
ini
## Code Before: x=1366 y=768 fullscreen=false controlType=0 vol=0.66 ## Instruction: Include default key mappings - temp file that probably shouldn't be in Git anyway, but for now ## Code After: x=1366 y=768 fullscreen=false controlType=0 vol=0.66 keyUpMouse=W keyDownMouse=S keyUp=Up keyDown=Down keyLeft=Left keyRigh...
dfe1a2ab36a4b3b05ea3c9bf7fd44a8ecab9deb9
src/classes/STTG_InstallScript_TEST.cls-meta.xml
src/classes/STTG_InstallScript_TEST.cls-meta.xml
<?xml version="1.0" encoding="UTF-8"?> <ApexClass xmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>29.0</apiVersion> <packageVersions> <majorNumber>2</majorNumber> <minorNumber>96</minorNumber> <namespace>npe01</namespace> </packageVersions> <packageVersions> ...
<?xml version="1.0" encoding="UTF-8"?> <ApexClass xmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>29.0</apiVersion> <packageVersions> <majorNumber>2</majorNumber> <minorNumber>96</minorNumber> <namespace>npe01</namespace> </packageVersions> <packageVersions> ...
Package version was somehow stripped out of this for npe5
Package version was somehow stripped out of this for npe5
XML
bsd-3-clause
cdcarter/Cumulus,ehrenfoss/Cumulus,cyberjus/Cumulus,InspectorSpacetime/Cumulus,abeyer/Cumulus,cdcarter/Cumulus,Zosoled/Cumulus,jlantz/Cumulus,jarkos88/Cumulus1,InspectorSpacetime/Cumulus,jlantz/Cumulus,SalesforceFoundation/Cumulus,BillFlorioSFDC/Cumulus,Zosoled/Cumulus,cdcarter/Cumulus,jlantz/Cumulus,Zosoled/Cumulus,ab...
xml
## Code Before: <?xml version="1.0" encoding="UTF-8"?> <ApexClass xmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>29.0</apiVersion> <packageVersions> <majorNumber>2</majorNumber> <minorNumber>96</minorNumber> <namespace>npe01</namespace> </packageVersions> <packageVe...
d4ff7fe01eb22780645594791c5cb0205c4f652f
t/Tags2::Output::PYX/05_comment.t
t/Tags2::Output::PYX/05_comment.t
use Tags2::Output::PYX; use Test::More 'tests' => 1; print "Testing: Comment.\n"; my $obj = Tags2::Output::PYX->new; $obj->put( ['c', 'comment'], ['c', ' comment '], ); my $ret = $obj->flush; is($ret, '');
use Tags2::Output::PYX; use Test::More 'tests' => 1; print "Testing: Comment.\n"; my $obj = Tags2::Output::PYX->new; $obj->put( ['c', 'comment'], ['c', ' comment '], ); my $ret = $obj->flush; my $right_ret = <<'END'; -<!--comment--> -<!-- comment --> END chomp $right_ret; is($ret, $right_ret);
Rewrite to new version of *::PYX.
Rewrite to new version of *::PYX.
Perl
bsd-2-clause
tupinek/Tags,tupinek/Tags
perl
## Code Before: use Tags2::Output::PYX; use Test::More 'tests' => 1; print "Testing: Comment.\n"; my $obj = Tags2::Output::PYX->new; $obj->put( ['c', 'comment'], ['c', ' comment '], ); my $ret = $obj->flush; is($ret, ''); ## Instruction: Rewrite to new version of *::PYX. ## Code After: use Tags2::Output::PYX; use ...
3e2e16775ae76c76c0eb74a7d62e30cdf0056191
wallet/src/Cardano/Wallet/API/Internal.hs
wallet/src/Cardano/Wallet/API/Internal.hs
-- | This module contains the top level API definition for frontend-related -- tasks. The API endpoints presented here are intended for use with the -- Daedalus client, and aren't useful for wallets, exchanges, and other users. module Cardano.Wallet.API.Internal where import Pos.Chain.Update (SoftwareVersio...
-- | This module contains the top level API definition for frontend-related -- tasks. The API endpoints presented here are intended for use with the -- Daedalus client, and aren't useful for wallets, exchanges, and other users. module Cardano.Wallet.API.Internal where import Pos.Chain.Update (SoftwareVersio...
Add tag description for internal API
Add tag description for internal API
Haskell
apache-2.0
input-output-hk/pos-haskell-prototype,input-output-hk/pos-haskell-prototype,input-output-hk/cardano-sl,input-output-hk/cardano-sl,input-output-hk/pos-haskell-prototype,input-output-hk/cardano-sl,input-output-hk/cardano-sl
haskell
## Code Before: -- | This module contains the top level API definition for frontend-related -- tasks. The API endpoints presented here are intended for use with the -- Daedalus client, and aren't useful for wallets, exchanges, and other users. module Cardano.Wallet.API.Internal where import Pos.Chain.Update...
29e25d0bd8e7efdf7c3c496ca5a05beb3c515ce9
db/migrate/20160425121454_create_associations_table.rb
db/migrate/20160425121454_create_associations_table.rb
class CreateAssociationsTable < ActiveRecord::Migration def change create_table :tables do |t| t.integer :origin_id, index: true t.string :association t.integer :target_id, index: true t.timestamps null: false end end end
class CreateAssociationsTable < ActiveRecord::Migration def change create_table :associations do |t| t.integer :origin_id, index: true t.string :association t.integer :target_id, index: true t.timestamps null: false end end end
Fix name on association table
Fix name on association table
Ruby
mit
Srossmanreich/actvrcrd.ly,Srossmanreich/actvrcrd.ly,Srossmanreich/actvrcrd.ly
ruby
## Code Before: class CreateAssociationsTable < ActiveRecord::Migration def change create_table :tables do |t| t.integer :origin_id, index: true t.string :association t.integer :target_id, index: true t.timestamps null: false end end end ## Instruction: Fix name on association table ...
dfa95758ced79b178b9dd61612196ccedd98ffdf
addons/google-analytics/README.md
addons/google-analytics/README.md
Storybook Addon Google Analytics can be used to support google analytics in [Storybook](https://storybook.js.org). [Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) ## Getting Started Install: ```sh yarn add @storybook/addon-google-analytics --dev ``` Then, add following ...
Storybook Addon Google Analytics can be used to support google analytics in [Storybook](https://storybook.js.org). [Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) ## Getting Started Install: ```sh yarn add @storybook/addon-google-analytics --dev ``` within `main.js`: `...
MIGRATE addon-google-analytics documentation to CSF & triconfig
MIGRATE addon-google-analytics documentation to CSF & triconfig
Markdown
mit
storybooks/storybook,kadirahq/react-storybook,storybooks/react-storybook,kadirahq/react-storybook,storybooks/storybook,storybooks/storybook,storybooks/storybook,storybooks/storybook,storybooks/storybook,storybooks/storybook,storybooks/react-storybook,storybooks/react-storybook,storybooks/react-storybook
markdown
## Code Before: Storybook Addon Google Analytics can be used to support google analytics in [Storybook](https://storybook.js.org). [Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) ## Getting Started Install: ```sh yarn add @storybook/addon-google-analytics --dev ``` Then...
79d78e477e8cf64e7d4cd86470df3c251f6d8376
prequ/locations.py
prequ/locations.py
import os from shutil import rmtree from .click import secho from pip.utils.appdirs import user_cache_dir # The user_cache_dir helper comes straight from pip itself CACHE_DIR = user_cache_dir('prequ') # NOTE # We used to store the cache dir under ~/.pip-tools, which is not the # preferred place to store caches for a...
from pip.utils.appdirs import user_cache_dir # The user_cache_dir helper comes straight from pip itself CACHE_DIR = user_cache_dir('prequ')
Remove migration code of pip-tools legacy cache
Remove migration code of pip-tools legacy cache It's not a responsibility of Prequ to remove legacy cache dir of pip-tools.
Python
bsd-2-clause
suutari-ai/prequ,suutari/prequ,suutari/prequ
python
## Code Before: import os from shutil import rmtree from .click import secho from pip.utils.appdirs import user_cache_dir # The user_cache_dir helper comes straight from pip itself CACHE_DIR = user_cache_dir('prequ') # NOTE # We used to store the cache dir under ~/.pip-tools, which is not the # preferred place to st...
2e87be45e88a4317465f75627e13101b53a3b3ed
docs/deploying.md
docs/deploying.md
--- permalink: /docs/deploying/index.html layout: docs --- - [Heroku](/docs/deploying/heroku.md) - [Unix](/docs/deploying/unix.md) - [Windows](/docs/deploying/windows.md)
--- permalink: /docs/deploying/index.html layout: docs --- - [Azure](/docs/deploying/azure.md) - [Heroku](/docs/deploying/heroku.md) - [Unix](/docs/deploying/unix.md) - [Windows](/docs/deploying/windows.md)
Add reference to existing azure.md documentation
Add reference to existing azure.md documentation
Markdown
mit
ddmng/brazil82-hubot,geoffreyanderson/hubot,WaleedAshraf/hubot,github/hubot,michaelansel/hubot,decaffeinate-examples/hubot,PropertyUX/nubot,Mattlk13/Hubot,davidkassa/hubot,nandub/hubot,github/hubot,decaffeinate-examples/hubot,ouadie-lahdioui/hubot,lisb/hubot,rafaell-lycan/Hubot-X9,nandub/hubot,mrb/hubot,RavenB/hubot,zv...
markdown
## Code Before: --- permalink: /docs/deploying/index.html layout: docs --- - [Heroku](/docs/deploying/heroku.md) - [Unix](/docs/deploying/unix.md) - [Windows](/docs/deploying/windows.md) ## Instruction: Add reference to existing azure.md documentation ## Code After: --- permalink: /docs/deploying/index.html layout: d...
60c11d02c98bfa10a83e1865fa50c4f479e48ae3
test/travis.rb
test/travis.rb
result = `sass scss/color-claim.scss built.css` raise result unless $?.to_i == 0 raise "When compiled the module should output some CSS" unless File.exists?('built.css') puts "Regular compile worked successfully" result = `sass test/silent.scss build.silent.css -t compressed --sourcemap=none` output = File.read('build...
result = `sass scss/color-claim.scss built.css` raise result unless $?.to_i == 0 raise "When compiled the module should output some CSS" unless File.exists?('built.css') puts "Regular compile worked successfully" result = `sass test/silent.scss build.silent.css -t compressed --sourcemap=none` raise result unless $?.to...
Update test for correct results
Update test for correct results
Ruby
mit
jeroenptrs/color-claim-sass
ruby
## Code Before: result = `sass scss/color-claim.scss built.css` raise result unless $?.to_i == 0 raise "When compiled the module should output some CSS" unless File.exists?('built.css') puts "Regular compile worked successfully" result = `sass test/silent.scss build.silent.css -t compressed --sourcemap=none` output = ...
38c0be798239b45acb76900dd49a8731832127cf
all-in-one-demo/src/main/webapp/layouts/main.html
all-in-one-demo/src/main/webapp/layouts/main.html
<div xmlns:th="http://www.thymeleaf.org"> <div id="headline" th:text="#{appname}">Vaadin By Example Demo Application</div> <div id="headNavigation"> <div id="headNavigationLeft"> <a class="navlink" href="#!/home" th:text="#{home}">Home</a> <a class="navlink" href="#!/demos" th:text="#{demos}">Demos</a> ...
<div xmlns:th="http://www.thymeleaf.org"> <div id="headline" th:text="#{appname}">Vaadin By Example Demo Application</div> <div id="headNavigation"> <div id="headNavigationLeft"> <a class="navlink" href="#!/home" th:href="${homeHref}" th:text="#{home}">Home</a> <a class="navlink" href="#!/demos" th:href="$...
Replace fixed link hrefs with dynamic Thymeleaf attributes By that, the currently selected language can be used as a parameter value in the link target.
Replace fixed link hrefs with dynamic Thymeleaf attributes By that, the currently selected language can be used as a parameter value in the link target.
HTML
unlicense
rolandkrueger/vaadin-by-example,rolandkrueger/vaadin-by-example
html
## Code Before: <div xmlns:th="http://www.thymeleaf.org"> <div id="headline" th:text="#{appname}">Vaadin By Example Demo Application</div> <div id="headNavigation"> <div id="headNavigationLeft"> <a class="navlink" href="#!/home" th:text="#{home}">Home</a> <a class="navlink" href="#!/demos" th:text="#{demos...
a1ef27dc7a15f96558a7ed923f9aeaa9d3265d40
lib/reporter.coffee
lib/reporter.coffee
request = require 'request' module.exports = class Reporter constructor: -> @request = request send: (eventType, data) -> params = timestamp: ((new Date().getTime()) / 1000) params.dimensions = data @request method: 'POST' url: "https://collector.githubapp.com/atom/#...
request = require 'request' module.exports = class Reporter constructor: -> @request = request send: (eventType, data) -> params = timestamp: new Date().getTime() / 1000 dimensions: data requestOptions = method: 'POST' url: "https://collector.githubapp.com/...
Add callback to request invocation
Add callback to request invocation This prevents request errors such as "Uncaught Error: getaddrinfo ENOTFOUND" from going to the console when errors are reported when you aren't online.
CoffeeScript
mit
atom/exception-reporting
coffeescript
## Code Before: request = require 'request' module.exports = class Reporter constructor: -> @request = request send: (eventType, data) -> params = timestamp: ((new Date().getTime()) / 1000) params.dimensions = data @request method: 'POST' url: "https://collector.gith...
adae801b63e6e3b08388943df37fc2e145cb0365
app/assets/stylesheets/_util_links.scss
app/assets/stylesheets/_util_links.scss
@import 'toshokan_defaults'; #util-links { font-size: $font_size_small; &.impersonating { padding-left: 5px; padding-right: 5px; border-radius: 5px; background-color: $dtu_orange; } #login-popover { color: $dtu_grey_dark; a { color: #fff; font-size: 0.9em; display:...
@import 'toshokan_defaults'; #util-links { font-size: $font_size_small; &.impersonating { padding-left: 5px; padding-right: 5px; border-radius: 5px; background-color: $dtu_orange; } #login-popover { color: $dtu_grey_dark; a { color: #fff; font-size: 0.9em; display: b...
Add spacing between login buttons
UI: Add spacing between login buttons
SCSS
mit
dtulibrary/toshokan,dtulibrary/toshokan,dtulibrary/toshokan,dtulibrary/toshokan
scss
## Code Before: @import 'toshokan_defaults'; #util-links { font-size: $font_size_small; &.impersonating { padding-left: 5px; padding-right: 5px; border-radius: 5px; background-color: $dtu_orange; } #login-popover { color: $dtu_grey_dark; a { color: #fff; font-size: 0.9em...
73b1273de8f8e17adf51893bdbd24d2067866297
bootstrap/helpers.py
bootstrap/helpers.py
from byceps.services.orga.models import OrgaFlag from byceps.services.user.models.user import User from byceps.services.user import service as user_service from .util import add_to_database # -------------------------------------------------------------------- # # users @add_to_database def create_user(screen_nam...
from byceps.services.user.models.user import User from byceps.services.user import service as user_service from .util import add_to_database # -------------------------------------------------------------------- # # users @add_to_database def create_user(screen_name, email_address, *, enabled=False): user = u...
Remove bootstrap helper to promote a user to organizer as there is a service function (and a script calling it) for that
Remove bootstrap helper to promote a user to organizer as there is a service function (and a script calling it) for that
Python
bsd-3-clause
m-ober/byceps,homeworkprod/byceps,homeworkprod/byceps,homeworkprod/byceps,m-ober/byceps,m-ober/byceps
python
## Code Before: from byceps.services.orga.models import OrgaFlag from byceps.services.user.models.user import User from byceps.services.user import service as user_service from .util import add_to_database # -------------------------------------------------------------------- # # users @add_to_database def create...
86ced27953164327676fa69a5319cf27561b2fdf
lib/em-hiredis/lock_lua/lock_acquire.lua
lib/em-hiredis/lock_lua/lock_acquire.lua
-- Set key to token with expiry of timeout, if: -- - It doesn't exist -- - It exists and already has value of token (further set extends timeout) -- Used to implement a re-entrant lock. local key = KEYS[1] local token = ARGV[1] local timeout = ARGV[2] local value = redis.call('get', key) if value == token or not va...
-- Set key to token with expiry of timeout, if: -- - It doesn't exist -- - It exists and already has value of token (further set extends timeout) -- Used to implement a re-entrant lock. local key = KEYS[1] local token = ARGV[1] local timeout = ARGV[2] local value = redis.call('get', key) if value == token or not va...
Use more backward compatible formulation of SET EX
Use more backward compatible formulation of SET EX
Lua
mit
adityagodbole/em-hiredis,loggator/em-hiredis,mloughran/em-hiredis,pusher/em-hiredis,dixiS/em-hiredis
lua
## Code Before: -- Set key to token with expiry of timeout, if: -- - It doesn't exist -- - It exists and already has value of token (further set extends timeout) -- Used to implement a re-entrant lock. local key = KEYS[1] local token = ARGV[1] local timeout = ARGV[2] local value = redis.call('get', key) if value ==...
45cad45e4dfb3f0652882781f97ff90167cff83e
pkgs/tools/networking/wrk/default.nix
pkgs/tools/networking/wrk/default.nix
{ stdenv, fetchgit, openssl }: let version = "3.1.2"; in stdenv.mkDerivation rec { name = "wrk-${version}"; src = fetchgit { url = "https://github.com/wg/wrk.git"; rev = "a52c770204a732aa63e1bb6eb241a70949e3a2a9"; sha256 = "0b81lg251ivi94f7kfgz8ws4xns5p7hw5qiwjwwlc3dimjgrg387"; }; NIX_CFLAGS_C...
{ stdenv, fetchgit, openssl }: let version = "4.0.0"; in stdenv.mkDerivation rec { name = "wrk-${version}"; src = fetchgit { url = "https://github.com/wg/wrk.git"; rev = "7cdede916a53da253c995767a92eec36a245a2cc"; sha256 = "0m8i5pk2rj40v28bzrskkzw54v9jqdby52dwfcypannhlhgqnhy2"; }; buildInputs ...
Update from 3.1.2 to 4.0.0 (master)
wrk: Update from 3.1.2 to 4.0.0 (master)
Nix
mit
triton/triton,SymbiFlow/nixpkgs,triton/triton,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,triton/triton,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,triton/triton,NixOS/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,triton/triton,triton/triton,NixOS/nixpkgs,NixOS/ni...
nix
## Code Before: { stdenv, fetchgit, openssl }: let version = "3.1.2"; in stdenv.mkDerivation rec { name = "wrk-${version}"; src = fetchgit { url = "https://github.com/wg/wrk.git"; rev = "a52c770204a732aa63e1bb6eb241a70949e3a2a9"; sha256 = "0b81lg251ivi94f7kfgz8ws4xns5p7hw5qiwjwwlc3dimjgrg387"; };...
858f36e600a704e9334f4c681d9f8193e6783d53
README.md
README.md
Sublime PHP Grammar =================== Installation ------------ 1. Disable the PHP package bundled with Sublime Text - Open the User Settings: - Add `PHP` to the list of ignored packages in the User Settings: `Preferences > Settings - User` ```json "ignored_packages": [ "PHP" ...
Sublime PHP Grammar =================== Installation ------------ 1. Disable the PHP package bundled with Sublime Text - Add `PHP` to the list of ignored packages in the User Settings. Go to `Preferences > Settings - User` and add the following: ```json "ignored_packages": [ "PHP" ...
Add PHPUnit snippets package to list of suggested PHP packages
:memo: Add PHPUnit snippets package to list of suggested PHP packages
Markdown
bsd-3-clause
gerardroche/sublime-php-grammar,gerardroche/sublime-php-grammar
markdown
## Code Before: Sublime PHP Grammar =================== Installation ------------ 1. Disable the PHP package bundled with Sublime Text - Open the User Settings: - Add `PHP` to the list of ignored packages in the User Settings: `Preferences > Settings - User` ```json "ignored_packages": [ ...
9ccf13530281840a439478e2bdc05698bdd2a8b0
.travis.yml
.travis.yml
language: objective-c cache: directories: - vendor/bundle before_install: - curl 'https://developer.apple.com/certificationauthority/AppleWWDRCA.cer' -o certificates/AppleWWDRCA.cer install: - bundle install --path=vendor/bundle --binstubs=vendor/bin - bundle exec rake certificates:install - brew update - brew inst...
language: objective-c cache: directories: - vendor/bundle before_install: - curl 'https://developer.apple.com/certificationauthority/AppleWWDRCA.cer' -o certificates/AppleWWDRCA.cer - brew update - brew install carthage install: - bundle install --path=vendor/bundle --binstubs=vendor/bin - bundle exec rake certific...
Deploy prebuilt framework from Travis-CI to GitHub Release
Deploy prebuilt framework from Travis-CI to GitHub Release
YAML
mit
norio-nomura/HMAC
yaml
## Code Before: language: objective-c cache: directories: - vendor/bundle before_install: - curl 'https://developer.apple.com/certificationauthority/AppleWWDRCA.cer' -o certificates/AppleWWDRCA.cer install: - bundle install --path=vendor/bundle --binstubs=vendor/bin - bundle exec rake certificates:install - brew up...
18c6976fbb5b378aa15a99a2b8f753ec6250ff3b
openwhisk/compiler/src/actions.ts
openwhisk/compiler/src/actions.ts
export const config = () => { const path = require('path') const qcertDir = path.resolve(__dirname, '..', '..', '..', '..') const deployConfig = { packages: { qcert: { actions: { qcert: { location: path.resolve(qcertDir, 'bin', 'qcertJS.js'), annotations: { ...
export const config = () => { const path = require('path') const qcertDir = path.resolve(__dirname, '..', '..', '..', '..') const deployConfig = { packages: { qcert: { actions: { qcertCompile: { location: path.resolve(qcertDir, 'bin', 'qcertJS.js') }, qcert: { ...
Insert support for two-action sequence.
Insert support for two-action sequence. The Java action is still deployed separately
TypeScript
apache-2.0
querycert/qcert,querycert/qcert,querycert/qcert,querycert/qcert,querycert/qcert
typescript
## Code Before: export const config = () => { const path = require('path') const qcertDir = path.resolve(__dirname, '..', '..', '..', '..') const deployConfig = { packages: { qcert: { actions: { qcert: { location: path.resolve(qcertDir, 'bin', 'qcertJS.js'), ...
921f789ebbb48b47c6bbc496f714f034523a98e7
api/routes/users.js
api/routes/users.js
import {Router} from 'express' import models from '../models'; import tasks from './tasks' export default () => { let app = Router() app.use('/:userId/tasks', tasks()) app.get('/new', (req, res) => { res.render('users/new') }) app.get('/:id', (req, res) => { models.User.find({ where: { id: req.param...
import {Router} from 'express' import models from '../models'; import tasks from './tasks' export default () => { let app = Router({mergeParams: true}) app.use('/:userId/tasks', tasks()) app.get('/', (req, res) => { models.User.findAll({ attributes: ['id', 'email'] }).then((users) => { console.log(users...
Change some routes to send JSON instead of render views
Change some routes to send JSON instead of render views
JavaScript
mit
taodav/MicroSerfs,taodav/MicroSerfs
javascript
## Code Before: import {Router} from 'express' import models from '../models'; import tasks from './tasks' export default () => { let app = Router() app.use('/:userId/tasks', tasks()) app.get('/new', (req, res) => { res.render('users/new') }) app.get('/:id', (req, res) => { models.User.find({ where: { ...
41734168a274607d0ec365b6168a95c7f62cfdd5
source/stylesheets/_tags.sass
source/stylesheets/_tags.sass
.tag-list margin: bottom: $medium-margin .tag-header margin: bottom: 80px .tag-list-title line-height: 1.4em margin: bottom: $small-margin &:last-child margin: bottom: 0px a color: darken($medium-gray, 30%) &:hover color: $brand-color border-bottom: 1px solid $bra...
.tag-list margin: bottom: $medium-margin .tag-header margin: bottom: 80px .tag-list-title line-height: 1.4em margin: bottom: $small-margin &:last-child margin: bottom: 0px a color: darken($medium-gray, 30%) &:hover color: $brand-color border-bottom: 1px solid $bra...
Adjust spacing between tag list items
Adjust spacing between tag list items Same spacing than other episode list items and footer items
Sass
mit
vis-kid/betweenscreens,vis-kid/betweenscreens,vis-kid/betweenscreens
sass
## Code Before: .tag-list margin: bottom: $medium-margin .tag-header margin: bottom: 80px .tag-list-title line-height: 1.4em margin: bottom: $small-margin &:last-child margin: bottom: 0px a color: darken($medium-gray, 30%) &:hover color: $brand-color border-bottom...
5b376141903c1fd64480c06dde3dfe61d191e53d
.scripts/test_all.sh
.scripts/test_all.sh
set -e # Find all packages containing Go source code inside the current directory packages=$(find ./ -maxdepth 2 -name '*.go' -printf '%h\n' | sort | uniq) # The consul package only supports Go1.8+ and therefore we will only run the # corresponding tests on these versions. goversion=$(go version) if [[ "$goversion" ...
set -e # Find all packages containing Go source code inside the current directory packages=$(find ./ -maxdepth 2 -name '*.go' -printf '%h\n' | sort | uniq) # The consul package only supports Go1.8+ and therefore we will only run the # corresponding tests on these versions. goversion=$(go version) if [[ "$goversion" ...
Exclude consullocker packge from tests on Go 1.8
Exclude consullocker packge from tests on Go 1.8
Shell
mit
tus/tusd,tus/tusd
shell
## Code Before: set -e # Find all packages containing Go source code inside the current directory packages=$(find ./ -maxdepth 2 -name '*.go' -printf '%h\n' | sort | uniq) # The consul package only supports Go1.8+ and therefore we will only run the # corresponding tests on these versions. goversion=$(go version) if ...
86e1b92f69fde7f7e234df7fe6a469e8bd8a6a82
raven/src/test/resources/logging-integration.properties
raven/src/test/resources/logging-integration.properties
handlers=java.util.logging.ConsoleHandler, net.kencochrane.raven.jul.SentryHandler level=ALL # Ignore raven stub logs net.kencochrane.raven.stub.handlers=java.util.logging.ConsoleHandler net.kencochrane.raven.stub.level=ALL java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter java.util.logging....
handlers=java.util.logging.ConsoleHandler, net.kencochrane.raven.jul.SentryHandler level=ALL # Ignore raven stub logs net.kencochrane.raven.stub.handlers=java.util.logging.ConsoleHandler net.kencochrane.raven.stub.level=ALL java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter java.util.logging....
Add log level all to the integration tests
Add log level all to the integration tests
INI
bsd-3-clause
reki2000/raven-java6,littleyang/raven-java,buckett/raven-java,galmeida/raven-java,buckett/raven-java,reki2000/raven-java6,littleyang/raven-java,galmeida/raven-java
ini
## Code Before: handlers=java.util.logging.ConsoleHandler, net.kencochrane.raven.jul.SentryHandler level=ALL # Ignore raven stub logs net.kencochrane.raven.stub.handlers=java.util.logging.ConsoleHandler net.kencochrane.raven.stub.level=ALL java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter ja...
13c83185712fb959a432b573bb4e26ebf1c77f36
README.md
README.md
That's only a sample gem done to show the Zorros people how to create a small gem. It's only purpose is to add a tag to the git repository of a project each time it's deployed with capistrano. It heavily follows our way of working so it will probably **not fit for you**. But if it does, please, feel free to give us ...
[![Build Status](https://secure.travis-ci.org/Zorros/zorros-deploy.png?branch=master)](http://travis-ci.org/Zorros/zorros-deploy) That's only a sample gem done to show the Zorros people how to create a small gem. It's only purpose is to add a tag to the git repository of a project each time it's deployed with capist...
Add build status from travis-ci
Add build status from travis-ci
Markdown
mit
Zorros/zorros-deploy
markdown
## Code Before: That's only a sample gem done to show the Zorros people how to create a small gem. It's only purpose is to add a tag to the git repository of a project each time it's deployed with capistrano. It heavily follows our way of working so it will probably **not fit for you**. But if it does, please, feel ...
6fecfd5d475fb769a0d90926b898f7014714f8bc
Services/Twilio/InstanceResource.php
Services/Twilio/InstanceResource.php
<?php /** * Abstraction of an instance resource from the Twilio API. * * @category Services * @package Services_Twilio * @author Neuman Vong <neuman@twilio.com> * @license http://creativecommons.org/licenses/MIT/ MIT * @link http://pear.php.net/package/Services_Twilio */ abstract class Services_Twilio...
<?php /** * Abstraction of an instance resource from the Twilio API. * * @category Services * @package Services_Twilio * @author Neuman Vong <neuman@twilio.com> * @license http://creativecommons.org/licenses/MIT/ MIT * @link http://pear.php.net/package/Services_Twilio */ abstract class Services_Twilio...
Make POST request when updating object
Make POST request when updating object
PHP
mit
MartinAmps/twilio-php,javierwilson/twilio-php,FTrubitz/twilio-php,beachboysapp/urgentMe,twilio/twilio-php,Git-Host/twilio-php,pablophg/twilio-php,sayan801/twilio-php,achoe/twilio-php,beachboysapp/urgentMe
php
## Code Before: <?php /** * Abstraction of an instance resource from the Twilio API. * * @category Services * @package Services_Twilio * @author Neuman Vong <neuman@twilio.com> * @license http://creativecommons.org/licenses/MIT/ MIT * @link http://pear.php.net/package/Services_Twilio */ abstract class...
f52aff42a892b444123fbcf050897739f1217143
css/style.css
css/style.css
HTML CSS JS Result Edit on body{ text-align: center; background: #00ECB9; font-family: sans-serif; font-weight: 100; } h1{ color: #396; font-weight: 100; font-size: 40px; margin: 40px 0px 20px; } #clockdiv{ font-family: sans-serif; color: #fff; display: inline-block; font-weight...
HTML CSS JS Result Edit on body{ text-align: center; background: #00ECB9; font-family: sans-serif; font-weight: 100; } h1{ color: #396; font-weight: 100; font-size: 40px; margin: 40px 0px 20px; } #clockdiv{ font-family: sans-serif; color: #fff; display: inline-block; font-weight...
Change colors, fonts and cursor for clickable objects
Change colors, fonts and cursor for clickable objects
CSS
mit
HoodyMac/Timer,HoodyMac/Timer
css
## Code Before: HTML CSS JS Result Edit on body{ text-align: center; background: #00ECB9; font-family: sans-serif; font-weight: 100; } h1{ color: #396; font-weight: 100; font-size: 40px; margin: 40px 0px 20px; } #clockdiv{ font-family: sans-serif; color: #fff; display: inline-block;...
babb94bcdc01072a2b93efba39e18c17d61c6893
README.md
README.md
This program converts OpenDocument text files to XHTML. Copyright (C) 2006 J. David Eisenberg This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your op...
$ odt2html [OPTIONS] ## Available options Option | Description --------------- | ------------- --in [PATH] | Path to input file(required) --out [PATH] | Path to output file(output to STDOUT if not provided) --css [PATH] | Path to css file(css in header if not provided) --images [PATH] | Path t...
Update readme and include usage guide
Update readme and include usage guide
Markdown
lgpl-2.1
imanel/odt2html
markdown
## Code Before: This program converts OpenDocument text files to XHTML. Copyright (C) 2006 J. David Eisenberg This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License...
86ce0733255970718e4fb9410a5cff9fa38b323e
src/test/jmeter/url-list.txt
src/test/jmeter/url-list.txt
http://hoantran-it.blogspot.com/ https://www.linkedin.com/in/hoantranit/ https://github.com/hoantran-it
http://hoantran-it.blogspot.com/ https://github.com/hoantran-it
Update cvs file for url input
Update cvs file for url input
Text
apache-2.0
hoantran-it/jmeter-webload-example
text
## Code Before: http://hoantran-it.blogspot.com/ https://www.linkedin.com/in/hoantranit/ https://github.com/hoantran-it ## Instruction: Update cvs file for url input ## Code After: http://hoantran-it.blogspot.com/ https://github.com/hoantran-it
8a00e5cd43e4e088a91f97a7778cf89541d1abb9
plugin/tmuxcomplete.vim
plugin/tmuxcomplete.vim
if exists("g:loaded_tmux_complete") || &cp || v:version < 700 finish endif let g:loaded_tmux_complete = '0.0.1' " version number let s:save_cpoptions = &cpoptions set cpo&vim " Deprecated completion function " use tmuxcomplete#complete function! CompleteScript(findstart, base) return tmuxcomplete#complete(a:fi...
if exists("g:loaded_tmux_complete") || &cp || v:version < 700 finish endif let g:loaded_tmux_complete = '0.0.1' " version number set completefunc=tmuxcomplete#complete
Remove function CompleteScript and cpoptions
Remove function CompleteScript and cpoptions
VimL
mit
wellle/tmux-complete.vim,wilywampa/tmux-complete.vim,wellle/tmux-complete.vim,wilywampa/tmux-complete.vim
viml
## Code Before: if exists("g:loaded_tmux_complete") || &cp || v:version < 700 finish endif let g:loaded_tmux_complete = '0.0.1' " version number let s:save_cpoptions = &cpoptions set cpo&vim " Deprecated completion function " use tmuxcomplete#complete function! CompleteScript(findstart, base) return tmuxcomple...
8ea896e3290d441e6025822cc4e67b2fd86c3a8c
social_django/compat.py
social_django/compat.py
import six import django from django.db import models try: from django.urls import reverse except ImportError: from django.core.urlresolvers import reverse if django.VERSION >= (1, 10): from django.utils.deprecation import MiddlewareMixin else: MiddlewareMixin = object def get_rel_model(field): ...
import six import django from django.db import models try: from django.urls import reverse except ImportError: from django.core.urlresolvers import reverse try: from django.utils.deprecation import MiddlewareMixin except ImportError: MiddlewareMixin = object def get_rel_model(field): if django....
Remove version check in favor of import error check
Remove version check in favor of import error check
Python
bsd-3-clause
python-social-auth/social-app-django,python-social-auth/social-app-django,python-social-auth/social-app-django
python
## Code Before: import six import django from django.db import models try: from django.urls import reverse except ImportError: from django.core.urlresolvers import reverse if django.VERSION >= (1, 10): from django.utils.deprecation import MiddlewareMixin else: MiddlewareMixin = object def get_rel_mo...
2dd018c9324247c4648700719531d022b18751a8
.travis.databases.json
.travis.databases.json
[ {"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql", "use_unicode": true}, {"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql2" } {"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql", "use_unicode": true, "load_local": true}, ]
[ {"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql", "use_unicode": true}, {"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql2" }, {"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql", "load_local": true} ]
Fix connection entry for load local tests
Fix connection entry for load local tests
JSON
mit
yeyinzhu3211/PyMySQL,lzedl/PyMySQL,eibanez/PyMySQL,modulexcite/PyMySQL,MartinThoma/PyMySQL,xjzhou/PyMySQL,pulsar314/Tornado-MySQL,eibanez/PyMySQL,PyMySQL/PyMySQL,mosquito/Tornado-MySQL,NunoEdgarGub1/PyMySQL,Geoion/Tornado-MySQL,nju520/PyMySQL,wraziens/PyMySQL,yeyinzhu3211/PyMySQL,methane/PyMySQL,boneyao/PyMySQL,pymysql...
json
## Code Before: [ {"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql", "use_unicode": true}, {"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql2" } {"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql", "use_unicode": true, "load_local": true}, ...
a486227a24b9f56ad7662cdb808d0d77d4a851fa
README.md
README.md
[![npm version](https://badge.fury.io/js/react-apollo.svg)](https://badge.fury.io/js/apollo-client) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack) [![Build Status](https://travis-ci.org/apollostack/react-apollo.svg?branch=master)](https://travis-ci.org/apollost...
[![npm version](https://badge.fury.io/js/react-apollo.svg)](https://badge.fury.io/js/react-apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack) [![Build Status](https://travis-ci.org/apollostack/react-apollo.svg?branch=master)](https://travis-ci.org/apollosta...
Update the link on npm badge
Update the link on npm badge
Markdown
mit
apollographql/react-apollo,apollostack/react-apollo,apollographql/react-apollo,apollostack/react-apollo
markdown
## Code Before: [![npm version](https://badge.fury.io/js/react-apollo.svg)](https://badge.fury.io/js/apollo-client) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack) [![Build Status](https://travis-ci.org/apollostack/react-apollo.svg?branch=master)](https://travis...
198b1c75fff8c1007685669cdfbe3aff5fb99fc9
index.php
index.php
<?php require("bin/fw.php"); define('N', "\n"); define('BR', "<br />"); define('BRN', "<br />\n"); # plg_visitor echo "You are using ".browserName." ver ".browserVer." on ".platformFamily." ".(is64bit ? "64 bit" : "32 bit")." from ".getIP().BRN; # plg_dump $arr = array("Defined Variables"=>get_defined_vars(), "...
<?php require("bin/fw.php"); define('N', "\n"); define('BR', "<br />"); define('BRN', "<br />\n"); # plg_visitor echo "You are using ".browserName." ver ".browserVer." on ".platformFamily." ".(is64bit ? "64 bit" : "32 bit")." from ".getIP().BRN; # plg_dump $arr = array("Defined Variables"=>get_defined_vars(), "...
Update ver 0.1 Beta (Build 9) plg_system examples
Update ver 0.1 Beta (Build 9) plg_system examples
PHP
lgpl-2.1
jessicakennedy1028/Framework,jessicakennedy1028/Framework
php
## Code Before: <?php require("bin/fw.php"); define('N', "\n"); define('BR', "<br />"); define('BRN', "<br />\n"); # plg_visitor echo "You are using ".browserName." ver ".browserVer." on ".platformFamily." ".(is64bit ? "64 bit" : "32 bit")." from ".getIP().BRN; # plg_dump $arr = array("Defined Variables"=>get_d...
c67694378f086797a2d0b0d53b9a40659dbdd88f
README.md
README.md
With Httpq, you can buffer HTTP requests and replay them later, and either Redis or BoltDB can be used for persistence. This is useful for buffering HTTP requests that do not have to be processed in realtime, such as webhooks. ## Installation ```shell $ go install github.com/DavidHuie/httpq/cmd/httpq ``` ## Using R...
With Httpq, you can buffer HTTP requests and replay them later, and persistence can be either to Redis or to disk. This is useful for buffering HTTP requests that do not have to be processed in realtime, such as webhooks. ## Installation ```shell $ go install github.com/DavidHuie/httpq/cmd/httpq ``` ## Using Redis ...
Remove reference to BoltDB in readme
Remove reference to BoltDB in readme If you're not a developer, the fact that Httpq is built with BoltDB is meaningless.
Markdown
mit
DavidHuie/httpq
markdown
## Code Before: With Httpq, you can buffer HTTP requests and replay them later, and either Redis or BoltDB can be used for persistence. This is useful for buffering HTTP requests that do not have to be processed in realtime, such as webhooks. ## Installation ```shell $ go install github.com/DavidHuie/httpq/cmd/httpq...
91fbc75f9f031336cda1de3b52548d9482697a6a
README.md
README.md
``` ________ ______ _________ ___ __ \______ ___ /____ ________ /___________ ____ __ __ /_/ /_ __ \__ /__ / / /_ __ /__ __/ __ `/__ | /| / / _ ____/ / /_/ /_ / _ /_/ / / /_/ / _ / / /_/ / __ |/ |/ / /_/ \____/ /_/ _\__, / \__,_/ /_/ \__,_/ ____/|__/ /...
``` ___________ ______ _________ ______ __ \______ ___ /____ ________ /___________ ____ __ _____ /_/ /_ __ \__ /__ / / /_ __ /__ __/ __ `/__ | /| / / ____ ____/ / /_/ /_ / _ /_/ / / /_/ / _ / / /_/ / __ |/ |/ / /_/ \____/ /_/ _\__, / \__,_/ /_/ \__,_/ __...
Modify the initial letter of the ascii art text
Modify the initial letter of the ascii art text
Markdown
mit
polydraw/polydraw
markdown
## Code Before: ``` ________ ______ _________ ___ __ \______ ___ /____ ________ /___________ ____ __ __ /_/ /_ __ \__ /__ / / /_ __ /__ __/ __ `/__ | /| / / _ ____/ / /_/ /_ / _ /_/ / / /_/ / _ / / /_/ / __ |/ |/ / /_/ \____/ /_/ _\__, / \__,_/ /_/ \__,_/ ____/|__/ ...
dfd3111d856ec92c8ef7314a26c506e6dc372822
devstep.yml
devstep.yml
working_dir: '/home/devstep/gocode/src/github.com/fgrehm/devstep-cli' privileged: true volumes: - '{{env "HOME"}}/devstep/development/docker:/var/lib/docker' - '/usr/bin/gh:/home/devstep/bin/gh' - '{{env "HOME"}}/.config/gh:/home/devstep/.config/gh' commands: go: # No custom options make: # No custom ...
working_dir: '/home/devstep/gocode/src/github.com/fgrehm/devstep-cli' privileged: true volumes: - '{{env "HOME"}}/devstep/development/docker:/var/lib/docker' - '/usr/bin/gh:/home/devstep/bin/gh' - '{{env "HOME"}}/.config/gh:/home/devstep/.config/gh' commands: go: # No custom options make: # No custom ...
Remove unused release custom command
Remove unused release custom command
YAML
mit
fgrehm/devstep-cli,fgrehm/devstep-cli
yaml
## Code Before: working_dir: '/home/devstep/gocode/src/github.com/fgrehm/devstep-cli' privileged: true volumes: - '{{env "HOME"}}/devstep/development/docker:/var/lib/docker' - '/usr/bin/gh:/home/devstep/bin/gh' - '{{env "HOME"}}/.config/gh:/home/devstep/.config/gh' commands: go: # No custom options make: ...
60ef06f016f5a9cc20eb8f46fe984437132cb739
src/js/source/view.jsx
src/js/source/view.jsx
import React from "react"; import SourceCode from "./code.jsx"; let SourceView = React.createClass({ scrollIntoView: function() { var element = null; if (element = document.getElementById('l' + (this.props.start - 5))) { element.scrollIntoView(); } }, componentDidMou...
import React from "react"; import jQuery from "jquery"; import SourceCode from "./code.jsx"; let SourceView = React.createClass({ scrollIntoView: function() { var element = null; if (element = document.getElementById('l' + (this.props.start - 5))) { jQuery("html, body").animate({ ...
Use jQuery for more consistent scrolling behaviour
Use jQuery for more consistent scrolling behaviour
JSX
agpl-3.0
Qafoo/QualityAnalyzer,Qafoo/QualityAnalyzer,Qafoo/QualityAnalyzer,Qafoo/QualityAnalyzer
jsx
## Code Before: import React from "react"; import SourceCode from "./code.jsx"; let SourceView = React.createClass({ scrollIntoView: function() { var element = null; if (element = document.getElementById('l' + (this.props.start - 5))) { element.scrollIntoView(); } }, ...
1b5ca7cd9f691fdfeb2d131716ead432f2cae7ca
lib/dropdown.rb
lib/dropdown.rb
require 'dropdown/processor' require 'dropdown/output_store' require 'dropdown/markdown_renderer'
require_relative 'dropdown/processor' require_relative 'dropdown/output_store' require_relative 'dropdown/markdown_renderer'
Change the require to require relative
Change the require to require relative
Ruby
mit
brilliantfantastic/dropdown
ruby
## Code Before: require 'dropdown/processor' require 'dropdown/output_store' require 'dropdown/markdown_renderer' ## Instruction: Change the require to require relative ## Code After: require_relative 'dropdown/processor' require_relative 'dropdown/output_store' require_relative 'dropdown/markdown_renderer'
93cfb36fe3b4d1f85180976eb0ffeb76005bb4b5
karma.conf.js
karma.conf.js
module.exports = function(config) { var configuration = { client: { captureConsole: false }, plugins: [ 'karma-chai', 'karma-sinon', 'karma-mocha', 'karma-chrome-launcher' ], frameworks: ['mocha', 'sinon', 'chai']...
module.exports = function(config) { var configuration = { client: { captureConsole: false }, plugins: [ 'karma-chai', 'karma-sinon', 'karma-mocha', 'karma-chrome-launcher' ], frameworks: ['mocha', 'sinon', 'chai']...
Add GUI support for Travis
Add GUI support for Travis
JavaScript
mit
vitorabner/decoraki,vitorabner/decoraki
javascript
## Code Before: module.exports = function(config) { var configuration = { client: { captureConsole: false }, plugins: [ 'karma-chai', 'karma-sinon', 'karma-mocha', 'karma-chrome-launcher' ], frameworks: ['mocha', ...
63fc7c0f1c1b0b250b546c61f79f9e921200e7e0
core/db/migrate/20130328130308_update_shipment_state_for_canceled_orders.rb
core/db/migrate/20130328130308_update_shipment_state_for_canceled_orders.rb
class UpdateShipmentStateForCanceledOrders < ActiveRecord::Migration def up Spree::Shipment.joins(:order).where("spree_orders.state = 'canceled'").update_all("spree_shipments.state = 'canceled'") end def down end end
class UpdateShipmentStateForCanceledOrders < ActiveRecord::Migration def up Spree::Shipment.joins(:order).where("spree_orders.state = 'canceled'").update_all(state: 'canceled') end def down end end
Revert "Fix ambiguous column name in UpdateShipmentStateForCanceledOrders"
Revert "Fix ambiguous column name in UpdateShipmentStateForCanceledOrders" This reverts commit 0c04aade284df9eb06adee5fb6fb3b9db5d4f43a. rake test_app was getting SQLite3::SQLException: near ".": syntax error
Ruby
bsd-3-clause
Machpowersystems/spree_mach,orenf/spree,APohio/spree,Senjai/solidus,rajeevriitm/spree,alejandromangione/spree,firman/spree,archSeer/spree,keatonrow/spree,sfcgeorge/spree,project-eutopia/spree,vulk/spree,mindvolt/spree,urimikhli/spree,odk211/spree,rbngzlv/spree,ckk-scratch/solidus,athal7/solidus,yiqing95/spree,dotandbo/...
ruby
## Code Before: class UpdateShipmentStateForCanceledOrders < ActiveRecord::Migration def up Spree::Shipment.joins(:order).where("spree_orders.state = 'canceled'").update_all("spree_shipments.state = 'canceled'") end def down end end ## Instruction: Revert "Fix ambiguous column name in UpdateShipmentStateFo...
e572631ff0aed01c0520007c76d021f1f82713eb
lib/backup/finder.rb
lib/backup/finder.rb
module Backup class Finder attr_accessor :trigger, :config ## # Initializes a new Backup::Finder object # and stores the path to the configuration file def initialize(trigger, config) @trigger = trigger.to_sym @config = config end ## # Tries to find and load the configu...
module Backup class Finder attr_accessor :trigger, :config ## # Initializes a new Backup::Finder object # and stores the path to the configuration file def initialize(trigger, config) @trigger = trigger.to_sym @config = config end ## # Tries to find and load the configu...
Support require with relative path (from current file) in Backup config files.
Support require with relative path (from current file) in Backup config files. Without giving the second and third args, the string-based instance_eval doesn't provide valid __FILE__ and __LINE__ references within the backup config file. Useful for building a relative path, among other things.
Ruby
mit
tian-xiaobo/backup,scalp42/backup,rics3n/backup,bernd/backup,martincik/backup,otzy007/backup,interu/backup,pawelduda/backup,rics3n/backup,scalp42/backup,zires/backup,pawelduda/backup,reedloden/backup,pollosp/backup,reedloden/backup,bernd/backup,zBMNForks/backup,ccoenen/backup,tian-xiaobo/backup,ccoenen/backup,square/ba...
ruby
## Code Before: module Backup class Finder attr_accessor :trigger, :config ## # Initializes a new Backup::Finder object # and stores the path to the configuration file def initialize(trigger, config) @trigger = trigger.to_sym @config = config end ## # Tries to find and ...
eb44d1959620a4f19a1cb015892dc296ae0da993
spec/views/events/edit.html.erb_spec.rb
spec/views/events/edit.html.erb_spec.rb
require 'rails_helper' RSpec.describe "events/edit", type: :view do before(:each) do @event = assign(:event, FactoryGirl.create(:event)) end it "renders the edit event form" do render assert_select "form[action=?][method=?]", event_path(@event), "post" do assert_select "input#event_name[name=...
require 'rails_helper' RSpec.describe "events/edit", type: :view do before(:each) do @event = assign(:event, FactoryGirl.create(:event)) end it "renders the edit event form" do render assert_select "form[action=?][method=?]", event_path(@event), "post" do assert_select "input#event_name[name=...
Add test that asserts that the new fields appear as optional
Add test that asserts that the new fields appear as optional
Ruby
mit
hpi-swt2/workshop-portal,hpi-schuelerklub/workshop-portal,hpi-schuelerklub/workshop-portal,hpi-schuelerklub/workshop-portal,hpi-swt2/workshop-portal,hpi-swt2/workshop-portal
ruby
## Code Before: require 'rails_helper' RSpec.describe "events/edit", type: :view do before(:each) do @event = assign(:event, FactoryGirl.create(:event)) end it "renders the edit event form" do render assert_select "form[action=?][method=?]", event_path(@event), "post" do assert_select "input#...
f38f9d663b483fcb28b9b854b72016e9f7048f4a
README.md
README.md
Flights search using QPX API and Google App Script
Flights search using QPX API and Google App Script. Поиск авиа-рейсов с помощью QPX API и Google App Script. Как использовать написано ниже. ## How-to in English * Google QPX API Key 1. Obtain API key for QPX API. Instruction [here](https://developers.google.com/qpx-express/v1/prereqs). * Setup Google App Script ...
Add how-to guide in English
Add how-to guide in English
Markdown
mit
MatveiFisenko/flights-search-qpx-gas
markdown
## Code Before: Flights search using QPX API and Google App Script ## Instruction: Add how-to guide in English ## Code After: Flights search using QPX API and Google App Script. Поиск авиа-рейсов с помощью QPX API и Google App Script. Как использовать написано ниже. ## How-to in English * Google QPX API Key 1. Obt...
61e05ce25276eb4640abd4c2ab8880c8457b528e
_config.yml
_config.yml
name: Ramblings of a Dev description: Blogging about code stuff meta_description: "Ramblings of a Dev, Blogging about code stuff" aboutPage: false markdown: redcarpet highlighter: pygments paginate: 20 baseurl: / domain_name: 'http://mitchel.me' google_analytics: 'UA-51952407-2' disqus: true disqus_shortname: 'mitch...
name: Ramblings of a Code Author description: This blog used to be about programming meta_description: "Ramblings of a Code Author, This blog used to be about programming" aboutPage: false markdown: redcarpet highlighter: pygments paginate: 20 baseurl: / domain_name: 'http://mitchel.me' google_analytics: 'UA-5195240...
Update blog title and description
Update blog title and description
YAML
mit
mixxorz/mixxorz.github.io,mixxorz/mixxorz.github.io,mixxorz/mixxorz.github.io
yaml
## Code Before: name: Ramblings of a Dev description: Blogging about code stuff meta_description: "Ramblings of a Dev, Blogging about code stuff" aboutPage: false markdown: redcarpet highlighter: pygments paginate: 20 baseurl: / domain_name: 'http://mitchel.me' google_analytics: 'UA-51952407-2' disqus: true disqus_s...
fd4bc228c978019a7251fefe2c92899a16b8f95d
demosys/scene/shaders.py
demosys/scene/shaders.py
from pyrr import Matrix33 class MeshShader: def __init__(self, shader): self.shader = shader def draw(self, mesh, proj_mat, view_mat): """Minimal draw function. Should be overridden""" mesh.vao.bind(self.shader) self.shader.uniform_mat4("m_proj", proj_mat) self.shader...
from pyrr import Matrix33 class MeshShader: def __init__(self, shader, **kwargs): self.shader = shader def draw(self, mesh, proj_mat, view_mat): """Minimal draw function. Should be overridden""" mesh.vao.bind(self.shader) self.shader.uniform_mat4("m_proj", proj_mat) s...
Allow sending kwars to mesh shader
Allow sending kwars to mesh shader
Python
isc
Contraz/demosys-py
python
## Code Before: from pyrr import Matrix33 class MeshShader: def __init__(self, shader): self.shader = shader def draw(self, mesh, proj_mat, view_mat): """Minimal draw function. Should be overridden""" mesh.vao.bind(self.shader) self.shader.uniform_mat4("m_proj", proj_mat) ...
3f3580702339242b712018a758c94ee9a4cb6f8f
README.md
README.md
Swedbank will eventually remove password login, there will be changes on how to use this when that happen. ## Usage $pip install pyswedbank $swedbank-cli [options] Options: -h, --help show this help message and exit -u username, --username=username U...
Swedbank will eventually remove password login, there will be changes on how to use this when that happen. ## Usage $pip install pyswedbank $swedbank-cli [options] Options: -h, --help show this help message and exit -u username, --username=username U...
Update readme with new libsupport style
Update readme with new libsupport style
Markdown
mit
spaam/swedbank-cli
markdown
## Code Before: Swedbank will eventually remove password login, there will be changes on how to use this when that happen. ## Usage $pip install pyswedbank $swedbank-cli [options] Options: -h, --help show this help message and exit -u username, --username=username ...
cc0aaf363d46e0674d7c9ed46eb34b54d6d6c906
cli/templates/Cargo.toml.hbs
cli/templates/Cargo.toml.hbs
[package] name = "{{project.name.cargo.external}}" version = "{{project.version}}" {{#if project.author}} authors = ["{{project.author}}{{#if project.email}} <{{project.email}}>{{/if}}"] {{/if}} {{#if project.license}} license = "{{project.license}}" {{/if}} build = "build.rs" [lib] name = "{{project.name.cargo.intern...
[package] name = "{{project.name.cargo.external}}" version = "{{project.version}}" {{#if project.author}} authors = ["{{project.author}}{{#if project.email}} <{{project.email}}>{{/if}}"] {{/if}} {{#if project.license}} license = "{{project.license}}" {{/if}} build = "build.rs" exclude = ["artifacts.json", "index.node"]...
Add artifacts.json and index.node to exclude
Add artifacts.json and index.node to exclude This can be removed if workspaces are implemented and the .gitignore file is accurately picked up (https://github.com/neon-bindings/rfcs/pull/4).
Handlebars
apache-2.0
rustbridge/neon,rustbridge/neon,neon-bindings/neon,rustbridge/neon,neon-bindings/neon,rustbridge/neon,dherman/nanny,rustbridge/neon,dherman/nanny,dherman/nanny,dherman/nanny,rustbridge/neon,neon-bindings/neon,neon-bindings/neon
handlebars
## Code Before: [package] name = "{{project.name.cargo.external}}" version = "{{project.version}}" {{#if project.author}} authors = ["{{project.author}}{{#if project.email}} <{{project.email}}>{{/if}}"] {{/if}} {{#if project.license}} license = "{{project.license}}" {{/if}} build = "build.rs" [lib] name = "{{project.n...
091a08a8fe30c3cc00c6b85552e47a1b15b807b8
preferences/views.py
preferences/views.py
from django.shortcuts import render # Create your views here. from registration.views import RegistrationView from registration.forms import RegistrationFormUniqueEmail class EmailRegistrationView(RegistrationView): form_class = RegistrationFormUniqueEmail
from django.shortcuts import render from django.views.generic.edit import FormView from registration.forms import RegistrationFormUniqueEmail from registration.backends.default.views import RegistrationView from preferences.forms import PreferencesForm class EmailRegistrationView(RegistrationView): form_class ...
Add userprefs and email reg view
Add userprefs and email reg view
Python
mit
jamesturk/tot,jamesturk/tot,jamesturk/tot,jamesturk/tot,jamesturk/tot
python
## Code Before: from django.shortcuts import render # Create your views here. from registration.views import RegistrationView from registration.forms import RegistrationFormUniqueEmail class EmailRegistrationView(RegistrationView): form_class = RegistrationFormUniqueEmail ## Instruction: Add userprefs and email...
a2a53b05df23af123fb342089e7a44fa24f8d0f9
app/views/projects/_search.erb
app/views/projects/_search.erb
<div class="project-form row"> <%= form_tag projects_results_path, :method => :get do %> <div class="form-field input-field col m5 s12"> <%= label_tag(:search, "Zip Code:") %> <%= text_field_tag :search, params[:search] %> </div> <div class="form-field input-field col m5 s12"> <%= label_tag(:distanc...
<div class="project-form row"> <%= form_tag projects_results_path, :method => :get, id: 'project_search_form' do %> <div class="form-field input-field col m5 s12"> <%= label_tag(:search, "Zip Code:") %> <%= text_field_tag :search, params[:search] %> </div> <div class="form-field input-field col m5 s12">...
Add id to search form
Add id to search form
HTML+ERB
mit
Jguzik83/the-hive,nyc-bumblebees-2015/the-hive,AlinaJahnes/the-hive,nyc-bumblebees-2015/the-hive,ChristineSchatz/the-hive,AlinaJahnes/the-hive,ChristineSchatz/the-hive,AlinaJahnes/the-hive,Jguzik83/the-hive,ChristineSchatz/the-hive,nyc-bumblebees-2015/the-hive,Jguzik83/the-hive
html+erb
## Code Before: <div class="project-form row"> <%= form_tag projects_results_path, :method => :get do %> <div class="form-field input-field col m5 s12"> <%= label_tag(:search, "Zip Code:") %> <%= text_field_tag :search, params[:search] %> </div> <div class="form-field input-field col m5 s12"> <%= la...
c8fe7a6d7b0844f403c3adfac3a10f0db9868ad2
locales/cak/encrypt.properties
locales/cak/encrypt.properties
update_my_info=Tik'ex wtamab'al signup_header_variant_a=Yatok jun ch'akonel pa ewan rusik'ixik join_the_convo=Tatunu' awi' pa ri Tzijonem take_the_pledge=Tichap ri Sujïk become_champ=Yatok jun Ch'akonel pan Ewan Rusik'ixik sign_now=Titikirisäx molojri'ïl wakami thank_you=¡Matyox! share_this_now=Tikomonïx Re Re' Wakami ...
update_my_info=Tik'ex wtamab'al signup_header_variant_a=Yatok jun ch'akonel pa ewan rusik'ixik join_the_convo=Tatunu' awi' pa ri Tzijonem take_the_pledge=Tichap ri Sujïk become_champ=Yatok jun Ch'akonel pan Ewan Rusik'ixik sign_now=Titikirisäx molojri'ïl wakami thank_you=¡Matyox! share_this_now=Tikomonïx Re Re' Wakami ...
Update Kaqchikel (cak) localization of Mozilla Advocacy
Pontoon: Update Kaqchikel (cak) localization of Mozilla Advocacy Localization authors: - Juan Esteban Ajsivinac Sián <ajtzibsyan@yahoo.com>
INI
mpl-2.0
mozilla/advocacy.mozilla.org
ini
## Code Before: update_my_info=Tik'ex wtamab'al signup_header_variant_a=Yatok jun ch'akonel pa ewan rusik'ixik join_the_convo=Tatunu' awi' pa ri Tzijonem take_the_pledge=Tichap ri Sujïk become_champ=Yatok jun Ch'akonel pan Ewan Rusik'ixik sign_now=Titikirisäx molojri'ïl wakami thank_you=¡Matyox! share_this_now=Tikomonï...
80ef7778b6ba7688bd88c01ffbed8ab0058ef480
packages/nu/numeric-ranges.yaml
packages/nu/numeric-ranges.yaml
homepage: http://github.com/nicodelpiano/ranges changelog-type: '' hash: 2b7c76febb15854164c8c7079735bedb2692a7756d8b89fef44237b90bcb2e79 test-bench-deps: base: ! '>=4.7 && <4.8' hspec: ==2.* HUnit: ! '>=1.2' numeric-ranges: -any QuickCheck: ! '>=2.7' maintainer: ndel314@gmail.com synopsis: A framework for nu...
homepage: http://github.com/nicodelpiano/numeric-ranges changelog-type: '' hash: 68b2a84c67b84bfe3cc3e7f4f2b0fafcd8e0741d4a3c57359f4437bb8824ea07 test-bench-deps: base: ! '>=4.7 && <4.8' hspec: ==2.* HUnit: ! '>=1.2' numeric-ranges: -any QuickCheck: ! '>=2.7' maintainer: ndel314@gmail.com synopsis: A framewor...
Update from Hackage at 2016-01-06T14:15:59+0000
Update from Hackage at 2016-01-06T14:15:59+0000
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: http://github.com/nicodelpiano/ranges changelog-type: '' hash: 2b7c76febb15854164c8c7079735bedb2692a7756d8b89fef44237b90bcb2e79 test-bench-deps: base: ! '>=4.7 && <4.8' hspec: ==2.* HUnit: ! '>=1.2' numeric-ranges: -any QuickCheck: ! '>=2.7' maintainer: ndel314@gmail.com synopsis: A ...
f2922c9b3a63f035e20efae99a9fd3ba2e5c3b6d
oscar/templates/oscar/catalogue/partials/stock_record.html
oscar/templates/oscar/catalogue/partials/stock_record.html
{% load currency_filters %} {% load i18n %} {% if product.is_group %} <h2 class="price_color">{% blocktrans with product.min_variant_price_incl_tax|currency as price %}From {{ price }}{% endblocktrans %}</h2> {% else %} <h2 class="price_color">{{ product.stockrecord.price_incl_tax|currency }}</h2> {% endif %} ...
{% load currency_filters %} {% load i18n %} {% if product.is_group %} <h2 class="price_color">{% blocktrans with product.min_variant_price_incl_tax|currency as price %}From {{ price }}{% endblocktrans %}</h2> {% else %} <h2 class="price_color">{{ product.stockrecord.price_incl_tax|currency }}</h2> {% endif %} ...
Handle group products in stockrecord template partial
Handle group products in stockrecord template partial Before this, group products were always shown as unavailable as they didn't have a stockrecord - even though their variant products did.
HTML
bsd-3-clause
elliotthill/django-oscar,anentropic/django-oscar,nfletton/django-oscar,Bogh/django-oscar,WadeYuChen/django-oscar,itbabu/django-oscar,dongguangming/django-oscar,jinnykoo/wuyisj,taedori81/django-oscar,jinnykoo/wuyisj.com,bnprk/django-oscar,mexeniz/django-oscar,eddiep1101/django-oscar,jlmadurga/django-oscar,manevant/djang...
html
## Code Before: {% load currency_filters %} {% load i18n %} {% if product.is_group %} <h2 class="price_color">{% blocktrans with product.min_variant_price_incl_tax|currency as price %}From {{ price }}{% endblocktrans %}</h2> {% else %} <h2 class="price_color">{{ product.stockrecord.price_incl_tax|currency }}</...
0fc6b805162019fae50a70316d1f6fb60ec0d547
styles/main.css
styles/main.css
html, body { height: 100vh; margin: 0; padding: 0; font-size: 24px; background-color: #444444; } [data-slide] { height: 100vh; } body * { color: #EEEEEE; } #archive-holder { position: absolute; bottom: 0; } .title { padding-top: 24px; } .title-only { text-align: right; ...
html, body { height: 100vh; margin: 0; padding: 0; font-size: 24px; background-color: #444444; } [data-slide] { height: 100vh; } body * { color: #EEEEEE; } #archive-holder { position: absolute; bottom: 0; } .title { padding-top: 32px; padding-bottom: 24px; border-bott...
Add a separator between slide title and content
Add a separator between slide title and content
CSS
apache-2.0
tfKamran/trainings,tfKamran/trainings
css
## Code Before: html, body { height: 100vh; margin: 0; padding: 0; font-size: 24px; background-color: #444444; } [data-slide] { height: 100vh; } body * { color: #EEEEEE; } #archive-holder { position: absolute; bottom: 0; } .title { padding-top: 24px; } .title-only { text...
2e6934c3f6d3784fd981e64da9e82cc03f251e6a
src/branch_tests.html
src/branch_tests.html
<!doctype html> <html> <head> <title>Tests for Branch</title> </head> <body> <script src="../../closure-library/closure/goog/base.js"></script> <script src="../../closure-library/closure/goog/testing/testcase.js"></script> <script src="../../closure-library/closure/goog/testing/testrunner.js"></script> <scrip...
<!doctype html> <html> <head> <title>Tests for Branch</title> </head> <body> <script src="../../closure-library/closure/goog/base.js"></script> <script src="../../closure-library/closure/goog/testing/testcase.js"></script> <script src="../../closure-library/closure/goog/testing/testrunner.js"></script> <scrip...
Remove utils require from tests
Remove utils require from tests
HTML
mit
BranchMetrics/Smart-App-Banner-Deep-Linking-Web-SDK,BranchMetrics/Smart-App-Banner-Deep-Linking-Web-SDK,BranchMetrics/Smart-App-Banner-Deep-Linking-Web-SDK,BranchMetrics/Smart-App-Banner-Deep-Linking-Web-SDK
html
## Code Before: <!doctype html> <html> <head> <title>Tests for Branch</title> </head> <body> <script src="../../closure-library/closure/goog/base.js"></script> <script src="../../closure-library/closure/goog/testing/testcase.js"></script> <script src="../../closure-library/closure/goog/testing/testrunner.js"></...
e8db186f1ef6bb1dc0eec257f06e2b8197f7f5af
themes/modern/components/home/block_contribute.php
themes/modern/components/home/block_contribute.php
<div class="contact-info-box info-box"> <h1>Contribute to Felix</h1> <p>It's easy and everyone is welcome.</p> <div class="text-center"><button class="button small radius">Get involved</button></div> </div>
<div class="contact-info-box info-box"> <h1>Get involved</h1> <p>It's easy to get involved with Felix, and everyone is welcome.</p> <div class="text-center"><button class="button small radius">Find out how</button></div> </div>
Tidy up the contribute box on the front page
Tidy up the contribute box on the front page
PHP
mit
FelixOnline/FelixOnline,FelixOnline/FelixOnline,FelixOnline/FelixOnline
php
## Code Before: <div class="contact-info-box info-box"> <h1>Contribute to Felix</h1> <p>It's easy and everyone is welcome.</p> <div class="text-center"><button class="button small radius">Get involved</button></div> </div> ## Instruction: Tidy up the con...
533a9f520aa0375c1a7fedbf41d1d8d55ea18f81
CHANGELOG.md
CHANGELOG.md
* integration tests for viewing entries # August 12, commit 8 * finalized adding entry by including friend column * finalized entry_menu_spec and add_entry_spec with friend * add a new friend or choose an existing one from menu ## August 11, commit 7 * fixed main menu spec finally * removed friend from adding entries...
* unit tests for category # August 12, commit 9 * integration tests for viewing entries # August 12, commit 8 * finalized adding entry by including friend column * finalized entry_menu_spec and add_entry_spec with friend * add a new friend or choose an existing one from menu ## August 11, commit 7 * fixed main menu ...
Add unit tests for category
Add unit tests for category
Markdown
mit
rachelself/rectrack
markdown
## Code Before: * integration tests for viewing entries # August 12, commit 8 * finalized adding entry by including friend column * finalized entry_menu_spec and add_entry_spec with friend * add a new friend or choose an existing one from menu ## August 11, commit 7 * fixed main menu spec finally * removed friend fro...
3c02628d8a6438c05ccfa7ce42d5b6b3ead37327
includes/module.lua
includes/module.lua
function module_invoke_all(hook, ...) local result, r = {} for name, m in pairs(ophal.modules) do if m[hook] then -- TODO: Error handling r = m[hook](...) -- call hook implementation if type(r) == 'table' then for k, v in pairs(r) do v.module = name -- register module name ...
function module_invoke_all(hook, ...) local result, r = {} for name, m in pairs(ophal.modules) do if m[hook] then r, err = m[hook](...) -- call hook implementation if err then return nil, err end if type(r) == 'table' then for k, v in pairs(r) do v.module = nam...
Allow hooks to break and return a custom error.
Allow hooks to break and return a custom error.
Lua
agpl-3.0
ophal/core,coinzen/coinage,ophal/core,coinzen/coinage,coinzen/coinage,ophal/core
lua
## Code Before: function module_invoke_all(hook, ...) local result, r = {} for name, m in pairs(ophal.modules) do if m[hook] then -- TODO: Error handling r = m[hook](...) -- call hook implementation if type(r) == 'table' then for k, v in pairs(r) do v.module = name -- regist...
b2e0bb0ade23e3afaea6df29f440bd8bb51d4618
test/url_for_test.rb
test/url_for_test.rb
require "minitest/autorun" $LOAD_PATH.unshift File.expand_path("../lib", __FILE__) require "subdomain_locale/url_for" class UrlForTest < MiniTest::Unit::TestCase module UrlFor def url_for(*args) @actual = args end end include UrlFor include SubdomainLocale::UrlFor def test_does_not_affect_if_...
require "minitest/autorun" $LOAD_PATH.unshift File.expand_path("../lib", __FILE__) require "subdomain_locale/url_for" class UrlForTest < MiniTest::Unit::TestCase module UrlFor def url_for(*args) args end end include UrlFor include SubdomainLocale::UrlFor def test_does_not_affect_if_there_is_n...
Set ivar outside the method
Set ivar outside the method
Ruby
mit
semaperepelitsa/subdomain_locale,semaperepelitsa/subdomain_locale
ruby
## Code Before: require "minitest/autorun" $LOAD_PATH.unshift File.expand_path("../lib", __FILE__) require "subdomain_locale/url_for" class UrlForTest < MiniTest::Unit::TestCase module UrlFor def url_for(*args) @actual = args end end include UrlFor include SubdomainLocale::UrlFor def test_doe...
bd01639c0cea435fe2ec62695fb96ea2bee21221
_includes/expenses/head.html
_includes/expenses/head.html
<head> <meta charset="UTF-8"> <meta http-equiv="Cache-control" content="public"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="keywords" content="Expenses,Expenses Tracker,Spend,Spending,Spending Tracker,Budget,Finance,Mon...
<head> <meta charset="UTF-8"> <meta http-equiv="Cache-control" content="public"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="keywords" content="Expenses,Expenses Tracker,Spend,Spending,Spending Tracker,Budget,Finance,Mon...
Add a smart app banner
Add a smart app banner
HTML
mit
pixyzehn/pixyzehn.github.io,pixyzehn/pixyzehn.github.io,pixyzehn/pixyzehn.github.io
html
## Code Before: <head> <meta charset="UTF-8"> <meta http-equiv="Cache-control" content="public"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="keywords" content="Expenses,Expenses Tracker,Spend,Spending,Spending Tracker,Bu...
8f51c39d895c4602a642fbbc7dc52e7dbd19ffe2
app/models/uom.rb
app/models/uom.rb
class Uom # Pre-defined distance metrics that can be used to define linear distances INCH = 'inch' FEET = 'foot' YARD = 'yard' MILE = 'mile' METER = 'meter' KILOMETER = 'kilometer' # Check to see if a measurement u...
class Uom # Other units UNIT = 'unit' # Pre-defined weight quantities KILOGRAM = 'kilogram' POUND = "pound" SHORT_TON = 'short_ton' TON = SHORT_TON TONNE = "tonne" # Pre-defined area measurements SQUARE_YARD...
Add additional measurement units to Uom to support equipment quantities
Add additional measurement units to Uom to support equipment quantities
Ruby
mit
nycdot/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core
ruby
## Code Before: class Uom # Pre-defined distance metrics that can be used to define linear distances INCH = 'inch' FEET = 'foot' YARD = 'yard' MILE = 'mile' METER = 'meter' KILOMETER = 'kilometer' # Check to see if...
acdb1bbae4941f967687305d9b5434fdd22e987d
.travis.yml
.travis.yml
language: c sudo: required os: - linux env: global: - DEVKITPRO=/opt/devkitpro - DEVKITPPC=${DEVKITPRO}/devkitPPC - GRRLIBVERS=4.3.2 cache: directories: - ${DEVKITPRO} - GRRLIB-${GRRLIBVERS}/GRRLIB before_install: - wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pac...
language: c sudo: required os: - linux env: global: - DEVKITPRO=/opt/devkitpro - DEVKITPPC=${DEVKITPRO}/devkitPPC - GRRLIBVERS=4.3.2 cache: directories: - ${DEVKITPRO} - GRRLIB-${GRRLIBVERS}/GRRLIB before_install: - wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pac...
Simplify package list by using wii-dev group
Simplify package list by using wii-dev group More packages will be installed, but it is simpler to use.
YAML
mit
GRRLIB/GRRMOD
yaml
## Code Before: language: c sudo: required os: - linux env: global: - DEVKITPRO=/opt/devkitpro - DEVKITPPC=${DEVKITPRO}/devkitPPC - GRRLIBVERS=4.3.2 cache: directories: - ${DEVKITPRO} - GRRLIB-${GRRLIBVERS}/GRRLIB before_install: - wget https://github.com/devkitPro/pacman/releases/downlo...
d6497b37ac8d5bc34542d549c515ca70591824b2
app/assets/javascripts/backbone/views/home_view.js.coffee
app/assets/javascripts/backbone/views/home_view.js.coffee
ProjectMonitor.Views ||= {} class ProjectMonitor.Views.HomeView extends Backbone.View tagName: "ol" className: "projects" template: JST["backbone/templates/home"] initialize: (options) -> @_addTileView(tile) for tile in @collection.models @collection.on 'reset', => for cid,view of @subViews ...
ProjectMonitor.Views ||= {} class ProjectMonitor.Views.HomeView extends Backbone.View tagName: "ol" className: "projects" template: JST["backbone/templates/home"] initialize: (options) -> @_addTileView(tile) for tile in @collection.models @collection.on 'reset', => @.tearDownRegisteredSubViews(...
Use coccyx subview tear down helper
Use coccyx subview tear down helper
CoffeeScript
mit
genebygene/projectmonitor,genebygene/projectmonitor,dgodd/projectmonitor,mabounassif/projectmonitor-docker,pivotal/projectmonitor,BuildingSync/projectmonitor,dgodd/projectmonitor,dgodd/projectmonitor,remind101/projectmonitor,BuildingSync/projectmonitor,dgodd/projectmonitor,mabounassif/projectmonitor-docker,BuildingSync...
coffeescript
## Code Before: ProjectMonitor.Views ||= {} class ProjectMonitor.Views.HomeView extends Backbone.View tagName: "ol" className: "projects" template: JST["backbone/templates/home"] initialize: (options) -> @_addTileView(tile) for tile in @collection.models @collection.on 'reset', => for cid,view ...
f9970c3cfca1f082884dd6233a81545b1bc2f198
README.md
README.md
Simple gem for [SyoboiCalendar](http://cal.syoboi.jp/) to search Japanese anime lineup ## Installation ``` $ gem install syoboi_calendar ``` ## Usage ``` require "syoboi_calender" client = SyoboiCalendar.new( :user => "r7kamura", :pass => "********" ) programs = client.search( :first => true, :range => "2...
Simple gem for [SyoboiCalendar](http://cal.syoboi.jp/) to search Japanese anime lineup ## Installation ``` $ gem install syoboi_calendar ``` ## Usage ``` require "syoboi_calender" client = SyoboiCalendar.new( :user => "r7kamura", :pass => "********" ) programs = client.search( :first => true, :range => "2...
Remove paragraph about contributing and add Requirement
Remove paragraph about contributing and add Requirement
Markdown
mit
r7kamura/syoboi_calendar
markdown
## Code Before: Simple gem for [SyoboiCalendar](http://cal.syoboi.jp/) to search Japanese anime lineup ## Installation ``` $ gem install syoboi_calendar ``` ## Usage ``` require "syoboi_calender" client = SyoboiCalendar.new( :user => "r7kamura", :pass => "********" ) programs = client.search( :first => true...
c43436cfdd4a732e0229124df279ac56aad3fd22
intercept.js
intercept.js
$(document).ready(function () { INTERCEPT = (function () { var selectors = {}, observer, register; function register(spec) { if(typeof observer === 'undefined') init(); var selector = spec.selector; if (!spec.new_only) { $(spec.selector).each(function(i, element) { spec.callback(elemen...
INTERCEPT = (function () { var selectors = {}, observer, register; function register(spec) { if(typeof observer === 'undefined') init(); var selector = spec.selector; if (!spec.new_only) { $(spec.selector).each(function(i, element) { spec.callback(element); }); } selectors[selector] = sp...
Remove `ready` callback from module definition
Remove `ready` callback from module definition It is now up to the user to wait to call `register` until `document,body` exists.
JavaScript
mit
L-u-k-e/Intercept
javascript
## Code Before: $(document).ready(function () { INTERCEPT = (function () { var selectors = {}, observer, register; function register(spec) { if(typeof observer === 'undefined') init(); var selector = spec.selector; if (!spec.new_only) { $(spec.selector).each(function(i, element) { spec...
e7c6bd90ac85b61f6e33936285c2adba638e970c
web/app/app.yaml
web/app/app.yaml
application: claslite version: 1 runtime: python api_version: 1 derived_file_type: - python_precompiled handlers: - url: /(robots\.txt|favicon\.ico) static_files: static/\1 upload: static/(.*) - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin - url: /_ah/queue/de...
application: claslite version: 1 runtime: python api_version: 1 derived_file_type: - python_precompiled handlers: - url: /(robots\.txt|favicon\.ico|claslite\.html|css/.*|images/.*|js/.*) static_files: static/\1 upload: static/(.*) - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.p...
Add claslite.html and css/images/js directories to static URL handler
Add claslite.html and css/images/js directories to static URL handler
YAML
unlicense
geary/claslite,geary/claslite,geary/claslite,geary/claslite
yaml
## Code Before: application: claslite version: 1 runtime: python api_version: 1 derived_file_type: - python_precompiled handlers: - url: /(robots\.txt|favicon\.ico) static_files: static/\1 upload: static/(.*) - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin - ur...
58763dbc305e3f08f21d11c576ee53473270c14e
package.json
package.json
{ "name": "hearthstone", "version": "1.1.0", "description": "Utilities for Hearthstone the online card game.", "main": "hearthstone.js", "scripts": { "build": "traceur --dir lib build ", "test": "mocha --compilers js:mocha-traceur --reporter spec test/*.js" }, "bin": { "hslog": "./bin/hslog" ...
{ "name": "hearthstone", "version": "1.1.0", "description": "Utilities for Hearthstone the online card game.", "main": "hearthstone.js", "scripts": { "build": "traceur --dir lib build ", "test": "mocha --compilers js:mocha-traceur --reporter spec test/*.js" }, "bin": { "hslog": "./bin/hslog" ...
Add tail to the list of dependencies.
Add tail to the list of dependencies.
JSON
mit
siuying/node-hearthstone
json
## Code Before: { "name": "hearthstone", "version": "1.1.0", "description": "Utilities for Hearthstone the online card game.", "main": "hearthstone.js", "scripts": { "build": "traceur --dir lib build ", "test": "mocha --compilers js:mocha-traceur --reporter spec test/*.js" }, "bin": { "hslog":...
1afcd140eba886ac0bda26152c0c7f3256289cc3
.bumpversion.cfg
.bumpversion.cfg
[bumpversion] current_version = 0.31.0 commit = True tag = False [bumpversion:file:setup.py] [bumpversion:file:HELP.rst] [bumpversion:file:SeqFindr/seqfindr.py] [bumpversion:file:do_release.sh] [bumpversion:file:docs/conf.py] [bumpversion:file:docs/developer.rst]
[bumpversion] current_version = 0.31.0 commit = True tag = False [bumpversion:file:setup.py] [bumpversion:file:HELP.rst] [bumpversion:file:SeqFindr/seqfindr.py] [bumpversion:file:do_release.sh] [bumpversion:file:docs/conf.py]
Remove file that does not need to be bumped from the config
Remove file that does not need to be bumped from the config
INI
apache-2.0
nbenzakour/SeqFindR,jling90/SeqFindR,BeatsonLab-MicrobialGenomics/SeqFindR,jling90/SeqFindR,BeatsonLab-MicrobialGenomics/SeqFindR,nbenzakour/SeqFindR
ini
## Code Before: [bumpversion] current_version = 0.31.0 commit = True tag = False [bumpversion:file:setup.py] [bumpversion:file:HELP.rst] [bumpversion:file:SeqFindr/seqfindr.py] [bumpversion:file:do_release.sh] [bumpversion:file:docs/conf.py] [bumpversion:file:docs/developer.rst] ## Instruction: Remove file that ...
2281f04152ef74c157e0d74fc0a9f1dddf3ab03f
widgy/contrib/form_builder/templates/widgy/form_builder/uncaptcha/render.html
widgy/contrib/form_builder/templates/widgy/form_builder/uncaptcha/render.html
{% load fusionbox_tags %}{{ field.errors }} <div id="{{ field.html_name }}_container" class="{{field.name}} {{field.html_name}}{% if field.field.required %} required{% endif %}{% if field.errors %} error{% endif %} formField"> <label for="{{ field.id_for_label }}">Uncaptcha: </label> <input type="text" id="{{ field...
{% load fusionbox_tags i18n %}{{ field.errors }} <div id="{{ field.html_name }}_container" class="{{field.name}} {{field.html_name}}{% if field.field.required %} required{% endif %}{% if field.errors %} error{% endif %} formField"> <label for="{{ field.id_for_label }}">{% trans "Uncaptcha:" %}</label> <input type="...
Fix uncaptcha template (Localization and HTML validation)
Fix uncaptcha template (Localization and HTML validation)
HTML
apache-2.0
j00bar/django-widgy,j00bar/django-widgy,j00bar/django-widgy
html
## Code Before: {% load fusionbox_tags %}{{ field.errors }} <div id="{{ field.html_name }}_container" class="{{field.name}} {{field.html_name}}{% if field.field.required %} required{% endif %}{% if field.errors %} error{% endif %} formField"> <label for="{{ field.id_for_label }}">Uncaptcha: </label> <input type="te...
0997f766de9886d6b20d6951b806048a881c2c78
README.md
README.md
storjtorrent ============ Wrapper for libtorrent python bindings
StorjTorrent is a wrapper library for libtorrent's Python bindings. It allows Storj packages to create torrents, seed files to other Storj nodes, and retrieve files using their hashes. # Building You will need to ensure [Boost](http://www.boost.org/) is properly installed so you can properly build and install `libto...
Add multi-OS build instructions for libtorrent and python bindings.
Add multi-OS build instructions for libtorrent and python bindings.
Markdown
mit
Storj/storjtorrent
markdown
## Code Before: storjtorrent ============ Wrapper for libtorrent python bindings ## Instruction: Add multi-OS build instructions for libtorrent and python bindings. ## Code After: StorjTorrent is a wrapper library for libtorrent's Python bindings. It allows Storj packages to create torrents, seed files to other Sto...
4fd81b035b8cfa2cb3045b7f061285f24ac1a16e
docs/views/examples/confirmation-page.html
docs/views/examples/confirmation-page.html
{% extends "layout.html" %} {% block pageTitle %} Confirmation page example {% endblock %} {% block content %} <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <div class="govuk-box-highlight"> <h1 class="govuk-heading-xl"> Application complete </h1> ...
{% extends "layout.html" %} {% block pageTitle %} Confirmation page example {% endblock %} {% block content %} <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <div class="govuk-panel govuk-panel--confirmation"> <h2 class="govuk-panel__title">Application complete</h2> ...
Update confirmation page to use panel component
Update confirmation page to use panel component
HTML
mit
alphagov/govuk_prototype_kit,dwpdigitaltech/hrt-prototype,alphagov/govuk_prototype_kit,dwpdigitaltech/hrt-prototype,alphagov/govuk_prototype_kit,dwpdigitaltech/hrt-prototype
html
## Code Before: {% extends "layout.html" %} {% block pageTitle %} Confirmation page example {% endblock %} {% block content %} <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <div class="govuk-box-highlight"> <h1 class="govuk-heading-xl"> Application complete ...
e32856d08454650f0aec60409125448a58ed6159
src/bin/e_error.h
src/bin/e_error.h
{ \ char __tmpbuf[PATH_MAX]; \ \ snprintf(__tmpbuf, sizeof(__tmpbuf), ##args); \ e_error_message_show_internal(__tmpbuf); \ } #else #ifndef E_ERROR_H #define E_ERROR_H EAPI void e_error_message_show_internal(char *txt); #endif #endif
{ \ char __tmpbuf[PATH_MAX]; \ \ snprintf(__tmpbuf, sizeof(__tmpbuf), ##args); \ e_error_message_show_internal(__tmpbuf); \ } while (0) #else #ifndef E_ERROR_H #define E_ERROR_H EAPI void e_error_message_show_internal(char *txt); #endif #endif
Fix macro so it can be used as a statement
e: Fix macro so it can be used as a statement Should fix devilhorn's compile error. Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61783
C
bsd-2-clause
rvandegrift/e,tasn/enlightenment,FlorentRevest/Enlightenment,tizenorg/platform.upstream.enlightenment,tizenorg/platform.upstream.enlightenment,tasn/enlightenment,tizenorg/platform.upstream.enlightenment,FlorentRevest/Enlightenment,rvandegrift/e,rvandegrift/e,FlorentRevest/Enlightenment,tasn/enlightenment
c
## Code Before: { \ char __tmpbuf[PATH_MAX]; \ \ snprintf(__tmpbuf, sizeof(__tmpbuf), ##args); \ e_error_message_show_internal(__tmpbuf); \ } #else #ifndef E_ERROR_H #define E_ERROR_H EAPI void e_error_message_show_internal(char *txt); #endif #endif ## Instruction: e: Fix macro so it can be used as a st...
7695818539eead74525f0d24d2523c6cd4427bd1
app/controllers/root_controller.rb
app/controllers/root_controller.rb
class RootController < ApplicationController def related render :text => File.read("#{Rails.root}/app/views/root/related.raw.html.erb") end end
class RootController < ApplicationController caches_page :wrapper, :print, :related, :homepage, :admin caches_page *%w(404 406 418 500 501 503 504) def related render :text => File.read("#{Rails.root}/app/views/root/related.raw.html.erb") end end
Enable page caching for all templates.
Enable page caching for all templates. This will enable apache/nginx to serve all but the first request for each one, which will improve performance somewhat, and save having to keep workers running for static.
Ruby
mit
alphagov/static,kalleth/static,robinwhittleton/static,kalleth/static,kalleth/static,robinwhittleton/static,tadast/static,alphagov/static,robinwhittleton/static,tadast/static,tadast/static,kalleth/static,tadast/static,robinwhittleton/static,alphagov/static
ruby
## Code Before: class RootController < ApplicationController def related render :text => File.read("#{Rails.root}/app/views/root/related.raw.html.erb") end end ## Instruction: Enable page caching for all templates. This will enable apache/nginx to serve all but the first request for each one, which will imp...
b1bb668b4633e5be3e14ca05eba46a5abf029d08
shrc.d/10termtitle.sh
shrc.d/10termtitle.sh
function termtitle() { if [[ -z $TMUX ]]; then echo -ne "\033]0;$@\007" else echo -ne "\033Ptmux;\033\033]0;$@\007\033\\" fi } function panetitle() { echo -en "\033k$@\033\\" }
function termtitle() { if [[ -z $TMUX ]]; then echo -ne "\033]0;$@\007" else echo -ne "\033Ptmux;\033\033]0;$@\007\033\\" fi } function panename() { echo -en "\033k$@\033\\" } function panetitle() { echo -en "\033]2;$@\033\\" }
Make panetitle actually set the pane
SH: Make panetitle actually set the pane
Shell
mit
shanematley/dotfiles,shanematley/dotfiles
shell
## Code Before: function termtitle() { if [[ -z $TMUX ]]; then echo -ne "\033]0;$@\007" else echo -ne "\033Ptmux;\033\033]0;$@\007\033\\" fi } function panetitle() { echo -en "\033k$@\033\\" } ## Instruction: SH: Make panetitle actually set the pane ## Code After: function termtitle()...
c49844eb7001be53fdd62eb40844d1a6ec249baf
black-hole-solitaire/all-in-a-row-gnu-parallel-range-solving/monitoring-helpers.bash
black-hole-solitaire/all-in-a-row-gnu-parallel-range-solving/monitoring-helpers.bash
unalias l l() { ls summaries/ ; } c() { perl collect.pl ; } t() { tail -1 SUMMARY.txt ; } f1() { perl -lane '/([US])/ && print$1'; }
unalias l l() { ls summaries/ ; } c() { perl collect.pl ; } t() { tail -1 SUMMARY.txt ; } f1() { perl -lane '/([US])/ && print $1'; } f2() { perl -lane '$F[1] eq $ENV{V} and print $F[2]'; } report() { local w="$1" ; shift; (export V="$w" ; paste <(f2 < SUMMARY-no-prune.txt ) <(f2 < SUMMARY-prune.txt ) > iters-"$V".txt ...
Add more helper to the monitoring helpers.
Add more helper to the monitoring helpers.
Shell
mit
shlomif/black-hole-solitaire,shlomif/black-hole-solitaire,shlomif/black-hole-solitaire,shlomif/black-hole-solitaire,shlomif/black-hole-solitaire,shlomif/black-hole-solitaire
shell
## Code Before: unalias l l() { ls summaries/ ; } c() { perl collect.pl ; } t() { tail -1 SUMMARY.txt ; } f1() { perl -lane '/([US])/ && print$1'; } ## Instruction: Add more helper to the monitoring helpers. ## Code After: unalias l l() { ls summaries/ ; } c() { perl collect.pl ; } t() { tail -1 SUMMARY.txt ; } f1() ...
a3c3a6ed4d01f1857fc4728b10505e330af9e6ae
code/helper/easierlife.py
code/helper/easierlife.py
import fileinput import json import os.path from dstruct import Sentence ## BASE_DIR denotes the application directory BASE_DIR, throwaway = os.path.split(os.path.realpath(__file__)) BASE_DIR = os.path.realpath(BASE_DIR + "/../..") ## Return the start and end indexes of all subsets of words in the sentence ## sent...
import fileinput import json import os.path import sys from dstruct.Sentence import Sentence ## BASE_DIR denotes the application directory BASE_DIR, throwaway = os.path.split(os.path.realpath(__file__)) BASE_DIR = os.path.realpath(BASE_DIR + "/../..") ## Return the start and end indexes of all subsets of words in ...
Fix import, use fileinput.iput as context, and fix its argument
Fix import, use fileinput.iput as context, and fix its argument
Python
apache-2.0
amwenger/dd-genomics,rionda/dd-genomics,HazyResearch/dd-genomics,amwenger/dd-genomics,HazyResearch/dd-genomics,HazyResearch/dd-genomics,HazyResearch/dd-genomics,rionda/dd-genomics,amwenger/dd-genomics,HazyResearch/dd-genomics
python
## Code Before: import fileinput import json import os.path from dstruct import Sentence ## BASE_DIR denotes the application directory BASE_DIR, throwaway = os.path.split(os.path.realpath(__file__)) BASE_DIR = os.path.realpath(BASE_DIR + "/../..") ## Return the start and end indexes of all subsets of words in the ...
6ba48fb9cc88b30d91ba1c0c8cbfd496e108a72f
meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
meta-python/recipes-devtools/python/python3-supervisor_4.2.4.bb
SUMMARY = "Supervisor: A Process Control System" DESCRIPTION = "\ Supervisor is a client/server system that allows its users \ to monitorand control a number of processes on UNIX-like \ operating systems." HOMEPAGE = "https://github.com/Supervisor/supervisor" LICENSE = "BSD-4-Clause" LIC_FILES_CHKSUM = "file://LICENSES...
SUMMARY = "Supervisor: A Process Control System" DESCRIPTION = "\ Supervisor is a client/server system that allows its users \ to monitorand control a number of processes on UNIX-like \ operating systems." HOMEPAGE = "https://github.com/Supervisor/supervisor" LICENSE = "BSD-4-Clause" LIC_FILES_CHKSUM = "file://LICENSES...
Add runtime dependencies for python3-supervisor
Add runtime dependencies for python3-supervisor Running supervisord without these fails with import errors. smtpd might look strange, but provides required asynchat.py. Replaced PYTHON_PN with python3 as suggested in previous thread. Signed-off-by: Martin Großhauser <9a20ebbb3a2ff1b831db7a29e3da169dd10e515a@gmx.net>...
BitBake
mit
openembedded/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded
bitbake
## Code Before: SUMMARY = "Supervisor: A Process Control System" DESCRIPTION = "\ Supervisor is a client/server system that allows its users \ to monitorand control a number of processes on UNIX-like \ operating systems." HOMEPAGE = "https://github.com/Supervisor/supervisor" LICENSE = "BSD-4-Clause" LIC_FILES_CHKSUM = ...
1aed8503b0ac54bc195c1e52ff35154ff01ed7ee
.travis.yml
.travis.yml
language: python before_install: - if [ "$DOCKER" = "1" ]; then docker build -t servo etc/ci/; fi script: - if [ "$DOCKER" = "0" ]; then sh -c "$CMD"; fi - if [ "$DOCKER" = "1" ]; then docker run -tv `pwd`:/build servo sh -c "$CMD"; fi matrix: fast_finish: true include: - sudo: false env: -...
language: python before_install: - if [ "$DOCKER" = "1" ]; then docker build -t servo etc/ci/; fi script: - if [ "$DOCKER" = "0" ]; then sh -c "$CMD"; fi - if [ "$DOCKER" = "1" ]; then docker run -tv `pwd`:/build servo sh -c "$CMD"; fi matrix: fast_finish: true include: - sudo: false env: ...
Use consistent indentation in YAML file
Use consistent indentation in YAML file
YAML
mpl-2.0
szeged/servo,DominoTree/servo,nnethercote/servo,mbrubeck/servo,larsbergstrom/servo,ConnorGBrewster/servo,peterjoel/servo,rnestler/servo,jimberlage/servo,emilio/servo,fiji-flo/servo,thiagopnts/servo,fiji-flo/servo,dati91/servo,peterjoel/servo,paulrouget/servo,SimonSapin/servo,splav/servo,upsuper/servo,pyfisch/servo,matt...
yaml
## Code Before: language: python before_install: - if [ "$DOCKER" = "1" ]; then docker build -t servo etc/ci/; fi script: - if [ "$DOCKER" = "0" ]; then sh -c "$CMD"; fi - if [ "$DOCKER" = "1" ]; then docker run -tv `pwd`:/build servo sh -c "$CMD"; fi matrix: fast_finish: true include: - sudo: false ...
98de0f94332cd2a0faedd1c72d2ee4092552fdb0
tests/unit/helper.py
tests/unit/helper.py
import mock import github3 import unittest MockedSession = mock.create_autospec(github3.session.GitHubSession) def build_url(self, *args, **kwargs): # We want to assert what is happening with the actual calls to the # Internet. We can proxy this. return github3.session.GitHubSession().build_url(*args, **...
import mock import github3 import unittest def build_url(self, *args, **kwargs): # We want to assert what is happening with the actual calls to the # Internet. We can proxy this. return github3.session.GitHubSession().build_url(*args, **kwargs) class UnitHelper(unittest.TestCase): # Sub-classes must...
Fix the issue where the mock is persisting calls
Fix the issue where the mock is persisting calls
Python
bsd-3-clause
jim-minter/github3.py,wbrefvem/github3.py,agamdua/github3.py,h4ck3rm1k3/github3.py,krxsky/github3.py,balloob/github3.py,ueg1990/github3.py,sigmavirus24/github3.py,icio/github3.py,christophelec/github3.py,itsmemattchung/github3.py,degustaf/github3.py
python
## Code Before: import mock import github3 import unittest MockedSession = mock.create_autospec(github3.session.GitHubSession) def build_url(self, *args, **kwargs): # We want to assert what is happening with the actual calls to the # Internet. We can proxy this. return github3.session.GitHubSession().bui...
894217083e423c60cb96758beddb33d7efbb92ab
README.md
README.md
This is the interactive part of a little task I worked on with [Dan Meyer](https://twitter.com/ddmeyer). I'm not going to maintain the repo, but feel free to fork it and create your own version. I'll post a link to Dan's materials when they become available.
This is the interactive part of a little task I worked on with [Dan Meyer](https://twitter.com/ddmeyer). I'm not going to maintain the repo, but feel free to fork it and create your own version. [See it in action.](http://mrmeyer.com/boatdock/)
Add link to live demo
Add link to live demo
Markdown
mit
ctlusto/boat-dock
markdown
## Code Before: This is the interactive part of a little task I worked on with [Dan Meyer](https://twitter.com/ddmeyer). I'm not going to maintain the repo, but feel free to fork it and create your own version. I'll post a link to Dan's materials when they become available. ## Instruction: Add link to live demo ## ...
26d4bea649d0677eac89180e5dd1fdd5275cc61d
.travis.yml
.travis.yml
language: smalltalk sudo: false os: - linux - osx smalltalk: - Squeak-trunk - Squeak-5.0 - Squeak-4.6 after_success: bash $TRAVIS_BUILD_DIR/scripts/prepare_image.sh
language: smalltalk sudo: false os: - linux - osx smalltalk: - Squeak-trunk - Squeak-5.1 - Squeak-5.0 - Squeak-4.6 matrix: allow_failures: - smalltalk: Squeak-5.0 - smalltalk: Squeak-4.6 fast_finish: true after_success: bash $TRAVIS_BUILD_DIR/scripts/prepare_image.sh
Add support for 5.1, drop support for 4.6 and 5.0
Add support for 5.1, drop support for 4.6 and 5.0
YAML
mit
hpi-swa/vivide
yaml
## Code Before: language: smalltalk sudo: false os: - linux - osx smalltalk: - Squeak-trunk - Squeak-5.0 - Squeak-4.6 after_success: bash $TRAVIS_BUILD_DIR/scripts/prepare_image.sh ## Instruction: Add support for 5.1, drop support for 4.6 and 5.0 ## Code After: language: smalltalk sudo: false os: - l...
015f42edf033288089368a2d72ea791baceff275
chap14/ghub-display/app/views/index.scala.html
chap14/ghub-display/app/views/index.scala.html
<!DOCTYPE html> <html lang="en"> <head> <title>Github User display</title> <link rel="stylesheet" media="screen" href="@routes.Assets.versioned("stylesheets/main.css")"> <link rel="shortcut icon" type="image/png" href="@routes.Assets.versioned("images/favicon.png")"> <link href=@rou...
<!DOCTYPE html> <html lang="en"> <head> <title>Github User display</title> <link rel="stylesheet" media="screen" href="@routes.Assets.versioned("stylesheets/main.css")"> <link rel="shortcut icon" type="image/png" href="@routes.Assets.versioned("images/favicon.png")"> <link href=@rou...
Remove call to @requireJs to avoid problem in production.
CHAP14: Remove call to @requireJs to avoid problem in production. The call to @helper.requireJs was causing the wrong URL to be entered for main.js in production: the javascripts folder was replaced by javascripts-min, which wasn't actually where main.js was. Hard-coding the correct URL fares better, though this is h...
HTML
apache-2.0
pbugnion/s4ds,pbugnion/s4ds,pbugnion/s4ds,pbugnion/s4ds
html
## Code Before: <!DOCTYPE html> <html lang="en"> <head> <title>Github User display</title> <link rel="stylesheet" media="screen" href="@routes.Assets.versioned("stylesheets/main.css")"> <link rel="shortcut icon" type="image/png" href="@routes.Assets.versioned("images/favicon.png")"> ...
39912a66037cc6f07ca3f605c2cad204a0d0bef8
app/views/search/search.html.haml
app/views/search/search.html.haml
- if @posts.empty? %div %p 「#{@query.keywords}」を含む記事は見つかりませんでした。 - else %div 絞り込み: - if @query.participant_id.present? = Participant.find(@query.participant_id).name = link_to content_tag(:span, '', class: 'fa fa-remove'), @query.params(remove: [:participant_id]) - else - @result_s...
- if @posts.empty? %div %p 「#{@query.keywords}」を含む記事は見つかりませんでした。 - else %div 絞り込み: - if @query.participant_id.present? = Participant.find(@query.participant_id).name = link_to @query.params(remove: [:participant_id]) do %span.fa.fa-remove - else - @result_set.participants.e...
Use block style instead of content_tag
Use block style instead of content_tag
Haml
mit
bm-sms/daimon-news,bm-sms/daimon-news,bm-sms/daimon-news
haml
## Code Before: - if @posts.empty? %div %p 「#{@query.keywords}」を含む記事は見つかりませんでした。 - else %div 絞り込み: - if @query.participant_id.present? = Participant.find(@query.participant_id).name = link_to content_tag(:span, '', class: 'fa fa-remove'), @query.params(remove: [:participant_id]) - else ...
3fe9314d0966dbfa8030c361713398790949debe
.travis.yml
.travis.yml
language: node_js node_js: - "6.9.0" - "6.0.0" script: - npm test - npm run-script lint notifications: webhooks: urls: - "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MEhhbGYtU2hvdCUzQWhhbGYtc2hvdC51ay8lMjFxUE5PblVzTnNaclRvRlpxeEIlM0FoYWxmLXNob3QudWs" on_success: c...
language: node_js node_js: - "6.12.3" - "8.9.4" - "9.5.0" script: - npm test - npm run-script lint notifications: webhooks: urls: - "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MEhhbGYtU2hvdCUzQWhhbGYtc2hvdC51ay8lMjFxUE5PblVzTnNaclRvRlpxeEIlM0FoYWxmLXNob3QudWs" o...
Add node LTS 8.9.4 Current 9.50
Add node LTS 8.9.4 Current 9.50
YAML
apache-2.0
Half-Shot/matrix-appservice-discord
yaml
## Code Before: language: node_js node_js: - "6.9.0" - "6.0.0" script: - npm test - npm run-script lint notifications: webhooks: urls: - "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MEhhbGYtU2hvdCUzQWhhbGYtc2hvdC51ay8lMjFxUE5PblVzTnNaclRvRlpxeEIlM0FoYWxmLXNob3QudWs" ...
fd2fc4e3aa493d7af4f27ab2059b4d819f764cc7
README.md
README.md
[![CircleCI](https://circleci.com/gh/keik/gh/tree/develop.svg?style=svg)](https://circleci.com/gh/keik/gh/tree/develop) [![Coverage Status](https://img.shields.io/coveralls/keik/gh.svg?style=flat-square)](https://coveralls.io/github/keik/gh) Performant GitHub clone application powered by React + Express as universal ...
[![CircleCI](https://circleci.com/gh/keik/gh/tree/develop.svg?style=svg)](https://circleci.com/gh/keik/gh/tree/develop) [![Coverage Status](https://img.shields.io/coveralls/keik/gh.svg?style=flat-square)](https://coveralls.io/github/keik/gh) Performant GitHub clone application powered by React + Express as universal ...
Add doc about docker env.
:bulb: Add doc about docker env.
Markdown
mit
keik/gh,keik/gh,keik/gh
markdown
## Code Before: [![CircleCI](https://circleci.com/gh/keik/gh/tree/develop.svg?style=svg)](https://circleci.com/gh/keik/gh/tree/develop) [![Coverage Status](https://img.shields.io/coveralls/keik/gh.svg?style=flat-square)](https://coveralls.io/github/keik/gh) Performant GitHub clone application powered by React + Expre...
bddc7a2f2f1bd935f26e6d7608c74b8d4627fd14
README.md
README.md
mm2ne ===== Utility to convert the ISO 3166-2 country codes used by MaxMind GeoIP to/from those used by Natural Earth. This can be useful when using GeoIP in conjunction with maps created using the Natural Earth dataset. Contains a LibreOffice Calc document used to generate Python and JavaScript code. This was creat...
mm2ne ===== Utility to convert the ISO 3166-2 country codes used by MaxMind GeoIP to/from those used by Natural Earth. This can be useful when using GeoIP in conjunction with maps created using the Natural Earth dataset. Contains a LibreOffice Calc document used to generate Python and JavaScript code. This was creat...
Add more info to readme.
Add more info to readme.
Markdown
mit
Xangis/mm2ne,Xangis/mm2ne
markdown
## Code Before: mm2ne ===== Utility to convert the ISO 3166-2 country codes used by MaxMind GeoIP to/from those used by Natural Earth. This can be useful when using GeoIP in conjunction with maps created using the Natural Earth dataset. Contains a LibreOffice Calc document used to generate Python and JavaScript code....
598fd140abb58e55dea6d2518fc39a6242875ece
src/style/_nav.scss
src/style/_nav.scss
.nav { position: sticky; top: 0; padding: .5rem 1rem; border-bottom: 1px solid lightgray; background-color: white; > .nav-link { display: inline; box-sizing: border-box; padding: .5rem 1rem; text-decoration: none !important; color: #337ab7 !important; border-radius: .25rem .25r...
.nav { position: -webkit-sticky; position: sticky; top: 0; padding: .5rem 1rem; border-bottom: 1px solid lightgray; background-color: white; > .nav-link { display: inline; box-sizing: border-box; padding: .5rem 1rem; text-decoration: none !important; color: #337ab7 !important; ...
Fix sticky navbar positioning on Safari
Fix sticky navbar positioning on Safari
SCSS
mit
apinf/openapi-designer,apinf/open-api-designer,apinf/open-api-designer,apinf/openapi-designer
scss
## Code Before: .nav { position: sticky; top: 0; padding: .5rem 1rem; border-bottom: 1px solid lightgray; background-color: white; > .nav-link { display: inline; box-sizing: border-box; padding: .5rem 1rem; text-decoration: none !important; color: #337ab7 !important; border-rad...
4de317ccb8cf0e45e5ff212235e1e6d69b22fc50
docs/about.md
docs/about.md
In seiner 23. Sitzung hat der [IT-Planungsrat](https://www.it-planungsrat.de) mit [Beschluss 2017/22 (6a)](https://www.it-planungsrat.de/SharedDocs/Sitzungen/DE/2017/Sitzung_23.html?pos=3) die [Koordinierungsstelle für IT-Standards (KoSIT)](https://www.xoev.de/) im Rahmen des Betriebs des Standards XRechnung mit der d...
In seiner 23. Sitzung hat der [IT-Planungsrat](https://www.it-planungsrat.de) mit [Beschluss 2017/22 (6a)](https://www.it-planungsrat.de/SharedDocs/Sitzungen/DE/2017/Sitzung_23.html?pos=3) die [Koordinierungsstelle für IT-Standards (KoSIT)](https://www.xoev.de/) im Rahmen des Betriebs des Standards XRechnung mit der d...
Add Engl. name of Prüftool
Add Engl. name of Prüftool
Markdown
apache-2.0
itplr-kosit/validationtool
markdown
## Code Before: In seiner 23. Sitzung hat der [IT-Planungsrat](https://www.it-planungsrat.de) mit [Beschluss 2017/22 (6a)](https://www.it-planungsrat.de/SharedDocs/Sitzungen/DE/2017/Sitzung_23.html?pos=3) die [Koordinierungsstelle für IT-Standards (KoSIT)](https://www.xoev.de/) im Rahmen des Betriebs des Standards XRe...
a535926d4d19c0b91eaebe3cea0a137854b875e0
setup.cfg
setup.cfg
[metadata] classifiers = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language ::...
[metadata] classifiers = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language ::...
Allow 100 character line length
Allow 100 character line length Now that we're starting to use python's typing module, 80 chars is becoming increasingly restrictive. This commit signals that dimod support 100 characters by adding it to the setup.cfg. Ideally we would like to add it to the pyproject.toml, but right now that's not supported. See http...
INI
apache-2.0
dwavesystems/dimod,dwavesystems/dimod
ini
## Code Before: [metadata] classifiers = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Program...
9ba73e23d5c0f5a35f9b57dd9ad54cca8c1f4c89
src/Aimeos/Shop/Controller/PageController.php
src/Aimeos/Shop/Controller/PageController.php
<?php /** * @license MIT, http://opensource.org/licenses/MIT * @copyright Aimeos (aimeos.org), 2015-2021 * @package laravel * @subpackage Controller */ namespace Aimeos\Shop\Controller; use Aimeos\Shop\Facades\Shop; use Illuminate\Routing\Controller; use Illuminate\Support\Facades\View; use Illuminate\Support\...
<?php /** * @license MIT, http://opensource.org/licenses/MIT * @copyright Aimeos (aimeos.org), 2015-2021 * @package laravel * @subpackage Controller */ namespace Aimeos\Shop\Controller; use Aimeos\Shop\Facades\Shop; use Illuminate\Routing\Controller; use Illuminate\Support\Facades\View; use Illuminate\Support\...
Abort with 404 if no CMS page content is available
Abort with 404 if no CMS page content is available
PHP
mit
aimeos/aimeos-laravel
php
## Code Before: <?php /** * @license MIT, http://opensource.org/licenses/MIT * @copyright Aimeos (aimeos.org), 2015-2021 * @package laravel * @subpackage Controller */ namespace Aimeos\Shop\Controller; use Aimeos\Shop\Facades\Shop; use Illuminate\Routing\Controller; use Illuminate\Support\Facades\View; use Ill...
4c749bc662cbda00d5201b9aa5b23598e4b42157
Source/Action/Delete.js
Source/Action/Delete.js
/* --- script: Delete.js description: Deletes a widget or element license: Public domain (http://unlicense.org). authors: Yaroslaff Fedin requires: - LSD.Action provides: - LSD.Action.Delete ... */ LSD.Action.Delete = LSD.Action.build({ enable: function(target) { if (!target.lsd) LSD.Module.DOM.walk(...
/* --- script: Delete.js description: Deletes a widget or element license: Public domain (http://unlicense.org). authors: Yaroslaff Fedin requires: - LSD.Action provides: - LSD.Action.Delete ... */ LSD.Action.Delete = LSD.Action.build({ enable: function(target) { if (!target.lsd) { var widget =...
Fix a bug in delete action, wrong widget notified
Fix a bug in delete action, wrong widget notified
JavaScript
unlicense
Inviz/lsd
javascript
## Code Before: /* --- script: Delete.js description: Deletes a widget or element license: Public domain (http://unlicense.org). authors: Yaroslaff Fedin requires: - LSD.Action provides: - LSD.Action.Delete ... */ LSD.Action.Delete = LSD.Action.build({ enable: function(target) { if (!target.lsd) LSD....
7de7ba06f146bc9c9fdc285dd55536e36038a61d
README.rst
README.rst
=============================== esis =============================== .. image:: https://img.shields.io/travis/jcollado/esis.svg :target: https://travis-ci.org/jcollado/esis .. image:: https://img.shields.io/pypi/v/esis.svg :target: https://pypi.python.org/pypi/esis .. image:: https://readthedocs.org/projects...
=============================== esis =============================== .. image:: https://img.shields.io/travis/jcollado/esis.svg :target: https://travis-ci.org/jcollado/esis .. image:: https://img.shields.io/pypi/v/esis.svg :target: https://pypi.python.org/pypi/esis .. image:: https://readthedocs.org/projects...
Add new subcommands to readme file
Add new subcommands to readme file
reStructuredText
mit
jcollado/esis
restructuredtext
## Code Before: =============================== esis =============================== .. image:: https://img.shields.io/travis/jcollado/esis.svg :target: https://travis-ci.org/jcollado/esis .. image:: https://img.shields.io/pypi/v/esis.svg :target: https://pypi.python.org/pypi/esis .. image:: https://readthed...
6b9dbead6c89ea70caeac8098e97c68801363ee0
src/main/java/org/jboss/modules/CallerContext.java
src/main/java/org/jboss/modules/CallerContext.java
package org.jboss.modules; import java.security.AccessController; import java.security.PrivilegedAction; /** * Various methods for obtaining caller info. * * @author Jason T. Greene */ class CallerContext { private final static class Hack extends SecurityManager { @Override protected Class<?>[...
package org.jboss.modules; import java.security.AccessController; import java.security.PrivilegedAction; /** * Various methods for obtaining caller info. * * @author Jason T. Greene */ class CallerContext { private final static class Hack extends SecurityManager { @Override protected Class<?>[...
Allow for nested calls from the same class
Allow for nested calls from the same class
Java
apache-2.0
jboss-modules/jboss-modules,Kast0rTr0y/jboss-modules,doctau/jboss-modules,ropalka/jboss-modules,rogerchina/jboss-modules,ctomc/jboss-modules,Sanne/jboss-modules,jasinner/jboss-modules
java
## Code Before: package org.jboss.modules; import java.security.AccessController; import java.security.PrivilegedAction; /** * Various methods for obtaining caller info. * * @author Jason T. Greene */ class CallerContext { private final static class Hack extends SecurityManager { @Override pro...
d839e5b2bfed9a1d0f297802aba785c4ca1eeab4
package.json
package.json
{ "name": "postcss-nested", "version": "0.1.0", "description": "PostCSS plugin to unwrap nested rules like it Sass does", "keywords": ["postcss", "sass", "css", "nested"], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": { "type": "git", "url": "...
{ "name": "postcss-nested", "version": "0.1.0", "description": "PostCSS plugin to unwrap nested rules like it Sass does", "keywords": ["postcss", "sass", "css", "nested"], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": { "type": "git", "url": "...
Use released PostCSS 4.0 version
Use released PostCSS 4.0 version
JSON
mit
postcss/postcss-nested
json
## Code Before: { "name": "postcss-nested", "version": "0.1.0", "description": "PostCSS plugin to unwrap nested rules like it Sass does", "keywords": ["postcss", "sass", "css", "nested"], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": { "type": "git", ...
150010bb5f4ca9dea14ea3db843878ccc85227e5
client/common/blocks/location_show_dlg/location_show_dlg.styl
client/common/blocks/location_show_dlg/location_show_dlg.styl
// maintain aspect ratio of 4:3 for the map, see // https://stackoverflow.com/questions/1495407/maintain-the-aspect-ratio-of-a-div-with-css // .location-show-dlg__map-container width 100% padding-bottom 75% position relative // same background as for .leaflet-container, // in case styles for leaflet aren't l...
@import "nodeca.core/client/common/_variables" // maintain aspect ratio of 4:3 for the map, see // https://stackoverflow.com/questions/1495407/maintain-the-aspect-ratio-of-a-div-with-css // .location-show-dlg__map-container width 100% padding-bottom 75% position relative // same background as for .leaflet-con...
Increase map height on narrow screens
Increase map height on narrow screens
Stylus
mit
nodeca/nodeca.core,nodeca/nodeca.core
stylus
## Code Before: // maintain aspect ratio of 4:3 for the map, see // https://stackoverflow.com/questions/1495407/maintain-the-aspect-ratio-of-a-div-with-css // .location-show-dlg__map-container width 100% padding-bottom 75% position relative // same background as for .leaflet-container, // in case styles for ...
a32d4d156c6e4ec3a3670a9350dc0073f09017f5
gulpfile.js/tasks/rev/update-html.js
gulpfile.js/tasks/rev/update-html.js
var gulp = require('gulp'); // 5) Update asset references in HTML gulp.task('update-html', function () { var config = require('../../config'), path = require('path'), revReplace = require('gulp-rev-replace') var manifest = gulp.src(config.publicDirectory + "/rev-manifest.json"); return gulp.src(path.join(con...
var gulp = require('gulp'); // 5) Update asset references in HTML gulp.task('update-html', function () { var config = require('../../config'), path = require('path'), revReplace = require('gulp-rev-replace') var manifest = gulp.src(path.join(config.root.dest, "/rev-manifest.json")) return gulp.src(path.join(c...
Fix html not updating references
Fix html not updating references
JavaScript
mit
t2t2/obs-remote-tablet,t2t2/obs-tablet-remote,t2t2/obs-remote-tablet,dx9s/obs-tablet-remote,dx9s/obs-tablet-remote,mikhailswift/obs-tablet-remote,mikhailswift/obs-tablet-remote,t2t2/obs-tablet-remote
javascript
## Code Before: var gulp = require('gulp'); // 5) Update asset references in HTML gulp.task('update-html', function () { var config = require('../../config'), path = require('path'), revReplace = require('gulp-rev-replace') var manifest = gulp.src(config.publicDirectory + "/rev-manifest.json"); return gulp.s...
eed7727afd1622cbefb8ef1e113f15706170dfdf
parens.py
parens.py
def balanceness(paren_series): indicator = 0 for paren in paren_series: if paren == u'(': indicator += 1 elif paren == u')': indicator -= 1 # At any point in time, if a ')' precedes a '(', then the series # of parenthesis is broken. if indicator <...
def balanceness(paren_series): indicator = 0 for paren in paren_series: print paren if paren == u'(': indicator += 1 elif paren == u')': indicator -= 1 # At any point in time, if a ')' precedes a '(', then the series # of parenthesis is broken, an...
Complete quick attempt at function.
Complete quick attempt at function.
Python
mit
jefimenko/data-structures
python
## Code Before: def balanceness(paren_series): indicator = 0 for paren in paren_series: if paren == u'(': indicator += 1 elif paren == u')': indicator -= 1 # At any point in time, if a ')' precedes a '(', then the series # of parenthesis is broken. ...
ab909d567d99daf47e1ea11749fc1fc4040dcd68
waybar/.config/waybar/style.css
waybar/.config/waybar/style.css
@import url("../../.cache/wal/colors-waybar.css"); * { font-family: "Noto Sans CJK JP"; } window#waybar { background: rgba(43, 48, 59, 0.9); background: @background; border-bottom: 1px solid rgba(100, 114, 125, 0.3); color: @foreground; } #workspaces button { padding: 0 5px; background: t...
@import url("../../.cache/wal/colors-waybar.css"); * { font-family: "Noto Sans CJK JP"; } window#waybar { background: rgba(43, 48, 59, 0.9); background: @background; border-bottom: 1px solid rgba(100, 114, 125, 0.3); color: @foreground; } #workspaces button { padding: 0 5px; background: t...
Add padding to focused workspace
waybar: Add padding to focused workspace This fixes an issue where the focused workspace would cause the layout to shift.
CSS
mit
GloverDonovan/new-start
css
## Code Before: @import url("../../.cache/wal/colors-waybar.css"); * { font-family: "Noto Sans CJK JP"; } window#waybar { background: rgba(43, 48, 59, 0.9); background: @background; border-bottom: 1px solid rgba(100, 114, 125, 0.3); color: @foreground; } #workspaces button { padding: 0 5px; ...
ec206ec7c531987d134ab80f083d40d3857e5c73
lib/blocktrain/aggregations/histogram_aggregation.rb
lib/blocktrain/aggregations/histogram_aggregation.rb
module Blocktrain module Aggregations class HistogramAggregation < Aggregation def aggs { results: { date_histogram: { field: 'timeStamp', interval: @interval, time_zone: '+01:00', min_doc_count: 1, extended...
module Blocktrain module Aggregations class HistogramAggregation < Aggregation def aggs { results: { date_histogram: { field: 'timeStamp', interval: @interval, min_doc_count: 1, extended_bounds: { min: @fr...
Stop changing the times of results
Stop changing the times of results
Ruby
mit
TheODI-UD2D/sir_handel,TheODI-UD2D/sir_handel,TheODI-UD2D/sir_handel
ruby
## Code Before: module Blocktrain module Aggregations class HistogramAggregation < Aggregation def aggs { results: { date_histogram: { field: 'timeStamp', interval: @interval, time_zone: '+01:00', min_doc_count: 1, ...
78d87606f8d6d6e281dda164b8668a9dde220ee3
app/components/uploaderbutton/uploaderbutton.js
app/components/uploaderbutton/uploaderbutton.js
/** * Copyright (c) 2016, Tidepool Project * * This program is free software; you can redistribute it and/or modify it under * the terms of the associated License, which is identical to the BSD 2-Clause * License as published by the Open Source Initiative at opensource.org. * * This program is distributed in th...
/** * Copyright (c) 2016, Tidepool Project * * This program is free software; you can redistribute it and/or modify it under * the terms of the associated License, which is identical to the BSD 2-Clause * License as published by the Open Source Initiative at opensource.org. * * This program is distributed in th...
Convert UploaderButton to functional component
Convert UploaderButton to functional component
JavaScript
bsd-2-clause
hichameyessou/blip,tidepool-org/blip,hichameyessou/blip,hichameyessou/blip,tidepool-org/blip,tidepool-org/blip
javascript
## Code Before: /** * Copyright (c) 2016, Tidepool Project * * This program is free software; you can redistribute it and/or modify it under * the terms of the associated License, which is identical to the BSD 2-Clause * License as published by the Open Source Initiative at opensource.org. * * This program is d...