Verified Commit c624266e authored by Roberto Bochet's avatar Roberto Bochet

Merge branch 'coding_gym'

parents fe1f2398 3a57a583
Pipeline #285 passed with stage
in 2 minutes and 16 seconds
......@@ -22,6 +22,8 @@ navigation:
url: /events
- title: Headquarters
url: /hq
- title: Coding Gym
url: /coding_gym
- title: Contacts
url: /contact
......
date: 2019-10-29 17:15
room: E/F
coding_gym_url: https://coding-gym.org/events/2019-10-29-it-polimi/
contest_url: https://www.hackerrank.com/coding-gym-polimi1019
registration_url: https://coding-gym-polimi1019.eventbrite.it
\ No newline at end of file
date: 2019-11-25 17:15
room: 5.0.3
coding_gym_url: https://coding-gym.org/events/2019-11-25-it-polimi/
contest_url: https://www.hackerrank.com/coding-gym-polimi1119
registration_url: https://coding-gym-polimi1119.eventbrite.it
\ No newline at end of file
date: 2020-01-24 17:15
room: 3.1.6
coding_gym_url: https://coding-gym.org/events/2020-01-24-it-polimi/
contest_url: https://www.hackerrank.com/coding-gym-polimi0120
registration_url: https://coding-gym-polimi0120.eventbrite.it
\ No newline at end of file
date: 2020-02-26 17:15
room: 5.0.2
coding_gym_url: https://coding-gym.org/events/2020-02-26-it-polimi/
contest_url: https://www.hackerrank.com/coding-gym-polimi0220
registration_url: https://coding-gym-polimi0220.eventbrite.it
\ No newline at end of file
module Jekyll
module ValuesFilter
def values(input)
case
when input.instance_of?(Hash)
input.values
else
input
end
end
end
end
Liquid::Template.register_filter(Jekyll::ValuesFilter)
\ No newline at end of file
#page {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#coding_gym_logo {
max-height: 200px;
margin-bottom: 50px;
}
#sessions {
width: 100%;
display: grid;
grid-template-columns: repeat(auto-fill, 200px);
grid-gap: 20px;
justify-content: center;
}
.session {
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
width: 200px;
height: 200px;
flex-shrink: 0;
overflow: hidden;
font-size: 1em;
padding: 20px;
line-height: 1;
font-family: sans-serif;
text-align: center;
}
.session > div {
display: flex;
flex-direction: column;
align-items: center;
}
.session > div > div {
margin: 0;
}
.session > hr {
width: 70%;
height: 2px;
border: 0;
margin: 0;
color: #fff;
background-color: #fff;
}
.session a {
font-size: 0.8em;
text-transform: uppercase;
color: inherit;
text-decoration: none;
}
.session .year {
font-size: 0.8em;
}
.session .room_caption {
font-size: 0.7em;
}
.session.new {
background: #47c1c7;
}
.session .time, .session .room, .session .registration_url {
display: none;
}
.session.new .contest_url, .session.new .coding_gym_url {
display: none;
}
.session.new .time, .session.new .room, .session.new .registration_url {
display: flex;
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 984 792"
height="489"
width="607"
xml:space="preserve"
id="svg2"
version="1.1">
<defs
id="defs6"><clipPath
id="clipPath18"
clipPathUnits="userSpaceOnUse"><path
id="path16"
d="M 0,970 H 1280 V 0 H 0 Z" /></clipPath></defs><g
transform="matrix(1.3333333,0,0,-1.3333333,-361.33319,1043.1797)"
id="g10"><g
id="g12"><g
clip-path="url(#clipPath18)"
id="g14"><g
transform="translate(467.6424,741.921)"
id="g20"><path
id="path22"
style="fill:#47c1c7;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 v -188.205 h 35.234 v -39.962 h -57.149 c -6.303,0 -11.601,1.935 -15.897,5.802 -4.297,3.867 -6.445,8.668 -6.445,14.396 v 89.804 h -43.83 v 48.555 h 43.83 v 89.806 c 0,5.439 2.148,10.097 6.445,13.964 4.296,3.867 9.594,5.801 15.897,5.801 H 35.234 V 0 Z"
/></g><g
transform="translate(359.0869,707.2561)"
id="g24"><path
id="path26"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 v -118.875 h 35.234 v -39.962 h -57.149 c -6.303,0 -11.601,1.935 -15.897,5.802 -4.297,3.867 -6.445,8.668 -6.445,14.395 v 55.14 h -43.83 v 48.555 h 43.83 v 55.141 c 0,5.439 2.148,10.097 6.445,13.964 4.296,3.867 9.594,5.801 15.897,5.801 H 35.234 V 0 Z"
/></g><g
transform="translate(777.1231,741.921)"
id="g28"><path
id="path30"
style="fill:#47c1c7;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 v 39.961 h 57.149 c 6.303,0 11.601,-1.934 15.898,-5.801 4.297,-3.867 6.445,-8.525 6.445,-13.964 V -69.61 h 43.829 v -48.555 H 79.492 v -89.804 c 0,-5.728 -2.148,-10.529 -6.445,-14.396 -4.297,-3.867 -9.595,-5.802 -15.898,-5.802 H 0 v 39.962 H 35.234 V 0 Z"
/></g><g
transform="translate(885.6786,707.2561)"
id="g32"><path
id="path34"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 v 39.961 h 57.149 c 6.303,0 11.601,-1.934 15.898,-5.801 4.297,-3.867 6.445,-8.525 6.445,-13.964 v -55.141 h 43.829 V -83.5 H 79.492 v -55.14 c 0,-5.727 -2.148,-10.528 -6.445,-14.395 -4.297,-3.867 -9.595,-5.802 -15.898,-5.802 H 0 v 39.962 H 35.234 V 0 Z"
/></g><path
id="path36"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="M 791,623.54 H 489 v 48.556 h 302 z"
/><g
transform="translate(508.0118,276.107)"
id="g38"><path
id="path40"
style="fill:#47c1c7;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="M 0,0 V 17.052 H -44.75 V -59.671 H 0 v 16.745 h -19.176 v 28.311 h 50.23 V -42.926 -73.68 c 0,-4.064 -1.518,-7.461 -4.561,-10.197 -3.049,-2.743 -6.698,-4.112 -10.959,-4.112 h -75.811 c -4.265,0 -7.917,1.369 -10.963,4.112 -3.043,2.736 -4.567,6.133 -4.567,10.197 V 31.054 c 0,4.057 1.524,7.461 4.567,10.197 3.046,2.743 6.698,4.112 10.963,4.112 h 75.811 c 4.261,0 7.91,-1.369 10.959,-4.112 3.043,-2.736 4.561,-6.14 4.561,-10.197 V 0 Z"
/></g><g
transform="translate(637.7145,249.0079)"
id="g42"><path
id="path44"
style="fill:#47c1c7;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="M 0,0 V -60.89 H -31.367 V 0 l -49.924,72.155 h 42.926 L -15.534,39.583 6.998,72.155 h 42.925 z"
/></g><g
transform="translate(847.7957,321.1633)"
id="g46"><path
id="path48"
style="fill:#47c1c7;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="M 0,0 V -133.045 H -31.068 V -28.923 L -60.896,-84.64 h -20.095 l -29.842,55.717 0.313,-104.122 h -31.367 V 0 h 48.412 L -70.944,-34.403 -48.412,0 Z"
/></g><g
transform="translate(340.613,438.7706)"
id="g50"><path
id="path52"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 v 16.867 h -38.331 v -76.97 H 0 v 16.867 h 31.587 v -30.978 c 0,-4.086 -1.532,-7.459 -4.6,-10.12 -3.065,-2.653 -6.853,-3.983 -11.348,-3.983 H -53.97 c -4.501,0 -8.235,1.33 -11.193,3.983 -2.969,2.661 -4.45,6.034 -4.45,10.12 V 31.279 c 0,4.086 1.481,7.514 4.45,10.278 2.958,2.756 6.692,4.134 11.193,4.134 h 69.609 c 4.495,0 8.283,-1.378 11.348,-4.134 3.068,-2.764 4.6,-6.192 4.6,-10.278 L 31.587,0 Z"
/></g><path
id="path54"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 435.985,378.976 h 44.776 v 76.97 h -44.776 z m 60.721,-28.523 h -76.665 c -4.292,0 -7.974,1.331 -11.039,3.984 -3.068,2.66 -4.601,6.034 -4.601,10.12 v 105.801 c 0,3.881 1.533,7.206 4.601,9.969 3.065,2.757 6.747,4.135 11.039,4.135 h 76.665 c 4.292,0 7.974,-1.378 11.038,-4.135 3.069,-2.763 4.601,-6.088 4.601,-9.969 V 364.557 c 0,-4.086 -1.532,-7.46 -4.601,-10.12 -3.064,-2.653 -6.746,-3.984 -11.038,-3.984"
/><path
id="path56"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 715.838,350.453 h -31.587 v 134.008 h 31.587 z"
/><g
transform="translate(869.4724,350.4534)"
id="g58"><path
id="path60"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="M 0,0 H -27.6 L -87.704,90.772 V 0 h -31.278 v 134.008 h 45.077 l 42.321,-64.395 v 64.395 H 0 Z"
/></g><g
transform="translate(977.7211,439.0792)"
id="g62"><path
id="path64"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="M 0,0 V 17.175 H -45.077 V -60.103 H 0 v 16.867 h -19.318 v 28.515 h 50.597 v -28.515 -30.978 c 0,-4.093 -1.533,-7.514 -4.597,-10.27 -3.069,-2.764 -6.747,-4.142 -11.043,-4.142 h -76.356 c -4.295,0 -7.974,1.378 -11.042,4.142 -3.065,2.756 -4.601,6.177 -4.601,10.27 V 31.279 c 0,4.086 1.536,7.514 4.601,10.271 3.068,2.763 6.747,4.141 11.042,4.141 h 76.356 c 4.296,0 7.974,-1.378 11.043,-4.141 3.064,-2.757 4.597,-6.185 4.597,-10.271 L 31.279,0 Z"
/></g><g
transform="translate(619.6077,394.7994)"
id="g66"><path
id="path68"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,-5.28 -2.532,-9.968 -6.466,-12.986 -0.431,-0.269 -0.808,-0.538 -1.239,-0.754 -2.425,-1.563 -5.335,-2.425 -8.46,-2.425 h -27.103 v 77 h 28.558 c 2.532,0 4.903,-0.647 7.005,-1.779 0.215,-0.107 0.431,-0.215 0.646,-0.377 C -2.802,56.093 0,51.459 0,46.124 Z M -10.783,89.662 H -74.521 V -44.346 H 0 c 8.729,0 16.596,3.556 22.308,9.268 5.712,5.712 9.268,13.579 9.268,22.308 v 60.073 c 0,28.174 -20.436,42.359 -42.359,42.359"
/></g></g></g></g></svg>
\ No newline at end of file
---
layout: default
title: Coding Gym
---
<link rel="stylesheet" href="{{ '/coding_gym/coding_gym.css' | relative_url }}"/>
<script>
(() => {
"use strict";
document.addEventListener("DOMContentLoaded", () => {
document.querySelectorAll('.session').forEach(x => {
if (Date.now() < new Date(x.getAttribute("data-date")))
x.classList.add("new");
});
});
})();
</script>
<div id="page">
<img id="coding_gym_logo" src="{{ '/coding_gym/coding_gym_logo.svg' | relative_url }}" alt="Coding Gym logo"/>
<p id="coding_gym_about">&#171;Coding Gym is a non-competitive programming lab format open to any language and
developed
for self-led improvement in technical and communication skills.&#187;</p>
<P>In 2019 the POuL begins a collaboration with the association <a href="https://coding-gym.org/">Coding Gym</a> to
bring this interesting format inside Politecnico walls.</P>
<p>During the lab sessions, the attendees will organize in couples and they will try to solve a programming problem
in less than 30 minutes. At the end of the time there will be a comparison between the couples moderated by
trainers. This will be repeated for three problems.</p>
<p>Below, you will find the past and future Coding Gym sessions, you can register to the next ones and tackle again
the past challenges.</p>
<h3>Sessions</h3>
<div id="sessions">
{% assign sessions = site.data.coding_gym | values | order: "date" | reverse %}
{% for session in sessions %}
<div class="session bg-darker" data-date="{{ session.date }}">
<div class="date">
<div>{{ session.date | date: "%b %d" | upcase }}</div>
<div class="year">{{ session.date | date: "%Y" }}</div>
</div>
<div class="time">{{ session.date | date: "%H:%M" }}</div>
<div class="room">
<div class="room_caption">Room</div>
<div>{{ session.room }}</div>
</div>
<hr/>
<a class="registration_url" href="{{ session.registration_url }}">registration</a>
<a class="contest_url" href="{{ session.contest_url }}">HackerRank contest</a>
<a class="coding_gym_url" href="{{ session.coding_gym_url }}">Coding Gym site</a>
</div>
{% endfor %}
</div>
</div>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment