Show the current status of your repo.
git status
Show a diff between your changes and what's in the repo.
git diff [filename]
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/** | |
* Asynchronous sum example with callbacks. | |
*/ | |
function getX(callback) { | |
setTimeout(() => { | |
callback(5); | |
}, 1000); | |
} |
@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 |
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)) |
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
code --install-extension [email protected] \ | |
--install-extension [email protected] \ | |
--install-extension njpwerner.autodocstring |
Print lines matching a pattern.
Reference: https://git-scm.com/docs/git-grep
git grep -n "foo"