You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
GuanhuaW
guanhuaw
Hi, I am a Ph.D. student with @fmrilab@dnollmi@JeffFessler, dedicated to the formation and understanding of medical imaging, especially the fMRI/MRI modality.
Python setuptools package replaces the distutils package. You use this in
order to allow your Python package to be redistributable. Not just for PyPi
but also for source distributions or private distributions.
Opening and closing an SSH tunnel in a shell script the smart way
Opening and closing an SSH tunnel in a shell script the smart way
I recently had the following problem:
From an unattended shell script (called by Jenkins), run a command-line tool that accesses the MySQL database on another host.
That tool doesn't know that the database is on another host, plus the MySQL port on that host is firewalled and not accessible from other machines.
We didn't want to open the MySQL port to the network, but it's possible to SSH from the Jenkins machine to the MySQL machine. So, basically you would do something like