Play video using base64 encoded string in React-Native

That’s an answer I gave to a StackOverflow question. QUESTION: I have encrypted a video file using base64 encoding format and AES-encryption. I decrypt data stream-by-stream and append/write each stream (as a .mp4 file) to achieve the final video but it takes a lot of time to achieve a final output. I have found resources html5-media-and-data-uri which…More

React Native: Rendering infinite number of pages (bi-directional swiping)

That’s an answer I gave to a StackOverflow question. It’s about composing a never ending horizontal swiper, which is mostly useful for creating calendar views. The solution is based on the react-native-swiper module. This is a tricky solution that can work if caching is done properly. It’s based on the following assumptions: Given an ID, you can…More

How to export all rows from DataTables using server side (ajax)

According to DataTables documentation there is no way to export all rows when you are using server side: Special note on server-side processing: When using DataTables in server-side processing mode (serverSide) the selector-modifier has very little effect on the rows selected since all processing (ordering, search etc) is performed at the server. Therefore, the only…More

Using GitStats on Windows

The Git Stats Project is a statistics generator for git repositories. It was last updated in 2013, but still gives us a great source of insights and is easy to apply. It is written in Python >= 2.4. It does not support Python 3. I applied it on Windows environment, using MinGW, that comes along Git for Windows. (If…More

First Post

Hi folks, my name is Diógenes and I am a software developer. I’ve never blogged before, so it seams a little intimidating for me. For the next posts, I will talk about the technical challenges and day-to-day programming on my startup. It’s a Java based webapp for in-store analytics for physical stores. My co-founders and I…More