Skip to content

Instantly share code, notes, and snippets.

View leonheess's full-sized avatar
🚑
.

Leon Heess leonheess

🚑
.
View GitHub Profile
@loilo
loilo / pass-slots.md
Last active May 20, 2024 09:37
Vue: Pass Slots through from Parent to Child Components

Vue: Pass Slots through from Parent to Child Components

The Situation

  • We've got some components A, B and C which provide different slots.
    const A = {
      template: `<div><slot name="a">Default A Content</slot></div>`
    }

const B = {

@RichardBronosky
RichardBronosky / Storing-git-Credentials.md
Last active July 30, 2023 05:34
Storing git Credentials
@sliceofbytes
sliceofbytes / txt-to-google-keep-notes.py
Created February 14, 2018 22:16
Add Text Files as Google Keep Notes
#Import a directory of text files as google keep notes.
#Text Filename is used for the title of the note.
import gkeepapi, os
username = 'username@gmail.com'
password = 'your app password'
keep = gkeepapi.Keep()
success = keep.login(username,password)
@eyecatchup
eyecatchup / git-commit-log-stats.md
Last active May 22, 2024 12:19
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.