Skip to content

Instantly share code, notes, and snippets.

@igmit
igmit / private_fork.md
Created August 5, 2021 22:53 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@igmit
igmit / FreeCAD - compile python script to exe on Win
Created May 25, 2018 16:15
I had to generate set of spheres that had to be placed within cylinder to simulate some CFD. The algorithm was quite easy, but it was tricky to convert the resulting scene into one of the popular CAD formats. Ansys Fluent could eat *.step file, so here we go!
# FreeCAD_dir/bin/python.exe -m pip install pyinstaller
# FreeCAD_dir/bin/python.exe -m pip install pywin32
Now we have to go to "FreeCAD_dir/bin/" dir
# \Scripts\pyinstaller.exe file.py -p "FreeCAD_dir\Mod" -p "FreeCAD_dir\lib" -p "FreeCAD_dir\bin" -F
"file.exe" will be generated in dist folder.
An example of file.py