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
openapi: '3.0.2' | |
info: | |
title: Local REST API for Obsidian | |
description: | | |
You can use this interface for trying out your Local REST API in Obsidian. | |
Before trying the below tools, you will want to make sure you press the "Authorize" button below and provide the API Key you are shown when you open the "Local REST API" section of your Obsidian settings. All requests to the API require a valid API Key; so you won't get very far without doing that. | |
When using this tool you may see browser security warnings due to your browser not trusting the self-signed certificate the plugin will generate on its first run. If you do, you can make those errors disappear by adding the certificate as a "Trusted Certificate" in your browser or operating system's settings. | |
version: '1.0' |
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
body { | |
background-color: #fff; | |
color: #333; | |
font-family: sans-serif; | |
font-size: 10pt; | |
margin-right: 100px; | |
margin-left: 100px; | |
} | |
h1, |
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 python3 | |
import enum | |
import os | |
import sys | |
from pathlib import Path | |
from typing import List, Literal, Optional | |
import click | |
import rich |
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
# ###################################################### | |
# ## Channel Configuration ## | |
# ###################################################### | |
# # channels (sequence: primitive) | |
# # aliases: channel | |
# # env var string delimiter: ',' | |
# # The list of conda channels to include for relevant operations. | |
# # | |
# channels: |
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
<# | |
.SYNOPSIS | |
Exports WSL distributions to tar.gz files, excluding built-in docker distributions. | |
.PARAMETER None | |
.EXAMPLE | |
.\export-wsl-images.ps1 | |
Exports all WSL distributions to tar.gz files. | |
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
<# | |
.SYNOPSIS | |
Executes a Windows Search query and returns the result as a DataTable. | |
.DESCRIPTION | |
The Query-WindowsSearch function executes a Windows Search query using the specified SQL statement and returns the result as a DataTable. | |
.PARAMETER Sql | |
The SQL statement to be executed for the Windows Search query. | |
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
#!/bin/bash | |
# | |
# Ruby Installation Script for OpenProject | |
# https://www.openproject.org/docs/development/development-environment-ubuntu/ | |
# | |
# This script installs Ruby using rbenv and ruby-build on Ubuntu. | |
# It assumes the user has administrative privileges and uses Bash shell. | |
# Install dependencies required for rbenv and Ruby |
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
/* This file is an index of all APT configuration directives. | |
Instead of actual values the option has the type as value. | |
Additional explanations and possible values might be detailed in a comment. | |
Most of the options have sane default values, | |
unless you have specific needs you should NOT include arbitrary | |
items in a custom configuration. | |
In some instances involving filenames it is possible to set the default | |
directory when the path is evaluated. This means you can use relative |
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 python3 | |
# | |
# envjson.py | |
""" | |
Dumps alphanumerically sorted environment variables to stdout in JSON format. | |
Usage: | |
./envjson.py # Replace with the actual script name | |
""" |
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
#!/bin/bash | |
# Define the name of the revised environment file. | |
REVISED_ENV_FILE='e.sh' | |
# Check if REVISED_ENV_FILE exists, if not, execute the following commands. | |
if [ ! -f "$REVISED_ENV_FILE" ]; then | |
# Copy the default system environment file to the revised file. | |
cp /etc/environment "$REVISED_ENV_FILE" |
NewerOlder