This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
black_piece('k', king). | |
black_piece('q', queen). | |
black_piece('r', rook). | |
black_piece('b', bishop). | |
black_piece('n', knight). | |
black_piece('p', pawn). | |
white_piece('K', king). | |
white_piece('Q', queen). | |
white_piece('R', rook). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
stages { | |
stage('Export repository from Dev') { | |
steps { | |
node('ambra.redaelli.org') { | |
sh '/bin/hostname' | |
sh './export_repository.sh' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
.knitr.inline { | |
background-color: #f7f7f7; | |
border:solid 1px #B0B0B0; | |
} | |
.error { | |
font-weight: bold; | |
color: #FF0000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
# Define server logic for random distribution application | |
shinyServer(function(input, output) { | |
# Reactive function to generate the requested distribution. This is | |
# called whenever the inputs change. The output functions defined | |
# below then all use the value computed from this function | |
data <- reactive(function() { | |
dist <- switch(input$dist, |