Skip to content

Instantly share code, notes, and snippets.

View MateuszKrawczuk's full-sized avatar

Mateusz Krawczuk MateuszKrawczuk

View GitHub Profile
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2023 tteck
# Author: tteck (tteckster)
# License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info {
clear
cat <<"EOF"
@MateuszKrawczuk
MateuszKrawczuk / build.sh
Last active November 5, 2023 20:23
Debian 12 Bookworm Rocm 5.7.1 - Radeon 6900xt - gfx1030 buildscript
#!/usr/bin/env bash
set -exuo pipefail
#
# apt-get -qq update
# apt-get -qq upgrade
# apt-get -qq install build-essential cmake wget mesa-common-dev kmod python3 libnuma-dev pkg-config libdrm-dev libelf-dev xxd perl file gfortran git libgtest-dev gfortran libmsgpack-dev python3 python3-pip python3-virtualenv python3.11-venv python3-yaml python3-msgpack python3-joblib gfortran libfmt-dev libopenmpi-dev
PYTHON_VERSION=3.11
ROCM_VERSION=5.7.1
@MateuszKrawczuk
MateuszKrawczuk / asus-r504za-blender-benchmark-result.txt
Created November 19, 2018 19:35
Asus Vivobook R504ZA-BQ064T - Blender benchmark Vega
{
"benchmark_client": {
"client_version": "1.0b2"
},
"blender_version": {
"build_commit_date": "2018-03-22",
"build_commit_time": "14:10",
"build_date": "2018-03-22",
"build_hash": "f4dc9f9d68b",
"build_time": "09:59 AM",
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.cojen</groupId>
<artifactId>cojen</artifactId>
<packaging>jar</packaging>
<name>Cojen</name>
<version>2.2.7</version>
<description>
Dynamic Java bytecode generation and disassembly tools.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:jar (attach-javadocs) on project cojen: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - /home/mkrawczuk/git/Cojen/src/main/java/org/cojen/util/AnnotationDescParser.java:71: error: reference not found
[ERROR] * @throws IllegalArgumentExcecption if annotation is malformed
[ERROR] ^
[ERROR] /home/mkrawczuk/git/Cojen/src/main/java/org/cojen/util/AnnotationDescParser.java:100: warning: no @param for rootAnnotationType
[ERROR] protected Annotation buildRootAnnotation(TypeDesc rootAnnotationType) {
[ERROR] ^
[ERROR] /home/mkrawczuk/git/Cojen/src/main/java/org/cojen/util/AnnotationDescParser.java:100: warning: no @return
[ERROR] protected Annotation buildRootAnnotation(TypeDesc rootAnnotationType) {
[ERROR] ^
@MateuszKrawczuk
MateuszKrawczuk / avrdude.conf
Created December 7, 2017 12:59
avr raspberry
# $Id: avrdude.conf.in 1294 2014-03-12 23:03:18Z joerg_wunsch $ -*- text -*-
#
# AVRDUDE Configuration File
#
# This file contains configuration data used by AVRDUDE which describes
# the programming hardware pinouts and also provides part definitions.
# AVRDUDE's "-C" command line option specifies the location of the
# configuration file. The "-c" option names the programmer configuration
# which must match one of the entry's "id" parameter. The "-p" option
# identifies which part AVRDUDE is going to be programming and must match
@MateuszKrawczuk
MateuszKrawczuk / avrdude.conf
Created December 7, 2017 12:59
avr raspberry
# $Id: avrdude.conf.in 1294 2014-03-12 23:03:18Z joerg_wunsch $ -*- text -*-
#
# AVRDUDE Configuration File
#
# This file contains configuration data used by AVRDUDE which describes
# the programming hardware pinouts and also provides part definitions.
# AVRDUDE's "-C" command line option specifies the location of the
# configuration file. The "-c" option names the programmer configuration
# which must match one of the entry's "id" parameter. The "-p" option
# identifies which part AVRDUDE is going to be programming and must match
@MateuszKrawczuk
MateuszKrawczuk / marlin_2._mightyboard.log
Created November 27, 2017 18:19
Marlin 2.0 SPI pin value
o
Marlin\src\module\temperature.cpp:1031:4: error: #error Result
#error Result
^
In file included from Marlin\src\module\thermistor/../../inc/../pins/pins.h:135:0,
from Marlin\src\module\thermistor/../../inc/MarlinConfig.h:29,
from Marlin\src\module\thermistor/thermistors.h:26,
from Marlin\src\module\temperature.h:30,
from Marlin\src\module\temperature.cpp:27:
Marlin\src\module\thermistor/../../inc/../pins/pins_MIGHTYBOARD_REVE.h:138:30: warning: expected a string after '#pragma message' [-Wpragmas]
[filament:DD_grey_ABS+]
bed_temperature = 55
bridge_fan_speed = 50
cooling = 1
disable_fan_first_layers = 1
extrusion_multiplier = 1
fan_always_on = 1
fan_below_layer_time = 60
filament_colour = #828282
filament_diameter = 1.75
# NOTE Lines must not exceed 132 characters
# Robot module configurations : general handling of movement G-codes and slicing into moves
default_feed_rate 4000 # Default rate ( mm/minute ) for G1/G2/G3 moves
default_seek_rate 4000 # Default rate ( mm/minute ) for G0 moves
mm_per_arc_segment 0.5 # Arcs are cut into segments ( lines ), this is the length for
# these segments. Smaller values mean more resolution,
# higher values mean faster computation
mm_per_line_segment 5 # Lines can be cut into segments ( not usefull with cartesian
# coordinates robots ).