Skip to content

Commit

Permalink
update broken references
Browse files Browse the repository at this point in the history
  • Loading branch information
cablehead committed Sep 11, 2018
1 parent 7108962 commit 116d89c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Site settings
title: "Levee"
email: "support@imgix.com"
email: "andy@thecablelounge.com"
description: "Levee is a tool to succinctly and quickly create high performance network appliances with Lua."
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://imgix.github.io" # the base hostname & protocol for your site
twitter_username: "imgix"
github_username: "imgix"
url: "http://cablehead.github.io" # the base hostname & protocol for your site
twitter_username: "cablelounger"
github_username: "cablehead"

# Build settings
markdown: kramdown
28 changes: 14 additions & 14 deletions _posts/2016-03-20-overview.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ introduction to some of Levee's networking capabilities.
## The `run` command

```bash
imgix:~ andy$ levee run -h
$ levee run -h
Usage: levee run (<path> | -e <script>) [arg...]
```

Expand All @@ -27,14 +27,14 @@ way. We'll look at creating a Levee project in a short bit. First `run` has a
`-e` option which will run a string snippet:

```bash
imgix:~ andy$ levee run -e "print('oh hai')"
$ levee run -e "print('oh hai')"
oh hai
```

Slightly more interesting:

```bash
imgix:~ andy$ levee run -e "
$ levee run -e "
local h = require('levee').Hub()
h:spawn(function()
Expand Down Expand Up @@ -88,13 +88,13 @@ end
To run:

```bash
imgix:~ andy$ levee run dtsrv.lua
$ levee run dtsrv.lua
```

Then in another window:

```bash
imgix:~ andy$ nc localhost 4000
$ nc localhost 4000
Thu, 27 Aug 2015 18:14:37 GMT
Thu, 27 Aug 2015 18:14:38 GMT
Thu, 27 Aug 2015 18:14:39 GMT
Expand All @@ -106,7 +106,7 @@ Thu, 27 Aug 2015 18:14:39 GMT
Levee projects are usually structured with the following layout:

```bash
imgix:~ andy$ find dtsrv
$ find dtsrv
dtsrv
dtsrv/dtsrv
dtsrv/dtsrv/foo.lua
Expand All @@ -130,13 +130,13 @@ It's possible to run this project just by specifying the project's main Lua
folder:

```bash
imgix:dtsrv andy$ levee run ./dtsrv
$ levee run ./dtsrv
```

Again, in another window:

```bash
imgix:~ andy$ nc localhost 4000
$ nc localhost 4000
Thu, 27 Aug 2015 18:53:57 GMT
Thu, 27 Aug 2015 18:53:58 GMT
Thu, 27 Aug 2015 18:53:59 GMT
Expand All @@ -149,7 +149,7 @@ Levee has a built in test running to facilitate quickly adding tests for your
project.

```bash
imgix:~ andy$ levee test -h
$ levee test -h
Usage: levee test [-v] [-x] [-k <match>] <path>
```

Expand Down Expand Up @@ -182,7 +182,7 @@ return {
To run:

```bash
imgix:dtsrv andy$ levee test -v ./test/
$ levee test -v ./test/
./test/test_foo.lua
test_add PASS

Expand All @@ -195,7 +195,7 @@ This is where things get really interesting. Levee's build command will bundle
your Levee project and compile it into a standalone executable.

```bash
imgix:~ andy$ levee build -h
$ levee build -h
Usage: levee build [-o <exe] [-n <name>] <module> [module...]

Options:
Expand All @@ -214,8 +214,8 @@ mkdir -p ~/bin
Let's build our `dtsrv` project:

```bash
imgix:dtsrv andy$ levee build ./dtsrv -o ~/bin/dtsrv
imgix:dtsrv andy$ ls -lh ~/bin/dtsrv
$ levee build ./dtsrv -o ~/bin/dtsrv
$ ls -lh ~/bin/dtsrv
-rwxr-xr-x 1 andy staff 934K Aug 27 12:03 /Users/andy/bin/dtsrv
```

Expand All @@ -231,7 +231,7 @@ Finally let's run our new binary:
And in that other window:
```bash
imgix:~ andy$ nc localhost 4000
$ nc localhost 4000
Thu, 27 Aug 2015 18:53:57 GMT
Thu, 27 Aug 2015 18:53:58 GMT
Thu, 27 Aug 2015 18:53:59 GMT
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h3>Performance</h3>
<p>Levee is based on <a href="http://luajit.org/">LuaJIT</a> which provides a
stellar <a href="https://en.wikipedia.org/wiki/Just-in-time_compilation">JIT</a> for
Lua code and an excellent <a href="https://en.wikipedia.org/wiki/Foreign_function_interface">FFI</a> for
binding to C libraries. For example Levee comes bundled with <a href="https://github.com/imgix/siphon">Siphon</a>, a library of highly
binding to C libraries. For example Levee comes bundled with <a href="https://github.com/kalamay/siphon">Siphon</a>, a library of highly
optimized parsers for common protocol and data formats.</p>
</div>
<div class="benefits">
Expand All @@ -65,7 +65,7 @@ <h3>Build Standalone Static Binaries</h3>
<h3>Install on OS X</h3>
<article class="osx selected">
{% highlight terminal %}
$ brew install imgix/brew/levee
$ brew install levee
{% endhighlight %}
</article>
Expand Down

0 comments on commit 116d89c

Please sign in to comment.