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
param (
[Parameter(Mandatory = $true, ValueFromPipeline = $true)]
[object[]] $Arrays,
[switch] $Split,
[ValidateSet("Longest", "Shortest")]
[string] $OutputMode = "Shortest"
)
{
"url": "https://gist.github.com/drandarov-io/d1876d5a717ef5399ec3d005e9eed88b",
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
@drandarov-io
drandarov-io / notion_compact.user.js
Last active September 9, 2024 11:34
Adjust layout to waste less space with page icons and covers (Tampermonkey)
// ==UserScript==
// @name Notion Compact Page Icons, Covers and Bulletpoints
// @namespace http://tampermonkey.net/
// @version 1.11
// @description Adjust layout to waste less space with page icons and covers and reduce vertical spacing between blocks
// @author Dmitrij Drandarov
// @match https://www.notion.so/*
// @grant none
// @homepage https://gist.github.com/drandarov-io/51f0febb344539c979e9677e91b73d26
// ==/UserScript==
// ==UserScript==
// @name Notion Compact Text and Sidebar
// @namespace http://tampermonkey.net/
// @version 1.4
// @description Adjust layout to waste less space with page icons and covers and reduce vertical spacing between blocks
// @author Dmitrij Drandarov
// @match https://www.notion.so/*
// @grant none
// @url https://gist.github.com/drandarov-io/1d489ee37d8d24f7e28c0cd793bdd9f4
// ==/UserScript==