This gist has been deprecated: see sdldoctables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lines=[[ | |
| Deborah was a Catholic girl | |
| she held out till the bitter end | |
| Carla was a different type | |
| she's the one who put it in | |
| Mary was a black girl | |
| I was afraid of a girl like that | |
| Suzen painted pictures | |
| sitting down like a Buddha sat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --table of Windows Time Display Notation specifiers | |
| --(http://support.microsoft.com/kb/307938) to the equivalent | |
| --format specifiers for the Visual C++ Runtime Library's | |
| --version of strftime (http://msdn.microsoft.com/en-us/library/fe06s4ak.aspx). | |
| local wtdn2sftf = { | |
| --'t' does only the first character of %p: | |
| --no strftime equivalent | |
| tt = 'p', | |
| H = '#H', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To listen to your messages, press 1. | |
| To send a message, press 2. | |
| To change your personal options, press 4. | |
| > Personal options. | |
| To turn message waiting indicator on or off, press 1. | |
| - Message waiting indicator on. | |
| To turn message waiting indicator off, press 2. | |
| > Message waiting indicator now off. | |
| : Personal options. | |
| To exit, press *. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --The values used to represent trees, fires, and empty space. | |
| local TREE = 'T' | |
| local BURNING = '#' | |
| local EMPTY = ' ' | |
| --Returns a table with gettors and settors for 2D coordinates. | |
| --This implementation uses a single underlying 1-dimensional | |
| --array table. It could also be changed to use a 2-dimensional | |
| --table of row/column tables, or a table with serialized coordinates. | |
| local function array2d(w,h) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local function base (digit_list) | |
| local b = #digit_list | |
| if b == 0 then | |
| return function(number) return "" end | |
| elseif b == 1 then | |
| local mark = digit_list[1] | |
| return function(number) | |
| return string.rep(mark, number) | |
| end | |
| else |
| Authors: | Matthew "LeafStorm" Frazier <leafstormrush@gmail.com>
Stuart P. Bentley <stuart@testtrack4.com> |
|---|---|
| Date: | January 26, 2011 |
| Status: | Early draft |
This document specifies an interface between Web servers and Web applications written in the Lua programming language, to promote interoperability between Web servers and the development of an ecosystem of reusable components for Lua on the Web.
NewerOlder