Posts

Showing posts from November, 2018

Editor Series - Configuring Emacs To Fit The Needs Part 1

Image
Doing what needs to be done may not make you happy, but it will make you great. — George Bernard Shaw. Hi guys in this blog post, I’ll let you take a peek into my daily driver in terms of software development. Before I was an avid Vim 1 user and configured Vim to its full potential, creating plugins and custom configuration but there are things which Vim couldn’t handle still. Things like handling long lines, on which when I transferred to Emacs 2 didn’t occur. Been waiting for it to get implemented in Vim and Neovim 3 , but still none. Prerequisites First of all, you need Emacs 26 and up as this is the main topic of this article that we need to configure. There are many ways to install it on your system, kindly check your GNU/Linux distribution for specific ways to install it. Configuring the beast As a software developer, I’ve spent on average an entire day to configure my text editor. Because its the life and blood of software development, without text

Solidity Series - Building Your First Hello World

Image
Knowing others is wisdom, knowing yourself is enlightenment. — Lao Tzu. Hi guys, it’s the start of decentralization age but how to start programming on decentralize environment? Ethereum 1 , considered as second wave of blockchain innovation. The pioneer and first blockchain ecosystem to implement and handle smart contracts. So how do you start developing system and application DApps (Decentralize Apps) in it? The answer is “Solidity” — a programming language that interface EVM (Ethereum Virtual Machine) and your app. Prerequisites In this tutorial we assume you have some basic knowledge in programming. The main requirements in developing a blockchain app is first its compiler then the secondary requirements but optional are the bootstrap framework like truffle. Node 10 and above Building Hello World To start the development, we must get the required dependency in developing a structured smart contract project. The tool and framework that we will be

Flutter Series - Custom Icons

Image
Everyone thinks of changing the world, but no one thinks of changing himself. — Leo Tolstoy. Hi guys, we have custom free icons for everyone! Just joking I’m not the one giving. Joking aside, as I began learning Flutter to develop new apps. I began to wonder, how can I beautify it to almost match the wire frame I’m copying. There are several things to consider, getting exact dimensions and well crafted image and icons. For today’s TIL (Today I Learned), we will get deeper on how to add custom icons to flutter development environment as well use it in app. To icon or not to icon? Manually creating icons from scratch, seems to be a bit daunting. But do not worry as there are tools to create this automatically already. Meet fluttericon ! Just like a father introducing his son to everyone. Anyways, to create your first set of icons follow the steps below. First is go to FlutterIcon site. Create your own set of icons from the different sources or uplo

Flutter Series - Creating Your First Hello World

Image
When you can’t find the sunshine, be the sunshine! — Anonymous. Hi guys, have you ever dream of building your own app, but think its too hard. Why don’t you try flutter…​ Flutter is a new way to build multi-platform app which is currently backed and develop by Google. Its often compared to react native, but the difference is performance. React Native runs on JavaScript bridge while Flutter on dart bridge. What dart bridge does best is AOT (ahead of time) compiling to native ARM code. Prerequisites First of all you need flutter, just follow the steps below in order to run install it. Flutter 1.0 Building Hello World First we will install flutter, depending on your operating system you could find the details on how to install flutter here . On arch Linux you could find it on AUR repository. After installing the flutter package. Run flutter doctor to check for any dependency error. And now we begin, to start a flutter project you need to type in flutte

Beautifully Design PDF Using CSS3 and AsciiDoctor

Image
The future belongs to those who believe in the beauty of their dreams. — Eleanor Roosevelt. Hi guys, are you planning to create e-book but don’t know what tools you’ll be using? In this day of age, no one will stop you building your own e-book not even publishing house. With the increasing tool set that will make publishing easy, you can now with open source tools. In this article we will be discussing on how to make a beautifully designed PDF using CSS3 and ASCII Doctor. So how do we do that? Creating the Workflow After searching through all the internet, we found multiple clues on how big publishing house produces ebooks using AsciiDoctor and HTML5. Unfortunately, most of them are using proprietary tools like PrinceXML and Antenna House to create beautiful and well design PDF outputs. But don’t lose hope, as we got you covered in this how to. First, you may need to setup your workstation in order to produce beautiful rich PDF. You need of course asciidoct

Automating HTML5 Generation With AsciiDoctor

Image
If your a documentation nerd or somewhat planning to create content for publishing, surely you will encounter ASCII Doc . ASCII Doc is being use by different publishing giants like O’reilly to create books and content. One problem I encountered is generating HTML documents from asciidoc format. So how do I automate it?

Creating A Browseable Virtual File Archive In Linux

Image
In Linux, there are many ways to create a virtual file archive. A virtual file archive is a storage file which immitates an inode storage device, meaning its similar to what a physical drive can do but contained in a single archive. So how do we create this virtual file archive? What we will be using is the most primitive way to create a virtual file archive using Linux built in tool set.