Posts

JavaScript Data structures part I, JavaScript Objects.

1.JavaScript Object. An Object is a collection to properties,  and a property is an association between a name (or key) and a value, every property has a unique key string that is unique within that object.  Creating objects  There are a lot of ways of creating JavaScript objects here i am going to discuss only three of them. Using object constructor             var newObject = new Object(); Using Object prototype's create method            var newObject = Object.create(null)//this will create an empty object since we passed null in it Using bracket syntax sugar{}          var newObject = {}//this also will create an empty object as well. I.Getting properties from objects  There are two ways of getting property values from objects;,one is through dot notation and the other is through square brackets. For example consider the following object. var...

Install Docker Engine - Community for Ubuntu

Install Docker Engine - Community for Ubuntu First make sure to uninstall  older versions of docker by running  $ sudo apt-get remove docker docker-engine docker.io containerd runc Step 1: $ sudo apt-get update Hit:1 http://ppa.launchpad.net/flexiondotorg/youtube-dl-gui/ubuntu disco InRelease Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                    Hit:3 https://deb.nodesource.com/node_12.x disco InRelease                      Ign:4 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 InRelease      Hit:5 http://tz.archive.ubuntu.com/ubuntu disco InRelease                       Hit:6 http://ppa.launc...

How to make money online?

Image
A cash cow for the enterprising, the Internet is littered with opportunities to make a fast buck. While it rarely qualifies as a solitary source of income, the Net can easily help you supplement it. However, the amount you earn depends on the time and effort invested. Go through these 20 options and find out which ones work for you. Blogging If you're a passionate closet writer who wants to be published but can't find a way to do so, make each keystroke your way to wealth by penning your own blog. Starting a blog doesn't require extensive technical skills but it's important that you have expertise in the field you are writing on. This will attract visitors to your site. Building a large following will enable you to earn profit by luring advertisers, writing paid reviews or getting commissions for promoting other people's products. Paid Writing If maintaining a blog is difficult for you but you still want to indulge your passion for writing, you can jot down articles...
Image
What you need to make money blogging A blogging platform – There are free platforms and WordPress is the best Content – In blogging content is King Good English or Swahili Internet – Will to learn – There is no limit to acquiring information Introduction I started blogging with no clue at all about making money using my blog in fact if you had asked me back then if people make money online? I would look at you like are you for real? I did not know anything about how bloggers make money. All I did was following my passion; that is writing, of course, I am not good at it but who cares anyway. I learned the secret after blogging for only three years, poor me some guys have been on this thing for decades but again who cares. I make money from it and that is what really matters. After being at it for three years, I can now dedicate this post to bloggers and anyone interested in knowing these little secrets of how bloggers make money online with their blogs. The secret is q...