Tag: coding

How to connect to the MOZ API with a C# Application

How to connect to the MOZ API with a C# Application

An API is basically just a website. A website which only contains data (usually in the form of JSON), no html, CSS or java-script. To call MOZ‘s API we have to make up a URL string which will be posted to the MOZ server. The server reads this Url (request) and decided which information you want. It send this information back either to the browser or to the programme which has been written to create the API call. The process looks like this:   To call the MOZ API first we will need to work out what the request Url should look like. To illustrate how to…

Read More
Talking Through a Logical Ruby Challenge

Talking Through a Logical Ruby Challenge

As part of the Makers Academy  pre-course week 2 we have been tasked with working through the Ruby-Kickstarter github tutorials by Josh Cheek. I decided to go through my thought process on one of the challenges I got stuck on, 1:6, in the hope that this may help me discover the solution. This post is about how I went about trying to understand the challenge and what I am still confused about. I have ordered this post as the way I looked at the information, worked through it in a lineal time format. So hold tight as we ride through the…

Read More
Learning Ruby The Hard Way | How I Beat the Un-stoppable Error Messages

Learning Ruby The Hard Way | How I Beat the Un-stoppable Error Messages

I have enrolled at the intense computer programming bootcamp, the Maker Academy, next month. To get a head start I thought I would work through Zed Shaw’s Learn Ruby the Hard Way book. Exercise 25 seems to be testing my problem solving skills so I thought I would write a post documenting how I worked out then fixed my error messages. This post is aimed at newbies to the programming world as I imagine it is very basic things which I am getting wrong. First Script – The Start of the Problem  This was my first attempt at writing exercise…

Read More
How to Run A Ruby File In Terminal | On A Mac

How to Run A Ruby File In Terminal | On A Mac

Bash: “command not found” Where is my Ruby file and how have i forgotten how to run a .rb file in terminal already? After having taken a few days off programming and learning Ruby to do some freelance marketing work something terrible seems to have happened. I have forgotten the most simple of terminal commands … How to run a Ruby file. So in getting myself quickly up to scratch again I thought I would write a quick guide for everyone who is getting started (or started again in my case) with learning Ruby and Terminal. Now, if you are a…

Read More