This is an old revision of the document!
Warning: Declaration of syntax_plugin_wrap_div::handle($match, $state, $pos, Doku_Handler &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/div.php on line
43
Warning: Declaration of syntax_plugin_wrap_div::render($mode, Doku_Renderer &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/div.php on line
81
Warning: Declaration of syntax_plugin_wrap_closesection::handle($match, $state, $pos, Doku_Handler &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/closesection.php on line
23
Warning: Declaration of syntax_plugin_wrap_closesection::render($mode, Doku_Renderer &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/closesection.php on line
29
Warning: Declaration of syntax_plugin_wrap_span::handle($match, $state, $pos, Doku_Handler &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/span.php on line
43
Warning: Declaration of syntax_plugin_wrap_span::render($mode, Doku_Renderer &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/span.php on line
63
Warning: Declaration of syntax_plugin_gallery::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/var/www/kucjica/emperors-wiki/lib/plugins/gallery/syntax.php on line
51
Warning: Declaration of syntax_plugin_gallery::render($mode, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/var/www/kucjica/emperors-wiki/lib/plugins/gallery/syntax.php on line
147
Warning: Declaration of syntax_plugin_vshare::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/var/www/kucjica/emperors-wiki/lib/plugins/vshare/syntax.php on line
47
Warning: Declaration of syntax_plugin_vshare::render($mode, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/var/www/kucjica/emperors-wiki/lib/plugins/vshare/syntax.php on line
107
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3444 in
/var/www/kucjica/emperors-wiki/inc/parser/lexer.php on line
118
A PCRE internal error occured. This might be caused by a faulty plugin
====== android app logging on the server ======
following [[http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/|these instructions]]
server side:
* create a mysql user for the project
<code>
mysql -u root -p
</code>
<code>
mysql> use mysql;
mysql> INSERT INTO user (Host,User,Password) VALUES('%','username',PASSWORD('password'));
mysql> flush privileges;
</code>
* create a database
<code>
myqsl> create database databasename;
</code>
* create a table
<code>
mysql> use databasename;
mysql> CREATE TABLE tablename(
pid int(11) primary key auto_increment,
value1 int(10) not null,
value2 int(10) not null,
value3 int(10) not null,
value4 int(10) not null,
created_at timestamp default now()
);
</code>
* create a php file which will handle http requests from the app; [[php-server-log]]
* edit the class that sends data to the server, in this case SentToServ.java and include the correct server address
<code java>
private static final String SERVER_IP = "http://urloftheserver/file.php";
</code>
====== arudino/pd to DMX light ======
* using eurolite LED Floor SLS-400 RGM DMX lights ([[http://www.recordcase.de/cosmoshop/pix/a/media/0020105380/sls-400.pdf|manual]])
* ardunio UNO
IDE version 1.1.5
Tinkerit DMX shield, 3pins;
(jumpers: EN-;-DE;TX-;RX;)
[[http://nervousvision.com/download/DmxSimple_v3.1.zip|DmxSimple library v3.1]] with the customized [[dmx-simple|DmxSimple]] file (pin 2 always on) somewhere on this wiki
light set to 5ch mode, addr 1
pd testpatch [[eurolite-dmx-test]]
* arduino LEONARDO
IDE version 1.5 beta
Tinkerit DMX shield, 3pins;
[[http://nervousvision.com/download/DmxSimple_v3.1.zip|DmxSimple library v3.1]] + [[dmx-simple-cpp|DmxSimple.cpp]] that supports Leonardo (timer4) + [[dmx-simple-h|DimSimple.h]] + [[dmx-simple|DmxSimple example]] using pin 4 (instead of 3=default)
====== install app: ======
qr code generator (you can specify the type like android app, iphone app, url...) [[http://www.qrstuff.com/]]
qr code with download tracking [[https://www.youscan.me/dashboard/]]
====== set-up the router ======
* TP LINK WR703N router
* OpenWRT installed following these instructions
* AP MODE: the blank wireless [[ap-configuration|configuration file]]
* BRIDGE MODE?