MakinGIANTS
The findings and tips records of an Android-iOS-TheWholeShabang group
Mount read HFS+ partitions in linux (journaling on)
sudo apt-get install hfsutils source
Git ignore mod/permissions changes on files
Run this command in the root of the project:<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"> $ git config core.filemode false </pre>Source
How to show a message with Sencha Touch
See:<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"> Ext.Msg.show({ title:'Title of the message', message: "Text of the message.", buttons: Ext.MessageBox.OK, fn:Ext.emptyFn }); </pre>
Sencha touch Permission with camera "user has cancelled operation sencha touch"
Add this permission to the list to the file “packager.json”:<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"> WRITE_EXTERNAL_STORAGE </pre>Note: if you are using Sencha Architect you should have to edit the...
How to check null/empty string in javascript
if(/[^\s]+/.test(title)){ //Is not empty }else{ //Is empty }