Skip to content

Instantly share code, notes, and snippets.

View madhanhere's full-sized avatar
💭
Making something great!

madhankumar madhanhere

💭
Making something great!
View GitHub Profile
@madhanhere
madhanhere / file-uploader.component.html
Created February 25, 2021 11:46 — forked from stuartaccent/file-uploader.component.html
Angular 7 file uploader with queue and progress using HttpClient, example https://stackblitz.com/edit/angular-7-file-upload-queue
<div class="row">
<div class="col-md-3">
<h3>Select files</h3>
<input type="file" #fileInput multiple (change)="addToQueue()" />
</div>
<div class="col-md-9">
<h3>Upload queue</h3>
<table class="table-headed table-striped">
@madhanhere
madhanhere / gist:ea36b9bd877da79bd1977ad637b32bf4
Last active November 4, 2018 12:18 — forked from tonymtz/gist:d75101d9bdf764c890ef
Uninstall nodejs from mac
# first:
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.*
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following:
# go to /usr/local/lib and delete any node and node_modules
cd /usr/local/lib
sudo rm -rf node*