Skip to content

Commit

Permalink
Change links to use HTTPS and switch to Darkly theme
Browse files Browse the repository at this point in the history
Links have been updated to use HTTPS, as it is safer.
The Bootstrap theme for the WebIDE has been changed to Darkly,
which can be previewed at https://bootswatch.com/darkly/

Signed-off-by: Jadon Fowler <jadonflower@gmail.com>
  • Loading branch information
phase committed May 2, 2016
1 parent 833b831 commit 51a94ef
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 62 deletions.
28 changes: 19 additions & 9 deletions README.md
@@ -1,9 +1,19 @@
# [![O](static/logo.png)](http://jadonfowler.xyz/o)
[![Build Status](https://travis-ci.org/phase/o.svg)](https://travis-ci.org/phase/o) [![Latest Release](https://img.shields.io/github/release/phase/o.svg?label=latest%20release)](https://github.com/phase/o/releases) [![Issues in progress](https://badge.waffle.io/phase/o.png?label=in%20progress&title=Issues%20In%20Progress)](https://waffle.io/phase/o)

O is a esoteric programming language used for [CodeGolf](http://codegolf.stackexchange.com). It was inspired by languages like GolfScript, Pyth, K, and ><>, but it has grown into its own language with many cool features. The current interpreter is written in C. You can find the old Java interpreter on the [`java-interpreter`](https://github.com/phase/o/tree/java-interpreter) branch.

All documentation for the language is on [ReadTheDocs](http://o.readthedocs.org). You can try the language out online at [Heroku](http://o-lang.herokuapp.com/).
[![Build Status](https://travis-ci.org/phase/o.svg)](https://travis-ci.org/phase/o)
[![Latest Release](https://img.shields.io/github/release/phase/o.svg?label=latest%20release)](https://github.com/phase/o/releases)
[![Issues in progress](https://badge.waffle.io/phase/o.png?label=in%20progress&title=Issues%20In%20Progress)](https://waffle.io/phase/o)

O is a esoteric programming language used for
[CodeGolf](http://codegolf.stackexchange.com). It was inspired by
languages such as GolfScript, Pyth, K, and ><>, but it has grown into
its own language with many cool features. The current interpreter is
written in C. You can find the old Java interpreter on the
[`java-interpreter`](https://github.com/phase/o/tree/java-interpreter)
branch.

All documentation for the language is on
[ReadTheDocs](https://o.readthedocs.org). You can try the language out
online at [Heroku](https://o-lang.herokuapp.com/).

[![Throughput Graph](https://graphs.waffle.io/phase/o/throughput.svg)](https://waffle.io/phase/o/metrics)

Expand All @@ -15,25 +25,25 @@ Here are some examples of O.
```
"Hello, World!
```
[Try it online](http://o-lang.herokuapp.com/link/IkhlbGxvLCUyMFdvcmxkIQ==/)
[Try it online](https://o-lang.herokuapp.com/link/IkhlbGxvLCUyMFdvcmxkIQ==/)

### Factorial

```
H,;]*
```
[Try it online](http://o-lang.herokuapp.com/link/SCw7XSo=/NQ==)
[Try it online](https://o-lang.herokuapp.com/link/SCw7XSo=/NQ==)

### Cat

```
i
```
[Try it online](http://o-lang.herokuapp.com/link/aQ==/VGhpcyUyMGlzJTIwYSUyMGNhdCUyMHByb2dyYW0h)
[Try it online](https://o-lang.herokuapp.com/link/aQ==/VGhpcyUyMGlzJTIwYSUyMGNhdCUyMHByb2dyYW0h)

### Fibonacci

```
0J;1Kpj{K:VJ+:KpV:J;}d
```
[Try it online](http://o-lang.herokuapp.com/link/MEo7MUtwantLOlZKKzpLcFY6Sjt9ZA==/OA==)
[Try it online](https://o-lang.herokuapp.com/link/MEo7MUtwantLOlZKKzpLcFY6Sjt9ZA==/OA==)
4 changes: 2 additions & 2 deletions templates/link.html
@@ -1,7 +1,7 @@
<html>
<head>
<title>O Language IDE</title>
<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdn.rawgit.com/mgalante/jquery.redirect/master/jquery.redirect.js"></script>
</head>
<body>
Expand All @@ -14,4 +14,4 @@
});
</script>
</body>
</html>
</html>
103 changes: 52 additions & 51 deletions templates/primary.html
@@ -1,53 +1,54 @@
<html>
<head>
<title>O Language IDE</title>
<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://bootswatch.com/flatly/bootstrap.min.css">
<link href="static/logo.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-6">
<h1><a href="https://github.com/phase/o">O</a> Language IDE</h1>
<p>You can find documentation for the O Programming Language at <a href="http://o.readthedocs.org">o.readthedocs.org</a>. The GitHub repository is located at <a href="https://github.com/phase/o">github.com/phase/o</a>.</p>
<br/>
<p id="byteCount">0 bytes and 0 chars long.</p>
<p>Code</p>
<textarea rows="4" cols="50" name="code" id="code" form="o">{{ code }}</textarea>
<p>Input (each line is a different input)</p>
<textarea rows="4" cols="50" name="input" id="input" form="o">{{ input }}</textarea>
<div class="row">
<br/>
<div class="col-xs-6 previous">
<form id="o" action="" method="post">
<fieldset>
<input class="btn btn-success" type="submit" value="Run!">
</fieldset>
</form>
</div>
<div class="col-xs-6 next">
<input type="button" class="btn btn-info" id="permalink" type="submit" value="Permalink"/>
</div>
</div>
{% block body %}{% endblock %}
</div>
<div class="col-xs-6">
<h3>Utilities</h3>
<p>These are some utilities that can be used when coding in O.</p>
<p id="stripped"></p>
<br/>
<button type="button" class="btn btn-warning btn-sm" id="util.genuni" onclick="genUni()">Generate Unicode</button>
<br/>
<h4>General Explanation <small>(not always correct)</small>:</h4>
<div class="container" style="margin-top: 5%;margin-right: 5%;">
<pre id="explanation"></pre>
</div>
</div>
</div>
</div>
<script src="{{ url_for('static', filename='explanations.js') }}"></script>
<script src="{{ url_for('static', filename='parser.js') }}"></script>
<html>
<head>
<title>O Language IDE</title>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://bootswatch.com/darkly/bootstrap.min.css">
<link href="static/logo.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-6">
<h1><a href="https://github.com/phase/o">O</a> Language IDE</h1>
<p>You can find documentation for the O Programming Language at <a href="https://o.readthedocs.org">o.readthedocs.org</a>.
The GitHub repository is located at <a href="https://github.com/phase/o">github.com/phase/o</a>.</p>
<br/>
<p id="byteCount">0 bytes and 0 chars long.</p>
<p>Code</p>
<textarea rows="4" cols="50" name="code" id="code" form="o">{{ code }}</textarea>
<p>Input (each line is a different input)</p>
<textarea rows="4" cols="50" name="input" id="input" form="o">{{ input }}</textarea>
<div class="row">
<br/>
<div class="col-xs-6 previous">
<form id="o" action="" method="post">
<fieldset>
<input class="btn btn-success" type="submit" value="Run!">
</fieldset>
</form>
</div>
<div class="col-xs-6 next">
<input type="button" class="btn btn-info" id="permalink" type="submit" value="Permalink"/>
</div>
</div>
{% block body %}{% endblock %}
</div>
<div class="col-xs-6">
<h3>Utilities</h3>
<p>These are some utilities that can be used when coding in O.</p>
<p id="stripped"></p>
<br/>
<button type="button" class="btn btn-warning btn-sm" id="util.genuni" onclick="genUni()">Generate Unicode</button>
<br/>
<h4>General Explanation <small>(not always correct)</small>:</h4>
<div class="container" style="margin-top: 5%;margin-right: 5%;">
<pre id="explanation"></pre>
</div>
</div>
</div>
</div>
<script src="{{ url_for('static', filename='explanations.js') }}"></script>
<script src="{{ url_for('static', filename='parser.js') }}"></script>
<script src="{{ url_for('static', filename='o.js') }}"></script>
</body>
</body>
</html>

0 comments on commit 51a94ef

Please sign in to comment.