Skip to content

Instantly share code, notes, and snippets.

View jakangah's full-sized avatar

Justice Adeenze-Kangah jakangah

  • KeySpecs
View GitHub Profile
version: '2.1'
services:
php:
tty: true
build:
context: .
dockerfile: tests/Docker/Dockerfile-PHP
args:
version: cli
volumes:
@jakangah
jakangah / js-tricky-bits.md
Created July 3, 2019 11:48 — forked from amysimmons/js-tricky-bits.md
Understanding closures, callbacks and promises in JavaScript

#Understanding closures, callbacks and promises

For a code newbie like myself, callbacks, closures and promises are scary JavaScript concepts.

10 months into my full-time dev career, and I would struggle to explain these words to a peer.

So I decided it was time to face my fears, and try to get my head around each concept.

Here are the notes from my initial reading. I'll continue to refine them as my understanding improves.

@jakangah
jakangah / gist:f3645b1ce60a52d8e44661aa3d508347
Created October 27, 2016 08:17 — forked from mrash/gist:8383288c66f973a2bbb2
OpenSSL: Generate lcov code coverage report
#!/bin/sh
#
# Basic script to compile OpenSSL with code coverage support via gcc
# gcov and build HTML reports with lcov.
#
LCOV_DIR=lcov-results
LCOV_FILE=coverage.info
LCOV_FILTERED=coverage_final.info
PREFIX=~/install/openssl