<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[jalbam - Medium]]></title>
        <description><![CDATA[Personal Joan Alba Maldonado’s blog - Medium]]></description>
        <link>https://medium.com/jalbam?source=rss----3d73c1ecc191---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>jalbam - Medium</title>
            <link>https://medium.com/jalbam?source=rss----3d73c1ecc191---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 11:19:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/jalbam" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[window.requestAnimationFrame (with high resolution timing, very precise) and window.performance.now]]></title>
            <link>https://medium.com/jalbam/window-requestanimationframe-with-high-resolution-timing-very-precise-and-window-performance-now-1ee55bb0470f?source=rss----3d73c1ecc191---4</link>
            <guid isPermaLink="false">https://medium.com/p/1ee55bb0470f</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[js]]></category>
            <dc:creator><![CDATA[Joan Alba Maldonado]]></dc:creator>
            <pubDate>Mon, 22 Jul 2019 15:27:34 GMT</pubDate>
            <atom:updated>2019-07-22T15:25:44.360Z</atom:updated>
            <content:encoded><![CDATA[<h3>window.requestAnimationFrame (with high resolution timing, very precise) and window.performance.now polyfills</h3><p>Two Vanilla JavaScript polyfills:</p><p>I have just adapted the <a href="https://gist.github.com/paulirish/1579671">window.requestAnimationFrame polyfill made by Paul Irish</a> to work with high resolution timing automatically (when possible) and improved the performance a little bit. Here it is: <a href="https://gist.github.com/jalbam/5fe05443270fa6d8136238ec72accbc0">https://gist.github.com/jalbam/5fe05443270fa6d8136238ec72accbc0</a></p><p>I have also mixed the <a href="https://gist.github.com/paulirish/5438650">window.performance.now polyfill made by Paul Irish</a> with <a href="http://gist.github.com/Aldlevine/3f716f447322edbb3671">Aaron Levine’s</a> and modified some of the code to improve it. Here it is: <a href="https://gist.github.com/jalbam/cc805ac3cfe14004ecdf323159ecf40e">https://gist.github.com/jalbam/cc805ac3cfe14004ecdf323159ecf40e</a></p><p>Both polyfills can be used either separately or together and they will automatically detect whether the web client needs them or not. Just load them in your code (using your favourite way) and, if the client needs them, the polyfills will deploy and be used.</p><p>If you want to use them together, remember to load first the code of the <a href="https://gist.github.com/jalbam/cc805ac3cfe14004ecdf323159ecf40e">window.performance.now polyfill</a> since the <a href="https://gist.github.com/jalbam/5fe05443270fa6d8136238ec72accbc0">window.requestAnimationFrame polyfill</a> could need it.</p><p>Any comments are welcome!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ee55bb0470f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jalbam/window-requestanimationframe-with-high-resolution-timing-very-precise-and-window-performance-now-1ee55bb0470f">window.requestAnimationFrame (with high resolution timing, very precise) and window.performance.now</a> was originally published in <a href="https://medium.com/jalbam">jalbam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unfollow non-followers on Twitter]]></title>
            <link>https://medium.com/jalbam/unfollow-non-followers-on-twitter-a487ff17f906?source=rss----3d73c1ecc191---4</link>
            <guid isPermaLink="false">https://medium.com/p/a487ff17f906</guid>
            <category><![CDATA[english]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[console]]></category>
            <dc:creator><![CDATA[Joan Alba Maldonado]]></dc:creator>
            <pubDate>Mon, 22 Jul 2019 10:42:02 GMT</pubDate>
            <atom:updated>2019-07-22T10:35:52.926Z</atom:updated>
            <content:encoded><![CDATA[<p>Here is a JavaScript code to stop following those ones who are not following you back on Twitter and keeping those you want: <a href="https://gist.github.com/jalbam/d7678c32b6f029c602c0bfb2a72e0c26">https://gist.github.com/jalbam/d7678c32b6f029c602c0bfb2a72e0c26</a></p><p>This will work for new Twitter web site code structure (it was changed from July 2019, causing other unfollow-scripts to stop working).</p><p>Instructions:</p><p>The code may need to be modified depending on the language of your Twitter web site:For English language web site, no modification needed.For Spanish language web site, remember to set the variable ‘LANGUAGE’ to “ES”.For another language, remember to set the variable ‘LANGUAGE’ to that language and modify the ‘WORDS’ object to add the words in that language.Optionally, you can edit the ‘SKIP_USERS’ array to insert those users that you do not want to unfollow (even if they are not following you back).When the code is fine, on Twitter web site, go to the section where it shows all the people you are following (https://twitter.com/YOUR_USERNAME_HERE/following).Once there, open the JavaScript console (F12 key, normally), paste all the code there and press enter.Wait until you see it has finished. If something goes wrong, reload the page and repeat from the step 3 again.</p><p>NOTE: STILL NOT SURE ABOUT THE TEXT IN THE CONFIRMATION BUTTON FOR ENGLISH LANGUAGE. LET ME KNOW OR MODIFY IT BY YOURSELF TO THE CORRECT ONE IF NEEDED!.</p><p>Gist by Joan Alba Maldonado: <a href="https://gist.github.com/jalbam/d7678c32b6f029c602c0bfb2a72e0c26">https://gist.github.com/jalbam/d7678c32b6f029c602c0bfb2a72e0c26</a></p><p>Thank you very much. Any comments are welcome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a487ff17f906" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jalbam/unfollow-non-followers-on-twitter-a487ff17f906">Unfollow non-followers on Twitter</a> was originally published in <a href="https://medium.com/jalbam">jalbam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AutoHotkey mouse scripts — Play games without a mouse (on a tablet, for example)]]></title>
            <link>https://medium.com/jalbam/autohotkey-mouse-scripts-play-games-without-a-mouse-on-a-tablet-for-example-f18b4a1e0965?source=rss----3d73c1ecc191---4</link>
            <guid isPermaLink="false">https://medium.com/p/f18b4a1e0965</guid>
            <category><![CDATA[tablets]]></category>
            <category><![CDATA[tabletop-gaming]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[games]]></category>
            <dc:creator><![CDATA[Joan Alba Maldonado]]></dc:creator>
            <pubDate>Sun, 03 Feb 2019 12:20:39 GMT</pubDate>
            <atom:updated>2019-02-03T12:20:30.730Z</atom:updated>
            <content:encoded><![CDATA[<h3>AutoHotkey mouse scripts — Play games without a mouse (on a tablet, for example)</h3><p><a href="https://github.com/jalbam/AutoHotkey_mouse_scripts">Here</a> you have simple <a href="https://autohotkey.com/">AutoHotkey</a> scripts that will perform some actions by using the mouse.</p><p>I made these scripts for myself to be able to play some games in a tablet which lacks of a physical keyboard but has a mouse attached. This way I can exit the games, show their menus, show an on-screen keyboard (which does not work well with some games when they are running in full-screen mode, sadly), etc. by just using the mouse.</p><p>Hopefully, they could also be useful for someone else so I decided to share them.</p><p>They were tested on both 32 and 64-bit version of Microsoft Windows 10 (tablet and desktop) as well as on 32-bit versions of Microsoft Windows XP (with Service Pack 1) and Microsoft Windows 7. If, after trying a binariy (32-bit version and also 64-bit versions if any), it does not work on your Windows version then you can try to compile it from the source code provided. Please, have in mind that not all Windows versions have “tabtip.exe” or “osk.exe” files.</p><p>They can be found on GitHub: <a href="https://github.com/jalbam/AutoHotkey_mouse_scripts">https://github.com/jalbam/AutoHotkey_mouse_scripts</a></p><h3>Included scripts</h3><p><strong>pressEsc_32</strong> — It will press the “ESC” (<em>ESCAPE</em>) key when the mouse wheel button (the middle button) is pressed. Compiled for 32-bit but it should also run on 64-bit versions of Microsoft Windows.</p><p><strong>pressF5_32</strong> — It will press the “F5” key when the mouse wheel button (the middle button) is pressed. Compiled for 32-bit but it should also run on 64-bit versions of Microsoft Windows.</p><p><strong>pressF10_32</strong> — It will press the “F10” key when the mouse wheel button (the middle button) is pressed. Compiled for 32-bit but it should also run on 64-bit versions of Microsoft Windows.</p><p><strong>showOSK_32</strong> — If available in the operating system, it will show the “OSK” (<em>osk.exe</em>) which belongs to the “On Screen Keyboard” (“floating” around the screen, as an independent window) when the mouse wheel button (the middle button) is pressed. Compiled for 32-bit.</p><p><strong>showOSK_64</strong> — The same as “showOSK_32” but for 64-bit versions of Microsoft Windows. Use it in the case that you get <a href="https://autohotkey.com/board/topic/119602-the-system-cannot-find-the-file-specified/">an error</a> using the “showOSK_32” version.</p><p><strong>showTabTip_32</strong> — If available in the operating system, it will show the “TabTip” (<em>tabtip.exe</em>) which also belongs to an on-screen keyboad (different from the “osk.exe” one) when the mouse wheel button (the middle button) is pressed. Compiled for 32-bit.</p><p><strong>showTabTip_64</strong> — The same as “showTabTip_32” but for 64-bit versions of Microsoft Windows. Use it in the case that you get <a href="https://autohotkey.com/board/topic/119602-the-system-cannot-find-the-file-specified/">an error</a> using the “showTabTip_32” version.</p><h3>How to run</h3><p>To use the already-compiled binaries, just run them as any other normal program. While they are running, an icon will be shown in the taskbar.</p><p>Note that, if desired, more than one script can be run at the same time to be combined.</p><h3>Compile from the source code</h3><p>Apart from the binaries for Microsoft Windows, the source code is included so they can be easily modified to edit the actions performed, enhance features, etc.</p><p>To compile from the source code, the <a href="https://autohotkey.com/">AutoHotkey</a> software will be needed.</p><h3>License</h3><p>This project can be used, reproduced, distributed and modified freely for any non-commercial purposes but always keeping the author’s name and copyright clauses. Other than that, just use this project as you wish but never sell it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f18b4a1e0965" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jalbam/autohotkey-mouse-scripts-play-games-without-a-mouse-on-a-tablet-for-example-f18b4a1e0965">AutoHotkey mouse scripts — Play games without a mouse (on a tablet, for example)</a> was originally published in <a href="https://medium.com/jalbam">jalbam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NW.js port for Raspberry Pi]]></title>
            <link>https://medium.com/jalbam/nw-js-port-for-raspberry-pi-7ce181347382?source=rss----3d73c1ecc191---4</link>
            <guid isPermaLink="false">https://medium.com/p/7ce181347382</guid>
            <category><![CDATA[css3]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Joan Alba Maldonado]]></dc:creator>
            <pubDate>Mon, 07 Jan 2019 11:45:04 GMT</pubDate>
            <atom:updated>2019-01-07T11:44:00.785Z</atom:updated>
            <content:encoded><![CDATA[<p>There is a <a href="http://nwjs.io/">NW.js (formerly node-webkit)</a> binary compiled for the ARMv6 used by Raspberry Pi. It also runs on Raspberry Pi 2 and Raspberry Pi 3 since they are backward compatible with ARMv6. Other compatible hardware should also be able to run this binary.<br> <br> It can be found on GitHub: <a href="https://github.com/jalbam/nwjs_rpi">https://github.com/jalbam/nwjs_rpi</a></p><h4>Instructions</h4><p>You need a package.nw which is just a .zip file with .nw extension that contains your project (at least, it needs an index.html and a package.json inside). The included package.nw is just an example using the <a href="https://github.com/jalbam/yasminoku">Yasminoku</a> game. Since this is only a port, if you need it you can go to the (http://nwjs.io/ “NW.js project”) and read the documentation to know more about package.nw, package.json, etc.<br> Optional: merge nw and package.nw into a single file with the following command:<br> <br> cat nw package.nw &gt; Your_new_binary_file<br> <br> <br> Edit fix_libudev.so.0 and fix_libudev.so.1 and replace Your_new_binary_file found in their code by the real name of your binary file (if you did not merge nw and package.nw together, then replace it by just nw).<br> If you need it, give executable permissions (and other desired permissions) to Your_new_binary_file (or nw) using the chmod command (as root).<br> Try to run the binary:<br> <br> ./Your_new_binary_file<br> <br> If you did not merge the nw and package.nw files in one single file (as explained in step 2), you should run this command instead:<br> ./nw<br> <br> <br> In the case the system complains about libudev.so.0 when you try to run the binary, just type the following command:<br> <br> ./fix_libudev.so.0<br> <br> Likewise, if needed, do the same for libudev.so.1 running this:<br> ./fix_libudev.so.1<br> <br> Note: these two commands above will only work if you have followed the step 3 properly before. Each of them only needs to be executed once and never again.<br> <br> If all works well, you can distribute your project. You will need these files at least (in the same folder): libffmpegsumo.so, nw.pak and Your_new_binary_file (or nw and package.nw instead). I would recommend including fix_libudev.so.0 and fix_libudev.so.1 optionally (modified as explained in step 3) if you think others might need them.</p><h4>Versions</h4><p>node-webkit (now called NW.js) version: v.0.7.0-pre<br> <br> Node.js version: v0.10.12</p><h4>Tested on</h4><p>“Raspberry Pi Model B Revision 2.0 Mounting holes” with 512MB RAM (000e revision) using Raspbian GNU/Linux 7 “wheezy” (Linux raspberrypi 4.1.19+ #858 armv6l GNU/Linux).<br> “Raspberry Pi 2 Model B PCB Revision 1.1” with 1024MB RAM (a01041 revision) using Raspbian GNU/Linux 8 “jessie” (Linux raspberrypi 4.9.35-v7+ #1014 SMP armv7l GNU/Linux).<br> “Raspberry Pi 3 Model B PCB Revision 1.2” with 1024MB RAM (a02082 revision) using Raspbian GNU/Linux 8 “jessie” (Linux raspberrypi 4.1.19-v7+ #858 SMP armv7l GNU/Linux).<br> “Raspberry Pi Zero W PCB Revision 1.1” with 512MB RAM (9000c1 revision) using Raspbian GNU/Linux 9 “stretch” (Linux raspberrypi 4.14.71+ #1145 SMP armv6l GNU/Linux).<br> “Raspberry Pi 3 Model B+ PCB Revision 1.3” with 1024MB RAM (a020d3 revision) using Raspbian GNU/Linux 9 “stretch” (Linux raspberrypi 4.14.71-v7+ #1145 SMP armv7l GNU/Linux).<br> “Orange Pi Zero (Allwinner H2+)” with 512MB RAM (hardware sun8i, 0000 revision) using Raspbian GNU/Linux 8 “jessie” (Linux OrangePizero 3.4.39 #2 SMP PREEMPT armv7l GNU/Linux).<br> “Orange Pi Zero Plus2 (Allwinner H3)” with 512MB RAM (hardware sun8i, 0000 revision) using Raspbian GNU/Linux 8 “jessie” (Linux OrangePI 3.4.112-opi #1 SMP PREEMPT armv7l GNU/Linux).</p><h4>Compatibility</h4><p>Raspberry Pi Zero, all models<br> Raspberry Pi, all models<br> Raspberry Pi 2, all models<br> Raspberry Pi 3, all models<br> Other devices with compatible hardware (Orange Pi, Banana Pi, etc.)</p><h4>Credits</h4><p>The original binary was shared by <a href="https://github.com/piksel">Nils Måsén “piksel” (aka “spaculo”)</a> at <a href="https://www.youtube.com/watch?v=MqNUYk9Y8jY">https://www.youtube.com/watch?v=MqNUYk9Y8jY</a> so thank you very much! :)</p><p><a href="http://joanalbamaldonado.com/blog/2019/01/07/nw-js-port-for-raspberry-pi/">Read the full article</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ce181347382" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jalbam/nw-js-port-for-raspberry-pi-7ce181347382">NW.js port for Raspberry Pi</a> was originally published in <a href="https://medium.com/jalbam">jalbam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[sockjs_test_server_nwjs — SockJS test server on NW.js]]></title>
            <link>https://medium.com/jalbam/sockjs-test-server-nwjs-sockjs-test-server-on-nw-js-78aa087c754d?source=rss----3d73c1ecc191---4</link>
            <guid isPermaLink="false">https://medium.com/p/78aa087c754d</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Joan Alba Maldonado]]></dc:creator>
            <pubDate>Sun, 09 Dec 2018 14:29:48 GMT</pubDate>
            <atom:updated>2018-12-09T14:28:23.782Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://github.com/jalbam/sockjs_test_server_nwjs">“sockjs_test_server_nwjs</a>” is just a simple <a href="https://github.com/sockjs">SockJS</a> server running on <a href="https://nodejs.org/">Node.js</a> but using <a href="https://nwjs.io/">NW.js (formerly node-webkit)</a> to provide a simple visual interface for testing purposes. It was made on 29th July 2016 (approximately).</p><p>Screenshot</p><p>The default listening port is set to 9999 but can be modified easily.</p><p>It comes with a self-extracting single-file binary for Windows 32-bit (using <a href="https://www.7-zip.org/links.html">7zip</a>’s SFX) that runs on Windows XP with SP2 (Service Pack 2) minimum and also on newer Windows versions as Windows 10 (generated with <a href="https://github.com/jyapayne/Web2Executable">Web2Executable</a>) but also includes the source code so it can be ported to other platforms supported by <a href="https://nwjs.io/">NW.js</a> easily.</p><p>It can be found on GitHub: <a href="https://github.com/jalbam/sockjs_test_server_nwjs">https://github.com/jalbam/sockjs_test_server_nwjs</a></p><p><a href="http://joanalbamaldonado.com/blog/2018/12/09/sockjs_test_server_nwjs-sockjs-test-server-on-nw-js/">Read the full article</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78aa087c754d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jalbam/sockjs-test-server-nwjs-sockjs-test-server-on-nw-js-78aa087c754d">sockjs_test_server_nwjs — SockJS test server on NW.js</a> was originally published in <a href="https://medium.com/jalbam">jalbam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[fake_rest_server — REST server in PHP]]></title>
            <link>https://medium.com/jalbam/fake-rest-server-rest-server-in-php-344f3386274e?source=rss----3d73c1ecc191---4</link>
            <guid isPermaLink="false">https://medium.com/p/344f3386274e</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[libraries]]></category>
            <dc:creator><![CDATA[Joan Alba Maldonado]]></dc:creator>
            <pubDate>Fri, 30 Nov 2018 16:55:37 GMT</pubDate>
            <atom:updated>2018-11-30T16:53:36.492Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://github.com/jalbam/fake_rest_server">“fake_rest_server</a>” is a simple and easy-to-configure REST server made in PHP.<br> <br> I made it just to create different REST servers very fast for testing purposes.<br> <br> It can be found on GitHub: <a href="https://github.com/jalbam/fake_rest_server">https://github.com/jalbam/fake_rest_server</a></p><h4>Configuring the server</h4><p>To add new paths (routes) and methods, the developer just needs to create a new folder structure (folder and subfolders if needed) which represents the route and inside one file per method named .php (for example, put.php).<br> <br> To start developing your REST server, you will only need to download the files inside the <a href="https://github.com/jalbam/fake_rest_server/blob/master/src">src/</a> folder.<br> <br> You may want to take a look at the <a href="https://github.com/jalbam/fake_rest_server/blob/master/src/_code/functions.php">src/_code/functions.php</a> file (the engine will include it automatically) as it provides some basic but useful functions. There you can also add new functions or modify the existing ones.<br> <br> If you want to add data, you can use the <a href="https://github.com/jalbam/fake_rest_server/blob/master/src/_code/data/data.php">src/_code/data/data.php</a> file (automatically included by the engine).<br> <br> If you want to add configuration data, you can use the <a href="https://github.com/jalbam/fake_rest_server/blob/master/src/_code/config.php">src/_code/config.php</a> file (automatically included by the engine).<br> <br> As the engine defines the USING_REST_SERVER constant, you can protect any of the files with the following line at the beginning:<br> <br> <br> Note: this authorization code above is also defined in the AUTHORIZATION_CODE constant (inside the the <a href="https://github.com/jalbam/fake_rest_server/blob/master/src/_code/config.php">src/_code/config.php</a> file).<br> <br> <br> Example:<br> 1) In the root folder (where the <a href="https://github.com/jalbam/fake_rest_server/blob/master/src/_code/">src/_code/</a> folder and the <a href="https://github.com/jalbam/fake_rest_server/blob/master/src/index.php">src/index.php</a> file are placed), create a folder called myRESTService/.<br> <br> 2) Inside the myRESTService/ folder we have just created, create another folder called user/ and inside of it create two files: index.php and get.php.<br> <br> 3) Inside the myRESTService/user/index.php file, place the following code:</p><p><a href="http://joanalbamaldonado.com/blog/2018/11/30/fake_rest_server-rest-server-in-php/">Read the full article</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=344f3386274e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jalbam/fake-rest-server-rest-server-in-php-344f3386274e">fake_rest_server — REST server in PHP</a> was originally published in <a href="https://medium.com/jalbam">jalbam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EASPM123 — Get rid of spam emails!]]></title>
            <link>https://medium.com/jalbam/easpm123-get-rid-of-spam-emails-989b8e2841ba?source=rss----3d73c1ecc191---4</link>
            <guid isPermaLink="false">https://medium.com/p/989b8e2841ba</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[antispam]]></category>
            <dc:creator><![CDATA[Joan Alba Maldonado]]></dc:creator>
            <pubDate>Sun, 18 Nov 2018 15:45:37 GMT</pubDate>
            <atom:updated>2018-11-18T15:45:29.397Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://github.com/jalbam/easpm123">EASPM123 (Email Anti-Spam 123)</a> is an Easy-to-use JavaScript API that protects any email address you want to use in your website from spambots. First version (1.0) was released in November 2015.<br> <br> It works in any browser with JavaScript support, even old ones (including Internet Explorer 5.0), offers different security options (very configurable) and it is just 2.57 KiB minified. If you want, you can easily configure it to be used with many languages at the same time.<br> <br> Despite of this, this script should consider as a way to improve safety against spambots but not the unique method. A good anti-spam for your email (server or client) is still always recommended.<br> <br> It can be found on GitHub: <a href="https://github.com/jalbam/easpm123">https://github.com/jalbam/easpm123</a></p><p><a href="http://joanalbamaldonado.com/blog/2018/11/18/easpm123-get-rid-of-spam-emails/">Read the full article</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=989b8e2841ba" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jalbam/easpm123-get-rid-of-spam-emails-989b8e2841ba">EASPM123 — Get rid of spam emails!</a> was originally published in <a href="https://medium.com/jalbam">jalbam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Super Queue — queue and lottery viral game in PHP and JavaScript (November 2014)]]></title>
            <link>https://medium.com/jalbam/super-queue-queue-and-lottery-viral-game-in-php-and-javascript-november-2014-58bc59d4f675?source=rss----3d73c1ecc191---4</link>
            <guid isPermaLink="false">https://medium.com/p/58bc59d4f675</guid>
            <category><![CDATA[chance]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Joan Alba Maldonado]]></dc:creator>
            <pubDate>Wed, 14 Nov 2018 17:55:49 GMT</pubDate>
            <atom:updated>2018-11-14T17:54:59.518Z</atom:updated>
            <content:encoded><![CDATA[<p>I made this game for a Chinese software company whose final client was a chain of jewelry stores that wanted a <a href="https://es.wikipedia.org/wiki/WeChat">Weixin (aka WeChat)</a> game to promote themselves by giving the players some prizes and coupons just during a week (to celebrate the <a href="https://en.wikipedia.org/wiki/Singles%27_Day">Chinese Single’s day</a>, the 11th of November). <a href="https://es.wikipedia.org/wiki/WeChat">Weixin (WeChat)</a> is the most used instant messaging client for mobile devices in China, made by <a href="https://en.wikipedia.org/wiki/Tencent">Tencent</a> (the same company that also owns <a href="https://es.wikipedia.org/wiki/QQ">QQ</a>).</p><p>The graphics are made by 乔安 (Qiao An) and Chinese translation is done by 董双丽 (Dong Shuangli). The development took almost one month.<br> <br> The game consists of two levels. In the first level, you are waiting in a queue and your mission is to jump the queue until you can enter the door. Once you enter through the door, the second level consists in waiting for a partner of the opposite gender (it can be either a real player or a fake one if the game is configured to use fake players or the admin force it) and, when you get a partner, then each of you have to spin a roulette wheel with zodiac symbols and both will win a prize if you both get the same zodiac symbol. If you get a different symbol, you get a discount coupon instead.<br> <br> It is a viral game because players have to share the game to others in order to jump the queue they are waiting in. Every time someone registers through your invitation, you will jump two places. But others will also be able to jump and move in front of you so it becomes a kind of fight.<br> <br> Players do not need to have the game open all the time. So they can close the game and open it again later whenever they want to. If any progress has been made or any thing new has happened, the game will show it.<br> <br> There is a maximum number of people per queue, so the game creates a “new world” with a new queue every time a person joins the game for the first time if all other queues are full. The game also fills the queue with fake people in order to increase level difficulty and to avoid looking empty. All of that is configurable through variables.<br> <br> The way to log in, prizes, maximum people per queue, chances to win, and many other things can be configured through the configuration file.<br> <br> The game already includes Chinese and English languages. There is also a localization file that allows to translate the game into many more languages easily. The game will try to detect automatically the user’s language.<br> <br> The company wanted to run the game just for a week. During this week, the game was a complete success and had more than 50,000 players. All prizes were given out.<br> <br> The game was running on <a href="https://es.wikipedia.org/wiki/WeChat">Weixin (WeChat)</a> and uses some of its functions, but it can be configured without effort to be used in any other app or platform (as for example in <a href="https://es.wikipedia.org/wiki/QQ">QQ</a>, Facebook or any web browser with JavaScript and CSS enabled).<br> <br> There is a debug mode which can be accessed through a password. That debug mode shows useful information about the game in real time and it also provides an admin control panel (similar to a God mode panel) with many options to cheat, control other players, etc.<br> <br> It also includes an overload test page to check server limits.<br> <br> This game was made using technologies as HTML, CSS / CSS 3, JavaScript, JSON, XHR (AJAX), PHP, mySQL, RPC (Remote Procedure Call), OpenID, OAuth, <a href="https://developers.weixin.qq.com/miniprogram/dev/api/">Weixin API</a> (<a href="http://admin.wechat.com/wiki/index.php?title=API_Introduction">WeChat API</a>) / <a href="https://github.com/Tencent/weui/wiki/%E5%BE%AE%E4%BF%A1JSAPI">WeixinJSBridge</a>, etc.<br> <br> You can try the game by yourself just creating the database needed (a SQL file with the required tables is included) and editing the configuration file to use that database. Basically, you just need a web server that supports PHP and mySQL.<br> <br> It can be found on GitHub: <a href="https://github.com/jalbam/super_queue">https://github.com/jalbam/super_queue</a></p><p><a href="http://joanalbamaldonado.com/blog/2018/11/14/super-queue-queue-and-lottery-viral-game-in-php-and-javascript-november-2014/">Read the full article</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58bc59d4f675" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jalbam/super-queue-queue-and-lottery-viral-game-in-php-and-javascript-november-2014-58bc59d4f675">Super Queue — queue and lottery viral game in PHP and JavaScript (November 2014)</a> was originally published in <a href="https://medium.com/jalbam">jalbam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TetrisDAI — Tetris in Java (May 2008)]]></title>
            <link>https://medium.com/jalbam/tetrisdai-tetris-in-java-may-2008-346064054333?source=rss----3d73c1ecc191---4</link>
            <guid isPermaLink="false">https://medium.com/p/346064054333</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[classics]]></category>
            <dc:creator><![CDATA[Joan Alba Maldonado]]></dc:creator>
            <pubDate>Thu, 08 Nov 2018 17:17:03 GMT</pubDate>
            <atom:updated>2018-11-08T17:16:34.403Z</atom:updated>
            <content:encoded><![CDATA[<p>“TetrisDAI” is an open source Tetris clone (highly modular) written in Java 1.6 (aka Java SE 6) with NetBeans.</p><p>It is my first Java game and was made in mid 2008.<br> <br> The code is extremely modular and is ready to be modified and configured pretty easily by anyone. For instance, you can change control keys, their delay, add new pieces with different shapes or change the current ones or even delete them, change the colour of the whole game (including the pieces), change game visual aspect and sizes (width and height of the cells and of the map, text aspect, margins), decide whether to use images or just simple computer-generated graphics for cells and background, decide language (game is already translated into Spanish, Catalan and English and just needs to change a variable to choose one among those languages) or add new languages easily, change menu items, change initial speed and speed increase when next level is reached, change needed lines to finish a level, modify score system (score for piece placed, score for each line and exponential score increase for multiple lines), enable or disable sound and so on.<br> <br> Official language is English but the code also includes Spanish and Catalan translations (as stated before, just by changing a variable, all the game will use the desired language).<br> <br> This game has been tested under Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X, Haiku OS and others.<br> <br> Official web site: <a href="http://tetrisdai.tuxfamily.org/">http://tetrisdai.tuxfamily.org/</a> (mirror at <a href="http://www.dhtmlgames.com/tetrisdai/">http://www.dhtmlgames.com/tetrisdai/</a>).<br> <br> It can also be found on GitHub: <a href="https://github.com/jalbam/tetrisdai">https://github.com/jalbam/tetrisdai</a></p><p><a href="http://joanalbamaldonado.com/blog/2018/11/08/tetrisdai-tetris-in-java-may-2008/">Read the full article</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=346064054333" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jalbam/tetrisdai-tetris-in-java-may-2008-346064054333">TetrisDAI — Tetris in Java (May 2008)</a> was originally published in <a href="https://medium.com/jalbam">jalbam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gamoliyas — Game of Life in JavaScript (August 2007)]]></title>
            <link>https://medium.com/jalbam/gamoliyas-game-of-life-in-javascript-august-2007-d1ad724b7c09?source=rss----3d73c1ecc191---4</link>
            <guid isPermaLink="false">https://medium.com/p/d1ad724b7c09</guid>
            <category><![CDATA[dhtml]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Joan Alba Maldonado]]></dc:creator>
            <pubDate>Fri, 02 Nov 2018 16:17:38 GMT</pubDate>
            <atom:updated>2018-11-02T16:16:38.805Z</atom:updated>
            <content:encoded><![CDATA[<p>“Gamoliyas” is an open source Conway’s Game of Life version (highly configurable) totally written in DHTML (HTML, CSS and JavaScript).</p><p>It is my ninth DHTML game and was made in mid 2007.<br> <br> Players can configure the game with many options, as changing the world size, choosing between spherical and limited world, using colours that change depending on the number of neighbours, changing speed, saving a world or opening a previously stored one, drawing cells yourself or generating them randomly, etc.<br> <br> The game is specially designed to allow to be used inside any other web site (by using an IFRAME, for example). We just need to get the URL (which will be used in the SRC parameter of the IFRAME tag) generated by the “save world” option with the desired behaviour we have decided in the options that the game will ask us (world size, auto-play, spherical world, multicolour, hide top menu, hide bottom controls, hide bottom information panel, do not allow to draw, speed, size of the cells and space between cells). The game accessed through that URL will start containing the cells which were present when we pressed the “save world” option. You can see a live example using this game with an IFRAME in my personal portfolio: <a href="http://www.joanalbamaldonado.com/portfolio/">http://www.joanalbamaldonado.com/portfolio/</a><br> <br> You can also change the game behaviour easily by editing many of the configuration variables which are at the beginning of the script. To change the game images you just need to replace them with others.<br> <br> This game only uses a few images which are not necessary to make it work if we are using the game with the panels and such hidden. So all the rest you can see has been made using just pure HTML and CSS.<br> <br> Official languages are Spanish and English.<br> <br> You can find other modified and adapted versions of this game on the Internet, including one Opera widget.<br> <br> This game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X, BlackBerry Tablet OS, Android, iOS and others.<br> <br> Play online in English: <a href="http://gamoliyas.tuxfamily.org/gamoliyas_english/">http://gamoliyas.tuxfamily.org/gamoliyas_english/</a><br> <br> Play online in English (mirror): <a href="http://www.dhtmlgames.com/gamoliyas/gamoliyas_english/">http://www.dhtmlgames.com/gamoliyas/gamoliyas_english/</a><br> <br> Play online in Spanish: <a href="http://gamoliyas.tuxfamily.org/gamoliyas_spanish/">http://gamoliyas.tuxfamily.org/gamoliyas_spanish/</a><br> <br> Play online in Spanish (mirror): <a href="http://www.dhtmlgames.com/gamoliyas/gamoliyas_spanish/">http://www.dhtmlgames.com/gamoliyas/gamoliyas_spanish/</a><br> <br> Official web site: <a href="http://gamoliyas.tuxfamily.org/">http://gamoliyas.tuxfamily.org/</a> (mirror at <a href="http://www.dhtmlgames.com/gamoliyas/">http://www.dhtmlgames.com/gamoliyas/</a>).<br> <br> It can also be found on GitHub: <a href="https://github.com/jalbam/gamoliyas">https://github.com/jalbam/gamoliyas</a></p><p><a href="http://joanalbamaldonado.com/blog/2018/11/02/gamoliyas-game-of-life-in-javascript-august-2007/">Read the full article</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1ad724b7c09" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jalbam/gamoliyas-game-of-life-in-javascript-august-2007-d1ad724b7c09">Gamoliyas — Game of Life in JavaScript (August 2007)</a> was originally published in <a href="https://medium.com/jalbam">jalbam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>