The following commands and tools can be used to create metrics and visualizations to highlight the work done in the past year.
git rev-list \
--since 2021-01-01 \
--count master| FROM rocker/r-ver:4.3.3 | |
| WORKDIR /tmp | |
| COPY . . | |
| RUN R -e 'install.packages("https://cran.r-project.org/src/contrib/Archive/renv/renv_1.0.5.tar.gz", repos = NULL, type = "source")' | |
| RUN R -e 'renv::restore()' |
| #!/bin/bash | |
| declare -A file_hashes | |
| for file in *; do | |
| if [[ -f $file ]]; then | |
| hash=$(sha256sum "$file" | awk '{print $1}') | |
| if [[ ${file_hashes[$hash]} ]]; then | |
| echo "Deleting duplicate file: $file" | |
| rm -i "$file" |
| public static class CallerAttributeExtensions | |
| { | |
| public static void WriteCallerAttributeValuesToConsole<T>( this T? obj, | |
| [CallerMemberName] string? member = null, | |
| [CallerFilePath] string? filePath = null, | |
| [CallerLineNumber] int lineNum = 0, | |
| [CallerArgumentExpression("obj")] string? expr = null ) | |
| { | |
| Console.Out.WriteLine( $"{member} {filePath} {lineNum} {expr}" ); | |
| } |
| { | |
| "window.titleBarStyle": "custom", | |
| "workbench.colorTheme": "Night Owl", | |
| "git.autofetch": true, | |
| "terminal.integrated.fontFamily": "'Fira Code'", | |
| "editor.minimap.enabled": false, | |
| "docker.groupImagesBy": "None", | |
| "editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", | |
| "editor.fontLigatures": true, | |
| "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}${separator}${appName}", |
Remove bookmarks/table of contents from a PDF:
pdftk A=file1.pdf cat A1-end output nobookmarks.pdfIf you want Slic3r to generate Gcode with a temperature change at a specific height (e.g. for printing a temperature tower), you will need to add a line of conditional G-code.
To do that, click on the Printer Settings tab and in the left sidebar on Custom G-code.
In the text field After layer change G-code add a line like the following for each desired temperature change:
{if layer_z==10}M104 S190{endif}
This example changes the extruder temperature at a height of 10mm to 190°C.
| PS1='[\[\033[1;33m\]\# \[\033[1;32m\]\u@\H \[\033[1;36m\]\w\[\033[0m\]]\$ ' |