Skip to content

Commit c806d46

Browse files
committed
just divide the other way
2 parents c8e9096 + 4ed7a3c commit c806d46

File tree

11 files changed

+216
-118
lines changed

11 files changed

+216
-118
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
# Cardiff School of Mathematics Code Club
2+
13
A repository for the Cardiff School of Mathematics Code Club: an extra curricular club open to all.
24

35
Website here - http://cardiffmathematicscodeclub.github.io/
6+
7+
Meeting time: Thursdays at 16:00 in room M/0.33.
8+
(There might be doughnuts)
9+
10+
## Contributing
11+
12+
You are welcome to contribute to the code club website, we need as much
13+
help as possible in making this the best site on the internet! Below is
14+
a short list of tasks that need completing:
15+
16+
- Pages that give a short introduction to most of the popular programming languages
17+
would be good. These pages should give a should give a short piece on the history
18+
of the language, what it is used for giving well known programs as examples where possible.
19+
Also include a "Hello world!" snippet (see below) and some links to further resources, tutorials etc.
20+
21+
- We should think about maintaining a list of past and current projects that have been worked
22+
on at code club. Linking to source code and/or demos when possible
23+
24+
- We will always need help making the site looking as good as possible
25+
26+
- Maybe we could go for a terminal theme? Making the text boxes look like output from
27+
terminal commands, e.g. the menu could be the output from a "$ ls" command. We could
28+
also look at experimenting with CSS animations to add blinking cursors, typing commands etc.
29+
Or of anyone has other ideas then I'm open to discussion :)
30+
31+
### Code snippets
32+
33+
To embed code snippets from this repository into a webpage you can use the
34+
following code
35+
36+
```
37+
<script src="http://gist-it.appspot.com/github/robertkrimen/gist-it-example/blob/master/example.js?footer=0"></script>
38+
```
39+
where you replace everything after github/ with the address of the repository and the file within the repository that contains
40+
the code you wish to add

index.html

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<link rel="stylesheet" href="styles/Custom_formating.css"/>
2222

2323
</head>
24-
<body>
24+
<body style="background-image: url(res/background.png)">
2525
<div class="container">
2626

2727
<nav id="myNavbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
@@ -46,22 +46,35 @@
4646
</nav>
4747

4848
<div class="mainText">
49-
<h1>Cardiff School of Mathematics Code Club</h1>
49+
<h1 style="font-size: 6vh; text-align: center;">Cardiff School of Mathematics Code Club</h1>
50+
51+
<p class="well">
52+
<i class="quote">Three Functions for the Windows under the sky,<br>
53+
Seven for the Linux in their halls of stone,<br>
54+
Nine for Apple doomed to die,<br>
55+
One for the Dark Lord on his dark kernel<br>
56+
In the Land of Arch where the Json lie.<br>
57+
One Function to rule them all, One Function to find them,<br>
58+
One Function to bring them all and in the darkness bind them<br>
59+
In the Land of Arch where the Json lie.</i>
60+
</p>
5061

5162
<p class="well">Code Club is a place where like minded people who are passionate about programming can get together
5263
and hang out, talk about coding in general and work on any projects that they have
5364
in mind, whether it be solo or part of a team. Code Club is the ideal place to
54-
improve your skills as a programmer while enjoying the pleasant company of others who share your interests.</p>
65+
improve your skills as a programmer while enjoying the pleasant company of others who share your interests.
66+
</p>
5567

5668
<p class="well">
5769
Can't wait to come along? Well we meet every Thursday in M/0.33 in the School of Mathematics building at 16:00. <br/>
58-
Do you think it sounds like a great idea, but are looking for an excuse to turn up? Then be sure to check out our <a href="inspiration.html">Inspiration</a> page.
70+
Do you think it sounds like a great idea, but are looking for an excuse to turn up? Then be sure to check out our
71+
<a href="inspiration.html">Inspiration</a> page.
5972
</p>
6073

6174
<p><i><b>Disclaimer:</b> This website was made by programmers for programmers - please forgive any spelling mistakes!</i></p>
6275
</div>
6376

6477
</div>
65-
78+
6679
</body>
6780
</html>

index.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

inspiration.html

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
<link rel="stylesheet" href="styles/Custom_formating.css"/>
2222

2323
</head>
24-
<body style="background-image: url(res/background.png);">
24+
25+
<body style="background-image: url(res/background.png)">
2526
<div class="container">
2627
<nav id="myNavbar" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
2728
<div class="container">
@@ -50,7 +51,7 @@ <h1 style="font-size: 6vh; text-align: center;">Inspiration</h1>
5051
<div class="well">
5152
<p> There is so much you can do during your time at Code Club anything
5253
from learning a new programming languages such as <a href="languages/java.html">Java</a>
53-
or <a href="languages/haskell.html">Haskell</a> to usefull tools such
54+
or <a href="languages/haskell.html">Haskell</a> to useful tools such
5455
as <a href="tools/git.html">Git</a> for version control or <a href="tools/vim.html">Vim</a>
5556
for text editing to hacking away in <a href="http://pi.minecraft.net/?page_id=14">Minecraft</a>
5657
for the Raspberry Pi! You are only limited by your imagination!
@@ -59,39 +60,47 @@ <h1 style="font-size: 6vh; text-align: center;">Inspiration</h1>
5960
<div class="well">
6061
<h3>Programming Languages</h3>
6162

62-
<p>There are more programming languages than stars in the galaxy... OK
63-
<i>slight</i> exaggeration but there are a lot of them. Created for any
64-
possible purpose imaginable from building video games to driving rovers on Mars or
65-
simply trying to <a href="languages/brainfuck.html">confuse</a> the programmer using them!
63+
<p>
64+
There are more programming languages than stars in the galaxy... OK
65+
<i>slight</i> exaggeration but there are a lot of them. Created for any
66+
possible purpose imaginable from building video games to driving rovers on Mars or
67+
simply trying to <a href="languages/brainfuck.html">confuse</a> the programmer using them!
6668
</p>
69+
6770
</div>
6871
<p>Some of the more popular languages include <a href="languages/java.html">Java</a>,
69-
<a href="languages/python.html">Python</a> and <a href="languages/cpp.html">C++</a>.
72+
<a href="languages/python.html">Python</a> and <a href="languages/C++.html">C++</a>.
7073
However there are many more than that! Be sure to look at the full list on the left.
7174
</p>
7275

7376
<div class="well">
7477
<h3>Programming Challenges</h3>
7578

76-
<p>Many places on the interest provide enthusatic programmers with excercises and challenges
77-
to flex their coding muscles. Below are links to a few of them:</p>
79+
<p>
80+
Many places on the interest provide enthusiastic programmers with exercises and challenges
81+
to flex their coding muscles. Below are links to a few of them:
82+
</p>
7883

7984
<ul>
8085
<li><a href="https://projecteuler.net">Project Euler</a> - A site with over 450 problems many with a
8186
mathematical focus to get your teeth into!</li>
8287

8388
<li><a href="http://www.reddit.com/r/dailyprogrammer/">Daily Programmer</a> - A subreddit with new problems
84-
released on a Monday, Wednesday and Friday increasing in diffulty throughout the week. Challenges are based
89+
released on a Monday, Wednesday and Friday increasing in difficulty throughout the week. Challenges are based
8590
on a wide variety of topics, often submitted by fellow users of the subreddit</li>
8691

87-
<li><a href="http://programmingpraxis.com/">Programming Praxis</a> - A blog with new excercies posted every few days
92+
<li><a href="http://www.codingame.com/home/platinum-rift">Platinum Rift</a> - An online game.</li>
93+
94+
<li><a href="http://programmingpraxis.com/">Programming Praxis</a> - A blog with new exercises posted every few days
8895
on a range of topics. Many of them are presented as a word problem.
8996
</ul>
9097
</div>
9198

9299
<h3>Stay Tuned</h3>
93100

94101
<p>Watch this space, more coming soon...</p>
102+
103+
<p>Click <a href="index.html">here</a> to go back to the main page</p>
95104
</div>
96105
</div>
97106
</div>
@@ -101,16 +110,15 @@ <h3>Stay Tuned</h3>
101110
<h3>Menu</h3>
102111
<a href="index.html">Home</a> <br/>
103112
<a href="sessions.html">Past Sessions</a> <br/>
104-
<a href="inspiration.html">Inspiration</a>
105-
106-
<p>Languages <br/>
113+
<a href="inspiration.html">Inspiration</a> <br />
114+
<br />
115+
Languages <br/>
107116
<a href="languages/brainfuck.html"> Brainfuck</a> <br/>
108-
<a href="languages/c.html">C</a> <br/>
109-
<a href="languages/cpp.html">C++</a> <br/>
117+
<a href="languages/C.html">C</a> <br/>
118+
<a href="languages/C++.html">C++</a> <br/>
110119
<a href="languages/haskell.html">Haskell</a> <br/>
111120
<a href="languages/java.html">Java</a> <br/>
112121
<a href="languages/python.html">Python</a> <br/>
113-
</p>
114122
</div>
115123
-->
116124
</body>

languages/C++.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>C++</title>
5+
<link rel="stylesheet" type="text/css" href="styles/main.css"/>
6+
</head>
7+
<body>
8+
9+
<div class="main">
10+
<h1>C++</h1>
11+
</div>
12+
13+
<!-- Navigation Menu -->
14+
<div class="menu">
15+
<h3>Menu</h3>
16+
<a href="../index.html">Home</a> <br/>
17+
<a href="../sessions.html">Past Sessions</a> <br/>
18+
<a href="../inspiration.html">Inspiration</a> <br />
19+
<br />
20+
Languages <br/>
21+
<a href="brainfuck.html"> Brainfuck</a> <br/>
22+
<a href="C.html">C</a> <br/>
23+
<a href="C++.html">C++</a> <br/>
24+
<a href="haskell.html">Haskell</a> <br/>
25+
<a href="java.html">Java</a> <br/>
26+
<a href="python.html">Python</a> <br/>
27+
</div>
28+
</body>
29+
</html>

languages/C.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>C</title>
5+
<link rel="stylesheet" type="text/css" href="styles/main.css"/>
6+
</head>
7+
<body>
8+
9+
<div class="main">
10+
<h1>C</h1>
11+
</div>
12+
13+
<!-- Navigation Menu -->
14+
<div class="menu">
15+
<h3>Menu</h3>
16+
<a href="../index.html">Home</a> <br/>
17+
<a href="../sessions.html">Past Sessions</a> <br/>
18+
<a href="../inspiration.html">Inspiration</a> <br />
19+
<br />
20+
Languages <br/>
21+
<a href="brainfuck.html"> Brainfuck</a> <br/>
22+
<a href="C.html">C</a> <br/>
23+
<a href="C++.html">C++</a> <br/>
24+
<a href="haskell.html">Haskell</a> <br/>
25+
<a href="java.html">Java</a> <br/>
26+
<a href="python.html">Python</a> <br/>
27+
</div>
28+
</body>
29+
</html>

languages/brainfuck.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,15 @@ <h1>Brainfuck</h1>
1515
<h3>Menu</h3>
1616
<a href="../index.html">Home</a> <br/>
1717
<a href="../sessions.html">Past Sessions</a> <br/>
18-
<a href="../inspiration.html">Inspiration</a>
19-
20-
<p>Languages <br/>
21-
<a href="languages/brainfuck.html"> Brainfuck</a> <br/>
22-
<a href="languages/c.html">C</a> <br/>
23-
<a href="languages/cpp.html">C++</a> <br/>
24-
<a href="languages/haskell.html">Haskell</a> <br/>
25-
<a href="languages/java.html">Java</a> <br/>
26-
<a href="languages/python.html">Python</a> <br/>
27-
</p>
18+
<a href="../inspiration.html">Inspiration</a> <br />
19+
<br />
20+
Languages <br/>
21+
<a href="brainfuck.html"> Brainfuck</a> <br/>
22+
<a href="C.html">C</a> <br/>
23+
<a href="C++.html">C++</a> <br/>
24+
<a href="haskell.html">Haskell</a> <br/>
25+
<a href="java.html">Java</a> <br/>
26+
<a href="python.html">Python</a> <br/>
2827
</div>
2928
</body>
3029
</html>

languages/styles/main.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ a:visited{
3333
.menu {
3434
background-color: #000000;
3535
position: absolute;
36-
margin-top: 60px;
36+
margin-top: 50px;
3737
width: 10%;
38+
min-width: 120px;
3839
left: 0%;
39-
padding-left: 2%;
40+
padding-left: 15px;
41+
padding-bottom: 15px;
4042
color: #00FF00
4143
}

0 commit comments

Comments
 (0)