Author: frank

Sencha touch advanced getting-started guide (windows) 0

Sencha touch advanced getting-started guide (windows)

Installation rubyinstaller-2.0.0-p353-x64.exe node-v0.10.26-x64.msi compass sass npm install phonegap -g # Version in 2014 : v3.3.0-0.19.6 sencha fs web -p 80 start -map /path/to/sencha/folder/ Building for production sencha phonegap init sencha phonegap init com.oligny.tracker Tracker...

Get the UUID of partitions in Debian 0

Get the UUID of partitions in Debian

$ ls -l /dev/disk/by-uuid/ total 0 lrwxrwxrwx 1 root root 10 Oct 16 10:27 2d781b26-0285-421a-b9d0-d4a0d3b55680 -> ../../sda1 lrwxrwxrwx 1 root root 10 Oct 16 10:27 31f8eb0d-612b-4805-835e-0e6d8b8c5591 -> ../../sda7 lrwxrwxrwx 1 root root 10 Oct...

Sencha : Add geolocation to your app 0

Sencha : Add geolocation to your app

In config.xml, make sure you have these two lines somewhere : <feature name="http://api.phonegap.com/1.0/geolocation"/> <preference name="EnableLocation" value="true" />

How to fix libSDL.a(xyz): undefined reference to `__imp_timeBeginPeriod' and friends 1

How to fix libSDL.a(xyz): undefined reference to `__imp_timeBeginPeriod' and friends

How to fix this error : /usr/local/cross-tools/x86_64-w64-mingw32/lib/libSDL.a(SDL_systimer.o):SDL_systimer.c:(.text+0x25): undefined reference to `__imp_timeBeginPeriod' /usr/local/cross-tools/x86_64-w64-mingw32/lib/libSDL.a(SDL_systimer.o):SDL_systimer.c:(.text+0x2b): undefined reference to `__imp_timeGetTime' /usr/local/cross-tools/x86_64-w64-mingw32/lib/libSDL.a(SDL_systimer.o):SDL_systimer.c:(.text+0x50): undefined reference to `__imp_timeGetTime' /usr/local/cross-tools/x86_64-w64-mingw32/lib/libSDL.a(SDL_systimer.o):SDL_systimer.c:(.text+0xbb): undefined reference to `__imp_timeBeginPeriod' /usr/local/cross-tools/x86_64-w64-mingw32/lib/libSDL.a(SDL_systimer.o):SDL_systimer.c:(.text+0xe1): undefined reference to `__imp_timeSetEvent' /usr/local/cross-tools/x86_64-w64-mingw32/lib/libSDL.a(SDL_systimer.o):SDL_systimer.c:(.text+0x140): undefined reference...

Insert a SDL event programmatically 0

Insert a SDL event programmatically

SDL_Event user_event; user_event.type=SDL_USEREVENT; user_event.user.code=2; user_event.user.data1=NULL; user_event.user.data2=NULL; SDL_PushEvent(&user_event); ... in event loop switch (event.type) { case SDL_USEREVENT: if (event.user.code == MY_CUSTOM_DEFINE) { } break; (...) }