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
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"maunium.net/go/mautrix" | |
"maunium.net/go/mautrix/event" | |
"maunium.net/go/mautrix/id" |
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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
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
- "Admin": | |
- "Grafana": | |
"href": "https://grafana.example.com" | |
"icon": "grafana.png" | |
- "Traefik": | |
"href": "https://traefik.example.com" | |
"icon": "traefik.png" | |
"widget": | |
"type": "traefik" | |
"url": "https://traefik.example.com" |
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 os | |
import sys | |
import PTN | |
import requests | |
from dotenv import load_dotenv | |
from sanitize_filename import sanitize | |
load_dotenv() |
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
/** | |
* @name ZeresPluginLibrary | |
* @version 1.2.32 | |
* @invite TyFxKer | |
* @authorLink https://twitter.com/ZackRauen | |
* @donate https://paypal.me/ZackRauen | |
* @patreon https://patreon.com/Zerebos | |
* @website https://github.com/rauenzi/BDPluginLibrary | |
* @source https://raw.githubusercontent.com/rauenzi/BDPluginLibrary/master/release/0PluginLibrary.plugin.js | |
*/ |
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
// ==UserScript== | |
// @name Autolina | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Convert Autolina car listings to Sheets columns. | |
// @author Dan6erbond | |
// @match https://www.autolina.ch*auto/* | |
// @grant none | |
// ==/UserScript== |
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 cProfile | |
import random | |
import re | |
units = { | |
"days": { | |
"seconds": 60 * 60 * 24, | |
"aliases": ["d"], | |
}, | |
"hours": { |
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
function mergeArrays<T>( | |
oldCollection: T[], | |
updatedCollection: T[], | |
remoteCollection: T[], | |
uniqueIdentifier: (item: T) => string | number | |
) { | |
const oldIds = oldCollection.map((i) => uniqueIdentifier(i)); | |
const updatedIds = updatedCollection.map((i) => uniqueIdentifier(i)); | |
const remoteIds = remoteCollection.map((i) => uniqueIdentifier(i)); |
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
Show hidden characters
// This file was initially generated by Windows Terminal 1.0.1401.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", |
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
def main(): | |
print("Input the folowing data for the donor:") | |
donors = list() # 'columns represent name, address, contact' | |
# get information for three donors | |
for i in range(3): | |
# ask for donor information and store in temporary variables | |
first_name = input('First name: ') | |
address = input('Address: ') |
NewerOlder