Tag: bash
I wanted to quickly overview the word count on my blog posts to roughly
calculate the possible translation count and here's a one-liner I have come
up with: ``bash
find . -maxdepth 1 -type f -name "*.md" -exec printf "{} " \; -exec ~/.local/bin/mwc {} \; | awk '{print $2 " " $1}'... It is possible to set the global npm config via the global switch ``bash
short version
npm config set init-version "0.0.1" -g long version
npm config set init-version "0.0.1" --global
` The location of the global npm config in nvm is tied to node version,
rendering it unsuitable... After my previous attempt to get
published date and the edited date of the post that lives entirely in the
git somehow reached the dead end because I could not reliably find out how
to handle renames, I have finally found a working way.
Start by preparing a file with a git histor... There is a more updated method I use now descried in the
part 2. Here's way I use to prevent pushing changes when some of the Cypress tests
are being skipped
Install required packages ``bash
npm i -D cypress husky start-server-and-test
`
Define your dev script in package.json if... Accessing raw filesystem image partitions without the need to specify the
offset and size manually ``bash
udisksctl
sudo pacman -S udisks2
man 1 udisksctl losetup
sudo pacman -S util-linux
man 8 losetup
` udisksctl Root permissions are not required `bash
udisksctl loop-setup --re... With my online course building journey, I had to keep track of the slides
it has. My coach has set me goal and it looked like a really hard one to
reach, but it seemed doable. I wanted it to be a challenge. By some numbers
I got from the previous month, I came up to the conclusio... Have you ever wondered what is the reason people run self-hosted solutions,
even though they copy or imitate services or tools thay are battle
hardened, proven to work well and mostly free? There is something really powerful behind such endeavour. It always takes
some time to set...