forked from c4cs/c4cs.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreference.html
40 lines (36 loc) · 1.36 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
36
37
38
39
40
---
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.</p>
<div class="alert alert-warning">
<span class="glyphicon glyphicon-warning-sign"></span>
This page is under construction. If you would like to help out, check out
<a href="/hw/c4cs-wk9-advanced.pdf">Week 9’s Advanced Homework</a>.
</div>
{% 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 %}