Skip to content

Instantly share code, notes, and snippets.

@chay22
chay22 / gist:fc6dc8af5c13503d2f6d65ae5177bbff
Created September 21, 2020 04:36 — forked from dotcomputercraft/gist:b7283bd52f4b5389e748
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
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
go to /usr/local/include and delete any node and node_modules directory
if you installed with brew install node, then run brew uninstall node in your terminal
check your Home directory for any local or lib or include folders, and delete any node or node_modules from there
go to /usr/local/bin and delete any node executable
You may need to do the additional instructions as well:
sudo rm /usr/local/bin/npm
@chay22
chay22 / jati
Last active January 15, 2020 09:29
TTS/Crossword
https://github.com/kebernet/shortyz
Quran
https://github.com/quran/quran_android
Manga
https://github.com/inorichi/tachiyomi
Wallpaper
@chay22
chay22 / Asset.php
Last active October 16, 2019 10:23
Snipe-IT bootstrap-table upgrade
<?php
namespace App\Models;
use App\Exceptions\CheckoutNotAllowed;
use App\Http\Traits\UniqueSerialTrait;
use App\Http\Traits\UniqueUndeletedTrait;
use App\Models\Traits\Searchable;
use App\Presenters\Presentable;
use AssetPresenter;
use Auth;