doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
a057791e-21d8-48ac-9dbe-2a7a1cc6872f | {
"language": "YAML"
} | ```yaml
version: 2
jobs:
build:
branches:
only:
- master
working_directory: /var/tmp
docker:
- image: diegovalle/elcrimen-docker
steps:
- checkout
- run:
name: Build the website https://elcri.men
command: |
sudo -H -E bash -c "cp ansible... | ```yaml
version: 2
jobs:
build:
branches:
only:
- master
working_directory: /var/tmp
docker:
- image: diegovalle/elcrimen-docker
auth:
username: diegovalle # can specify string literal values
password: $DOCKERHUB_PASSWORD # or project environment variable... |
76b8c133-a8de-438a-96f7-eb6c572f698a | {
"language": "YAML"
} | ```yaml
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:8.7
# Specify service dependencies here if necessary
... | ```yaml
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
node8:
docker:
# specify the version you desire here
- image: circleci/node:8.7
# Specify service dependencies here if necessary
... |
4bc25a3c-9998-44a6-9b99-a6d916a6aecb | {
"language": "YAML"
} | ```yaml
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
general:
branches:
ignore:
- gh-pages
jobs:
test:
docker:
- image: circleci/node:8.9.4
steps:
- checkout
- run: npm install
... | ```yaml
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
general:
branches:
ignore:
- gh-pages
jobs:
test:
docker:
- image: circleci/node:8.9.4
steps:
- checkout
- run: npm install
... |
60f90132-67ff-481a-8d97-6c4e9191c8a7 | {
"language": "YAML"
} | ```yaml
version: 2
jobs:
build:
docker:
- image: circleci/openjdk:8u171-jdk
environment:
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx512m -Dorg.gradle.daemon=false
TERM: dumb
TZ: /usr/share/zoneinfo/America/Los_Angeles
branches:
ignore:
- /rel\/.*/
steps:
- che... | ```yaml
version: 2
jobs:
build:
docker:
- image: circleci/openjdk:11-jdk
environment:
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx512m -Dorg.gradle.daemon=false
TERM: dumb
TZ: /usr/share/zoneinfo/America/Los_Angeles
branches:
ignore:
- /rel\/.*/
steps:
- checko... |
776af395-c29a-424b-83c6-0bf937e35a19 | {
"language": "YAML"
} | ```yaml
fullnameOverride: "runner"
daemonSet: true
initContainers: {}
envFromSecret: {}
nodeSelector: {}
affinity: {}
tolerations: []
service:
annotations:
prometheus.io/scrape: "true"
volumes:
- name: runner-tmp-dir
emptyDir:
medium: Memory
sizeLimit: "64Mi"
- name: docker-socket
hos... | ```yaml
fullnameOverride: "runner"
daemonSet: true
initContainers: {}
envFromSecret: {}
nodeSelector: {}
affinity: {}
tolerations: []
service:
annotations:
prometheus.io/scrape: "true"
volumes:
- name: runner-tmp-dir
emptyDir:
medium: Memory
sizeLimit: "64Mi"
- name: docker-socket
hos... |
741d00b2-ac4b-4022-9e8a-d887fbc8bd5c | {
"language": "YAML"
} | ```yaml
driver:
name: vagrant
provisioner:
name: chef_zero
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: centos-6.8
- name: centos-7.3
- name: debian-7.11
- name: debian-8.7
- name: freebsd-10.3
- name: freebsd-11.0
- name: fedora-25
- name: opensuse-leap-42.2
- nam... | ```yaml
driver:
name: vagrant
provisioner:
name: chef_zero
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: centos-6.9
- name: centos-7.3
- name: debian-7.11
- name: debian-8.7
- name: freebsd-10.3
- name: freebsd-11.0
- name: fedora-25
- name: opensuse-leap-42.2
- nam... |
21af6ac8-8fb3-4660-bea9-dea88608a110 | {
"language": "YAML"
} | ```yaml
---
driver:
name: vagrant
provisioner:
name: chef_zero
driver_config:
require_chef_omnibus: true
platforms:
- name: ubuntu-12.04
driver_config:
box: opscode-ubuntu-12.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
run_list: ["recipe[ap... | ```yaml
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: ubuntu-12.04
run_list:
- recipe[apt::default]
- name: ubuntu-14.04
run_list:
- recipe[apt::default]
- name: centos-5.11
- name: centos-6.7
- name: centos-7.1
suites:
- name: default
run_list: ["recipe[sqlite]"]
a... |
fd64e514-0881-41fa-8587-8b0be1e1b992 | {
"language": "YAML"
} | ```yaml
name: "Let me lint:fix that for you"
on: [push]
jobs:
LMLFTFY:
runs-on: ubuntu-latest
steps:
- name: "Check out Git repository"
uses: actions/checkout@v2
- name: "Install CLI tools"
run: npm install -g @angular/cli
- name: "Install application"
run: |
npm instal... | ```yaml
name: "Let me lint:fix that for you"
on: [push]
jobs:
LMLFTFY:
runs-on: ubuntu-latest
steps:
- name: "Check out Git repository"
uses: actions/checkout@v2
- name: "Use Node.js 14"
uses: actions/setup-node@v1
with:
node-version: 14
- name: "Install CLI too... |
83b7792a-481c-433c-9822-212af8769c9b | {
"language": "YAML"
} | ```yaml
---
provisioner:
name: ansible_playbook
hosts: test-kitchen
require_ansible_repo: false
require_ansible_omnibus: true
driver:
name: docker
platforms:
- name: centos-6
driver_config:
image: dynatrace/centos-testing:6
- name: debian-7.8
driver_config:
image: dynatrace/debian-te... | ```yaml
---
provisioner:
name: ansible_playbook
hosts: test-kitchen
require_ansible_repo: false
require_ansible_omnibus: true
driver:
name: docker
platforms:
- name: centos-6
driver_config:
provision_command:
- yum update -y
- yum install -y net-tools tar
- name: debian-7.8
... |
d1cf4688-705f-499a-89f1-76077f3bdfec | {
"language": "YAML"
} | ```yaml
pull_request_rules:
- name: auto merge when label is set
conditions:
- label!=WIP
- label!=waiting
- label=ready to merge
- status-success~=Travis CI
- status-success~=Codacy
- status-success~=pullapprove
actions:
merge:
method: merge
strict: t... | ```yaml
pull_request_rules:
- name: auto merge when label is set
conditions:
- label!=WIP
- label!=waiting
- label=ready to merge
- status-success~=Travis CI
- status-success~=Codacy
- status-success~=pullapprove
actions:
merge:
method: merge
strict: t... |
44774a18-e34a-4656-8d03-e96fa54bccbb | {
"language": "YAML"
} | ```yaml
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ master ]
pull_request:
bran... | ```yaml
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ master ]
pull_request:
bran... |
870487a8-86da-4dac-b20b-64dac8083a43 | {
"language": "YAML"
} | ```yaml
parser: babel-eslint
extends: airbnb/base
plugins:
- flowtype
rules:
eqeqeq:
- error
- allow-null
no-unused-expressions:
- error
- allowShortCircuit: true
no-use-before-define: off
no-multi-spaces:
- warn
- exceptions:
VariableDeclarator: true
ImportDeclaration:... | ```yaml
parser: babel-eslint
extends: airbnb/base
plugins:
- flowtype
rules:
eqeqeq:
- error
- allow-null
no-unused-expressions:
- error
- allowShortCircuit: true
no-use-before-define: off
no-multi-spaces: off
no-nested-ternary: off
no-cond-assign:
- error
- except-parens
key-spa... |
d0b96233-367a-4fee-b50f-20effdf421bb | {
"language": "YAML"
} | ```yaml
---
label: Page
hide_body: false
fields:
- type: text
name: title
label: Title
config:
required: true
- name: description
type: text
config:
required: false
label: Description
- type: datetime
name: date
label: Date
config:
date_format: YYYY-MM-DD
required: true
default: now
... | ```yaml
---
label: Page
hide_body: false
fields:
- type: text
name: title
label: Title
config:
required: true
- name: description
type: text
config:
required: false
label: Description
- type: datetime
name: date
label: Date
config:
date_format: YYYY-MM-DD
required: true
default: now
... |
8272dfba-d312-43cb-bc39-70a7dec42ae7 | {
"language": "YAML"
} | ```yaml
---
label: Page
hide_body: false
fields:
- type: text
name: title
label: Title
config:
required: true
- name: description
type: text
config:
required: false
label: Description
- name: image
type: file
config:
maxSize: 250
label: Image
- type: datetime
name: date
label: Date
c... | ```yaml
---
label: Page
hide_body: false
display_field: title
fields:
- type: text
name: title
label: Title
config:
required: true
- name: description
type: text
config:
required: false
label: Description
- name: image
type: file
config:
maxSize: 250
label: Image
- type: datetime
name: d... |
c6efd8a3-536f-4b85-8371-c1e785c3c632 | {
"language": "YAML"
} | ```yaml
---
- name: Update /etc/hosts with freeipa's details
become: yes
lineinfile:
dest: "/etc/hosts"
line: "{{ freeipa_node_ipaddress }} {{ freeipa_node }}.{{ freeipa_cloud_domain }} {{ freeipa_node }}"
state: present
- name: Install python novajoin
become: yes
package:
name: python... | ```yaml
---
- name: Update /etc/hosts with freeipa's details
become: yes
lineinfile:
dest: "/etc/hosts"
line: "{{ freeipa_node_ipaddress }} {{ freeipa_node }}.{{ freeipa_cloud_domain }} {{ freeipa_node }}"
state: present
- name: Install python novajoin
become: yes
package:
name: python... |
0adeac68-3923-4acc-b72a-1a6c6631c0cd | {
"language": "YAML"
} | ```yaml
image: eu.gcr.io/jetstack-build-infra-images/bazelbuild:v20181107-8aac55d-0.18.0
variables:
DOCKER_DRIVER: overlay
services:
- docker:1.12-dind
before_script:
- curl -L "https://get.docker.com/builds/Linux/x86_64/docker-1.9.1.tgz" | tar -C /usr/bin -xvzf- --strip-components=3 usr/local/bin/docker
- export ... | ```yaml
image: eu.gcr.io/jetstack-build-infra-images/bazelbuild:v20181107-8aac55d-0.18.0
variables:
DOCKER_DRIVER: overlay
services:
- docker:1.12-dind
before_script:
- curl -L "https://get.docker.com/builds/Linux/x86_64/docker-1.9.1.tgz" | tar -C /usr/bin -xvzf- --strip-components=3 usr/local/bin/docker
- export ... |
52c104a3-0446-4735-b951-a8d248bd5267 | {
"language": "YAML"
} | ```yaml
gitlab-dev:
tags:
- meao
- gcp
only:
- gitlab
variables:
NAMESPACE: nucleus-dev
script:
- docker/bin/build_images.sh
- docker/bin/push2dockerhub.sh
- CLUSTER_NAME=iowa-b bin/update-config.sh
- CLUSTER_NAME=frankfurt bin/update-config.sh
master:
tags:
- meao
- g... | ```yaml
dev:
tags:
- meao
- gcp
only:
- gitlab
- master
variables:
NAMESPACE: nucleus-dev
script:
- docker/bin/build_images.sh
- docker/bin/push2dockerhub.sh
- CLUSTER_NAME=iowa-b bin/update-config.sh
- CLUSTER_NAME=frankfurt bin/update-config.sh
stage:
tags:
- meao
... |
b6308cd7-3b31-4972-b13a-7f8fcbafeeee | {
"language": "YAML"
} | ```yaml
stages:
- build
- test
- deploy
build:
image: docker
services:
- docker:dind
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
script:
- docker pull $CI_REGISTRY_IMAGE:CI_COMMIT_REF_NAME || true
- docker build --cache-from $CI_REGISTRY_IMAGE:C... | ```yaml
stages:
- build
- test
- deploy
build:
image: docker
services:
- docker:dind
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
script:
- docker pull $CI_REGISTRY_IMAGE:CI_COMMIT_REF_NAME || true
- docker build --cache-from $CI_REGISTRY_IMAGE:C... |
ffb8abe2-b2a7-4732-a23e-d459448da280 | {
"language": "YAML"
} | ```yaml
stages:
- build
before_script:
- git submodule update --init --recursive
osx:
stage: build
script:
- atbuild check
- atbuild package
tags:
- openswift
- atbuild
artifacts:
paths:
- bin/xcode_emit*.tar.xz
- bin/xcode-emit.rb... | ```yaml
stages:
- build
before_script:
- git submodule update --init --recursive
osx:
stage: build
script:
- atbuild check
- atbuild package --configuration release
tags:
- openswift
- atbuild
artifacts:
paths:
- bin/xcode_emit*.tar.xz
... |
04b3626b-b94a-486b-b731-83b32e2b0788 | {
"language": "YAML"
} | ```yaml
---
management:
security:
role: ADMIN
enabled: true
server:
port: 8080
secure:
port: 8443
spring:
datasource:
initialize: true
jackson:
serialization:
INDENT_OUTPUT: true
#http:
# ma... | ```yaml
---
management:
security:
role: ADMIN
enabled: true
server:
port: 8080
secure:
port: 8443
spring:
datasource:
initialize: true
jackson:
serialization:
INDENT_OUTPUT: true
#http:
# ma... |
d79e0147-efdd-4ff3-81fb-ee4d89d1b977 | {
"language": "YAML"
} | ```yaml
- defaults:
link:
create: true
relink: true
- clean: ['~', '~/.config']
- link:
~/.agignore:
~/.aria2/aria2.conf:
~/.axelrc:
~/.bash:
~/.bash_profile:
~/.bashrc:
~/.dotfiles: ''
~/.emacs.d:
~/.emacs:
~/.gitconfig:
~/.gitignore_global:
~/.gnupg/gp... | ```yaml
- defaults:
link:
create: true
relink: true
- clean: ['~', '~/.config']
- link:
~/.agignore:
~/.aria2/aria2.conf:
~/.axelrc:
~/.bash:
~/.bash_profile:
~/.bashrc:
~/.dotfiles: ''
~/.emacs.d:
~/.emacs:
~/.gitconfig:
~/.gitignore_global:
~/.gnupg/gp... |
9dfb0aa6-7374-4338-8d3e-f5b86db16c1b | {
"language": "YAML"
} | ```yaml
require: rubocop-rspec
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
Include:
- "**/Rakefile"
- "**/config.ru"
Exclude:
- "db/**/*"
- "config/**/*"
- "script/**/*"
TargetRubyVersion: 2.3
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
# to... | ```yaml
require: rubocop-rspec
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
Include:
- "**/Rakefile"
- "**/config.ru"
Exclude:
- "db/migrate/**/*"
- "db/schema.rb"
TargetRubyVersion: 2.3
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
# to ignore the... |
8abd3ec2-56ae-4318-a8c8-3470663c22b6 | {
"language": "YAML"
} | ```yaml
machine:
python:
version: 2.7.9
node:
version: 4.3.1
dependencies:
pre:
- pip install robotframework==3.0
- pip install robotframework-requests==0.4.4
- pip install robotframework-selenium2library==1.7.4
# Clean out node-modules to prevent issues with circle-ci's caching.
- r... | ```yaml
machine:
python:
version: 2.7.9
node:
version: 4
dependencies:
pre:
- pip install robotframework==3.0
- pip install robotframework-requests==0.4.4
- pip install robotframework-selenium2library==1.7.4
# Clean out node-modules to prevent issues with circle-ci's caching.
- rm -r... |
a6dc00a6-42ae-4678-b459-01076f3fcdc1 | {
"language": "YAML"
} | ```yaml
machine:
services:
- docker
test:
override:
- mkdir logs
- docker build -t openvas . 2>&1 | tee logs/build.log:
timeout: 1200
general:
artifacts:
- "logs"
```
Add logs and log artifacts | ```yaml
machine:
services:
- docker
test:
override:
- mkdir logs
- docker build -t openvas . &> logs/build.log:
timeout: 1200
- sh test.sh &> logs/test.log:
timeout: 600
general:
artifacts:
- "logs"
``` |
4659ae23-677f-428e-a443-1e2c540fb0aa | {
"language": "YAML"
} | ```yaml
machine:
java:
version: oraclejdk6
test:
override:
- TERM=dumb ./gradlew --no-color install check
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
```
Replace deprecated gradle command line argume... | ```yaml
machine:
java:
version: oraclejdk6
test:
override:
- TERM=dumb ./gradlew --console=plain install check
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
``` |
80e1ab56-62f4-4c05-80e9-825fb458599e | {
"language": "YAML"
} | ```yaml
name: Node.js v14 CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js v14
uses: actions/setup-node@v1
with:
node-version: '14.x'
- run: npm ci
- run: npm run lint
- run: npm test
```
Update actions/setup-... | ```yaml
name: Node.js v14 CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js v14
uses: actions/setup-node@v2
with:
node-version: '14.x'
- run: npm ci
- run: npm run lint
- run: npm test
``` |
e07fe529-609b-43b4-8778-6198ac7b070a | {
"language": "YAML"
} | ```yaml
machine:
xcode:
version: "8.3.2"
dependencies:
pre:
- brew update 1> /dev/null 2> /dev/null
- brew outdated carthage || brew upgrade carthage
- gem install bundler
test:
override:
- ./scripts/macOS.sh
- ./scripts/iOS.sh
- ./scripts/tvOS.sh
post:
- carthage build --no-sk... | ```yaml
machine:
xcode:
version: "8.3.2"
dependencies:
pre:
- brew update 1> /dev/null 2> /dev/null
- brew outdated carthage || brew upgrade carthage
- gem install bundler
test:
override:
- ./scripts/macOS.sh
- ./scripts/iOS.sh
- ./scripts/tvOS.sh
post:
- carthage build --no-sk... |
08cd00d1-38e5-40da-9b10-89d0ead12005 | {
"language": "YAML"
} | ```yaml
machine:
node:
version: 0.10.33
services:
branches:
only:
- master
```
Add some overrides for starters | ```yaml
machine:
node:
version: 0.10.33
services:
branches:
only:
- master
dependencies:
pre:
override:
- mvn install
test:
override:
- mvn verify
``` |
e8728199-1aa5-4a7d-8dee-8bc3f58d8eea | {
"language": "YAML"
} | ```yaml
machine:
environment:
INSTALL_PREFIX_DIR: ~/opt
INSTALL_PREFIX_BIN_DIR: ${INSTALL_PREFIX_DIR}/bin
PATH: ${INSTALL_PREFIX_BIN_DIR}:${PATH}
checkout:
post:
- git submodule sync --recursive
- git submodule update --recursive --init
dependencies:
override:
- vendor-install-tools/inst... | ```yaml
machine:
environment:
INSTALL_PREFIX_DIR: ~/opt
INSTALL_PREFIX_BIN_DIR: ${INSTALL_PREFIX_DIR}/bin
PATH: ${INSTALL_PREFIX_BIN_DIR}:${PATH}
checkout:
post:
- git submodule sync --recursive
- git submodule update --recursive --init
dependencies:
override:
- vendor-install-tools/inst... |
12a9257a-0561-4a2a-91d9-af95fb5267dd | {
"language": "YAML"
} | ```yaml
machine:
node:
version: 4.1.2
general:
artifacts:
- $CIRCLE_TEST_REPORTS
test:
override:
- npm run security:check
- npm test -- --reporter mocha-junit-reporter --reporter-options mochaFile=$CIRCLE_TEST_REPORTS/junit/results.xml
- npm run cover -- --output=$CIRCLE_TEST_REPORTS/coverag... | ```yaml
machine:
node:
version: 4.1.2
general:
artifacts:
- $CIRCLE_TEST_REPORTS
test:
override:
- npm run security:check
- npm test -- --reporter mocha-junit-reporter --reporter-options mochaFile=$CIRCLE_TEST_REPORTS/junit/results.xml
- npm run cover
- copy ./coverage $CIRCLE_TEST_REPOR... |
a2eda39a-7b0b-4dbb-b768-1ff41b903c5c | {
"language": "YAML"
} | ```yaml
machine:
services:
- docker
environment:
IMAGE_NAME: centurylink/watchtower
dependencies:
override:
- docker pull centurylink/golang-builder:latest
test:
override:
- docker run -v $(pwd):/src centurylink/golang-builder:latest --test
deployment:
hub:
branch: master
commands:
... | ```yaml
machine:
services:
- docker
environment:
IMAGE_NAME: rosscado/watchtower
dependencies:
override:
- docker pull centurylink/golang-builder:latest
test:
override:
- docker run -v $(pwd):/src centurylink/golang-builder:latest --test
deployment:
hub:
branch: master
commands:
... |
27c1460a-7e7e-45a2-91c5-d35d03049df3 | {
"language": "YAML"
} | ```yaml
machine:
services:
- docker
dependencies:
override:
- docker version
- docker info
- docker build -t="blacklabelops/jenkins-swarm" .
test:
override:
- docker run -d --name="jenkins-swarm" blacklabelops/jenkins-swarm
- docker exec jenkins-swarm java -version
```
Build test set to... | ```yaml
machine:
services:
- docker
dependencies:
override:
- docker version
- docker info
- docker build -t="blacklabelops/jenkins-swarm" .
test:
override:
- docker run -d --name="jenkins-swarm" blacklabelops/jenkins-swarm
- docker logs jenkins-swarm
``` |
bd587e91-04e1-4f55-acc1-2146360c17a9 | {
"language": "YAML"
} | ```yaml
## Customize the test machine
machine:
services:
- docker
test:
override:
- lein do clean, test, bin
## deployment:
## docker-hub:
## branch: master
## commands:
## - docker build -t samsara/hydrant .
## - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
## ... | ```yaml
## Customize the test machine
machine:
services:
- docker
test:
override:
- lein do clean, test, bin
deployment:
docker-hub:
branch: master
commands:
- docker build -t samsara/hydrant .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push samsar... |
450b0b2d-45b3-4f5b-85b5-b1b3a34e5f7d | {
"language": "YAML"
} | ```yaml
machine:
pre:
- sudo rm /home/ubuntu/virtualenvs/venv-system/lib/python2.7/no-global-site-packages.txt
```
Delete virtualenv configuration for no site packages | ```yaml
dependencies:
pre:
- sudo rm /home/ubuntu/virtualenvs/venv-system/lib/python2.7/no-global-site-packages.txt
``` |
c91507f9-521a-4192-a09c-c18b553d3991 | {
"language": "YAML"
} | ```yaml
version: 1.0.{build}
branches:
only:
- development/r1.0
- release/r1.0
image: Visual Studio 2015
install:
- cmd: >-
set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
dnvm install 1.0.0-rc1-update1 -r coreclr -arch x64
cache: C:\Users\appveyor\.dnx\packages
build_script:
- cmd: >-
dnvm u... | ```yaml
version: 1.0.{build}
branches:
only:
- development/r1.0
- release/r1.0
image: Visual Studio 2015
install:
- cmd: >-
set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
dnvm install 1.0.0-rc1-update1 -r coreclr -arch x64
cache: C:\Users\appveyor\.dnx\packages
build_script:
- cmd: >-
dnvm u... |
03ba6b90-c787-478a-86fc-11281e5769c4 | {
"language": "YAML"
} | ```yaml
environment:
EMACSBIN: emacs-24.4-bin%28i686-pc-mingw32%29.7z
matrix:
fast_finish: true
install:
- ps: Start-FileDownload "http://downloads.sourceforge.net/project/emacs-bin/releases/$env:EMACSBIN"
- ps: 7z x $env:EMACSBIN -oemacs-local | FIND /V "ing "
build_script:
- cmd: FSharp.AutoComplete\fake.c... | ```yaml
environment:
EMACSBIN: emacs-24.4-bin-i686-pc-mingw32.7z
matrix:
fast_finish: true
install:
- ps: Start-FileDownload "http://downloads.sourceforge.net/project/emacs-bin/releases/$env:EMACSBIN"
- ps: 7z x $env:EMACSBIN -oemacs-local | FIND /V "ing "
build_script:
- cmd: FSharp.AutoComplete\fake.cmd Te... |
5eb479d0-cfe5-49af-99c8-55597b4ae5a9 | {
"language": "YAML"
} | ```yaml
# image to use
image: Visual Studio 2017
# version format
version: 1.0.{build}
# Maximum number of concurrent jobs for the project
max_jobs: 1
services:
- mssql2014 # start SQL Server 2014 Express
build:
parallel: true # enable MSBuild parallel builds
project: src\bar-mgmt... | ```yaml
# image to use
image: Visual Studio 2017
# version format
version: 1.0.{build}
# Maximum number of concurrent jobs for the project
max_jobs: 1
services:
- mssql2014 # start SQL Server 2014 Express
build:
parallel: true # enable MSBuild parallel builds
project: src\bar-mgmt... |
19282190-7c24-4f94-92a2-177b61db3380 | {
"language": "YAML"
} | ```yaml
version: '{branch}-{build}'
os:
- Visual Studio 2015
- Visual Studio 2017
configuration: Release
branches:
only:
- master
init: []
before_build:
- del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
build_script:
- md build
- cd build
- IF "%APPVEYOR... | ```yaml
version: '{branch}-{build}'
os:
- Visual Studio 2015
- Visual Studio 2017
platform:
- Win32
- x64
configuration:
- Release
- Debug
branches:
only:
- master
init: []
before_build:
- ps: |
Write-Output "Configuration: $env:CONFIGURATION"
Write-Output "Platform: $env:PLATFORM"
Write-Output ... |
29f305c1-88b0-4f66-ad1e-6839c87ed75b | {
"language": "YAML"
} | ```yaml
version: 1.0.{build}-{branch}
environment:
RUBYOPT: -Eutf-8
matrix:
- RUBY_VERSION: 200
- RUBY_VERSION: 200-x64
- RUBY_VERSION: 21
- RUBY_VERSION: 21-x64
- RUBY_VERSION: 22
- RUBY_VERSION: 22-x64
- RUBY_VERSION: 23
- RUBY_VERSION: 23-x64
- RUBY_VERSION: 24
- RUBY_VER... | ```yaml
version: 1.0.{build}-{branch}
environment:
RUBYOPT: -Eutf-8
matrix:
- RUBY_VERSION: 200
- RUBY_VERSION: 200-x64
- RUBY_VERSION: 21
- RUBY_VERSION: 21-x64
- RUBY_VERSION: 22
- RUBY_VERSION: 22-x64
- RUBY_VERSION: 23
- RUBY_VERSION: 23-x64
- RUBY_VERSION: 24
- RUBY_VER... |
49719a8c-05b7-4c70-ba2a-7214198d5b38 | {
"language": "YAML"
} | ```yaml
environment:
PYTEST_ADDOPTS: --numprocesses auto
matrix:
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python27"
build: off
before_test:
- "%PYTHON%\\python.exe -m pip install tox wheel"
test_script:
- "%PYTHON%\\python.exe -m tox -e standard"
```
Upgrade pip to take a... | ```yaml
environment:
PYTEST_ADDOPTS: --numprocesses auto
matrix:
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python27"
build: off
before_test:
- "%PYTHON%\\python.exe -m pip install --upgrade pip tox wheel"
test_script:
- "%PYTHON%\\python.exe -m tox -e standard"
``` |
2a4cf9a2-d3df-4441-8c85-39c9325e90ac | {
"language": "YAML"
} | ```yaml
build: false
shallow_clone: true
platform:
- x86
# - x64
cache:
- C:\tools\php -> appveyor.yml
init:
- SET PATH=C:\tools\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET COMPOSER=0
install:
- IF EXIST c:\tools\php\composer (SET COMPOSER=1)
- IF %COMPOSER%==0 cinst -y php -i && cinst -y compose... | ```yaml
build: false
shallow_clone: true
platform:
- x86
# - x64
cache:
- C:\tools\php -> appveyor.yml
init:
- SET PATH=C:\tools\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET COMPOSER=0
install:
- IF EXIST c:\tools\php\composer (SET COMPOSER=1)
- IF %COMPOSER%==0 cinst -y php -i && cinst -y compose... |
dfafbcb7-38e6-4cc7-b75a-d669cfc4a93d | {
"language": "YAML"
} | ```yaml
# Thanks for Grunt for template of this file!
# http://www.appveyor.com/docs/appveyor-yml
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "4.0"
- nodejs_versi... | ```yaml
# Thanks for Grunt for template of this file!
# http://www.appveyor.com/docs/appveyor-yml
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "6.0"
- nodejs_versi... |
1d90b979-c2ba-4a1c-b42c-d2743ee283a1 | {
"language": "YAML"
} | ```yaml
name: Update Transitive Dependencies
on:
schedule:
- cron: '15 11 * * 1' # weekly, on Monday morning (UTC)
jobs:
update:
name: Tests
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- name: remove and r... | ```yaml
name: Update Transitive Dependencies
on:
schedule:
- cron: '15 11 * * 1' # weekly, on Monday morning (UTC)
jobs:
update:
name: Tests
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- name: remove and r... |
487585e9-3f4e-4a53-8440-e2a9afc7c363 | {
"language": "YAML"
} | ```yaml
# This file contains ansible variables that are used by our zuul-executors.
---
# NOTE(ianw): 2019-05 this list of clouds will grow as we provision
# new opendev.org based mirrors, but then eventually be removed once
# all are updated.
zuul_site_mirror_fqdn: >-
{%- if nodepool.region + "." + nodepool.cloud in... | ```yaml
# This file contains ansible variables that are used by our zuul-executors.
---
# NOTE(ianw): 2019-05 this list of clouds will grow as we provision
# new opendev.org based mirrors, but then eventually be removed once
# all are updated.
zuul_site_mirror_fqdn: >-
{%- if nodepool.region + "." + nodepool.cloud in... |
0f35f161-7a20-453f-99a1-80472bec1b14 | {
"language": "YAML"
} | ```yaml
name: GreenKnowe Theme
type: theme
description: Theme for GreenKnowe
package: Other
core: 8.x
libraries:
- gk_theme/global-styling
base theme: bartik
regions:
header: Header
primary_menu: 'Primary menu'
secondary_menu: 'Secondary menu'
page_top: 'Page top'
page_bottom: 'Page bottom'
highlighted:... | ```yaml
name: GreenKnowe Theme
type: theme
description: Theme for GreenKnowe
package: Other
core_version_requirement: ^8 || ^9
libraries:
- gk_theme/global-styling
base theme: bartik
regions:
header: Header
primary_menu: 'Primary menu'
secondary_menu: 'Secondary menu'
page_top: 'Page top'
page_bottom: 'Pa... |
6e0cb92c-c728-40bb-84cb-2a7c095ad3af | {
"language": "YAML"
} | ```yaml
---
- pressure_level_index: '0'
part: pipes
type: ye_olde_pipe
amount: '7'
stakeholder: customer
building_year: '1960'
- pressure_level_index: '0'
part: connectors
type: ye_olde_connector
amount: '7'
stakeholder: customer
building_year: '1960'
- pressure_level_index: '0'
part: pipes
type... | ```yaml
---
- pressure_level_index: '0'
part: pipes
type: big_pipe
amount: '7'
stakeholder: customer
building_year: '1960'
- pressure_level_index: '0'
part: connectors
type: big_connector
amount: '7'
stakeholder: customer
building_year: '1960'
- pressure_level_index: '0'
part: pipes
type: small_... |
6f542a2e-70c3-49cb-9ec1-dc4d9bbe54a2 | {
"language": "YAML"
} | ```yaml
- name: composer
src: geerlingguy.composer
version: 1.7.6
- name: ntp
src: geerlingguy.ntp
version: 1.6.4
- name: logrotate
src: nickhammond.logrotate
version: v0.0.5
- name: swapfile
src: oefenweb.swapfile
version: v2.0.22
- name: mailhog
src: geerlingguy.mailhog
version: 2.1.4
```
Upd... | ```yaml
- name: composer
src: geerlingguy.composer
version: 1.7.6
- name: ntp
src: geerlingguy.ntp
version: 1.6.4
- name: logrotate
src: nickhammond.logrotate
version: v0.0.5
- name: swapfile
src: oefenweb.swapfile
version: v2.0.26
- name: mailhog
src: geerlingguy.mailhog
version: 2.1.4
``` |
81bd928b-f3f6-4ef0-acd2-ac751385e279 | {
"language": "YAML"
} | ```yaml
package: github.com/beamly/go-gocd
import:
- package: github.com/urakozz/go-json-schema-generator
- package: github.com/urfave/cli
version: 1.20.0
- package: gopkg.in/yaml.v2
- package: github.com/sirupsen/logrus
version: master
testImport:
- package: github.com/goreleaser/goreleaser
version: ^0.30.0
su... | ```yaml
package: github.com/beamly/go-gocd
import:
- package: github.com/urakozz/go-json-schema-generator
- package: github.com/urfave/cli
version: 1.20.0
- package: gopkg.in/yaml.v2
- package: github.com/sirupsen/logrus
version: master
- package: github.com/hashicorp/go-version
testImport:
- package: github.com/go... |
6bd820da-ff30-4f15-b446-0069fcce28ad | {
"language": "YANG"
} | ```yang
module netconf-node-inventory {
namespace "urn:opendaylight:netconf-node-inventory";
prefix "netinv";
import opendaylight-inventory { prefix inv; revision-date "2013-08-19";}
import yang-ext {prefix ext; revision-date "2013-07-09";}
revision "2014-01-08" {
description "Init... | ```yang
module netconf-node-inventory {
namespace "urn:opendaylight:netconf-node-inventory";
prefix "netinv";
import opendaylight-inventory { prefix inv; revision-date "2013-08-19";}
import yang-ext {prefix ext; revision-date "2013-07-09";}
revision "2014-01-08" {
description "Init... |
6035e8a5-5046-4cd6-a257-e56c6a545c5a | {
"language": "YANG"
} | ```yang
module pcep-segment-routing-app-config {
yang-version 1;
namespace "urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config";
prefix "pcep-segment-routing-app-config";
description
"Configuration for the PCEP segment routing extension.";
revision "2016-07-07" {
... | ```yang
module pcep-segment-routing-app-config {
yang-version 1;
namespace "urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config";
prefix "pcep-segment-routing-app-config";
description
"Configuration for the PCEP segment routing extension.";
revision "2016-07-07" {
... |
ba24d1fe-932b-4b67-8ebb-88c696501604 | {
"language": "YANG"
} | ```yang
module opendaylight-mdsal-list-test {
namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:test:list";
prefix list-test;
description
"This module contains a collection of YANG definitions used for
some test cases.";
revision 2014-07-01 {
description
... | ```yang
module opendaylight-mdsal-list-test {
namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:test:list";
prefix list-test;
description
"This module contains a collection of YANG definitions used for
some test cases.";
revision 2014-07-01 {
description
... |
48678c52-cffc-49f0-b7c8-fd9115e87ae5 | {
"language": "YANG"
} | ```yang
module second-tape {
namespace "http://example.com/turing-machine/tape2";
prefix "t2";
import turing-machine {
prefix "tm";
}
augment "/tm:turing-machine" {
description
"State data for the second tape.";
leaf head-position-2 {
config "false";
type tm:cell-index;
... | ```yang
module second-tape {
namespace "http://example.net/turing-machine/tape-2";
prefix "t2";
import turing-machine {
prefix "tm";
}
augment "/tm:turing-machine" {
description
"State data for the second tape.";
leaf head-position-2 {
config "false";
type tm:cell-index;
... |
8ddc83d4-0d1e-4198-82e6-bf26b8f50332 | {
"language": "YANG"
} | ```yang
module actor-system-provider-service {
yang-version 1;
namespace "urn:opendaylight:params:xml:ns:yang:controller:config:actor-system-provider:service";
prefix "actor-system";
import config { prefix config; revision-date 2013-04-05; }
description "Akka actor system provider service definiti... | ```yang
module actor-system-provider-service {
yang-version 1;
namespace "urn:opendaylight:params:xml:ns:yang:controller:config:actor-system-provider:service";
prefix "actor-system";
import config { prefix config; revision-date 2013-04-05; }
description "Akka actor system provider service definiti... |
711489f0-c0fa-406d-a748-39b721bf43f0 | {
"language": "YANG"
} | ```yang
```
Add IETF YANG metadata vendored module. | ```yang
module ietf-yang-metadata {
namespace "urn:ietf:params:xml:ns:yang:ietf-yang-metadata";
prefix "md";
organization
"IETF NETMOD (NETCONF Data Modeling Language) Working Group";
contact
"WG Web: <https://datatracker.ietf.org/wg/netmod/>
WG List: <mailto:netmod@ietf.org>
WG Chair... |
86b08a25-454d-47df-b97a-1c19d28ca595 | {
"language": "Zephir"
} | ```zephir
namespace Test\BuiltIn;
class CharMethods
{
public function getHex()
{
return 'a'->toHex();
}
public function getHexForString(string str)
{
var o = "", n;
char ch;
for ch in str {
let o .= ch->toHex();
}
return o;
}
}```
R... | ```zephir
namespace Test\BuiltIn;
class CharMethods
{
public function getHex()
{
return 'a'->toHex();
}
public function getHexForString(string str)
{
var o = "";
char ch;
for ch in str {
let o .= ch->toHex();
}
return o;
}
}``` |
b009a4e5-f33f-42c4-a544-ded2defd519d | {
"language": "Zephir"
} | ```zephir
namespace Stub;
class Functions
{
/**
* @issue https://github.com/phalcon/zephir/issues/658
*/
public function filterVar1() -> bool
{
var ret;
let ret = "0";
return false === filter_var($ret, FILTER_VALIDATE_FLOAT, 20480);
}
/**
* @issue https://g... | ```zephir
namespace Stub;
class Functions
{
/**
* @issue https://github.com/phalcon/zephir/issues/658
*/
public function filterVar1() -> bool
{
var ret;
let ret = "0";
return false === filter_var(ret, FILTER_VALIDATE_FLOAT, 20480);
}
/**
* @issue https://gi... |
aea14744-945e-4c41-83a1-1d2dce785569 | {
"language": "Zephir"
} | ```zephir
namespace Test;
class Test
{
public static function check()
{
var arr;
var ret;
let arr = [0, 1, 2, 3, 4, 5];
let ret = arr->rev();
var_dump(ret);
}
public static function replace()
{
var patterns = [
":any": "[^/]+",
":num": "[0-9]+",
":all": ".*"
];
var replaces, str;
var se... | ```zephir
namespace Test;
class Test
{
public static function check()
{
var arr;
var ret;
let arr = [0, 1, 2, 3, 4, 5];
let ret = arr->rev();
var_dump(ret);
}
public static function replace()
{
var patterns = [
":any": "[^/]+",
":num": "[0-9]+",
":all": ".*"
];
var replaces, str;
var se... |
574befc5-d4dc-4fc0-b47f-5bf4201798ef | {
"language": "Zephir"
} | ```zephir
namespace Arango\Handler;
use Arango\Document\Vertex;
use Arango\Document\Document;
use Arango\Handler\DocumentHandler;
/**
* A handler that manages vertex documents
*
* @package Arango/Handler
* @class VertexHandler
* @author Lucas S. Vieira
*/
class VertexHandler extends DocumentHandler {
/**
... | ```zephir
namespace Arango\Handler;
use Arango\Document\Vertex;
use Arango\Handler\DocumentHandler;
/**
* A handler that manages vertex documents
*
* @package Arango/Handler
* @class VertexHandler
* @author Lucas S. Vieira
*/
class VertexHandler extends DocumentHandler {
/**
* Intermediate function to ca... |
b3e17234-7c03-430a-ba78-04a4b0fa2487 | {
"language": "Zig"
} | ```zig
// SPDX-License-Identifier: MIT
// Copyright (c) 2015-2020 Zig Contributors
// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.
usingnamespace @import("bits.zig");
... | ```zig
// SPDX-License-Identifier: MIT
// Copyright (c) 2015-2020 Zig Contributors
// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.
usingnamespace @import("bits.zig");
... |
5c1c5b93-79a7-4fee-9a2d-a434c5a1f2a7 | {
"language": "Zig"
} | ```zig
const std = @import("../std.zig");
const io = std.io;
pub fn BufferedWriter(comptime buffer_size: usize, comptime WriterType: type) type {
return struct {
unbuffered_writer: WriterType,
fifo: FifoType = FifoType.init(),
pub const Error = WriterType.Error;
pub const Writer = ... | ```zig
const std = @import("../std.zig");
const io = std.io;
const mem = std.mem;
pub fn BufferedWriter(comptime buffer_size: usize, comptime WriterType: type) type {
return struct {
unbuffered_writer: WriterType,
buf: [buffer_size]u8 = undefined,
end: usize = 0,
pub const Error =... |
5f4a63b2-cb14-4092-8862-f30af91d90c8 | {
"language": "Zig"
} | ```zig
const Builder = @import("std").build.Builder;
pub fn build(b: &Builder) {
const mode = b.standardReleaseOptions();
const exe = b.addExecutable("YOUR_NAME_HERE", "src/main.zig");
exe.setBuildMode(mode);
b.default_step.dependOn(&exe.step);
b.installArtifact(exe);
}
```
Fix build template to ... | ```zig
const Builder = @import("std").build.Builder;
pub fn build(b: &Builder) -> %void {
const mode = b.standardReleaseOptions();
const exe = b.addExecutable("YOUR_NAME_HERE", "src/main.zig");
exe.setBuildMode(mode);
b.default_step.dependOn(&exe.step);
b.installArtifact(exe);
}
``` |
af99a112-cb29-4894-80b3-7c9341427d17 | {
"language": "Zig"
} | ```zig
const std = @import("../std.zig");
usingnamespace std.c;
extern "c" fn __error() *c_int;
pub const _errno = __error;
pub extern "c" fn getdents(fd: c_int, buf_ptr: [*]u8, nbytes: usize) usize;
pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int;
pub extern "c" fn getrandom(buf_ptr: [*]u8, buf... | ```zig
const std = @import("../std.zig");
usingnamespace std.c;
extern "c" fn __error() *c_int;
pub const _errno = __error;
pub extern "c" fn getdents(fd: c_int, buf_ptr: [*]u8, nbytes: usize) usize;
pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int;
pub extern "c" fn getrandom(buf_ptr: [*]u8, buf... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.