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)
# Maintainer: Marcel Hollerbach mail@bu5hm4n.de
_pkgname=anna
pkgname=$_pkgname
pkgdesc="Spawny with a efl greeter"
pkgver=0.1
pkgrel=1
url="http://github.com/marcelhollerbach/anna"
arch=('i686' 'x86_64')
license=('BSD')
depends=('efl' 'protobuf-c')
@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,