This file has been truncated, but you can view the full file.
This file contains 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
[ | |
{ | |
"directory": "/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/build", | |
"command": "/usr/bin/cc -DBUILD_WITH_EASY_PROFILER=1 -I/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/. -I/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/deps/src -I/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/deps/src/glfw/include -I/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/deps/src/glm -I/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/deps/src/gli -I/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/deps/glad/include -I/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/deps/src/assimp/include -I/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/deps/src/etc2comp/EtcLib/Etc -I/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/deps/src/etc2comp/EtcLib/EtcCodec -I/terra/space/pub-repos/PacktPublishing/3D-Graphics-Render |
This file contains 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
(if (string-match "x86_64-w64-mingw32" system-configuration) | |
(setq temp-dir "C:/Temp") | |
(setq temp-dir "/tmp")) | |
(defun shell-command-on-buffer (command extension) | |
"Send the current buffer to a shell command" | |
(interactive) | |
(let* ((remote-maybe (file-remote-p default-directory)) | |
(tramp-prefix (if remote-maybe remote-maybe "")) | |
(cmd-buffer-name (concat "*" (capitalize command) " Output*")) |
This file contains 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
(defun toggle-backslash-line () | |
"Toggle all forward slashes to backslashes for the current line." | |
(interactive) | |
(save-excursion | |
(if (use-region-p) | |
(setq myBoundaries (cons (region-beginning) (region-end))) | |
(setq myBoundaries (bounds-of-thing-at-point 'line))) | |
(save-restriction | |
(goto-char (car myBoundaries)) |
This file contains 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
// An example of how to generate a gltf file from scratch. This example | |
// was translated from the pygltlib documentation in the pypi project page, | |
// which in turn is based on the Khronos Sample Models at: | |
// | |
// https://github.com/KhronosGroup/glTF-Sample-Models | |
// | |
// This example is released under the MIT license. | |
// | |
// 2021-02-25 Thu | |
// Dov Grobgeld <dov.grobgeld@gmail.com> |
This file contains 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
#!/usr/bin/env python | |
###################################################################### | |
# A cup holder | |
# 2024-02-10 Sat | |
# Dov Grobgeld <dov.grobgeld@gmail.com> | |
# | |
# This code is in the public domain. | |
# | |
# The shower pole shampoo holder is built as follows |
This file contains 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
#!/usr/bin/python | |
###################################################################### | |
# Example of how to use ChFi2d_FilletAPI to create fillets. | |
# | |
# 2024-03-14 Thu | |
# Dov Grobgeld <dov.grobgeld@gmail.com> | |
# | |
# This file is in the public domain | |
###################################################################### |
This file contains 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
#!/usr/bin/python | |
###################################################################### | |
# A proof of concept adding a svg path into a cadQuery Workspace | |
# object. | |
# | |
# This file is in the public domain. | |
# | |
# Dov Grobgeld <dov.grobgeld@gmail.com> | |
# 2024-03-10 Sun |
OlderNewer