Skip to content

Instantly share code, notes, and snippets.

View makoscafee's full-sized avatar
🏠
Working from home

Barnabas Makonda makoscafee

🏠
Working from home
View GitHub Profile

Description

Kitherder is a web application that is designed to facilitate participation in the Security Mentorships program. Note that while this program is currently limited to security projects, the goal of KitHerder is to provide the matchmaking and relationship management features required to open the program to the Mozilla community.

The requirements here are driven by the documentation from the mentorship program and it is expected that the system will leverage Mozillians.org accounts to reduce the amount of personal data stored in Kitherder, and issue badges using the Mozilla Foundation badge system based on participation criteria.

Terms

  • Mozillian - a user with an account on Mozillians.org
  • Vouched Mozillian - a user who has been "vouched" on Mozillians.org
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@makoscafee
makoscafee / post-merge
Created November 10, 2015 23:26 — forked from sindresorhus/post-merge
git hook to run a command after `git pull` if a specified file was changed. In this example it's used to run `npm install` if package.json changed and `bower install` if `bower.json` changed. Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`.
#/usr/bin/env bash
# MIT © Sindre Sorhus - sindresorhus.com
# git hook to run a command after `git pull` if a specified file was changed
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`.
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"
check_run() {
echo "$changed_files" | grep --quiet "$1" && eval "$2"
@makoscafee
makoscafee / gist:dda2317d0db2b2e6f967223203765969
Created September 26, 2016 06:49
Install PHP IMAP Extension on OSX
#!/bin/bash
BUILDDIR=/tmp/phpimapmountainlion
# Original Script found at:
# http://blog.vucica.net/2012/10/installing-imap-extension-for-php-on-mountain-lion.html
mkdir "$BUILDDIR"
echo " "
echo "= FETCHING AND INSTALLING IMAP"
first_name last_name middle_name gender dob admission_numeric religion address date_admitted guardian_first_name guardian_last_name guardian_gender city country email phone_number alternate_phone_number relation_name
Bakari Juma Nkangaa Male 1/2/1994 125 Christian Mikocheni Dar Es Salaam 2/12/1998 Juma Nkangaa Male Nairobi Kenya jumaa.n@gmail.com 0755677888 0755677888 Uncle
  • inability to work with facility layer that uses ownership and types - 21 Feb.
  • inability to detect google earth engine and google streets and satellites(use esri equivalent) -23 Feb
  • inability to place external layers and events layers in legends - 22 Feb.
  • inability to utilizie server side clustering, instead using intensive client side
  • inability to state ongoing processes, e.g. event cllustering, or loading analytics, or loading geofeatures, or failed loading - 22 Feb
  • inability to bring forward empty data table with row header that has filter, with five columns(layer name, orgunit, data, period, value) that mpande will fill in - 22 Feb
  • unavailability of download icon for map, that mpande can use on click to bring more actions -21 Feb
  • Filter per layer - 21 Feb.
  • Create layer label for thematic layer with labels - 24 Feb
console.log(`your name is: ${name}`); // ReferenceError: name is not defined
const name = 'Jack Chen';
const globalVariable = 'just variable';
const outerFunction = () => {
const outerFunctionVariable = 'values';
const innerFunction = () => {
const innerFunctionVariable = 'new Value';
console.log(globalVariable); // just variable
console.log(innerFunctionVariable); // new Value
console.log(outerFunctionVariable); // values
{events:[
{
"status": "COMPLETED",
"program": "PI7qwgoIpq8",
"programStage": "CcPf9cIg1zc",
"orgUnit": "DiszpKrYNg8",
"storedBy": "admin",
"eventDate": "2019-02-12",
"dataValues": [
{ "dataElement": "EdOZNERIYoY", "value": "1342424242" },