Skip to content

Instantly share code, notes, and snippets.

View cseeman's full-sized avatar
🇺🇦

Christine Seeman cseeman

🇺🇦
View GitHub Profile
@cseeman
cseeman / markdown_examples.md
Created September 15, 2023 16:48
Markdown for info panel/warning box

Examples for how to create your own info panel, warning box and other decent looking notification in GitHub markdown.

All the boxes are single/two cell tables or two row tables.

Warning box

❗ You have to read about this
@cseeman
cseeman / client_credentials_flow.md
Last active January 14, 2023 20:54
OAuth 2.0 Client Credentials Grant Flow - Mermaid
sequenceDiagram;
    participant C as Client + Resource Owner
    participant A as Authorization Server
    participant R as Resource Server
    
    C->>A: 1. Request access token (POST /token) 
    A->>C: 2. Respone with access token
    C->>R: 3. Request with access token
 R->>C: 4. Response
@cseeman
cseeman / OAuth2.md
Last active December 20, 2022 21:25
OAuth 2.0 Flow in Mermaid
sequenceDiagram;
    participant C as Client
    participant O as Resource Owner
    participant A as Authorization Server
    participant R as Resource Server
    
    C->>O: requests authorization 
    O->>C: receives authorization grant
 C->>A: requests access token, presents grant
#
# ~/.gitconfig
#
[user]
name = Christine Seeman
mail =
email =
[alias]
asq = !sh -c 'git rip $1^ --autosquash' -
b = branch
can = commit -v --amend --no-edit
cgf = checkout Gemfile Gemfile.lock
ci = commit -v
cia = commit -v --amend
co = checkout
cp = cherry-pick
d = diff
@cseeman
cseeman / GitHub-Forking.md
Last active October 15, 2021 17:28 — forked from Chaser324/GitHub-Forking.md
GitHub Standard Fork & Pull Request Workflow

A forking rebase wokflow with GitHub is a common Git workflow, whether you're trying to work on open source or collaborating on work projects or your own.

Knowing how to properly fork and generate pull requests is essential.

It is easy to make mistakes when you're learning the process. In an attempt to gather this information for myself and others, this short tutorial for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

On the GitHub page and click the "Fork" button. Once you've done that, you can use your favorite git client to clone your repo or just head straight to the command line (my method of choice):

Keybase proof

I hereby claim:

  • I am cseeman on github.
  • I am cseeman (https://keybase.io/cseeman) on keybase.
  • I have a public key ASD1MmwBPtvTc80BHxKVo13loUbuQnLBElGdnEqkA1cbLQo

To claim this, I am signing this object: