forked from c4cs/c4cs.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reference.html
35 lines (32 loc) · 1.23 KB
/
reference.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
layout: reference
---
<h1>Quick Reference</h1>
<p>This page collects commands we have (or will) discuss throughout the course.
Click on a command for more details on its operation and some examples of
common or useful operations. We encourage students to contribute to this page
through the advanced homework on git and open source contributions.</p>
{% for category in site.command_categories %}
<h2><a class="anchor" name="{{category}}"></a>{{ category | capitalize }}</h2>
<div class="container-fluid">
<div class="row">
{% for command in site.commands %}
{% if command.categories contains category %}
<a href="{{ command.url }}">
<div class="col-md-4 col-sm-6 col-xs-12">
{{ command.content | split: '<!--more-->' | first }}
</div>
{% assign mod2 = forloop.index | modulo: 2 %}
{% assign mod3 = forloop.index | modulo: 3 %}
{% if mod2 == 0 %}
<div class="clearfix visible-sm-block"></div>
{% endif %}
{% if mod3 == 0 %}
<div class="clearfix visible-lg-block visible-md-block"></div>
{% endif %}
</a>
{% endif %}
{% endfor %}
</div>
</div>
{% endfor %}