Passing a function inside @assigns in Phoenix - Elixir

As you know, the @assigns map of connection in Phoenix is the data map of variables to be rendering in view templates. We often use this conn.assigns to store our value. But how to store a function inside this?

Read more...
Opensourcing my UITableview Model-View library, helps to create complex UI screens by UITablview easier and cleaner - inspired by Airbnb/Epoxy library

Inspired by Airbnb/Epoxy library, I recreate a small and lightweight similar library for iOS.

Read more...
Caching views for UITableview smooth scrolling

Making UITableView scrolling smooth again with view caching, for heavy loaded views.

Read more...
Understanding btcd - Part 4: Create and Sign a Bitcoin transaction with btcd

Of course, we don't send real bitcoin, it's real money right now. This tutorial will help you get some bitcoin testnet then create and sign the transaction with btcd.

Read more...
Understanding btcd - Part 3: How to sign Bitcoin transaction

In this tutorial, we will dive in btcd source code to see how a transaction in bitcoin got signed.

Read more...
Understanding btcd - Part 2: Key and Address

The btcec package implements elliptic curve cryptography, helps you working with bitcoin public, private keys and addresses. It's also the algorithm needed to sign and verify data.

Read more...
Understanding btcd - Part 1: BTCD overview

This series of posts will cover some implement of Bitcoin in BTCD, help you understand how a Bitcoin client works and how multiple parts of Bitcoin components works together.

Read more...