$ erl
> i().
| %% Simple web server. | |
| -module(sws). | |
| -author('Steve Vinoski <[email protected]>'). | |
| -export([start/1, start/2]). | |
| %% start/1 takes a handler function and starts the web server on port 8000. | |
| %% start/2 takes a handler function and a port number. The handler function | |
| %% takes two arguments: a TCP socket and request data. The request data is | |
| %% a property list indicating the invoked HTTP method, the target URI, the |
| from flask import Flask, render_template, request | |
| from uwsgidecorators import * | |
| import pytronics | |
| import os, time | |
| public = Flask(__name__) | |
| public.config['PROPAGATE_EXCEPTIONS'] = True | |
| # Include "no-cache" header in all POST responses | |
| @public.after_request |
| Simple literate programming. | |
| Add comments to your Erlang file with a special %%% syntax, like this: | |
| %%% This is a comment that will be formatted in a variable width font with Markdown. | |
| %%% You can use *emphasis* and | |
| %%% # Headings | |
| %%% and even | |
| %%% | |
| %%% - Lists |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| // Nanode_MAC | |
| // Rufus Cable, June 2011 (threebytesfull) | |
| // Sample code to read the MAC address from the 11AA02E48 on the | |
| // back of the Nanode V5 board. | |
| // This code is hacky and basic - it doesn't check for bus errors | |
| // and will probably fail horribly if it's interrupted. It's best | |
| // run in setup() - fetch the MAC address once and keep it. After | |
| // the address is fetched, it puts the chip back in standby mode |
| %% @doc A small module that jumps between connected nodes. | |
| %% @author Gianfranco Alongi <[email protected]> | |
| %% @author Adam Lindberg <[email protected]> | |
| -module(virus). | |
| -export([start/0]). | |
| -export([start/1]). | |
| start() -> spawn_process(code:get_object_code(?MODULE)). | |
| start(Beam) -> spawn_process(Beam). |
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |