Skip to content

Instantly share code, notes, and snippets.

Action Description
about Inkscape version, authors, license
action-list Print a list of actions and exit
clone Create a clone (a copy linked to the original) of selected object
clone-link Relink the selected clones to the object currently on the clipboard
clone-link-lpe Creates a new path, applies the Clone original LPE, and refers it to the selected path
clone-unlink Cut the selected clones' links to the originals, turning them into standalone objects
clone-unlink-recursively Unlink all clones in the selection, even if they are in groups.
com.inkscape.generate.generate-voronoi Voronoi Pattern
@ninmonkey
ninmonkey / importing-local-powerquery.md
Created August 31, 2022 01:16
How to import External Power Query from text files.md

Example "lib"

Instead of a table, end up with a record, which can contain any number of functions

let
    // attempt to convert any type to Csv string
    ToCsv = (source as list) as text =>
        let
@santisq
santisq / Split-Csv.ps1
Last active September 7, 2022 15:47
Simple PowerShell function that allows to split a CSV by parts or by size using `StreamReader` and `StreamWriter`
function Split-Csv {
[CmdletBinding(DefaultParameterSetName = 'ByParts')]
param(
[Parameter(Mandatory, ValueFromPipelineByPropertyName)]
[alias('FullName')]
[string] $Path,
[parameter(Mandatory)]
[string] $DestinationFolder,
@santisq
santisq / Slide Show from API.ps1
Last active October 14, 2022 19:35
simple Windows Forms Slide Show
using namespace System.Windows.Forms
using namespace System.Drawing
using namespace System.IO
using namespace System.Management.Automation.Runspaces
Add-Type -AssemblyName System.Drawing, System.Windows.Forms
[Application]::EnableVisualStyles()
$tracker = @{}
@ninmonkey
ninmonkey / Format-NullText.ps1
Last active August 12, 2022 17:24
Formatting nulls and blanks
$Color = @{
Bright_Text = @(
$PSStyle.background.FromRgb(220, 220, 220)
$PSStyle.foreground.FromRgb(40, 40, 40)
) -join ''
Dim_Text = @(
# $PSStyle.background.FromRgb(170, 170, 170)
$PSStyle.foreground.FromRgb(120, 120, 120)
) -join ''
Reset = $PSStyle.Reset
@JustinGrote
JustinGrote / IncorrectUseOfFormatCmdletsInMiddleOfPipeline.psm1
Last active September 6, 2022 11:33
Warn if Format command (Format-Table, etc.) are used in the middle of a pipeline.
using namespace System.Management.Automation.Language
using namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic
function IncorrectUseOfFormatCmdletsInMiddleOfPipeline {
<#
.SYNOPSIS
Do not place format-table in the middle of a pipeline
.DESCRIPTION
Detects when Format commands are commonly misused in the middle of a pipeline, causing unexpected results with display objects that dont have the same properties as the original piped object.
@ninmonkey
ninmonkey / Templates For Tables and Mermaid Diagrams.db.md
Last active October 17, 2022 00:58
Snippets/Templates For Tables and Mermaid Diagrams
@ninmonkey
ninmonkey / reddit-nixish-commands.ipynb
Last active June 30, 2022 00:55
quick examples showing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ninmonkey
ninmonkey / Minimizing-Noise-In-VS-Code.settings.md
Last active November 9, 2022 21:43
Minimizing visual noise In VS-Code