Step 1: First check if the pg_dump
utility is available:
pg_dump --version
Step 2: if it is, in your Sails project, run:
pg_dump -U DB_USER_NAME DB_NAME > dump.sql
{ | |
"js/ts.implicitProjectConfig.checkJs": true, | |
"security.workspace.trust.untrustedFiles": "open", | |
"editor.accessibilitySupport": "off", | |
"editor.foldingHighlight": false, | |
"window.commandCenter": true, | |
"editor.quickSuggestions": { | |
"strings": true | |
}, | |
"tailwindCSS.includeLanguages": { |
/// Converts fully qualified Wistia Url to video id. | |
/// | |
/// If videoId is passed as url then we will skip conversion. | |
/// This will match: | |
/// http://home.wistia.com/medias/e4a27b971d | |
/// https://home.wistia.com/medias/e4a27b971d | |
/// http://home.wi.st/medias/e4a27b971d | |
/// http://home.wistia.com/embed/e4a27b971d | |
/// https://home.wistia.com/embed/e4a27b971d | |
/// https://home.wi.st/embed/e4a27b971d |
fn: async function(inputs, exits) { | |
console.time(‘waiting’) | |
var wavesNGNPrice = await sails.helpers.fetch('https://waves-africa-api.herokuapp.com/ngn'); | |
console.timeEnd(‘waiting’) | |
exits.success(wavesNGNPrice) | |
} |
fn: async function(inputs, exits) { | |
performance.mark(‘start waiting’) | |
var wavesNGNPrice = await sails.helpers.fetch('https://waves-africa-api.herokuapp.com/ngn'); | |
performance.mark(‘end waiting’) | |
performance.mark(‘waiting period’, ‘start waiting’, ‘end waiting’) | |
exits.success(wavesNGNPrice) | |
} |
Step 1: First check if the pg_dump
utility is available:
pg_dump --version
Step 2: if it is, in your Sails project, run:
pg_dump -U DB_USER_NAME DB_NAME > dump.sql
Just run
rfkill block bluetooth
Then run:
rfkill unblock bluetooth
Run the below command in terminal to make gnome switch between open windows in only the current workspace you are in:
gsettings set org.gnome.shell.app-switcher current-workspace-only true
#!/bin/bash | |
cd /tmp || exit | |
read -r -p "[s]table or [b]eta? [sS/bB] " choice | |
choice=${choice,,} # tolower | |
if [[ ! "$choice" =~ ^(s|b)$ ]]; then | |
exit | |
fi | |
if [[ "$choice" = "s" ]]; then | |
url=https://dl.pstmn.io/download/latest/linux64 | |
name=Postman |
So if you are like me, and you are not familiar with the editor Vim, but sometimes trigger the editor when you omit commit or tag messages, you can follow the below steps.
i
on your keyboard to enter insert mode,esc
or escape key to exit the insert mode of vim:x
to exit vim after saving your commitHope this helps
Happy deploying 🚀🚀🚀
Verifying my Blockstack ID is secured with the address 1NWnuhEhpKp9yRNJBnjm1GGkGz4UDgyW34 https://explorer.blockstack.org/address/1NWnuhEhpKp9yRNJBnjm1GGkGz4UDgyW34 |