See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
// https://gist.github.com/tkrotoff/b0b1d39da340f5fc6c5e2a79a8b6cec0 | |
// WTF! | |
// parseFloat('-0') => -0 vs parseFloat(-0) => 0 | |
// -0 === 0 => true vs Object.is(-0, 0) => false | |
const minus0Hack = (value: number) => (Object.is(value, -0) ? '-0' : value); | |
export const operators: { | |
[operator: string]: | |
| { |
See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
# stop active raid
mdadm --stop /dev/md[01]
# destroy partition table on hdds
dd if=/dev/zero of=/dev/sda bs=1M count=512
dd if=/dev/zero of=/dev/sdb bs=1M count=512
dd if=/dev/zero of=/dev/sdc bs=1M count=512
dd if=/dev/zero of=/dev/sdd bs=1M count=512
Many different applications claim to support regular expressions. But what does that even mean?
Well there are lots of different regular expression engines, and they all have different feature sets and different time-space efficiencies.
The information here is just copied from: http://regular-expressions.mobi/refflavors.html
class HttpUrl | |
ALPHA = "[a-zA-Z]" | |
DIGIT = "[0-9]" | |
DIGITS = "#{DIGIT}+" | |
SAFE = "[-$_.+]" | |
EXTRA = "[!*'(),]" | |
ALPHADIGIT = "[a-zA-Z0-9]" | |
TOPLABEL = "#{ALPHA}(#{ALPHADIGIT}|-)*#{ALPHADIGIT}|#{ALPHA}" |