This file contains 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
pinterest.at | |
pinterest.ca | |
pinterest.co.uk | |
pinterest.com | |
pinterest.com.au | |
pinterest.com.mx | |
pinterest.de | |
pinterest.dk | |
pinterest.es | |
pinterest.fr |
This file contains 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
defaults write -g NSWindowShouldDragOnGesture -bool true |
This file contains 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
type OptionalGroup<T> = T | { [K in keyof T]?: undefined }; | |
// deno-fmt-ignore | |
type OptionalGroups<Sets extends unknown[]> = Sets extends [infer Head, ...infer Rest] | |
? Rest extends [] | |
? OptionalGroup<Head> | |
: OptionalGroup<Head> & OptionalGroups<Rest> | |
: Sets; | |
export type PropertySets<Base, Sets extends unknown[]> = |
This file contains 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
// Copyright 2021 SeparateRecords | |
// | |
// Permission to use, copy, modify, and/or distribute this software for any purpose | |
// with or without fee is hereby granted, provided that the above copyright notice | |
// and this permission notice appear in all copies. | |
// | |
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | |
// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND | |
// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | |
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS |
This file contains 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
#!/usr/bin/env bash | |
# --- Variables and folder structure --- | |
: ${SCREENSHOT_LOCATION:="$HOME/Pictures/Screenshots"} && mkdir -p "$SCREENSHOT_LOCATION" | |
: ${ENV_MGR_LOCATION:="$HOME/.local/share"} && mkdir -p "$ENV_MGR_LOCATION" | |
: ${WORKSPACES_LOCATION:="$HOME/Workspaces"} && mkdir -p "$WORKSPACES_LOCATION" | |
: ${LISTS_LOCATION:="$HOME/Lists"} && mkdir -p "$LISTS_LOCATION" |
This file contains 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
import click | |
class SuperGroup(click.Group): | |
@classmethod | |
def new(cls, name=None, **attrs): | |
"""Decorator to create a new group (use as `click.group()`)""" | |
attrs.setdefault('cls', cls) | |
return click.command(name, **attrs) |