Archive of stories published by chunks of code*

Getting JSON Body from Retrofit Error (Kotlin)

Update: You can see the class we end up writing, but in Java here.

I started using Kotlin in Android, yesterday. Yes, yesterday. I haven’t even done serious Android development in a while, so I was completely lost; drowning…


Wit.ai Explained — Part 2— Building a bot with Ruby on Rails

In the first part of this series, we went through some of the concepts that Wit.ai introduced in their (relatively) new Bot Engine.


Push Notifications on the Web (Building a PWA Crossover)

Recently, Ire Aderinokun has been dropping knowledge on how to build a Progressive Web App with push notifications, local storage and all that good stuff on bitsofco.de. In the third post of the series, she goes over how push…


Wit.ai Explained — Part 3— Building a bot with Sails.js

In the first part of this series, we went through some of the concepts that Wit.ai introduced in their (relatively) new Bot Engine.


Reusing Redux Containers with multiple Components in React.

If you’re using react-redux then you should be familiar with the code below.

// SomeContainer.jsx
const mapDispatchToProps = (dispatch) => ({
...
});

These were the top 10 stories published by chunks of code*; you can also dive into yearly archives: 2016, 2017, 2018, 2019, and 2024.

About
chunks of code*
Articles chronicling stuff I do with code which may serve as tutorials (if anybody finds them useful)
More information
Tags
Editors