Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add shortcut to run tests | set shiftwidth=8
set softtabstop=8
set noexpandtab
set nolist
" Code navigation
nmap <C-UP> gd
nmap <C-DOWN> :GoReferrers<CR>
" Not working very well :-(
nmap <Leader>d <Plug>(go-doc)
nmap <Leader>l :GoMetaLinter<CR>
nmap <Leader>i :GoImplements<CR>
nmap <Leader>r <Plug>(go-rename)
nmap <F5> <Plug>(go-coverage)
"vim... | set shiftwidth=8
set softtabstop=8
set noexpandtab
set nolist
" Code navigation
nmap <C-UP> gd
nmap <C-DOWN> :GoReferrers<CR>
" Not working very well :-(
nmap <Leader>d <Plug>(go-doc)
nmap <Leader>l :GoMetaLinter<CR>
nmap <Leader>i :GoImplements<CR>
nmap <Leader>r <Plug>(go-rename)
nmap <Leader>b <Plug>(go-test)
nmap... |
Switch colorscheme from Wombat to Hybrid | set background=dark
if has("gui_running")
colorscheme wombat
else
colorscheme wombat256mod
endif
" Use the same background color for signs as we do for line numbers. This
" makes signs and line numbers look like one nice big column.
hi! link SignColumn LineNr
" Use a more subtle color to highlight whitespace whe... | set background=dark
colorscheme hybrid
" Use the same background color for signs as we do for line numbers. This
" makes signs and line numbers look like one nice big column.
hi! link SignColumn LineNr
" Use a more subtle color to highlight whitespace when using 'listchars'.
hi! SpecialKey gui=NONE guifg=#113245 gui... |
Add dadbod and fireplace (<3 tpope) | Plug 'Shougo/deoplete.nvim'
Plug 'airblade/vim-gitgutter'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'easymotion/vim-easymotion'
Plug 'jiangmiao/auto-pairs'
Plug 'liuchengxu/vim-better-default'
Plug 'rafi/awesome-vim-colorschemes'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-dispatch'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-fugitiv... | Plug 'Shougo/deoplete.nvim'
Plug 'airblade/vim-gitgutter'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'easymotion/vim-easymotion'
Plug 'jiangmiao/auto-pairs'
Plug 'liuchengxu/vim-better-default'
Plug 'rafi/awesome-vim-colorschemes'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-dadbod'
Plug 'tpope/vim-dispatch'
Plug 'tpope/vim-eunuch'... |
Use bingo for go language server | if has('nvim')
"FUNCTIONS {{{
" }}}
" SETTINGS {{{
let g:LanguageClient_autoStart = 1
let g:LanguageClient_serverCommands = {
\ 'rust': ['rustup', 'run', 'nightly', 'rls'],
\ 'javascript': ['javascript-typescript-stdio'],
\ 'typescript': ['javascript-typescript-stdio'],
... | if has('nvim')
"FUNCTIONS {{{
" }}}
" SETTINGS {{{
let g:LanguageClient_autoStart = 1
let g:LanguageClient_rootMarkers = {
\ 'go': ['.git', 'go.mod'],
\ }
let g:LanguageClient_serverCommands = {
\ 'rust': ['rustup', 'run', 'nightly', 'rls'],
\ 'javascript': ['jav... |
Add VBScript example for anagram detector | Function anagram(a, b)
anagram = true 'Be optimistic
'We could do a length comparison, but then we wouldn't be able to show a disparity.
'Also, this gives the flexibility to compare sentences (which might not have the same word count).
Const ignore = " ,.'?!"
'We could sort the characters but then it'd be a bit ... | |
Add code showing how to use various security options. | Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim svc As PTWcfService.PTServiceClient = New PTWcfClient.PTWcfService.PTServiceClient()
Dim list As PTWcfService.ProjectData() = svc.GetProjectList()
Me.ProjectDataBindingSou... | Imports System.ServiceModel
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim svc As PTWcfService.PTServiceClient = New PTWcfClient.PTWcfService.PTServiceClient()
Dim list As PTWcfService.ProjectData()
Try
list ... |
Update TODO with bug number | ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Scripting.Hosting
Namespace Microsoft.CodeAnalysis.VisualBasic.Scripting.Hosting
Friend Class VisualBasicMemberFilter
... | ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Scripting.Hosting
Namespace Microsoft.CodeAnalysis.VisualBasic.Scripting.Hosting
Friend Class VisualBasicMemberFilter
... |
Add copyright banner on file that's missing one | Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Test.Utilities
Imports Microsoft.VisualStudio.LanguageServices.UnitTests.ProjectSystemShim.Framework
Imports Roslyn.Test.Utilities
Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.ProjectSystemShim
<[UseExportProvider]>
Public Class Meta... | ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Test.Utilities
Imports Microsoft.VisualStudio.LanguageServices.UnitTests.ProjectSystemShim.Frame... |
Fix broken inline block in mobile | <template lang="html">
<pre v-if="!inline"><code ref="code" :class="lang"><slot></slot></code></pre>
<span v-else><code ref="inline-code" :class="lang" :style="inlineCodeStyles"><slot></slot></code></span>
</template>
<script>
import hljs from 'highlight.js';
hljs.configure({
languages: []
});
export default {
n... | <template lang="html">
<pre v-if="!inline"><code ref="code" :class="lang"><slot></slot></code></pre>
<span v-else><code ref="inline-code" :class="lang" :style="inlineCodeStyles"><slot></slot></code></span>
</template>
<script>
import hljs from 'highlight.js';
hljs.configure({
languages: []
});
export default {
n... |
Throw 'change' instead of 'changed' event | <template>
<div class="mdc-switch" :class="classes">
<input v-model="model" type="checkbox" class="mdc-switch__native-control" :disabled="disabled" />
<div class="mdc-switch__background">
<div class="mdc-switch__knob"></div>
</div>
</div>
</template>
<script>
export default ... | <template>
<div class="mdc-switch" :class="classes">
<input v-model="model" type="checkbox" class="mdc-switch__native-control" :disabled="disabled" />
<div class="mdc-switch__background">
<div class="mdc-switch__knob"></div>
</div>
</div>
</template>
<script>
export default ... |
Add alt text to badges | <template lang='pug'>
span.badge-bar
a(href='https://www.npmjs.com/package/vue-typer', target='_blank')
img(src='https://img.shields.io/npm/dt/vue-typer.svg')
a(href='https://www.npmjs.com/package/vue-typer', target='_blank')
img(src='https://img.shields.io/npm/v/vue-typer.svg')
a(href='https://www.npmjs.... | <template lang='pug'>
span.badge-bar
a(href='https://www.npmjs.com/package/vue-typer', target='_blank')
img(src='https://img.shields.io/npm/dt/vue-typer.svg', alt='Downloads')
a(href='https://www.npmjs.com/package/vue-typer', target='_blank')
img(src='https://img.shields.io/npm/v/vue-typer.svg', alt='Versio... |
Add drought chart to main page | <template>
<div>
<main-map
mapFile="western_us.json"
dataFile="all_load.csv"
res="Shasta Dam"
resFile="all_resv.json"
:hasKey="hasKey"
whichState="none"></main-map>
<!-- <snow-chart whichState="AZ"></snow-chart>
<strip-chart stateFile="AZ_drought_all.csv"></strip-chart> ... | <template>
<div>
<main-map
mapFile="western_us.json"
dataFile="all_load.csv"
res="Shasta Dam"
resFile="all_resv.json"
:hasKey="hasKey"
whichState="none"></main-map>
<!-- <snow-chart whichState="AZ"></snow-chart>-->
<strip-chart stateFile="munged_drought_all.csv"></strip-... |
Delete not needed JS component import | <script>
import { MDCNotchedOutline } from '@material/notched-outline'
import themeClassMixin from '../base/themeClassMixin.js'
export default {
functional: true,
mixins: [themeClassMixin],
data () {
return {
mdcNotchedOutline: null
}
},
mounted () {
this.mdcNotchedOutline = MDCNotchedOutl... | <script>
import themeClassMixin from '../base/themeClassMixin.js'
export default {
functional: true,
mixins: [themeClassMixin],
render (h) {
return [
h('div', {'class': 'mdc-notched-outline'},
[
h('svg', [
h('path', {'class': 'mdc-notched-outline__path'})
])
... |
Connect to discord now opens in another tab | <template>
<a v-if="!hasDiscord" class="btn btn-primary" :href="discordUrl">Connect your Discord</a>
<a v-else class="btn btn-secondary" v-async-click="[removeProvider, 'DISCORD']">Disconnect your discord</a>
</template>
<script>
import Component, {State, Action} from 'nuxt-class-component';
import Vue... | <template>
<a v-if="!hasDiscord" class="btn btn-primary" target="_blank" :href="discordUrl">Connect your Discord</a>
<a v-else class="btn btn-secondary" v-async-click="[removeProvider, 'DISCORD']">Disconnect your discord</a>
</template>
<script>
import Component, {State, Action} from 'nuxt-class-component'... |
Correct for toolbar file refactoring | <template>
<div>
<v-toolbar
fixed
dark
dense
app
class="primary pointers-please"
>
<router-link to='/'>
<v-toolbar-title class="white--text">
AIDA
</v-toolbar-title>
</router-link>
<v-spacer/>
<!-- Link to Dashboard -->
... | <template>
<div>
<v-toolbar
fixed
dark
dense
app
class="primary pointers-please"
>
<router-link to='/'>
<v-toolbar-title class="white--text">
AIDA
</v-toolbar-title>
</router-link>
<v-spacer/>
<!-- Link to Dashboard -->
... |
Fix master eligible icon to star outline | <template>
<span>
<v-icon v-if="elasticsearchNode.master" title="master node">mdi-star</v-icon>
<v-icon v-else-if="elasticsearchNode.masterEligible" style="width: 24px"
title="master eligible">mdi-star-bordered</v-icon>
<v-icon v-if="elasticsearchNode.dataNode" title="data node">mdi-content-sa... | <template>
<span>
<v-icon v-if="elasticsearchNode.master" title="master node">mdi-star</v-icon>
<v-icon v-else-if="elasticsearchNode.masterEligible" style="width: 24px"
title="master eligible">mdi-star-outline</v-icon>
<v-icon v-if="elasticsearchNode.dataNode" title="data node">mdi-content-sav... |
Use .toLocaleDateString() to format date in notification page | <template>
<div class="notification">
<div class="notification-info">
<div class="notification-received text is-small">{{ receivedAtFormatted }}</div>
<span v-if="!readAt" class="notification-read"></span>
</div>
<div v-html="htmlBody" class="notification-html text is-caption" :class="{'is-unread': !readA... | <template>
<div class="notification">
<div class="notification-info">
<div class="notification-received text is-small">{{ receivedAtFormatted }}</div>
<span v-if="!readAt" class="notification-read"></span>
</div>
<div v-html="htmlBody" class="notification-html text is-caption" :class="{'is-unread': !readA... |
Add comment to futurelink component | <template>
<div class="dn" aria-hidden="true">
<component :is="load"/>
</div>
</template>
<script>
import futurelink from 'futurelink';
export default {
data: () => ({
load: undefined,
options: {
links: [],
},
}),
mounted() {
// Don't run on the server
if (typeof window === 'undefine... | <!--
Based on vue-futurelink with customisations for simplicity and performance
REF: https://github.com/SamKnows/vue-futurelink
-->
<template>
<div class="dn" aria-hidden="true">
<component :is="load"/>
</div>
</template>
<script>
import futurelink from 'futurelink';
export default {
data: () => ({
load:... |
Use v-cloak to hide content untill load | <template>
<div id="app">
<hero></hero>
<about></about>
<do></do>
<projects></projects>
<skills></skills>
<fork></fork>
<contact></contact>
<copyright></copyright>
</div>
</template>
<script>
import Hero from './components/Hero';
import About from './components/About';
import Do fro... | <template>
<div id="app" v-cloak>
<hero></hero>
<about></about>
<do></do>
<projects></projects>
<skills></skills>
<fork></fork>
<contact></contact>
<copyright></copyright>
</div>
</template>
<script>
import Hero from './components/Hero';
import About from './components/About';
impor... |
Refactor display of current game. | <template lang="html">
<div>
<div class="current-game">
<img v-bind:src="currentGameImage">
{{ currentGameImage }}
</div>
<div v-for="recommendation in recommendations">
<div class="game">
{{ recommendation }}
</div>
</div>
</template>
<script>
import axios from 'axios'
... | <template lang="html">
<div>
<div class="current-game">
<img v-bind:src="currentGame.image">
</div>
<div v-for="recommendation in recommendations">
<div class="game">
{{ recommendation }}
</div>
</div>
</template>
<script>
import axios from 'axios'
export default {
data() {... |
Fix copy hex to clipboard | <template>
<li class="hex mono" @click="copy">
<span
class="hex__block"
:id="colorID"
:style="{ background: color }"
>
</span>
<span class="hex__name">{{color | lowercase}}</span>
<transition name="fadeup">
<span v-if="copied" class="hex__copied">copied</span>
</tr... | <template>
<li class="hex mono" @click="copy" :id="colorID">
<span
class="hex__block"
:style="{ background: color }"
>
</span>
<span class="hex__name">{{color | lowercase}}</span>
<transition name="fadeup">
<span v-if="copied" class="hex__copied">copied</span>
</transitio... |
Update progress-bar demo and add docs | <template>
<div>
<button @click="value = 0">0%</button>
<button @click="value += 10">+10%</button>
<button @click="value -= 10">-10%</button>
<button @click="value = 100">100%</button>
<label>
<input type="checkbox" v-model="indeterminate">Indeterminate
</label>
Current value: {{ val... | <template>
<div>
<component-docs :docs="docs">
<div>
<button @click="value = 0">0%</button>
<button @click="value += 10">+10%</button>
<button @click="value -= 10">-10%</button>
<button @click="value = 100">100%</button>
</div>
<div>
<label>
<i... |
Put comma for large numbers | <template lang="pug">
#learn.has-text-centered
.heading
h1.title {{ book.name }}
h2.subtitle {{ book.count }} days / {{ book.totalWords }} words
a.day.button.is-large.is-primary(v-for='n in book.count', @click='toggle(n)',
:class='list.includes(n) || `is-outlined`') {{ '00'.concat(n).slice(-... | <template lang="pug">
#learn.has-text-centered
.heading
h1.title {{ book.name }}
h2.subtitle {{ num(book.count) }} days / {{ num(book.totalWords) }} words
a.day.button.is-large.is-primary(v-for='n in book.count', @click='toggle(n)',
:class='list.includes(n) || `is-outlined`') {{ '00'.concat(... |
Make template hack a little less brittle | <template>
<wall json-file="circle-members" :ordered-group-names="orderedGroupNames">
<template #heading>
<h2 class="is-sr-only">Our Circle Members</h2>
<figure class="wall__logo grid_separator--l" aria-hidden="true">
<img src="./img/circle-logo.png" alt="Circle Membership logo" /></figure
... | <template>
<wall json-file="circle-members" :ordered-group-names="orderedGroupNames">
<template #heading>
<h2 class="is-sr-only">Our Circle Members</h2>
<figure class="wall__logo grid_separator--l" aria-hidden="true">
<img src="./img/circle-logo.png" alt="Circle Membership logo" /></figure
... |
Use jquery to select only the compoent's input element, instead of using generic class selector | <template>
<div class='col-sm-6'>
<div class="form-group">
<div class='input-group date'>
<input type='text' class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"/>
</span>
... | <template>
<div class='col-sm-6'>
<div class="form-group">
<div class='input-group date'>
<input type='text' class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"/>
</span>
... |
Add missing variables docs to skeleton | <template>
<div>
<Example :component="ExSimple" :code="ExSimpleCode" vertical/>
<Example :component="ExMediaTemplate" :code="ExMediaTemplateCode" title="Media" vertical/>
<Example :component="ExCardTemplate" :code="ExCardTemplateCode" title="Card" vertical/>
<ApiView :data="api"/>... | <template>
<div>
<Example :component="ExSimple" :code="ExSimpleCode" vertical/>
<Example :component="ExMediaTemplate" :code="ExMediaTemplateCode" title="Media" vertical/>
<Example :component="ExCardTemplate" :code="ExCardTemplateCode" title="Card" vertical/>
<ApiView :data="api"/>... |
Add spacing between connection buttons | <template>
<div class="group">
<Row>
<Column :md="8">
<h3>Connections</h3>
</Column>
</Row>
<Row>
<Column :md="8">
<ConnectToDiscord />
</Column>
<Column :md="8">
<ConnectToTwitch />... | <template>
<div class="ConnectionsPage">
<h3>Connections</h3>
<div class="connect">
<ConnectToDiscord/>
</div>
<div class="connect">
<ConnectToTwitch/>
</div>
</div>
</template>
<script>
import ConnectToDiscord from '../../components/user/Connec... |
Update for native/hardware back button | <template>
<!-- App -->
<f7-app :params="f7params">
<f7-statusbar></f7-statusbar>
<f7-panel left cover>
<f7-view url="/panel-left/" links-view=".view-main" />
</f7-panel>
<f7-view url="/" :main="true" class="ios-edges"></f7-view>
</f7-app>
</template>
<script>
// ... | <template>
<!-- App -->
<f7-app :params="f7params">
<f7-statusbar></f7-statusbar>
<f7-panel left cover>
<f7-view url="/panel-left/" links-view=".view-main" />
</f7-panel>
<f7-view url="/" :main="true" class="ios-edges"></f7-view>
</f7-app>
</template>
<script>
// ... |
Use canvas for overview display | <template>
<div id="overview">Overview</div>
</template>
<script>
export default {
data() {
return {};
}
};
</script>
<style>
#overview {
padding: 2px 10px 10px 10px;
margin-bottom: 2px;
color: var(--text-blur);
background-color: var(--ui-darker);
border-color: var(--ui-border);
font-family: "Ub... | <template>
<div id="overview">
<canvas width="400" height="400" id="overview-canvas">
Canvas unsupported, use a newer browser.
</canvas>
</div>
</template>
<script>
export default {};
</script>
<style>
#overview-canvas {
background-color: var(--ui-darker);
}
#overview {
padding: 5px;
margin-b... |
Update icon to match EE | <script>
import loadingIcon from '~/vue_shared/components/loading_icon.vue';
import eventHub from '../../event_hub';
import statusIcon from '../mr_widget_status_icon';
export default {
name: 'MRWidgetAutoMergeFailed',
components: {
statusIcon,
loadingIcon,
},
props: {
mr: {
... | <script>
import loadingIcon from '~/vue_shared/components/loading_icon.vue';
import eventHub from '../../event_hub';
import statusIcon from '../mr_widget_status_icon';
export default {
name: 'MRWidgetAutoMergeFailed',
components: {
statusIcon,
loadingIcon,
},
props: {
mr: {
... |
Fix error notification ui for save settings | <template>
<div>
<UiAlert
v-if="notification === notificationTypes.PAGELOAD_FAILURE"
type="error"
@dismiss="dismiss()"
>
{{ $tr('pageloadFailure') }}
</UiAlert>
<UiAlert
v-if="notification === notificationTypes.SAVE_SUCCESS"
type="success"
@dismiss="dismiss(... | <template>
<div>
<UiAlert
v-if="notification === notificationTypes.PAGELOAD_FAILURE"
type="error"
@dismiss="dismiss()"
>
{{ $tr('pageloadFailure') }}
</UiAlert>
<UiAlert
v-if="notification === notificationTypes.SAVE_SUCCESS"
type="success"
@dismiss="dismiss(... |
Use event.prevent instead of event.preventDefault() | <style>
.help-button {
color: #aaa;
padding: 0 1px;
}
.help-button:hover {
color: #000;
}
</style>
<template>
<a href="#" v-on:click="onClick" class="help-button">
<span class="icon icon-help-circled"></span>
</a>
</template>
<script>
import { shell } from 'electron'
export default {
... | <style>
.help-button {
color: #aaa;
padding: 0 1px;
}
.help-button:hover {
color: #000;
}
</style>
<template>
<a href="#" v-on:click.prevent="onClick" class="help-button">
<span class="icon icon-help-circled"></span>
</a>
</template>
<script>
import { shell } from 'electron'
export de... |
Make next content cards less wide | <template>
<div>
<content-page>
<div slot="below_content">
<template v-if="nextLessonResource">
<h1>{{ $tr('nextInLesson') }}</h1>
<content-card
:isMobile="true"
:kind="nextLessonResource.kind"
:link="nextResourceLink"
:progress="n... | <template>
<div>
<content-page>
<div slot="below_content" class="below-content-area">
<template v-if="nextLessonResource">
<h1>{{ $tr('nextInLesson') }}</h1>
<content-card
:isMobile="true"
:kind="nextLessonResource.kind"
:link="nextResourceLin... |
Update messaging in the delete channel modal. | <template>
<core-modal
:title="$tr('title')"
@cancel="handleClickCancel()"
>
<div>
<p class="action-description">
{{ $tr('deleteActionDescription') }}: {{ channelTitle }}
</p>
<p>{{ $tr('restorationInstructions') }}</p>
<p>{{ $tr('confirmationQuestion') }}</p>
</div>... | <template>
<core-modal
:title="$tr('title')"
@cancel="handleClickCancel()"
>
<p>{{ $tr('confirmationQuestion', { channelTitle }) }}</p>
<div class="core-modal-buttons">
<k-button
:primary="false"
@click="handleClickCancel()"
:text="$tr('cancelButtonLabel')"
/>
... |
Add some padding to footer for better clarity | <!--
- Copyright (C) 2016-2020 the original author or authors
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published
- by the Free Software Foundation, either version 3 of the License, or
- (at your option) any late... | <!--
- Copyright (C) 2016-2020 the original author or authors
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published
- by the Free Software Foundation, either version 3 of the License, or
- (at your option) any late... |
Add item card to welcome for testing. | <template>
<section class="hero is-success is-medium is-bold">
<div class="hero-body">
<h1 class="title">
Stardew Community Checklist
</h1>
<h2 class="subtitle">
Track Your Progress on the Community Center!
</h2>
</div>
</section>
</template>
<scr... | <template>
<section class="hero is-success is-medium is-bold">
<div class="hero-body">
<h1 class="title">
Stardew Community Checklist
</h1>
<h2 class="subtitle">
Track Your Progress on the Community Center!
</h2>
<item-card/>
</div>
</secti... |
Make dapp badge download more enticing | <template>
<div class="component-DappDetailBodyContentRank">
<div class="wrapper">
<p class="description"><nuxt-link @click.native="trackDappMetaClick(slug)" :to="{name: 'dapp-detail-meta', params: {slug: slug}}">Add this ÐApp's badges to your website</nuxt-link></p>
</div>
</div>
</template>
<script>
import {... | <template>
<div class="component-DappDetailBodyContentRank">
<div class="wrapper">
<p class="description"><nuxt-link @click.native="trackDappMetaClick(slug)" :to="{name: 'dapp-detail-meta', params: {slug: slug}}">Add this ÐApp's badges to your website</nuxt-link></p>
<ul class="badges">
<li v-for="(badg... |
Remove background from welcome for better look. | <template>
<section class="hero is-success is-medium is-bold">
<div class="hero-body">
<h1 class="title">
Stardew Community Checklist
</h1>
<h2 class="subtitle">
Track Your Progress on the Community Center!
</h2>
<item-card/>
</div>
</secti... | <template>
<section class="hero is-medium is-bold">
<div class="hero-body">
<h1 class="title">
Stardew Community Checklist
</h1>
<h2 class="subtitle">
Track Your Progress on the Community Center!
</h2>
<item-card/>
</div>
</section>
</templ... |
Change app name text color on footer | <template>
<div>
<fa icon="volume-up" fixed-width />
<n-link :to="linkTo" :title="player.title" class="text-white px-2">
{{ title() }}
</n-link>
<a href="#" class="text-white" @click.prevent="clear()">
<fa icon="times" />
</a>
<div class="d-md-none pt-1 text-secondary">
{{ $a... | <template>
<div>
<fa icon="volume-up" fixed-width />
<n-link :to="linkTo" :title="player.title" class="text-white px-2">
{{ title() }}
</n-link>
<a href="#" class="text-white" @click.prevent="clear()">
<fa icon="times" />
</a>
<div class="d-md-none pt-1 text-muted">
{{ $app.n... |
Fix alignment of list-group-header on mobile | <template>
<div class="ly-list-group">
<div class="ly-list-group-header">{{ name }}</div>
<div class="ly-list-group-body">
<slot></slot>
</div>
</div>
</template>
<script>
export default {
props: {
name: { type: String, required: true },
},
}
</script>
<style lang="scss">
.ly... | <template>
<div class="ly-list-group">
<div class="ly-list-group-header">{{ name }}</div>
<div class="ly-list-group-body">
<slot></slot>
</div>
</div>
</template>
<script>
export default {
props: {
name: { type: String, required: true },
},
}
</script>
<style lang="scss">
.ly... |
Switch edit slug button icon to fa-pencil-alt | <template>
<p class="copyable" :class="{'copied': copySuccess, 'copy-failed': copyFailure}">
<slot></slot>
<button v-clipboard:copy="copyText"
v-clipboard:success="onCopySuccess"
v-clipboard:error="onCopyError" aria-label="copy button" title="copy this">
<i class="fas... | <template>
<p class="copyable" :class="{'copied': copySuccess, 'copy-failed': copyFailure}">
<slot></slot>
<button v-clipboard:copy="copyText"
v-clipboard:success="onCopySuccess"
v-clipboard:error="onCopyError" aria-label="copy button" title="copy this">
<i class="fas... |
Fix dropdown open to show in confidential edit form | <script>
import editFormButtons from './edit_form_buttons.vue';
import { s__ } from '../../../locale';
export default {
components: {
editFormButtons,
},
props: {
isConfidential: {
required: true,
type: Boolean,
},
updateConfidentialAttribute: {
required: true,
type: Funct... | <script>
import editFormButtons from './edit_form_buttons.vue';
import { s__ } from '../../../locale';
export default {
components: {
editFormButtons,
},
props: {
isConfidential: {
required: true,
type: Boolean,
},
updateConfidentialAttribute: {
required: true,
type: Funct... |
Add / to restaurant request | <template>
<div class="restaurant">
<div class="title is-5"><a :href="restaurant_info.url">{{ restaurant_info.name }}</a>
(<a :href="restaurant_info.osm">map</a>)
</div>
<div v-for="entry in dishes" :key="entry">
{{ entry.dish }}
</div>
</div>
</template>
<script>
import axios from 'axios';
export def... | <template>
<div class="restaurant">
<div class="title is-5"><a :href="restaurant_info.url">{{ restaurant_info.name }}</a>
(<a :href="restaurant_info.osm">map</a>)
</div>
<div v-for="entry in dishes" :key="entry">
{{ entry.dish }}
</div>
</div>
</template>
<script>
import axios from 'axios';
export def... |
Use the more elegant way of querying the period's content nodes, now that it's available | <template>
<div class="tw-break-after-page">
<div>
<h1 class="tw-text-2xl tw-font-bold tw-mb-6">
{{ $tc('print.program.title') }}: {{ $tc('entity.period.name') }}
{{ period.description }}
</h1>
</div>
<program-day
v-for="day in days"
:key="'day' + day.id"
:da... | <template>
<div class="tw-break-after-page">
<div>
<h1 class="tw-text-2xl tw-font-bold tw-mb-6">
{{ $tc('print.program.title') }}: {{ $tc('entity.period.name') }}
{{ period.description }}
</h1>
</div>
<program-day
v-for="day in days"
:key="'day' + day.id"
:da... |
Send visited dashboard page only when is first time visiting dashboard | <template>
<section class="page page--welcome">
<Welcome />
<MapsSection class="section" />
<DatasetsSection class="section section--noBorder" />
<QuotaSection></QuotaSection>
</section>
</template>
<script>
import Welcome from './WelcomeSection/Welcome.vue';
import MapsSection from './MapsSection/MapsSection.... | <template>
<section class="page page--welcome">
<Welcome />
<MapsSection class="section" />
<DatasetsSection class="section section--noBorder" />
<QuotaSection></QuotaSection>
</section>
</template>
<script>
import Welcome from './WelcomeSection/Welcome.vue';
import MapsSection from './MapsSection/MapsSection.... |
Refresh state before exporting data | <template lang="html">
<a
:href="dataToExport"
download="AIDA_annotation.json">
<v-btn icon>
<v-icon small>
fa-download
</v-icon>
</v-btn>
</a>
</template>
<script>
import { mapState } from 'vuex'
export default {
computed: {
...mapState({
dataToExport: state =>
... | <template lang="html">
<v-btn
icon
@click.native="exportData" >
<v-icon small>
fa-download
</v-icon>
</v-btn>
</template>
<script>
import { mapState, mapActions } from 'vuex'
export default {
computed: {
...mapState({
dataToExport: state => state.annotation.project
})
},
... |
Replace markdown-it instance with wrapper function to call markdown-it | <template>
<div>
<navbar></navbar>
<div class="section group">
<div class="col span_6_of_12">
<div>
<codemirror v-model="content" ref="myEditor" @changed="codeChange">
</codemirror>
</div>
</div>
<div class="col span_6_of_12">
<div class="viewer">... | <template>
<div>
<navbar></navbar>
<div class="section group">
<div class="col span_6_of_12">
<div>
<codemirror v-model="content" ref="myEditor" @changed="codeChange">
</codemirror>
</div>
</div>
<div class="col span_6_of_12">
<div class="viewer">... |
Switch back to using community cards on homepage. | <script lang="ts" src="./communities"></script>
<template>
<div class="container-xl">
<div class="text-center">
<h2 class="section-header">
<translate>Browse Communities</translate>
</h2>
<p>
<translate>
Find a community to create and explore fanart, videos, walkthroughs and more!
</trans... | <script lang="ts" src="./communities"></script>
<template>
<div class="container">
<div class="text-center">
<h2 class="section-header">
<translate>Browse Communities</translate>
</h2>
<p>
<translate>
Find a community to create and explore fanart, videos, walkthroughs and more!
</translat... |
Fix hanging dapp cards css | <template>
<ul class="component-DappCardList">
<DappCardListItem v-for="(dapp, index) in dapps"
:key="index"
:dapp="dapp"
:sourceCollection="sourceCollection"/>
</ul>
</template>
<script>
import DappCardListItem from './DappCardListItem'
export default {
components: {
DappCardListItem
},
props... | <template>
<ul class="component-DappCardList">
<DappCardListItem v-for="(dapp, index) in dapps"
:key="index"
:dapp="dapp"
:sourceCollection="sourceCollection"/>
</ul>
</template>
<script>
import DappCardListItem from './DappCardListItem'
export default {
components: {
DappCardListItem
},
props... |
Store the pending and the completed tasks on the parent instance | <template>
<div class="row">
<div class="row" v-show="!tasksEmpty">
<div class="col-sm-6">
<task-list type="pending" heading="Pending Tasks"></task-list>
</div>
<div class="col-sm-6">
<task-list type="completed" heading="Completed Tasks">... | <template>
<div class="row">
<div class="row">
<div class="col-sm-6">
<task-list type="pending" heading="Pending Tasks" :tasks.sync="pendingTasks"></task-list>
</div>
<div class="col-sm-6">
<task-list type="completed" heading="Completed T... |
Fix - open menu by default | <template>
<div class="menu">
<v-list dense>
<v-list-group link v-for="category in categories" :key="category">
<template v-slot:activator>
<v-list-item-content>
<v-list-item-title class="text-capitalize">{{category.category}}</v-list-item-title>
</v-list-item-content... | <template>
<div class="menu">
<v-list dense>
<v-list-group link v-for="category in categories" :key="category" value="true">
<template v-slot:activator>
<v-list-item-content>
<v-list-item-title class="text-capitalize">{{category.category}}</v-list-item-title>
</v-list... |
Add missing g closing tag | <template>
<g :transform="phrase.transform">
<g v-for="childPhrase in phrase.phrases"
:key="childPhrase.id">
<circle cx="0"
cy="40"
r="100"/>
<RenderedPhrase v-if="'phrases' in childPhrase"
:phrase="childPhrase"/>
<RenderedLetter v-else
... | <template>
<g :transform="phrase.transform">
<g v-for="childPhrase in phrase.phrases"
:key="childPhrase.id">
<circle cx="0"
cy="40"
r="100"/>
<RenderedPhrase v-if="'phrases' in childPhrase"
:phrase="childPhrase"/>
<RenderedLetter v-else
... |
Fix tree view inline checkboxes. | <template>
<va-tree-root>
<va-tree-category label="Products">
<va-tree-node v-for="product in products" :key="product.id">
<va-checkbox
slot="checkbox"
v-model="product.selected"
/>
{{ product.name }}
</va-tree-node>
</va-tree-category>
<v... | <template>
<va-tree-root>
<va-tree-category label="Products">
<va-tree-node v-for="product in products" :key="product.id">
<template #checkbox>
<va-checkbox
v-model="electronic.selected"
:label="product.name"
/>
</template>
</va-tre... |
Add counts for bundles with count greater than one | <template>
<a class="button is-rounded is-fullwidth" :class="ItemInBundle ? 'is-success' : 'is-danger'"
@click="ToggleItemInBundle">
<span class="icon">
<font-awesome-icon :icon="ItemInBundle ? InBundleIcon : NotInBundleIcon"/>
</span>
<span>{{bundleItem.bundle.name}}</span>
</a>
</template>
... | <template>
<a class="button is-rounded is-fullwidth" :class="ItemInBundle ? 'is-success' : 'is-danger'"
@click="ToggleItemInBundle">
<span class="icon">
<font-awesome-icon :icon="ItemInBundle ? InBundleIcon : NotInBundleIcon"/>
</span>
<span>{{bundleItem.bundle.name}}{{numberInBundle}}</span>
... |
Fix js error with prop type | <template>
<div class="chart--row-pa">
<div class="chart__row">
<div class="chart__bar" :style="{ width: percent + '%' }">
<div class="chart__coverage" :style="{ width: coverage + '%' }">
<span class="chart__coverage-label">{{ coverage }}%</span>
</div>
<span class="ch... | <template>
<div class="chart--row-pa">
<div class="chart__row">
<div class="chart__bar" :style="{ width: percent + '%' }">
<div class="chart__coverage" :style="{ width: coverage + '%' }">
<span class="chart__coverage-label">{{ coverage }}%</span>
</div>
<span class="ch... |
Use router `replace` in 404-not-found | <template>
<div class="not-found">
Can't found the path: <b>{{ $route.fullPath }}</b>
<div>
Please check the url or Redirect to home page:
<router-link to="/">Home</router-link>
</div>
</div>
</template>
| <template>
<div class="not-found">
Can't found the path: <b>{{ $route.fullPath }}</b>
<div>
Please check the url or Redirect to home page:
<router-link to="/" replace>Home</router-link>
</div>
</div>
</template>
|
Fix calculation of height with variable | <template>
<div>
<userInputs v-model="action"></userInputs>
<div class="documents">
<documents :action="action"></documents>
</div>
</div>
</template>
<script>
import documents from './Documents';
import userInputs from './UserInputs';
export default {
components: {
documents,
userInpu... | <template>
<div>
<userInputs v-model="action"></userInputs>
<div class="documents">
<documents :action="action"></documents>
</div>
</div>
</template>
<script>
import documents from './Documents';
import userInputs from './UserInputs';
export default {
components: {
documents,
userInpu... |
Create game : fix input[type=range] | <template>
<div :class="{ 'has-error': error }">
<label for="max-player" class="required">{{ label }} :</label>
<input v-model="nb_player" id="max-player" type="range" required="required" class="small-12 max-player" min="2" max="12">
<div class="clear"></div>
</div>
</template>
<script>
... | <template>
<div :class="{ 'has-error': error }">
<label for="max-player" class="required">{{ label }} :</label>
<input v-model="nb_player" id="max-player" type="range" required="required" class="small-12 max-player" min="2" max="12">
<div class="clear"></div>
</div>
</template>
<script>
... |
Fix markdown invisible on tab changed | <template>
<b-tab :title-link-class="classes">
<template v-slot:title>
{{ title }}
</template>
<slot />
</b-tab>
</template>
<script>
import { BTab } from 'bootstrap-vue';
export default {
name: 'SharpTab',
components: {
BTab
},
... | <template>
<b-tab :title-link-class="classes" @update:active="handleActiveChanged">
<template v-slot:title>
{{ title }}
</template>
<slot />
</b-tab>
</template>
<script>
import { BTab } from 'bootstrap-vue';
export default {
name: 'SharpTab',
compo... |
Load foldername from props passed down from Documents | <template>
<div class="col vertical-align-child"
v-on:dblclick="openFolder"
id="123">
<button class="folder">
<img src="../../assets/images/icons/icon-folder.svg" alt="folder">
<p class="inline-block">CS3244 Project</p>
</button>
</div>
</template>
<script>
export default {
data(... | <template>
<div class="col vertical-align-child"
v-on:dblclick="openFolder"
id="123">
<button class="folder">
<img src="../../assets/images/icons/icon-folder.svg" alt="folder">
<p class="inline-block">{{folderName}}</p>
</button>
</div>
</template>
<script>
export default {
props... |
Remove flexbox centered loading status | <template>
<div class="loading-screen" :style="backgroundStyle">
<div>
<KCircularLoader
type="indeterminate"
:delay="false"
/>
<p>{{ $tr('loadingBook') }}</p>
</div>
</div>
</template>
<script>
import KCircularLoader from 'kolibri.coreVue.components.KCircularLoader';... | <template>
<div class="loading-screen" :style="backgroundStyle">
<div class="loading-status">
<KCircularLoader
type="indeterminate"
:delay="false"
/>
<p>{{ $tr('loadingBook') }}</p>
</div>
</div>
</template>
<script>
import KCircularLoader from 'kolibri.coreVue.compo... |
Remove props from veui-link slot | <template>
<component v-if="!to"
class="veui-link"
:class="klass"
:is="fallback"
@click="handleRedirect"><slot :disabled="disabled"></slot></component>
<router-link v-else-if="$router && !native"
class="veui-link"
:class="klass"
:to="to"
:replace="replace">
<slot></slot>
</router-link>
<a v-else
cla... | <template>
<component v-if="!to"
class="veui-link"
:class="klass"
:is="fallback"
@click="handleRedirect"><slot></slot></component>
<router-link v-else-if="$router && !native"
class="veui-link"
:class="klass"
:to="to"
:replace="replace">
<slot></slot>
</router-link>
<a v-else
class="veui-link"
:cla... |
Add main content section container | <template>
<div class="mb-5">
<div class="title mb-3">
{{ title }}
</div>
<slot />
</div>
</template>
<script>
export default {
name : 'MainContentSection',
components: { },
props : { title: { type: String, default: 'Section' } },
}
</script>
<style scoped>
.title {
border-botto... | |
Add an autoscrolling log panel Vue component | <!--
Licensed to Cloudera, Inc. under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. Cloudera, Inc. licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this fi... | |
Add component for editing/displaying menu items in our menu editor. | <template>
<span
class="menu-item__cell"
:class="{ 'is-error--custom' : errors[index] && errors[index][nestedKey] }"
>
<scroll-input
:placeholder="placeholder"
v-model="item[nestedKey]"
@blur="validate(index)"
@change="validate(index)"
>
<template slot="prepend">{{ name }}</template>
</scroll-input>
<di... | |
Include examples using inner templates | <template>
<div class="card">
<header class="card-header">
<p class="card-header-title">
This component was loaded async trigged by vue-router
</p>
<a class="card-header-icon">
<span class="icon">
<i class="fa fa-angle-... | |
Write a generalized list component | <!-- Copyright 2017 Mathew Robinson <mrobinson@praelatus.io>. All rights
reserved. Use of this source code is governed by the AGPLv3 license that
can be found in the LICENSE file. -->
<template>
<div id="item-list-root">
<div id="list-wrapper" v-if="items.length !== 0">
<table class="table">
... | |
Create single page of polls | <template>
<list
:data="data"
:auto-refresh="false"
:options="options"
type="Poll" />
</template>
<script>
import List from '~/components/List'
export default {
components: {
List
},
async asyncData({ app: { $resource } }) {
const options = {}
const data = await $resource()
retu... | |
Make breadcrumbs' list prop required. | <template>
<div>
<span v-for="ancestor in list">
<span v-if="ancestor.id"><a :href="ancestor.id">{{ ancestor.name }}</a> > </span>
<span v-else> {{ ancestor.name }}</span>
</span>
</div>
</template>
<script>
module.exports = {
props: {
list: {
type: Array,
// ... | <template>
<div>
<span v-for="ancestor in list">
<span v-if="ancestor.id"><a :href="ancestor.id">{{ ancestor.name }}</a> > </span>
<span v-else> {{ ancestor.name }}</span>
</span>
</div>
</template>
<script>
module.exports = {
props: {
list: {
type: Array,
req... |
Change the component type to 'button' if 'href' or 'to' props are not defined | <template>
<li class="nav-item" @click="onclick">
<b-link :class="classObject" :to="to" :href="href" :exact="exact">
<slot></slot>
</b-link>
</li>
</template>
<script>
import bLink from './link.vue';
export default {
components: {bLink},
computed: {
... | <template>
<li class="nav-item" @click="onclick">
<b-link :is="itemType" :class="classObject" :to="to" :href="href" :exact="exact">
<slot></slot>
</b-link>
</li>
</template>
<script>
import bLink from './link.vue';
export default {
components: {bLink},
compu... |
Add a space so the empty tag conforms to "<{tag} />". | <main>
<data>
<value>
<data>
<value>data</value>
</data>
</value>
<value>
<extra/>
</value>
</data>
</main> | <main>
<data>
<value>
<data>
<value>data</value>
</data>
</value>
<value>
<extra />
</value>
</data>
</main> |
Change warning reason from string(255) to text | <?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctri... | <?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctri... |
Fix generation of html documentation | <?xml version="1.0"?>
<project basedir="." name="GeodesyML HTML Documentation">
<target name="html">
<property name="DFH" value="./docflex-xml-1.9.5"/>
<property name="CP"
value="${DFH}/lib/xml-apis.jar;${DFH}/lib/xercesImpl.jar;${DFH}/lib/resolver.jar;${DFH}/lib/docflex-xml.jar"/>
... | <?xml version="1.0"?>
<project basedir="." name="GeodesyML HTML Documentation">
<target name="html">
<property name="DFH" value="./docflex-xml-1.9.5"/>
<property name="CP"
value="${DFH}/lib/xml-apis.jar;${DFH}/lib/xercesImpl.jar;${DFH}/lib/resolver.jar;${DFH}/lib/docflex-xml.jar"/>
... |
Remove WebView facet from Workspace document type | <?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.webengine.sites.actions">
<require>org.nuxeo.ecm.platform.actions</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="TAB_WEBVIEW" link="/incl/tabs/workspace_view.xhtml" en... | <?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.webengine.sites.actions">
<require>org.nuxeo.ecm.platform.actions</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="TAB_WEBVIEW" link="/incl/tabs/workspace_view.xhtml" en... |
Add installers to VCS roots | <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
<mapping directory="$PROJECT_DIR$/client" vcs="Git" />
<mapping directory="$PROJECT_DIR$/parser" vcs="Git" />
<mappin... | <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
<mapping directory="$PROJECT_DIR$/client" vcs="Git" />
<mapping directory="$PROJECT_DIR$/installers" vcs="Git" />
<ma... |
Update versioning to lock ODK Tables, ODK Survey and androidcommon to same version. | <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.opendatakit.common.android"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="16" />
<!-- Required... | <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.opendatakit.common.android"
android:versionCode="118"
android:versionName="2.0">
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="16" />
<!-- Requir... |
Change FindBugs settings to ignore generated files | <!-- See http://findbugs.sourceforge.net/manual/filter.html for syntax -->
<FindBugsFilter>
<!-- @NonnullByDefault doesn't play nicely with overriding @Nullable parameters/outputs -->
<Match>
<Bug pattern="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" />
</Match>
<!-- Ignore the followi... | <!-- See http://findbugs.sourceforge.net/manual/filter.html for syntax -->
<FindBugsFilter>
<!-- ignore generated code -->
<Match>
<Class name="~.*\.*Immutable.*" />
</Match>
<!-- @NonnullByDefault doesn't play nicely with overriding @Nullable parameters/outputs -->
<Match>
<Bug pat... |
Disable failing OpenTracing TCK module | <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>quarkus-tck-parent</artifactId>
<groupId>io.quarkus</gro... | <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>quarkus-tck-parent</artifactId>
<groupId>io.quarkus</gro... |
Rename gdata and sample extensions to drop the -extension suffix | <?xml version="1.0" encoding="UTF-8"?>
<!--+
|
| Google Refine Extensions Build File
|
+-->
<project name="google-refine-extensions" default="build" basedir=".">
<target name="build">
<echo message="Building extensions" />
<ant dir="sample-extension/" target="build" ... | <?xml version="1.0" encoding="UTF-8"?>
<!--+
|
| Google Refine Extensions Build File
|
+-->
<project name="google-refine-extensions" default="build" basedir=".">
<target name="build">
<echo message="Building extensions" />
<ant dir="sample/" target="build" />
<an... |
Exclude long classnames from the phpmd tests | <?xml version="1.0"?>
<ruleset name="PHP Spider Ruleset for test code"
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:... | <?xml version="1.0"?>
<ruleset name="PHP Spider Ruleset for test code"
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:... |
Include debug repo in CE build | <?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
... | <?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
... |
Remove <application/> from library manifest | <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.duenndns.ssl"
android:versionCode="1"
android:versionName="1.0">
<application android:label="MemorizingTrustManager">
<activity android:name="de.duenndns.ssl.MemorizingActivity"
android:them... | <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.duenndns.ssl"
android:versionCode="1"
android:versionName="1.0">
</manifest>
|
Enforce the use of commons-logging throughout the project | <?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="TreeWalker">
<!-- this. in front of fields -->
<module name="RequireThis">
<property name="checkMethods" value="false"... | <?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="TreeWalker">
<!-- this. in front of fields -->
<module name="RequireThis">
<property name="checkMethods" value="false"... |
Fix field name, changed in V8 | <?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="product_normal_form_formula_view" model="ir.ui.view">
<field name="name">product.normal.formula.form</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_norma... | <?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="product_normal_form_formula_view" model="ir.ui.view">
<field name="name">product.normal.formula.form</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_norma... |
Fix test failing in Chrome: invalid XML | <?xml version="1.0" encoding="UTF-8" ?>
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://openrosa.org/jr/xforms" xmlns="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa" xmlns:vellum="http://commcarehq.org/xforms/vellum">
<h:head>
<h:t... | <?xml version="1.0" encoding="UTF-8" ?>
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://openrosa.org/jr/xforms" xmlns="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa" xmlns:vellum="http://commcarehq.org/xforms/vellum">
<h:head>
<h:t... |
Update PDF project file with DITAVAL profile | <?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://www.dita-ot.org/rng/project.rnc" type="application/relax-ng-compact-syntax"?>
<project xmlns="https://www.dita-ot.org/project">
<deliverable id="pdf">
<context name="User Guide">
<input href="../../userguide-book.ditamap"/>
</context>
... | <?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://www.dita-ot.org/rng/project.rnc" type="application/relax-ng-compact-syntax"?>
<project xmlns="https://www.dita-ot.org/project">
<deliverable id="pdf">
<context name="User Guide">
<input href="../../userguide-book.ditamap"/>
<profile>
... |
Clean up commented out code which should not have been committed | <!--
~ Copyright 2014 Red Hat, Inc. and/or its affiliates.
~
~ Licensed under the Eclipse Public License version 1.0, available at http://www.eclipse.org/legal/epl-v10.html
-->
<assembly>
<id>openshift-liveoak-cartridge</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>f... | <!--
~ Copyright 2014 Red Hat, Inc. and/or its affiliates.
~
~ Licensed under the Eclipse Public License version 1.0, available at http://www.eclipse.org/legal/epl-v10.html
-->
<assembly>
<id>openshift-liveoak-cartridge</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>f... |
Update maven version to 0.4.1 | <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.g... | <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.g... |
Change simple_trajectory_planner's format to 2 | <?xml version="1.0"?>
<package>
<name>simple_trajectory_planner</name>
<version>0.0.1</version>
<description>The simple_trajectory_planner package</description>
<maintainer email="o111027y@mail.kyutech.jp">Yusuke Doi</maintainer>
<maintainer email="httperror@404-notfound.jp">YamaCIR-KIT</maintainer>
<licen... | <?xml version="1.0"?>
<package format="2">
<name>simple_trajectory_planner</name>
<version>0.0.1</version>
<description>The simple_trajectory_planner package</description>
<maintainer email="o111027y@mail.kyutech.jp">Yusuke Doi</maintainer>
<maintainer email="httperror@404-notfound.jp">YamaCIR-KIT</maintaine... |
Fix multiple tabs "contact information" | <?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_personal_information_page_nationality" model="ir.ui.view">
<field name="name">Partner nationality: personal info</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="partner_contact_personal_information_page.pers... | <?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_personal_information_page_nationality" model="ir.ui.view">
<field name="name">Partner nationality: personal info</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="partner_contact_personal_information_page.pers... |
Add lumivote word to dictionary | <component name="ProjectDictionaryState">
<dictionary name="alex" />
</component> | <component name="ProjectDictionaryState">
<dictionary name="alex">
<words>
<w>lumivote</w>
</words>
</dictionary>
</component> |
Allow deploying Docker images automatically | <settings>
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>${env.OSSRH_USER}</username>
<password>${env.OSSRH_PASS}</password>
</server>
</servers>
</settings>
| <settings>
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>${env.OSSRH_USER}</username>
<password>${env.OSSRH_PASS}</password>
</server>
<server>
<id>docker.io</id>
<username>${env.DOCKER_USERNAME}</username>
... |
Stop using color in vector xml | <vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="@color/primary"
android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,... | <vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#ffe0e0e0"
android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,-1.4L... |
Exclude temporary Maven files from source distribution. | <!--
Copyright (C) 2006 Joe Walnes.
Copyright (C) 2006, 2007, 2011 XStream committers.
All rights reserved.
The software in this package is published under the terms of the BSD
style license a copy of which has been included with this distribution in
the LICENSE.txt file.
Created on 15. October 2006 by Mauro... | <!--
Copyright (C) 2006 Joe Walnes.
Copyright (C) 2006, 2007, 2011, 2012 XStream committers.
All rights reserved.
The software in this package is published under the terms of the BSD
style license a copy of which has been included with this distribution in
the LICENSE.txt file.
Created on 15. October 2006 by... |
Reduce the "noise" a little more to bring attention to the stuff that is really bad. T] | <?xml version="1.0"?>
<!DOCTYPE module
PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<module name="TreeWalker">
<!-- check for deeper coding conventions -->
<module name="... | <?xml version="1.0"?>
<!DOCTYPE module
PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<module name="TreeWalker">
<!-- check for deeper coding conventions -->
<module name="... |
Upgrade to new analysis core. | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>analy... | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>analy... |
Update ColVis example to use Buttons | <?xml version="1.0" encoding="UTF-8" ?>
<dt-example table-type="html" order="1">
<css lib="datatables colreorder buttons colvis" />
<js lib="jquery datatables colreorder buttons colvis">
<![CDATA[
$(document).ready(function() {
var table = $('#example').DataTable( {
dom: 'Bfrtip',
colReorder: true,... | <?xml version="1.0" encoding="UTF-8" ?>
<dt-example table-type="html" order="1">
<css lib="datatables colreorder buttons buttons-colvis" />
<js lib="jquery datatables colreorder buttons buttons-colvis">
<![CDATA[
$(document).ready(function() {
var table = $('#example').DataTable( {
dom: 'Bfrtip',
c... |
Fix main CI by aligning jboss-parent in enforcer-rules tests | <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss... | <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss... |
Fix valid ORM mapping as datetime | <?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doc... | <?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doc... |
Fix bug caused by ical4j upgrade | <?xml version="1.0" encoding="UTF-8" ?>
<client-config xmlns="http://bedework.org/ns/" type="org.bedework.webcommon.config.ConfigCommonImpl">
<appRoot>http://localhost:8080/calfeedrsrc</appRoot>
<appType>feeder</appType>
<autoCreateContacts>false</autoCreateContacts>
<autoCreateLocations>false</autoCreateLocat... | <?xml version="1.0" encoding="UTF-8" ?>
<client-config xmlns="http://bedework.org/ns/" type="org.bedework.webcommon.config.ConfigCommonImpl">
<appRoot>http://localhost:8080/calfeedrsrc</appRoot>
<appType>feeder</appType>
<autoCreateContacts>false</autoCreateContacts>
<autoCreateLocations>false</autoCreateLocat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.