See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
#!/bin/bash | |
# +----------------------------------------------------------------------+ | |
# | | | |
# | Mount the root file system / with the option noatime | | |
# | | | |
# | By Philipp Klaus <http://blog.philippklaus.de> | | |
# | Tip found on <http://blogs.nullvision.com/?p=275> | | |
# | | | |
# +----------------------------------------------------------------------+ |
// Implementation in ES6 | |
function pagination(c, m) { | |
var current = c, | |
last = m, | |
delta = 2, | |
left = current - delta, | |
right = current + delta + 1, | |
range = [], | |
rangeWithDots = [], | |
l; |
I would like to demonstrate some of the benefits of scoped styles over mobile-first CSS with overrides for wider breakpoints. I'll start by explaining the two approaches, before listing the benefits.
h2 {
color: black;
font-size: 2em;
Emoji | Name | Text example |
---|---|---|
🚀 | Rocket | You're up |
📦 | Package | Installing additional dependencies... |
⚓ | Hook | Running completion hooks... |
📄 | Document | Generating README.md... |
🎉 | Party | Successfully created project hello-vue. |
👉 | Next | Get started with the following commands: |
✔ | Tick | Task completed |
✨ | Magic | Assembling project... |
/** | |
* stripNulls | |
* https://gist.github.com/erikpukinskis/52e5e72f3625c89adc3b84e5b679deff | |
* | |
* Copyright 2023 Erik Pukinskis | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy of | |
* this software and associated documentation files (the “Software”), to deal in | |
* the Software without restriction, including without limitation the rights to | |
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
name: 'Auto Commit Prettier' | |
on: | |
pull_request: | |
branches: ['main'] | |
jobs: | |
auto-commit: | |
name: 'Auto Commit' | |
runs-on: ['ubuntu-latest'] |