Posts

Showing posts from December, 2011

New blog domain: kula.blog

It's still work in progress but new posts will be published on  https://kula.blog/ Thanks to 11ty base blog RSS is working from the start so it should be easy to add to your reader if you still use any :) If now then I hope you can sign up to the newsletter where I'll be publishing new posts and interesting articles to it from time to time. Please use  kula.blog  from now on.

Chrome - Install Extension From Your Website

This can be really helpful to promote your chrome extension. http://code.google.com/chrome/webstore/docs/inline_installation.html With this API it can be easy to ask users to install extension without browser sniffing and content script just to disable promotional popup on site when extension in already installed.

PHPUnit from sources in WAMPServer and NetBeans

Tutorial how to install PHPUnit in WAMPServer on Windows and how to make it working in NetBeans 7.1 Disclaimer: If You can use PEAR it would be much easier! :) 1: Install WAMPServer:  http://www.wampserver.com/ 2: Checkout repositories mentioned at the bottom of page:  https://github.com/sebastianbergmann/phpunit I created folder "includes" in PHP directory. mkdir phpunit && cd phpunit git clone git://github.com/sebastianbergmann/phpunit.git git clone git://github.com/sebastianbergmann/dbunit.git git clone git://github.com/sebastianbergmann/php-file-iterator.git git clone git://github.com/sebastianbergmann/php-text-template.git git clone git://github.com/sebastianbergmann/php-code-coverage.git git clone git://github.com/sebastianbergmann/php-token-stream.git git clone git://github.com/sebastianbergmann/php-timer.git git clone git://github.com/sebastianbergmann/phpunit-mock-objects.git git clone git://github.com/sebastianbergmann/phpunit-selenium.git git clon

JavaScript Modules

Thanks to Vjeux I found nice one liner to set module for WebWorkers, Browser and Node.js. This really can be useful, and is short :) http://blog.vjeux.com/2011/javascript/javascript-one-line-global-export.html I think only how would it be hard to make it usable also for AMD.

Mugeda - Canvas Animations Creator

This looks, and for me work similar to Flash editor. https://www.mugeda.com/client/preview.html?id=1431 Canvas really has bright future :)

Chrome Extensions Manager

Awesome Extension for all of the people that have too many extensions, and mix of them from both home and work. https://chrome.google.com/webstore/detail/aalnjolghjkkogicompabhhbbkljnlka With this extension I can easily choose which extensions should run at home, and which at work.

JavaScript - Performance and Style.

MDN Holiday Calendar:  http://thewebrocks.com/calendar/ Read every of 24 articles before Holidays! Very nice idea to get used to read something new every day! Edit: I realized that last post was from another calendar! Performance Calendar:  http://calendar.perfplanet.com/2011/ Efficient JavaScript:  http://dev.opera.com/articles/view/efficient-javascript/ Just like in title, big bunch of good practices and advises how to make JavaScript fast. Idiomatic JavaScript:  https://github.com/rwldrn/idiomatic.js How to write beautiful JavaScript with suggestion about writing with others. Really recommended reading. Annotated ECMAScript 5.1:  http://es5.github.com/ Based on ECMAScript Language specification but with hyperlinks and annotations. This should be more friendly than original PDF. Local Storage read performance:  http://calendar.perfplanet.com/2011/localstorage-read-performance/ Local storage is much slower than what I would expect.

text-overflow: ellipsis for easy "..."

As described on  http://www.quirksmode.org/css/textoverflow.html Can be used to create "..." for too long texts within blocks with overflow:hidden. This can be really useful tool.

Mobile Performance

Mobile Performance Manifesto:  http://davidbcalhoun.com/2011/mobile-performance-manifesto Everything You should know to make mobile fast. Hardware accelerated graphics on Android:  https://plus.google.com/105051985738280261832/posts/2FXDCz8x93s Some facts about speed and hardware accelerated graphics.

innerWidth, InstaCSS, zepto.js, Binary Data

To post less I include more links, but still has problem with title :) innerWidth of mobile devices:  https://gist.github.com/1410787 Typed Arrays in JavaScript:  http://blogs.msdn.com/b/ie/archive/2011/12/01/working-with-binary-data-using-typed-arrays.aspx This is longest post about binary data that I've seen. Awesome HTML, JavaScript and CSS documentation:  http://instacss.com/ This site is really impressive! I've just added it to bookmarks. Zepto.js is a small library mostly for mobile devices with jQuery compatible syntax. New version came with Opera and Firefox support.   http://zeptojs.com/