Skip to content

Instantly share code, notes, and snippets.

@lauromoura
lauromoura / cartola.txt
Created April 17, 2018 17:05
Ranking times Cartola
Times da Serie A + Serie B + Principais da Série C
1 flamengo 1.095.040
2 corinthians 1.008.155
3 sao-paulo 736.737
4 palmeiras 510.398
5 vasco 338.264
6 cruzeiro 263.544
7 santos 254.099
8 gremio 230.553
@lauromoura
lauromoura / push_button
Created March 27, 2018 17:56
Arduino push button play
int RELEASED = 1;
int PRESSED = 0;
int redPin = 13;
int yellowPin = 12;
int greenPin = 11;
int whitePin = 10;
int buttonPin = 2;
int acc = 0;
commit 3870477e92275e1ea3426b4f19546ad1aec1b28c
Author: Lauro Moura <lauromoura@expertisesolutions.com.br>
Date: Thu Mar 22 19:28:20 2018 -0300
csharp: Fix disposal of efl.Objects
This will fix the many error messages given by Eo regarding invalid
objects when shutting down.
The problem was calling LIB_shutdown while some objects were still
@lauromoura
lauromoura / refcount-errors.txt
Created March 22, 2018 21:24
Errors with using(window...) {}
ERR<20362>:evas_main ../../src/lib/evas/canvas/evas_main.c:329 _evas_canvas_efl_object_destructor() obj(Efl.Ui.Box_Flow@0x40000002a990[1]:hidden:children=1) ref count(1) is bigger than 0. This object couldn't be deleted
ERR<20362>:eo ../../src/lib/eo/eo.c:2537 efl_manual_free() Tried deleting the object 0x40000002a990 while still referenced(1).
ERR<20362>:eo ../../src/lib/eo/eo.c:2537 efl_manual_free() Tried deleting the object 0x40000002ad91 while still referenced(1).
ERR<20362>:eo ../../src/lib/eo/eo.c:2537 efl_manual_free() Tried deleting the object 0x40000002b192 while still referenced(1).
ERR<20362>:eo ../../src/lib/eo/eo.c:2537 efl_manual_free() Tried deleting the object 0x40000002b593 while still referenced(1).
ERR<20362>:eo ../../src/lib/eo/eo.c:2537 efl_manual_free() Tried deleting the object 0x4000000309a8 while still referenced(1).
ERR<20362>:eo ../../src/lib/eo/eo.c:2537 efl_manual_free() Tried deleting the object 0x40000003c1d6 while still referenced(1).
ERR<20362>:eo ../../src/lib/eo/eo.c:2537 e
#define EFL_BETA_API_SUPPORT 1
#define EFL_EO_API_SUPPORT 1
#include <Elementary.h>
EAPI_MAIN void
efl_main(void *data EINA_UNUSED, const Efl_Event *ev)
{
From 447cd03b4c67ce152d6f62bbd880fad69a6e405e Mon Sep 17 00:00:00 2001
From: Lauro Moura <lauromoura@expertisesolutions.com.br>
Date: Mon, 29 Jan 2018 11:52:02 -0300
Subject: [PATCH] pyolian: Add EOLIAN_SO_DIR to customize eolian so dir
Summary: It'd make it easier to make eolian_lib.py find the eolian in different build schemes.
Reviewers: DaveMDS
Subscribers: cedric
commit 447cd03b4c67ce152d6f62bbd880fad69a6e405e
Author: Lauro Moura <lauromoura@expertisesolutions.com.br>
Date: Mon Jan 29 11:52:02 2018 -0300
pyolian: Add EOLIAN_SO_DIR to customize eolian so dir
Summary: It'd make it easier to make eolian_lib.py find the eolian in different build schemes.
Reviewers: DaveMDS
@lauromoura
lauromoura / inspector.py
Created March 15, 2018 02:33
EFL ptr(struct) inspector
#!/usr/bin/env python3
# encoding: utf-8
"""
Script to search for methods with ptr(struct) arguments.
"""
import os
import datetime
try:
from . import eolian
commit 599a18da34d6b337bb5e1cc3436f74efcb1e498e
Author: Lauro Moura <lauromoura@expertisesolutions.com.br>
Date: Thu Mar 8 20:19:02 2018 -0300
eolian-cxx: Fix typo
diff --git a/src/bin/eolian_cxx/eolian_cxx.cc b/src/bin/eolian_cxx/eolian_cxx.cc
index 72177f1..13bb0da 100644
--- a/src/bin/eolian_cxx/eolian_cxx.cc
+++ b/src/bin/eolian_cxx/eolian_cxx.cc
commit b2fa62e3a0b241b9540efd9af0db1e51b7ce7362
Author: Lauro Moura <lauromoura@expertisesolutions.com.br>
Date: Fri Jan 26 19:43:10 2018 -0300
efl_mono: Distcheck fixes (C# and others)
- Moved generated file from binding_SOURCES to target dependency
- Moved static binding sources to binding_SOURCES
- Added missing selection_manager_private header
- Added missing cxx header