import csv
import json
def make_json(csv_file_path, json_file_path):
# create a dictionary
Title | Reason | Reference |
---|---|---|
Set up PostgreSQL on Google Compute Engine Virtual Machines for Remote Access |
Wasted around 3 hours why my postgres installation was not accessible outside the machine, although all setup was correct. finally found it. |
- Install PostgreSQL on a Compute Engine instance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"[sass]": { | |
"editor.tabSize": 2 | |
}, | |
"[html]": { | |
"editor.tabSize": 2 | |
}, | |
"[javascript]": { | |
"editor.tabSize": 2 | |
}, |
Go to Tests tab and paste bellow code.
var jsonData = JSON.parse(responseBody);
pm.collectionVariables.set("accessToken", jsonData["access_token"]);
It'll save accessToken
in collection variable from the response data.
To save it in environment variable, just change, collectionVariables
to environment
, for global
variable, it's globals
Open Command promt, and paste this code:
reg add "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}\InprocServer32" /f /ve
Then open powershell and run this code:
Stop-Process -name "explorer" | Start-Process explorer.exe