Blog

SemaphoreCI Fails With Node Version Due to ExecJS Dependency – BUG FIX

I came across this issue while upgrading an older version of a Ruby on Rails app. The error caused my continuous integration to fail.

ActionView::Template::Error (Autoprefixer doesn’t support Node v0.10.48. Update it.)

The way I solved it was to re-initialize the Node object in the application.js file.

module AppName
  ... # removed for brevity
end

## TODO: Check to see if ExecJS has fixed this bug. If so, delete the code below and check SemaphoreCI
module ExecJS
  module Runtimes
    Node = ExternalRuntime.new(
      name:        "Node.js (V8)",
      command:     ["node", "nodejs"],
      runner_path: ExecJS.root + "/support/node_runner.js",
      encoding:    'UTF-8'
    )
  end
end

This is a hackey way to solve this problem. With luck, ExecJS will update their gem in the future and this code can be removed. I’ve added a TODO here so I can remember to fix this down the line (note: if you run rails notes, you can see a list of TODOs in your app.)

Set up a Template Engine – Advanced Node and Express – Quality Assurance Certification FreeCodeCamp

In this tutorial we set up a template engine called Pug. This is one part of many making up the Advanced Node and Express section. This section makes up part of the Quality Assurance Certification. I want to say a big thank you to FreeCodeCamp (www.freecodecamp.org) for the curriculum. My goal with these videos is to support early stage programmers. I hope that these videos help you to learn faster and understand more fully. For me, learning this was difficult so I hope this makes your life less difficult. Thank you for watching.

The whole playlist for Advanced Node and Express can be found here:

https://www.youtube.com/playlist?list=PL3vpzVxKa3PjW360acemH5PDZ73-1Q_Pd

Posted in Uncategorized

Exercise Tracker PART 1 – APIs and Microservices – Free Code Camp

In this APIs and microservices project, we do part one of building an exercise tracker API. This is the fourth part of four sections where we work to achieve our APIs and Microservices Certification. This video constitutes one part of many where I cover the FreeCodeCamp (www.freecodecamp.org) curriculum. My goal with these videos is to support early stage programmers to learn more quickly and understand the coursework more deeply. Enjoy!

The whole playlist for APIs and microservices certification can be found here:

Exercise Tracker, APIs and Microservices, part one, part I

Posted in Uncategorized

Run Functional Tests using a Headless Browser II Quality Assurance and Testing with Chai

In this Quality Assurance and Testing with Chai tutorial we run functional tests using a headless browser part II. This is another tutorial where we implement a headless browser using Zombie.js in a Node.js application. This is one part of many sections where we work to achieve our Quality Assurance Certification. I want to say a big thank you to FreeCodeCamp (www.freecodecamp.org) for the curriculum. My goal with these videos is to support early stage programmers. I hope that you all can learn more quickly and understand the coursework more deeply than I did when I was at your stage. Thank you for watching.

The whole playlist for Quality Assurance and Testing with Chai can be found here:

Run Functional Tests using a Headless Browser II, Quality Assurance and Testing with Chai

Posted in Uncategorized

CyclicRotation – Arrays – Codility

In this video I do the Codility_ project called CyclicRotation. Codility_ is a platform that gives us tools to become better programmers. It actually appears that if you develop your skills on this platform, it could lead to a job there too.

Here’s the playlist for all my Codility_ videos:

https://www.youtube.com/playlist?list=PL3vpzVxKa3PjOAHo6VH73x2OgpnMg1bUJ

Posted in Uncategorized

Run Functional Tests using a Headless Browser – Quality Assurance and Testing with Chai

In this Quality Assurance and Testing with Chai tutorial we run functional tests using a Headless Browser. This tutorial for setting up and running Zombie.js. This is one part of many sections where we work to achieve our Quality Assurance Certification. I want to say a big thank you to FreeCodeCamp (www.freecodecamp.org) for the curriculum. My goal with these videos is to support early stage programmers. I hope that you all can learn more quickly and understand the coursework more deeply than I did when I was at your stage. Thank you for watching.

The whole playlist for Quality Assurance and Testing with Chai can be found here:

Run Functional Tests using a Headless Browser, Quality Assurance and Testing with Chai

Posted in Uncategorized

BinaryGap – Codility – Algorithm Scripting Practice

In this video I do the Codility_ project called BinaryGap. Codility_ is a platform that gives us tools to become better programmers. It actually appears that if you develop your skills on this platform, it could lead to a job.

Here’s the playlist for all my Codility_ videos:

https://www.youtube.com/playlist?list=PL3vpzVxKa3PjOAHo6VH73x2OgpnMg1bUJ

Posted in Uncategorized

Run Functional Tests on an API Response using Chai HTTP IV – PUT method

In this Quality Assurance and Testing with Chai tutorial we run functional tests on an API response using Chai-http IV. Here we practice the PUT method. This is one part of many sections where we work to achieve our Quality Assurance Certification. I want to say a big thank you to FreeCodeCamp (www.freecodecamp.org) for the curriculum. My goal with these videos is to support early stage programmers. I hope that you all can learn more quickly and understand the coursework more deeply than I did when I was at your stage. Thank you for watching.

The whole playlist for Quality Assurance and Testing with Chai can be found here:

Run Functional Tests on an API Response using Chai-HTTP IV – PUT method, Quality Assurance and Testing with Chai

Posted in Uncategorized