Skip to content

Instantly share code, notes, and snippets.

View mzmousa's full-sized avatar

Zuhry Mousa mzmousa

View GitHub Profile
@mzmousa
mzmousa / springer-free-maths-books.md
Created December 30, 2015 05:21 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of books available for free, here are the direct links
@mzmousa
mzmousa / js-xlsx-bower-angular.js
Created June 15, 2017 16:55
Write to an excel sheet using js-xlsx with angular
'use strict';
// bower install js-xlsx
// in controller
$scope.saveAsXlsx = function() {
let data = [['a', 'b', 'c', 'd', 'e'], [1, 2, 3, 4, 5]];
// create an excel worksheet from an array of arrays (aoa) of survey data
let worksheet1 = XLSX.utils.aoa_to_sheet(data);
// instantiate new excel workbook
let workbook = XLSX.utils.book_new();
@mzmousa
mzmousa / multitenant.md
Created February 11, 2019 19:47 — forked from woloski/multitenant.md
Multi Tenant Apps in Auth0

Multitenancy refers to a principle in software architecture where a single instance of the software runs on a server, serving multiple client-organizations (tenants)

Let's start by enumerating some multi tenant applications and understand how they handle it.

Slack

Authentication: