How do I dropdown?
This is how you dropdown.
<details> <summary>How do I dropdown?</summary> <br> This is how you dropdown.
git revert --strategy resolve <commit ID> |
// Add under configurations array | |
{ | |
"name": "ng serve", | |
"type": "chrome", | |
"request": "launch", | |
"preLaunchTask": "debugproj", | |
"url": "http://localhost:4201/", | |
"webRoot": "${workspaceFolder}", | |
"sourceMapPathOverrides": { | |
"webpack:/*": "${webRoot}/*", |
# Add this to your .tmux.conf | |
set -g mouse on | |
set-option -g -q mouse on | |
bind-key -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M" | |
bind-key -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M" | |
<details> <summary>How do I dropdown?</summary> <br> This is how you dropdown.
# Exponential backoff in Ruby | |
begin | |
make_request | |
rescue RequestError => e | |
if retries <= max_retries | |
retries += 1 | |
sleep 2 ** retries + rand(20) | |
retry | |
else | |
raise "Timeout: #{e.message}" |
const htmlCreator = require("html-creator"); | |
const fs = require("fs/promises"); | |
async function main(args) { | |
const distPath = args[0]; | |
const stylesList = await loadAssets(".css", distPath); | |
const scriptsList = await loadAssets(".js", distPath); | |
const styles = generateAssetsList(stylesList); |
This is a simple way of importing MySQL database in Docker.
In you Dockerfile you must have a shared folder. Shared folder is a directory in your host machine that is mounted to Docker instance.
Put the exported sql file in the shared folder.
Login to your Docker instance via docker exec -it DOCKER_CONTAINER_ID bin/bash
.
Login to MySQL via mysql -u USERNAME -p
.
package.json | |
"jest": { | |
"testEnvironment": "jsdom" | |
} | |
install latest version of Jest | |
"test": "ng test", | |
"test-watch": "ng test --watch", |
mr Marathi | |
bs Bosnian | |
ee_TG Ewe (Togo) | |
ms Malay | |
kam_KE Kamba (Kenya) | |
mt Maltese | |
ha Hausa | |
es_HN Spanish (Honduras) | |
ml_IN Malayalam (India) | |
ro_MD Romanian (Moldova) |
npm list <pkg> | |
create npm-shrinkwrap.json file | |
npm i | |
Reference: https://nodejs.org/en/blog/npm/managing-node-js-dependencies-with-shrinkwrap/ |