This file contains 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
// pqprobe probes Postgresql database for given table name and tries to obtain the table's fields. | |
package main | |
import ( | |
"fmt" | |
"log" | |
"strings" | |
"github.com/jmoiron/sqlx" | |
_ "github.com/lib/pq" |
This file contains 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
// pqprobe probes Postgresql database for given table name and tries to obtain the table's fields. | |
package main | |
import ( | |
"fmt" | |
"log" | |
"strings" | |
"github.com/jmoiron/sqlx" | |
_ "github.com/lib/pq" |
This file contains 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
#!python3 | |
""" | |
Start neovim server inside WSL then run neovim client (nvim-qt) in Windows. | |
Requirements: | |
- Windows Subsystem Linux 2 | |
- Neovim inside WSL (install plugins, customizations, etc. in WSL-side) | |
- nvim-qt inside Windows (bundled with `choco install neovim`) | |
- Python3.6 or later inside Windows to run this script | |
- Correct PATH variables on Windows |