Skip to content

Instantly share code, notes, and snippets.

View kevinslin's full-sized avatar

Kevin Lin kevinslin

View GitHub Profile
sources:
source/a/dd_agent:
type: datadog_agent
address: 0.0.0.0:8020
multiple_outputs: true
sinks:
sink/l/dd:
site: ${DD_SITE}
type: datadog_logs
inputs:
@kevinslin
kevinslin / nimbus.privatelink.aws.yaml
Created April 16, 2024 00:25
Nimbus Private Link
# -*- coding: utf-8 -*-
import sys
import json
from typing import Optional, Tuple
import pprint
from log_filters import filter_logs_by_source_type
class MergePolicy:
@kevinslin
kevinslin / keybindings.json
Last active August 4, 2022 04:44
kevin.daily-journal-template
// Place your key bindings in this file to override the defaults
[
// The following are Kevin's keybindings for VSCode
// They are made available under CC BY 4.0
//
// To navigate
// `==` denote sections
// `---` denotes subsections
//
// == Dendron

Dendron Extended PR Checklist

  • NOTE: the links don't work. you'll need to go into the wiki and use lookup to find the note until we fix some issues in the markdown export

Code

Basics

First Time Specifics

  • if its your first pull request to Dendron, watch out for the CLA bot that will ask you to agree to Dendron's CLA
  • if its your first pull request and you're on our Discord, add your discord handle so that we can award you the horticulturalist role when the PR is merged

Commit

  • make sure your branch names adhere to our branch style
  • make sure the commit message follows Dendron's commit style
  • if this pull request is addressing an existing issue, make sure to link this PR to the issue that it is resolving.
@kevinslin
kevinslin / multi-workspace.md
Created December 5, 2021 17:34
mutli-workspace-setup

Creating a Personal and Work specific workspace

  1. Create a personal workspace using Initialize Workspace
    • initialize with a blank vault
      • if you want to version control the vault, run Vault Convert to add a git repository to this vault
    • repeat this process with other vaults as needed (we recommend just starting off with a single vault), see reasons for going multi-vault here
    • add your workspace to version control by running the following:
      1. Initialize a git repo
@kevinslin
kevinslin / publish-action.yml
Last active October 19, 2021 22:58
publish-action
name: Dendron
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
@kevinslin
kevinslin / publish.yml
Last active October 19, 2021 22:54
publish.yml
name: Dendron
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
@kevinslin
kevinslin / keybindings.json
Last active May 10, 2023 01:32
Kevin's VSCode Keybindings
// Place your key bindings in this file to override the defaults
[
// The following are Kevin's keybindings for VSCode
// They are made available under CC BY 4.0
//
// To navigate
// `==` denote sections
// `---` denotes subsections
//
// == Dendron