Very simple permissions in Rails

I was working on a very simple Rails API, using devise_token_auth and I need to authorize controller actions based on user roles. (Although, this should work fine for regular ol’ devise) I started out using cancancan and I even tried out pundit but they weren’t simple enough

2016. Heichi

(This read — and honestly any other one — would be nicer if you had Tycho’s Awake playing.) 31–12–2016. I’ve been looking forward to today, because it’s the day I get to pretend I’m a good enough writer and that people care enough about how my

Android Chat UI Library — 0.1.1

Over the past couple of months, I’ve been SLOWLY building a customizable messaging UI library for Android inspired by JSQMessagesViewController. There are increasing use cases for having a chat user interface within your application and in a lot of situations, messaging may or may not be the crux of

Building a Voice Controlled Home Automation Model — Part 4— Wit.ai

This is the fourth part in the Building a Voice Controlled Home Automation series. You can find the first part here. At the end of the third part, I explained the code that will be loaded onto the Arduino. Today, we’ll talk about Natural Language Processing. Remember, this high

Building a Voice Controlled Home Automation Model — Part 3— Arduino Code

This is the third part in the Building a Voice Controlled Home Automation series. You can find the first part here. At the end of the second part, we loaded some code (this Gist) unto our Arduino, to test if our LEDs and servos are working. Today however, we’ll

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 notifications were built into the bitsofcode Progressive Web App. Here’

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. In the second part, we built a Rails API application using the Ruby SDK for Wit.ai to see how to wield Wit. In this part,

Building a Voice Controlled Home Automation Model — Part 2— The Circuit

This is the second part in the Building a Voice Controlled Home Automation series. You can find the first part here. Here’s a reminder of some of the stuff you might wanna read up on to get the best value from this tutorial: 1. You have to have a

Building a Voice Controlled Home Automation Model — Part 1 — Overview

I’ve always wanted to build Jarvis. Sometime last year, I was looking for something to build for a school project when I found this tutorial on how to build an Arduino controlled home automation model. The writer of that tutorial, wrote another one, that explains more of the creation

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. In this part, we are going to build a Rails application using the Ruby SDK for Wit.ai to illustrate how you can use Wit’s

Wit.ai Explained — Part 1 — Bot Engine, Stories, and Actions

I’ve been experimenting with bots for a couple of years now and I’ve gone through IBM Watson’s Dialog API, api.ai and Wit.ai for NLU As A Service. Somehow, I keep coming back to Wit.ai. What Wit Used to Do For the longest time, what

Calm your tits about the damn headphone jack.

As we all know, Apple announced the iPhone 7 yesterday and the entire world have their knickers in a twist because of one thing Apple did: “They took out the headphone jack.” Such a fucking worldwide disaster isn’t it? How dare they? I mean, now we can’t charge

Expression precludes expression.

Expression takes many forms, all of which are limited, each of which is best suited for a particular function. These different forms of expression being insufficient alone, are best combined; the strength of one being the covering of the ashiri of the other. This lends expression some power, but it

Building: Tweet at Senate.

I recently built the Tweet-at-Senate application, a simple web app that lets users tweet once every day to the Nigerian senate, imploring them to slash their salaries. All it requires from the user is Twitter authentication, after which it posts the tweet randomly. You can read more about the inspiration

Introducing: Tweet At Senate

Inspired by @Jollz’ frequent tweets to the Nigerian Senate’s Twitter account(s), imploring them to cut their ridiculously huge salaries and allowances, we decided to make the process of joining her cause as easy as possible. So we spent a couple of days building tweetsenate.com.ng (alternate link)

What’s in my backpack?

And my pocket… I haven’t done any reviews since the iPhone 6 and I decided to fix that today by giving you guys a mini review of all the devices I carry around pretty much everywhere. The iPhone 6S (64GB, Space Grey): The daily driver. Besides the love of

The Love of Women.

I love women. But this isn’t about the romantic × sexual love. I’m not here to talk about how soft they are, how much I like booty, their voices, etc. I’m talking about a less dramatic kind of love, one that shouldn’t even be lauded or acknowledged

Do you even save bro?

Asides from having multiple streams of income, being a ridiculously hard working and smart person plus all other traits of a member of the Council of Future Rich Gang, there’s one that has threatened to defeat me. I , timigod, face a stumbling block in the path of acquiring massive

What the fuck is a Yabacon Valley?

Okay. It is time for me to speak. I’ve had enough. Dear Nigerians, What the fuck is Yabacon Valley? This is part of why I generally hate the Nigerian/Lagos “tech scene”. The first reason is that there’s so much empty noise. And this. This is the second

I lived.

My 2014. (For effect, play One Republic’s I Lived while reading this) Hey, humans of earth, we’re here again. The end of a year. Yeah, I know, it’s just a human construct. It could have been yesterday if we all decided long ago that the year should

Batman can’t beat anybody.

I didn’t think I’d need to write this, but here we are. First of all, I’d like to state that I’m a huge Batman fan and I think he has the best superhero comics of all time. I mean, I’ve read a lot of comic

Review: A week with the iPhone 6

The thinnest, largest iPhone yet. Hey guys, it’s Timi (obvs). I decided to start writing tech reviews again since I cannot escape being asked questions about how I feel about this device or that OS. That and well, I love this shit. I’m about to make like EVERY

Cloud Atlas Sextet

Unofficial spawn of the Cloud Atlas Movie…