This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"properties": { | |
"cache_duration": "none" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ( | |
[Parameter(Mandatory = $true, ValueFromPipeline = $true)] | |
[object[]] $Arrays, | |
[switch] $Split, | |
[ValidateSet("Longest", "Shortest")] | |
[string] $OutputMode = "Shortest" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires AutoHotkey v2.0 | |
#SingleInstance | |
DetectHiddenWindows 1 | |
sendSpotifyKey(key) { | |
; ControlClick "Intermediate D3D Window1", "ahk_class Chrome_WidgetWin_1 ahk_exe Spotify.exe" | |
; ControlFocus "Intermediate D3D Window1", "ahk_class Chrome_WidgetWin_1 ahk_exe Spotify.exe" | |
; ControlFocus "Chrome_RenderWidgetHostHWND1", "ahk_class Chrome_WidgetWin_1 ahk_exe Spotify.exe" | |
ControlFocus "Chrome Legacy Window", "ahk_class Chrome_WidgetWin_1 ahk_exe Spotify.exe" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update multiple packages | |
function wum { | |
<# .SYNOPSIS | |
Update multiple winget packages (supports -i). #> | |
Param([Parameter(Position = 0, Mandatory = $true)][string[]] $Packages) | |
foreach ($Package in $Packages) { | |
$Package = $Package.Trim() | |
Write-Host ("Upgrading {0} with 'winget upgrade $Package'..." -f $Package) -ForegroundColor Green |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ===== WINFETCH CONFIGURATION ===== | |
# https://gist.github.com/assets/13102251/3f80c619-0142-4499-8477-fd5ec7297ac4 | |
$image = "$($USERPATHS.config)/winfetch.png" | |
# $noimage = $true | |
# Display image using ASCII characters | |
$ascii = $true | |
# Set the version of Windows to derive the logo from. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use VS Code Insider as code alias | |
Set-Alias -Name code -Value code-insiders | |
Set-Alias -Name code.cmd -Value code-insiders |
NewerOlder