Skip to content

Instantly share code, notes, and snippets.

View kkarasek's full-sized avatar

Kuba Karasek kkarasek

  • Flügger group A/S
  • Copenhagen
  • 13:16 (UTC +02:00)
View GitHub Profile
@ashx3s
ashx3s / components.md
Last active January 24, 2024 12:25
Nuxt 3 Abbreviated Guide

Components in Nuxt

  • All vue components will work in nuxt
  • Unlike regular vue, you do not need to import child components into other components that is handled by the config
  • Use props and slots to render content in a component

Props

  • Documentation
  • Props are used to pass information from a parent to a child component
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 18, 2025 02:45
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@sharoonthomas
sharoonthomas / date_time_tz_mess.py
Created August 19, 2016 13:22
Difference between using pytz.localize and datetime.replace
from datetime import date, time, datetime
import pytz
pacific = pytz.timezone('US/Pacific')
eastern = pytz.timezone('US/Eastern')
def get_naive_date_time():
date_start = date(2016, 9, 16)
time_start = time(10, 0)
@AdamMarsden
AdamMarsden / sassas.md
Last active March 30, 2025 15:13
Sass Architecture Structure

Sass Architecture Structure

sass/
|
|– base/
|   |– _reset.scss       # Reset/normalize
|   |– _typography.scss  # Typography rules
|   ...                  # Etc…
|
@llkats
llkats / cheatsheet.md
Last active April 18, 2025 05:44
git cheatsheet

git flow feature start <branchname>
starts a new branch

git commit -am "commit message"
make commits as usual

git pull
from master branch, pull in latest changes from the repo (repeat often)

git pull origin <branchname>