Skip to content

Instantly share code, notes, and snippets.

View loftywaif002's full-sized avatar
🎯
Focusing

Dipro Chowdhury loftywaif002

🎯
Focusing
  • IBM
  • San Francisco
  • 00:54 (UTC -07:00)
View GitHub Profile
@loftywaif002
loftywaif002 / README.md
Created July 29, 2020 05:29 — forked from matijs/README.md
Solarized Dark profile for macOS Terminal.app

Solarized Dark profile for Terminal.app on macOS High Sierra

Based on the excellent Solarized (Dark) created by Ethan Schoonover. For source code, check the main Solarized repository on GitHub.

Installation

Open and save Solarized Dark.terminal.

Import from the “Profiles” tab in the settings of Terminal.app or just double-click the file after downloading.

After install zsh
- brew update
- brew install nvm
- mkdir ~/.nvm
after in your ~/.zshrc or in .bash_profile if your use bash shell:
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
@loftywaif002
loftywaif002 / react-paginate-styling-template
Created October 5, 2020 22:08
react-paginate-styling-template
.pagination {
display: inline-block;
padding-left: 0;
margin: 22px 0;
border-radius: 4px;
}
.pagination > li {
display: inline;
}
.pagination > li > a,
@loftywaif002
loftywaif002 / setup-tests-with-mocha-chai-node.md
Last active June 19, 2023 17:20
How to setup chai, mocha and nyc for testing Node.js api server. [with code coverage report]

How to setup chai, mocha and nyc for Node.js server, with code coverage report.

Add the following testing packages in package.json file

 "dependencies": {
    "chai": "^4.2.0",
    "chai-http": "^4.3.0",
    "mocha": "^7.1.0",