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
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
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
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
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
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
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
function makePromise() { | |
return new Promise(function(resolve, reject){ | |
setTimeout(function(){ resolve('hey!') }, 500); | |
}); | |
} | |
var gambiwrap = function(p) { | |
console.log("Promessa não resolvida"); | |
return p.then(function(r) { |
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
Building repository 'multimedia:apps' cache ...................................................................................................[done] | |
Retrieving repository 'openSUSE:Tumbleweed' metadata ---------------------------------------------------------------------------------------------[/] | |
Warning: The gpg key signing file 'repomd.xml' has expired. | |
Repository: openSUSE:Tumbleweed | |
Key Name: openSUSE:Tumbleweed OBS Project <openSUSE:[email protected]> | |
Key Fingerprint: 56FE3F66 EE9AD664 DD8978DF 03FCF140 B367F5CD | |
Key Created: Mon 18 Feb 2013 02:09:00 PM BRT | |
Key Expires: Wed 29 Apr 2015 02:09:00 PM BRT (EXPIRED) | |
Rpm Name: gpg-pubkey-b367f5cd-5122602c | |
Retrieving repository 'openSUSE:Tumbleweed' metadata ..................................................... |
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
a respeito de: http://meiobit.com/305379/mozilla-firefox-pede-doacoes-para-se-manter-vivo-apos-contrato-com-google-expirar/#disqus_thread | |
Nossa que materia ruim. | |
Vamos lá, coisas erradas: | |
Primeiro a Mozilla é uma comunidade global de pessoas com objetivo de defender uma internet livre feita por usuários e para usuários. Essa comunidade se junta em uma fundação que por sua vez possui uma corporação. Ou seja, a estrutura é um pouco mais complexa que uma ONG. | |
Segundo, todo ano existe a campanha de doação para a Mozilla. Todo ano. |