Category: Programação

CWIS Antivirus Scanner Plugin Spreading False Reports of Vulnerabilities In WordPress Plugins

CWIS Antivirus Scanner Plugin Spreading False Reports of Vulnerabilities In WordPress Plugins

One of the things we state about our service is that we provide our customers with the best data on vulnerabilities in WordPress plugins. To show an example what difference that makes let look...

Monitor de Elevador: Alguma idéia sobre como funciona?

Monitor de Elevador: Alguma idéia sobre como funciona?

Como funcionam as telas de vídeo que vemos espalhadas por elevadores, supermercados e diversos outros estabelecimentos? Pode parecer uma questão boba, mas nós, entusiastas de tecnologia, temos o hábito de cotidianamente observar e ponderar...

Como funcionam as fitas de dados em papel perfurado?

Como funcionam as fitas de dados em papel perfurado?

Neste quarto episódio do Happy Hacking Video Blog, eu conto um pouco sobre como funcionam as fitas de dados em papel perfurado que eram usadas em computadores antigos para armazenar informações. Também são apresentadas...

Criadores em Catarse: 11/10 é o último dia!

Criadores em Catarse: 11/10 é o último dia!

Lançe seu produto via Catarse pelo programa Criadores em Catarse O movimento maker está cheio de gente que adoraria de ver suas criações virarem um produto. E hoje, com plataformas de crowdfunding (financiamento coletivo),...

5 step method to make test-driven development and unit testing easy

5 step method to make test-driven development and unit testing easy

What’s the hardest thing in test-driven development or unit testing in general? Writing tests! The syntax or the tools aren’t the problem – you can learn those enough to get started in 15 minutes....

Get Started With JavaScript Arrays

Get Started With JavaScript Arrays

Practically all programming languages have an in-built array data type. JavaScript is no different. They store the data you need to run scripts for an application, which, from a developer’s perspective, means you’ll be...

How many tests is too many?

How many tests is too many?

Some time ago I stumbled upon some crazy stuff… Specifically, I found out that SQLite has 787 times more tests than they have actual code! It’s no joke, it’s documented right on their website....

Composition Is King

Composition Is King

The JavaScript community is becoming flooded with articles pushing to move toward functional programming or at least more toward composition over inheritance. For a long time we’ve tried to standardize inheritance without the huge...

The best resources to learn about JavaScript Promises

The best resources to learn about JavaScript Promises

Promises can be both a blessing and a curse. They were supposed to clean the “callback pyramid of doom”, but instead they can often end up confusing (and I wanted to call that “The...

Mongoose models and unit tests: The definitive guide

Mongoose models and unit tests: The definitive guide

Mongoose is a great tool, as it helps you build Node apps which use MongoDB more easily. Instead of having to sprinkle the model-related logic all over the place, it’s easy to define the...

How to unit test ES6 code?

How to unit test ES6 code?

ES6 is here today. Several browsers have almost all ES6 features available, and even Microsoft Edge is getting there. Tools like Babel help cover the parts which browsers don’t have yet. If you want...

Sinon.js quick tip: How to stub/mock complex objects, such as DOM objects

Sinon.js quick tip: How to stub/mock complex objects, such as DOM objects

Several of my readers have emailed me, asking about how to deal with more complex stubbing situations when using Sinon.js. In this article, we’ll look at how to stub objects which are deeply nested,...