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
Roll call! If you were a migrating bird where would you migrate to and why? | |
* | |
* | |
* | |
New New resources for clubs | |
Integrating a Mozilla Club in a Library http://mozilla.github.io/learning-networks/clubs/hosting-mozilla-club-in-library/ | |
Using design thinking at events http://mozilla.github.io/learning-networks/clubs/design-thinking/ | |
How to be participatory and playful at events guide http://mozilla.github.io/learning-networks/clubs/encouraging-participatory-playful-learning/ | |
Increasing digital literacy with women guide http://mozilla.github.io/learning-networks/clubs/increasing-womens-web-literacy |
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
C:\Users\soapdog | |
λ t2 root | |
INFO Looking for your Tessel... | |
INFO Connected to tesselfafi. | |
INFO Starting SSH Session on Tessel. Type "exit" at the prompt to end. | |
BusyBox v1.23.2 (2016-09-02 15:27:43 EDT) built-in shell (ash) | |
Tessel 2 / Built on OpenWrt |
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
This is a naive benchmark, it may not reflect real world usage. I basically used the same server script for Lua (luvit) and NodeJS | |
and fired the siege tool against it for 60 seconds and then 120 seconds. Luvit came ahead on both cases. | |
=== NodeJS 60s === | |
Transactions: 18136 hits | |
Availability: 94.64 % | |
Elapsed time: 49.61 secs | |
Data transferred: 0.21 MB | |
Response time: 0.04 secs |
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
defaultLanguage = "portuguese" | |
[english] | |
name = "A Taste of ESP8266 with MicroPython" | |
blurb = "An introduction to physical computing using the ESP8266 board and the MicroPython language" | |
hero = "en/hero.jpg" | |
flow = [ | |
"en/intro.md", | |
"en/basics.md", | |
"en/project.md", |
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 server = require("flyweb_server") | |
server | |
.configure {hostname = "sample-server", port = 3030} | |
.route({path = "/"}, function(_, res) | |
res:send_static_file("index.html") | |
end) | |
.route({path = "/led", method = "POST"}, function(req, res) | |
print("POST: " .. req.POST) | |
res:send("text/plain", "you posted: " .. req.POST) |
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
version: '2' | |
services: | |
web: | |
depends_on: | |
- db | |
build: academy-server/. | |
image: amoralabs/academy | |
ports: | |
- "8080:80" | |
- "8443:443" |
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
-------------------------------------------------------------------------------- | |
-- query_logger.lua, v0.1.0: A quick and dirty logger to help with query debuging | |
-- This file is a part of Sailor project | |
-- Copyright (c) 2017 Andre Garzia <[email protected]> | |
-- License: MIT | |
-- http://sailorproject.org | |
-------------------------------------------------------------------------------- | |
local sailor = require "sailor" | |
local main_conf = require "conf.conf" |
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
import m from "mithril"; | |
import Content from "../elements/content.js"; | |
import Title from "../elements/title.js"; | |
import Subtitle from "../elements/subtitle.js"; | |
import Box from "../elements/box.js"; | |
import Button from "../elements/button.js"; | |
import Tag from "../elements/tag.js"; | |
import Delete from "../elements/delete.js"; | |
import Fa from "../elements/fa.js"; | |
import Icon from "../elements/icon.js"; |
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
Red [ | |
Title: "LuiBTC" | |
Author: "Andre Garzia" | |
Needs: 'view | |
] | |
do %json.red | |
view [ | |
title "LuiBTC" |
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
var h = require('mutant/html-element') | |
var Struct = require('mutant/struct') | |
var send = require('mutant/send') | |
var computed = require('mutant/computed') | |
var when = require('mutant/when') | |
var state = Struct({ | |
text: 'Test', | |
color: 'red', | |
value: 0 |