Skip to content

Instantly share code, notes, and snippets.

View farribeiro's full-sized avatar
🤒
Out sick

Fábio Rodrigues Ribeiro farribeiro

🤒
Out sick
  • Ajinomoto CO., INC
  • Brasil
View GitHub Profile
app-id: com.rustdesk.rustdesk
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
rename-desktop-icon: rustdesk.desktop
command: rustdesk
finish-args:
- --device=dri
- --filesystem=host
app-id: net.kvirc.KVIrc
runtime: org.kde.Platform
runtime-version: '5.15-21.08'
sdk: org.kde.Sdk
rename-appdata-file: net.kvirc.KVIrc5.appdata.xml
rename-desktop-file: net.kvirc.KVIrc5.desktop
rename-icon: kvirc
command: kvirc
finish-args:
#!/bin/sh
# Program to use the command install recursivly in a folder
magic_func() {
echo "entering ${1}"
echo "target $2"
for file in $1; do
if [ -f "$file" ]; then

We can divide the process of voting in 4 distinct categories: In-person paper voting, In-person e-voting, Remote paper voting and Remote e-voting.[1]Electoral processes must guarantee certain proprieties as well as provide cybersecurity when done electronically[2]. The goal of this short paper is to do a small overview of the current tools of the ecosystem of remote e-voting and pin-point key components that will play an important role in its foreseeable evolution.

Additional Keywords and Phrases: Remote e-voting, e-vote, on-line consensus

https://odysee.com/@Madiator2011:e/madiatorcom:d

https://Madiator.com is a web frontend for LBRY based on source of https://lbry.tv but with extra tweeks:

  1. Dark Mode enabled
  2. Removed LBRY Inc reflector servers (content goes from P2P peers)
  3. Added custom error message for content that my SDK can't find in P2P network.
  4. Replaced login button with option to download Desktop App ( I encurage you to download and give it try)
  5. Soon switch to own hub server (mayby with custom algorythm)
  6. No Google and trackers (I only run own Matomo to track how many people get on website)

https://odysee.com/@Madiator2011:e/madiator-fund:d

Hello Everyone. My name is Madiator and you may know me with lot of projects I made for LBRY Community like:

  1. https://Madiator.com - P2P powered web instance without tracking or LBRY Inc API's
  2. Public HUB server - hub.madiator.com:50001 (Not owned by LBRY Inc)
  3. DNS Seed node for LBRYcrd nodes ( Helps decentralizing LBRYcrd nodes rather than 3 hard coded LBRY Inc nodes) https://github.com/lbryio/lbrycrd/blob/131bcc8c9d2995b98ecb23d2b9d81e5177234907/src/chainparams.cpp#L202
  4. DHT Crawler (In case of LBRY Inc servers goes down blob distribution will still work, another step toward decentralization).
  5. https://nodes.madiator.com - Interactive map of LBRY nodes running on the internet (shows and encurages more people to run own nodes)
interrupt(1)
function newRelogio()
local self = {
dt = os.datetable()
}
local function setTZ(tz)
self.tz = tz
end
function checa_mod11(soma)
d = soma % 11
if d > 2 then
return 11 - d
else
return 0
end
end
function calcula_digito(i, j)

Polimorfismo e herança em lua

https://luaderuby.wordpress.com/2013/04/06/polimorfismo-e-heranca-em-lua/

Lua não é uma linguagem orientada a objetos, entretanto fornece a possibilidade de programar em OO se utilizando de meta-mecanismos para a implementação de classes e herança.

Suponhamos uma classe Rectangle, contendo altura e comprimento de um retângulo:

 Rectangle = { width = 0, height = 0 }