Skip to content

Instantly share code, notes, and snippets.

View marcelhollerbach's full-sized avatar

Marcel Hollerbach marcelhollerbach

View GitHub Profile
static void
_compute_node(Focus_Node *node, Eina_List *objects)
{
int x = 0,y = 0,w = 0,h = 0;
Focus_Node *nodes[4], *r;
Eina_List *n;
int distances[4] = {-1, -1, -1, -1};
evas_object_geometry_get(node->widget, &x, &y, &w, &h);
This file has been truncated, but you can view the full file.
The options are: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -Ddatabase.url=jdbc:mysql://db -Ddatabase.username=root -Ddatabase.password=root -Dos.url=http://objectservice:4567 -Dlogback.configurationFile=/conf/logging_trace.xml
Listening for transport dt_socket at address: 5005
16:11:41.332 [main] DEBUG e.k.i.c.w.Main - Initial config-location: null
16:11:41.337 [main] DEBUG e.k.i.c.w.Main - Actual config-location: ./conf/configuration.properties
16:11:41.385 [main] DEBUG c.z.h.HikariConfig - HikariPool-0 - configuration:
16:11:41.398 [main] DEBUG c.z.h.HikariConfig - allowPoolSuspension.............false
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - autoCommit......................true
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - catalog.........................null
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - connectionInitSql...............null
16:11:41.399 [main] DEBUG c.z.h.HikariConfig - connectionTestQuery.............null
All tasks (all, dist, dist-clean, release) have dependencys.
Dependencys can be existing-files, other tasks.
There should be the possibility to "savecheck" the configuration, so all existing files are really existing. (Usefull to do before push)
Most buildtools are dependency driven, this is bad for the above case, looking for existing files is a problem, if they are just created at build time.
static void
_obj_info_gl_selected(void *data EINA_UNUSED, Evas_Object *pobj EINA_UNUSED,
void *event_info)
{
Efl_Dbg_Info *info = elm_object_item_data_get(event_info);
/* if the user clicks on a property which is a pointer, try to highlight it*/
if (eina_value_type_get(&info->value) == EINA_VALUE_TYPE_UINT64)
{
#include <Elementary.h>
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *o, *bx;
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
win = elm_win_util_standard_add("Main", "Hello, World!");
collections {
filters {
filter {
name: "blurbackground";
script {
padding_set(0)
blur ({100})
}
}
}
Idea for generating 'something':
#1 create a grid, and fill in every position if the grid pos is
Living, Industry, Shopping. So it does make sense and looks good
#2 calculate how much traffic we could need in every single grid pos (neightboor ceels are connected)
#3 calculate a "big-street net" from point to point of each grid
A living area for example does not need a a direct big street access, only a big street in a distance of 1-2 cells (Think more about that)
#4 calculate a "medium" street net for each grid cell (according to cell type)
@marcelhollerbach
marcelhollerbach / sample.c
Created May 20, 2017 12:27
Eolian mixin example
#define EFL_BETA_API_SUPPORT
#define EFL_EO_API_SUPPORT
#include <Eo.h>
#include "sample.eo.h"
typedef struct {
} sample_Data;
EOLIAN static void
typedef enum {
ECORE_EVAS_SELECTION_TYPE_PRIMARY,
ECORE_EVAS_SELECTION_TYPE_SECONDARY,
ECORE_EVAS_SELECTION_TYPE_CLIPBOARD,
} Ecore_Evas_Selection_Type;
typedef enum {
/** For matching every possible target */
ECORE_EVAS_FORMAT_TARGETS = -1,
#0 0x00007f664979768d in pause () at /usr/lib/libpthread.so.0
#1 0x00000000005f2ac7 in e_alert_show () at src/bin/e_alert.c:43
#2 0x00000000005964ef in _e_crash () at src/bin/e_signals.c:96
#3 0x00000000005965a8 in e_sigabrt_act (x=6, info=0x7ffc6f08d470, data=0x7ffc6f08d340) at src/bin/e_signals.c:142
#4 0x00007f6649797fe0 in <signal handler called> () at /usr/lib/libpthread.so.0
#5 0x00007f6648ceca10 in raise () at /usr/lib/libc.so.6
#6 0x00007f6648cee13a in abort () at /usr/lib/libc.so.6
#7 0x00007f664a0164ce in eina_log_print_unlocked (domain=56, level=EINA_LOG_LEVEL_CRITICAL, file=0x7f665105663c "lib/evas/canvas/evas_events.c", fnc=0x7f6651056b46 "_evas_event_feed_check", line=37, fmt=0x7f6651056b5d "Feeding new input e
vents from a post-event callback is risky!", args=0x7ffc6f08edd0) at lib/eina/eina_log.c:1456
#8 0x00007f664a015f38 in eina_log_print (domain=56, level=EINA_LOG_LEVEL_CRITICAL, file=0x7f665105663c "lib/evas/canvas/evas_events.c", fnc=0x7f6651056b46 "_evas_event_feed_check", line=