See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
This neat little script let's you develop Express apps without using something like nodemon to reload your server between changes.
Usage:
dev.js
outside your project source folder, scripts/dev.js
is what I'm using.src/index.js
exports the Express instance itself without listening:import express from 'express'
{ | |
"title": "Leopold FC660 Capslock to FN w/ function keys and escape", | |
"rules": [ | |
{ | |
"description": "Map capslock to fn", | |
"manipulators": [ | |
{ | |
"conditions": [{ "type": "device_if", "identifiers": [{ | |
"product_id": 257, "vendor_id": 1204 | |
}]}], |
/* | |
# Clean UI programming in a vacuum | |
This app was written for Chapter 19 in the 3rd edition of Eloquent | |
JavaScript—it aims to demonstrate modern UI programming without | |
depending on a specific framework or library. | |
Its convention is that components have an interface like this: | |
``` |
# follow https://www.addictivetips.com/ubuntu-linux-tips/how-to-install-arch-linux/, except: | |
# - use `/dev/sdb` | |
# - let ext4 get 100%, not swap | |
# - ditch grub for systemd-boot, see https://www.addictivetips.com/ubuntu-linux-tips/set-up-systemd-boot-on-arch-linux/ | |
# - in install step swap `xorg-server-utils` for `xorg-apps` -- just in case also install `dialog`, `dhcpcd`, `linux-firmware` and `wpa_supplicant` | |
# also see: https://wiki.archlinux.org/index.php/Installation_guide | |
# bluetooth | |
sudo pacman -S bluez bluez-utils | |
systemctl enable bluetooth |
tips to evolve as a developer
developers get stuck, paralized
https://www.oreilly.com/library/view/apprenticeship-patterns/9780596806842/ch04.html
Make It Stick https://www.amazon.com.br/Make-Stick-Science-Successful-Learning/dp/0674729013
# Common taps | |
tap "homebrew/cask-versions" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-drivers" | |
tap "homebrew/core" | |
# Runtimes - python | |
brew "[email protected]" | |
brew "pylint" |