This gist contains images showing off paps on the emacs HELLO 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
#!/usr/bin/python | |
###################################################################### | |
# An example of how to draw text with pangocairo. | |
# | |
# This script is in the public domain | |
# | |
# Dov Grobgeld <dov.grobgeld@gmail.com> | |
# 2021-01-12 Tue | |
###################################################################### |
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 script for translating a list of svg (pages) to a pdf file | |
# via inkscape and cairo. | |
# | |
# The reason I used png steps as an intermediate is two fold: | |
# | |
# 1. It makes the pdf files less editable (which might be good | |
# when sending documents) |
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
# A simple svg writer for paths | |
# | |
# This example is in the public domain | |
# | |
# 2021-02-06 Sat | |
# Dov Grobgeld <dov.grobgeld@gmail.com> | |
def moveto(x,y): return f'M {x},{y}' | |
def lineto(x,y): return f'L {x},{y}' | |
def closepath(): return 'Z' |
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
# Minimal makefile for multipass-minimal | |
%.o : %.cpp | |
g++ -o $@ -c -Wall -g -std=c++17 $? | |
multipass-minimal: multipass-minimal.o VulkanTools.o | |
g++ -o $@ $? -lglfw -lvulkan | |
clean: | |
$(RM) multipass-minimal.o multipass-minimal |
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 | |
###################################################################### | |
# | |
# An example of how to color code a gray level label image in | |
# python. | |
# | |
# 2021-05-05 Wed | |
# 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/python | |
###################################################################### | |
# A script to convert from "free format" citations in my | |
# daughter's to bib-tex convention. | |
# | |
# Dov Grobgeld <dov.grobgeld@gmail.com> | |
# 2021-12-18 Sat | |
###################################################################### |
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 | |
###################################################################### | |
# | |
# An example of how to use the gamepad as an input device for | |
# python. | |
# | |
# The example shows two dots that can be controlled by the | |
# left and the right joystick on a gamepad. | |
# | |
# This may be used as the basis for any analog output. E.g. to |
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
dummy |
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
[internal] Wed Oct 5 23:20:01 2022: | |
(:message "Running language server: (clangd -j 1 --log=verbose)") | |
[client-request] (id:1) Wed Oct 5 23:20:01 2022: | |
(:jsonrpc "2.0" :id 1 :method "initialize" :params | |
(:processId 16719 :rootPath "/terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook/" :rootUri "file:///terra/space/pub-repos/PacktPublishing/3D-Graphics-Rendering-Cookbook" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data | |
()) | |
:capabilities | |
(:workspace | |
(:applyEdit t :executeCommand | |
(:dynamicRegistration :json-false) |