Skip to content

Instantly share code, notes, and snippets.

"""""""""""" Key Map
let mapleader = ","
imap jj <Esc>
imap ;; <Esc>A;
nmap ;; <Esc>A;<Esc>
" For clojure
" set iskeyword=@,48-57,_,192-255,?,-,*,!,+,/,=,<,>,.,:,$
set iskeyword=@,48-57,_,192-255
{
"global": {
"ask_for_confirmation_before_quitting": true,
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false,
"unsafe_ui": false
},
"profiles": [
{
@artronics
artronics / pds_int_pub.json
Last active December 16, 2023 22:28
pds_int_pub.crt
{
"kty": "RSA",
"n": "t3-jxKpWLgI7IKTXbiLnOze6lYbzJYxvv5ewjSeln6naoaaLAvjLHHBC7LOTEQwYEf8VMZhPXhiq4sN9rlF2Wu3R7I1TWCEQGLvu-9fR1kzq9REVAie0ZIOsNlLaRxLzRH2Wic1_X_epHUquONErEdFIdJBwkzwzmE7H2EiL7Pb-pl5weVzOVZpxMu9YVgMgLRat-UQnWHNX6Rsu_EtjeRubtXdadTAQZ0WtrI7JMIu14kM34x8kCemDJhotXvT3S9OzjR6y3_sOQWOrrawiqGF_ZBob_-lJLqcFx-6OhVLdKaf7X3yLGge9rCRjJcimwXQBvJvm_Pp8IdrMDR5Juw",
"e": "AQAB",
"alg": "RS512",
"kid": "cb5d3a5f-9dcf-4bcf-b4a7-ed6d0a11a983",
"use": "sig"
}
set nocompatible
filetype plugin indent on
syntax on
"colorscheme darcula
"""""""""""" Key Map
let mapleader = ","
let maplocalleader="\<space>"
@artronics
artronics / github-context.json
Created September 30, 2022 00:28 — forked from colbyfayock/github-context.json
Sample payload for Github Action `github` context
{
"token": "[token]",
"job": "notifySlack",
"ref": "refs/pull/4/merge",
"sha": "[shad]",
"repository": "colbyfayock/demo-github-actions",
"repository_owner": "colbyfayock",
"repositoryUrl": "git://github.com/colbyfayock/demo-github-actions.git",
"run_id": 120667610,
"run_number": "2",
font:
normal:
family: JetbrainsMono Nerd Font
style: Regular
bold:
family: JetbrainsMono Nerd Font
style: Bold
italic:
# Set prefix to Ctrl-Space instead of Ctrl-b
unbind C-b
set -g prefix C-a
bind a send-prefix
# See (and comments): https://stackoverflow.com/a/42461580/3943054
bind -n S-Enter send-keys Escape "[13;2u"
bind -n C-Enter send-keys Escape "[13;5u"
# split panes using | and _
set nocompatible
filetype plugin indent on
syntax on
call plug#begin()
Plug 'doums/darcula'
Plug 'ap/vim-css-color'
Plug 'tpope/vim-commentary'
Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'yarn install --frozen-lockfile'}
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'ziglang/zig.vim'
# Set prefix to Ctrl-Space instead of Ctrl-b
unbind C-b
set -g prefix C-n
bind n send-prefix
# See (and comments): https://stackoverflow.com/a/42461580/3943054
bind -n S-Enter send-keys Escape "[13;2u"
bind -n C-Enter send-keys Escape "[13;5u"
# split panes using | and _

Authentication

Client Credentials

This method of authentication is used to obtain an access token outside the context of a user. With machine-to-machine (M2M) applications, such as CLIs, daemons, or services running on your back-end, the system authenticates and authorizes the app rather than a user. For this scenario, typical authentication schemes like username + password or social logins don't make sense. Instead, M2M apps use the Client Credentials Flow (defined in OAuth 2.0 RFC 6749, section 4.4), in which they pass along their Client ID and their credentials to authenticate themselves and get a token.