Skip to content

Instantly share code, notes, and snippets.

View drandarov-io's full-sized avatar
:octocat:
Always learning...

Dmitrij Drandarov drandarov-io

:octocat:
Always learning...
View GitHub Profile
@drandarov-io
drandarov-io / dmitr.io-onemore.xml
Last active October 19, 2023 19:58
OneMore Adjusted Style
<?xml version="1.0" encoding="utf-8"?>
<Theme key="Default" name="dmitr.io" color="automatic" setColor="False" dark="False">
<Style index="0" name="Code" font="Cascadia Code" fontColor="#001400" fontSize="9.0" spaceBefore="2.0" spaceAfter="5.0" spacing="12.0" applyColors="true" styleType="Paragraph" />
<Style index="1" name="Heading 1" font="Calibri Light" fontColor="#000000" fontSize="20.0" spaceBefore="14.0" spaceAfter="0.0" spacing="0.0" applyColors="true" styleType="Heading" />
<Style index="2" name="Heading 2" font="Calibri Light" fontColor="#E67832" fontSize="18.0" spaceBefore="14.0" spaceAfter="0.0" spacing="0.0" applyColors="true" styleType="Heading" />
<Style index="3" name="Heading 3" font="Calibri Light" fontColor="#823D0A" fontSize="16.0" spaceBefore="12.0" spaceAfter="0.0" spacing="0.0" applyColors="true" styleType="Heading" />
<Style index="4" name="Heading 4" font="Calibri Light" fontColor="#C85A14" fontSize="14.0" spaceBefore="12.0" spaceAfter="0.0" spacing="0.0" applyColors="true" s
@drandarov-io
drandarov-io / printer_CR10_Maxxed.cfg
Last active June 7, 2023 14:11
Klipper configuration for a heavily modified CR-10 Max
# This file contains pin mappings for the Creality CR-10 Max. To use
# this config, the firmware should be compiled for the AVR atmega2560.
# See docs/Config_Reference.md for a description of parameters.
# https://gist.github.com/drandarov-io/5096a966972f9bb5e1657711d5d55614
[include mainsail.cfg]
[mcu]
"QuickTaskPresets": [
{
"Name": "Save, Pin",
"AfterCaptureTasks": "PinToScreen, SaveImageToFile",
"AfterUploadTasks": "None"
},
{
"Name": "Save, Copy image",
"AfterCaptureTasks": "CopyImageToClipboard, SaveImageToFile",
"AfterUploadTasks": "None"
@drandarov-io
drandarov-io / $PROFILEUSER.ps1
Created January 19, 2023 11:09
Sampels for $PROFILE.CurrentUserAllHosts used to overwrite certain local behavior
# Use VS Code Insider as code alias
Set-Alias -Name code -Value code-insiders
Set-Alias -Name code.cmd -Value code-insiders
@drandarov-io
drandarov-io / $PROFILE.ps1
Last active October 19, 2023 19:42
Personal PowerShell $PROFILE (drandarov-io)
# https://gist.github.com/drandarov-io/ec6a51a1d4e256c322f496cb47ab704a
#########################
# Theme
#########################
# Theme
oh-my-posh init pwsh --config ~/dmitr_io.omp.json | Invoke-Expression
#!/bin/bash
################################################################################
### OpenCV2 Installation Script ###
################################################################################
# Source code at https://github.com/arthurbeggs/scripts #
################################################################################
# #
# Feel free to copy and modify this file. Giving me credit for it is your #
# choice, but please keep references to other people's work, which I don't #
@drandarov-io
drandarov-io / D.R.Y. - Reuse Gradle repository definition
Last active May 28, 2019 18:26
D.R.Y. - Reuse Gradle repository definition
This works however:
#### build.gradle
```gradle
buildscript {
// Repository Configuration
ext.repos = {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }