The Bright Coffee Shop Analytics solution is built on a modern, layered data architecture designed to transform raw operational data into actionable business intelligence. The system processes 149,116 transactions across three store locations, enabling data-driven decision-making at every level of the organization.
| ❗ IMPORTANT: This gist is not actively maintained anymore. See https://github.com/cednore/ubuntu |
|---|
My personal environment setup guide on Ubuntu
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
| # syntax=docker/dockerfile:1 | |
| FROM ubuntu:20.04 | |
| LABEL org.opencontainers.image.authors="Anele 'ace' M <anele@acedesigns.co.za>" | |
| LABEL version="1.0" | |
| LABEL "com.acemedia.vendor"="Ace Media Incorporated" | |
| LABEL description="ace Media Docker Image to build PHP, NODE APPS" | |
| # replace shell with bash so we can source files |
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
| function reversePolish(newExpr) { | |
| let expr = newExpr.split(" "); | |
| let stack =[]; | |
| if(expr === ''){ | |
| return 0; | |
| } | |
| for(let i=0; i<expr.length; i++) { | |
| if(!isNaN(expr[i]) && isFinite(expr[i])) { | |
| stack.push(expr[i]); |
#Angular 2:the last RC version before switching to angular 4 as far as I can tell — based on this and the next version now depends on angular
npx -p @angular/cli@1.0.0-rc.2 ng new angular2app
#Angular 4: the last CLI version before angular 5
npx -p @angular/cli@1.4.10 ng new angular4app
#Angular 5: the last CLI version before 6
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
| loadCartItems() { | |
| this.cartService.getCartItems() | |
| .then(val => { | |
| this.cartItems = val; | |
| if (this.cartItems.length > 0) { | |
| this.cartItems.forEach((value, index) => { | |
| console.log(value); | |
| this.totalAmount += parseInt(value.amount); | |
| console.log(this.totalAmount); | |
| }); |
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
| class DatabaseSeeder extends Seeder { | |
| /** | |
| * Run the database seeds. | |
| * | |
| * @return void | |
| */ | |
| public function run() | |
| { | |
| Eloquent::unguard(); |
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
| #!/bin/bash | |
| commonname=apachehttps.lab | |
| country=FR | |
| state=IDF | |
| locality=Panam | |
| organization=cciethebeginning.wordpress.com | |
| organizationalunit=IT | |
| email=ajn.bin@gmail.com |
NewerOlder