Skip to content

Instantly share code, notes, and snippets.


Edson Tégila tegila

  • Shenzhen, China
View GitHub Profile
View parents.js
const find = (parent, query) => {
const payload = Object.assign({}, parent.payload, {
const self = {
filter: query => {
payload.query = query;
return parent;
View callback_and_promises.js
const func1 = (a, b, callback) => {
callback(a + b);
const func2 = (a, b) => {
func1(a, b, result => {
View docker-compose.yaml
version: '3'
image: dperson/samba
- /tmp
restart: unless-stopped
View thebuilder_rev1.js
/* olá! */
function DesenvolvedorWeb() {
return "Marcelo Paixão Resende";
/* entre em contato */
DesenvolvedorWeb.contato = {
celular: "(034) 99131-4105",
email: "",
skype: "marcelopaixaoresende",
View brlt.sol
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------------------------
// Enjoy. (c) tegila 2017. The MIT Licence.
// ----------------------------------------------------------------------------------------------
// ERC Token Standard #20 Interface
contract ERC20Interface {
View tenx
pragma solidity 0.4.11;
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
contract Ownable {
address public owner;
tegila / SDWebBrowser.cpp
Last active Jan 5, 2016
adafruit SDWebBrowser updated
View SDWebBrowser.cpp
* USERS OF ARDUINO 0023 AND EARLIER: use the 'SDWebBrowse.pde' sketch...
* 'SDWebBrowse.ino' can be ignored.
* USERS OF ARDUINO 1.0 AND LATER: **DELETE** the 'SDWebBrowse.pde' sketch
* and use ONLY the 'SDWebBrowse.ino' file. By default, BOTH files will
* load when using the Sketchbook menu, and the .pde version will cause
* compiler errors in 1.0. Delete the .pde, then load the sketch.
* I can't explain WHY this is necessary, but something among the various
* libraries here appears to be wreaking inexplicable havoc with the
View Artnet.cpp
/*The MIT License (MIT)
Copyright (c) 2014 Nathanaël Lécaudé,
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
View sim800l.cpp
### Esquema de ligação ###
- Ligar o VCC do SIM800L a uma fonte +4V 2A estável
- Conectar o GND do SIM800L ao GND do Arduino e também ao GND da fonte.
> Todos alimentados agora podemos ligar a parte da comunicação serial
- Ligar o RX do SIM800L (ENTRADA) ao Digital 11 do Arduino
- Ligar o TX do SIM800L (SAIDA) ao Digital 10 do Arduino
## Utilização:
tegila / ml.parse.vb
Last active Aug 29, 2015
Percorre a fatura do ML procurando por roubos
View ml.parse.vb
Sub getTheRabit()
Dim i As Integer, j As Integer, k As Integer
Dim cuDate As String, newDate As String
Dim temp As String
With Worksheets("Report")
i = 16
Do Until .Cells(i, 2).Value = ""
k = 16
cuDate = .Cells(i, 2).Value
You can’t perform that action at this time.