Skip to content

Instantly share code, notes, and snippets.

View nyambati's full-sized avatar

Nyambati Thomas nyambati

View GitHub Profile
FROM apache/superset:1.5.1
USER root
RUN pip install pybigquery Authlib psycopg2 && \
chown -R superset:superset /app
USER superset

Keybase proof

I hereby claim:

To claim this, I am signing this object:

function hasPassedExam(studentAverage, passMark) {
if(studentAverage > passMark) {
  console.log(‘You have passed the exam’);
  } else {
  console.log(‘You have failed the exam’);
  }
}
@nyambati
nyambati / conditional.js
Last active December 19, 2017 00:17
Show conditional with functions
const studentAverage = 40;
const passMark = 50;
if(studentAverage > passMark){
console.log(‘You have passed the exam’);
} else {
 console.log(‘You have failed the exam’);
}
@nyambati
nyambati / apps.tf
Created September 15, 2017 16:20
Simple heroku config with terraform
# create apps
resource "heroku_app" "staging" {
name = "devc-app-staging"
region = "us"
}
resource "heroku_app" "production" {
name = "devc-app-production"
region = "us"
}