curl -sSL https://gist.github.com/ttimasdf/ef739670ac5d627981c5695adf4c8f98/raw/autossh@host1 | \
sudo tee /etc/default/autossh@example
curl -sSL https://gist.github.com/ttimasdf/ef739670ac5d627981c5695adf4c8f98/raw/[email protected] | \
sudo tee /etc/systemd/system/[email protected]
sudo useradd -g nogroup -s /bin/false -m tunnel
sudo -u tunnel mkdir -p ~tunnel/.ssh # and copy your private key here
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
| from enum import Enum | |
| import attr | |
| class VarType(Enum): | |
| VAR = "var" | |
| REF = "ref" | |
| from copy import copy | |
| def ref_to_ref_obj_attr_name(varname): |
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
| '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' | |
| ' Versions | |
| ' | |
| ' Version: 1.5 | |
| ' source: inzi.com | |
| ' | |
| ' Change Log | |
| ' | |
| ' v1.0 | |
| ' Original |
Fist time compile CloudCompare on centos 7
first install development tools, you can do a group install
if you dont know which group to install have a look at the list of existing groups:
yum group list
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
| /** | |
| * Convert standard camera intrinsic and extrinsic parameters to a vtkCamera instance for rendering | |
| * Assume square pixels and 0 skew (for now). | |
| * | |
| * focal_len : camera focal length (units pixels) | |
| * nx,ny : image dimensions in pixels | |
| * principal_pt: camera principal point, | |
| * i.e. the intersection of the principal ray with the image plane (units pixels) | |
| * camera_rot, camera_trans : rotation, translation matrix mapping world points to camera coordinates | |
| * depth_min, depth_max : needed to set the clipping range |
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
| The system is: Linux - 4.4.24-1-MANJARO - x86_64 | |
| Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. | |
| Compiler: /usr/bin/cc | |
| Build flags: | |
| Id flags: | |
| The output was: | |
| 0 | |