AddOn:
- Go to about:support in your address bar
- Look for your profiles directory and open it:
- Create a file named
chrome/userChrome.cssin your profile directory:
| 1. Install oh-my-zsh | |
| sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" | |
| 2. Clone necessary plugins. | |
| git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions | |
| git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search | |
| git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
| 3. Add plugins to ~/.zshrc as | |
| plugins = ( [plugins...] zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting) |
AddOn:
chrome/userChrome.css in your profile directory:| // create the rest API for accessing our lambdas | |
| const api: apigw.RestApi = new apigw.RestApi(this, "blogs-api", { | |
| description: "blogs api gateway", | |
| deploy: true, | |
| deployOptions: { | |
| // this enables caching on our api gateway, with a ttl of five minutes (unless overridden per method) | |
| cachingEnabled: true, | |
| cacheClusterEnabled: true, | |
| cacheDataEncrypted: true, | |
| stageName: "prod", |
| #!/bin/bash | |
| # System-wide crontab file and cron job directory. Change these for your system. | |
| CRONTAB='/etc/crontab' | |
| ANACRONTAB='/etc/anacrontab' | |
| CRONDIR='/etc/cron.d' | |
| # Single tab character. Annoyingly necessary. | |
| tab=$(echo -en "\t") |
| #!/bin/bash | |
| # System-wide crontab file and cron job directory. Change these for your system. | |
| CRONTAB='/etc/crontab' | |
| CRONDIR='/etc/cron.d' | |
| # Single tab character. Annoyingly necessary. | |
| tab=$(echo -en "\t") | |
| # Given a stream of crontab lines, exclude non-cron job lines, replace |
| version: '3' | |
| services: | |
| database: | |
| image: 'mongo' | |
| container_name: 'my-mongo-container' # give your contatner a name | |
| environment: | |
| - MONGO_INITDB_DATABASE=your-database-name # database name you want to make | |
| - MONGO_INITDB_ROOT_USERNAME=my-container-root-username # set your container root username | |
| - MONGO_INITDB_ROOT_PASSWORD=secret # set your contatner root password | |
| volumes: |
Here's an example of how to debug Mocha v4 if it hangs.
Ensure you're using a Node.js 8 or newer (or any version with async_hooks support).
If you run your test, you'll notice it hangs:
$ mocha test.js
A collection of links to the "Master the JavaScript Interview" series of medium stories by Eric Elliott.