This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//array of two objects [{name, time}, {name, time}, {name, time}] | |
//# pageViews=> how many times a page is viewed | |
//# of users => have many different users have used the web | |
//# sessions => how many have viewed the page with half an hour time break in between | |
function main(){ | |
//example array | |
//var pageView = [{'name':'Sara', 'time': 1}, {'name': 'John', 'time':2},{'name':'Sara', 'time': 1}, {'name': 'Hadis', 'time':2},{'name':'Sara', 'time': 1}, {'name': 'Hadis', 'time':33}] | |
var pageView = [{name: 'sara', 'time': 1}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//array of two objects [{name, time}, {name, time}, {name, time}] | |
//# pageViews=> how many times a page is viewed | |
//# of users => have many different users have used the web | |
//# sessions => how many have viewed the page with half an hour time break in between | |
function main(){ | |
//example array | |
var pageView = [{'name':'Sara', 'time': 1}, {'name': 'John', 'time':2},{'name':'Sara', 'time': 1}, {'name': 'Hadis', 'time':2},{'name':'Sara', 'time': 1}, {'name': 'Hadis', 'time':33}] | |
// var pageView = [{name: 'sara', 'time': 1}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USERS | SAML JIT | SCIM | |
---|---|---|---|
Create | YES | YES | |
Update | YES | YES | |
Read | NO | YES | |
Deactivate | NO | YES | |
Password Sync | NO | YES |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Item | Price (AF) | Price ($) | units | total | |
---|---|---|---|---|---|
Flour | 2.140 | 30.01 | 2 | 60.02 | |
Macaroni | 450 | 6.31 | 1 | 6.31 | |
Oil | 390 | 5.47 | 2 | 10.94 | |
Rice | 2.250 | 31.56 | 1 | 31.56 | |
Cash to buy Eidy clothes | 4.000 | 56.10 | 1 | 56.10 | |
Total | 164.93 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* HW 2 - Recursion | |
*/ | |
'use strict'; | |
/* | |
* Problem: Powerset | |
* | |
* Prompt: Given a set S, return the powerset P(S), which is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fetcher interface: | |
fetchAnimals(prefix: string, callback: function): void | |
fetchArticles(prefix: string, callback: function): void | |
fetchFruits(prefix: string, callback: function): void | |
Note: there are many more fetchers | |
Callback interface: | |
callback(results: string[]): void | |
*/ | |
fetchAnimals('g', (results) => console.log(results)); |
OlderNewer