Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
| #include <iostream> | |
| #include <pqxx/pqxx> | |
| int main() | |
| { | |
| std::string conn_str = "host=localhost port=5432 dbname=test01 user=postgres password=sdfsdfsdf"; | |
| try | |
| { | |
| pqxx::connection conn(conn_str.c_str()); |
| unbind C-b | |
| set-option -g prefix C-f | |
| bind-key C-f send-prefix | |
| set -g mouse on | |
| set -g @plugin 'tmux-plugins/tmux-resurrect' | |
| set -g @plugin 'tmux-plugins/tmux-continuum' | |
| set -g @plugin 'tmux-plugins/tmux-prefix-highlight' |
Credit to https://github.com/DennisPing/Windows-10-Cpp-MinGW64
Run powershell as admin
| #!/bin/bash.exe | |
| # This script opens a given directory up in the Windows file explorer. I did | |
| # this to make it easy when opening directories in the Cygwin system using | |
| # the explorer. | |
| # | |
| # To install: | |
| # | |
| # $ touch /usr/bin/opene | |
| # $ vim /usr/bin/opene |
https://pyinstaller.readthedocs.io/en/stable/usage.html
https://docs.python.org/3/tutorial/venv.html
Windows apps installation? User vs system wide
python -m venv env or py -3.7 -m venv env
deactivate
catkin_create_pkg some_package std_msgs rospy roscpp
| from dataclasses import dataclass | |
| import os | |
| import socket | |
| import argparse | |
| import time | |
| mega_bytes = 25 | |
| size_filter = 1024 * 1024 * mega_bytes | |
| test_only_local = False | |
| root_path = 'C:/' |