Print lines matching a pattern.
Reference: https://git-scm.com/docs/git-grep
git grep -n "foo"
Print lines matching a pattern.
Reference: https://git-scm.com/docs/git-grep
git grep -n "foo"
| code --install-extension [email protected] \ | |
| --install-extension [email protected] \ | |
| --install-extension njpwerner.autodocstring |
The assumption that what currently exists must necessarily exist is the acid that corrodes all visionary thinking.
― Murray Bookchin
The reasonable man adapts himself to the world. The unreasonable man persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
― George Bernard Shaw
| from math import radians, sqrt | |
| import Part | |
| from FreeCAD import Matrix, Vector | |
| def make_hexagonal_prism(minimal_diameter: float, height: float) -> Part.Solid: | |
| hexagon_wire = make_hexagon_wire(minimal_diameter) | |
| hexagon_face = Part.Face(hexagon_wire) | |
| return hexagon_face.extrude(Vector(0, 0, height)) |
| @startuml | |
| class App::DocumentObject [[https://wiki.freecadweb.org/App_DocumentObject]] | |
| class App::GeoFeature [[https://wiki.freecadweb.org/App_GeoFeature]] | |
| note left [[http://plantuml.com]] | |
| Adds Placement property | |
| end note | |
| App::DocumentObject <|-- App::GeoFeature [[http://plantuml.com/class]] : extends | |
| @enduml |
| /** | |
| * Asynchronous sum example with callbacks. | |
| */ | |
| function getX(callback) { | |
| setTimeout(() => { | |
| callback(5); | |
| }, 1000); | |
| } |
By default, Docker looks for a file named Dockerfile when building images.
docker build -t express-prod-i .
-t - Optionally tag, or name a docker image to avoid referring to the auto-generated ID (e.g. 50e8dde7e180). - Look for the Dockerfile in the current directory-f - Override default Dockerfile name