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" |
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
# 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 |
/* | |
# 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: | |
``` |
{ | |
"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 | |
}]}], |
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'
# The ID of your GitHub App | |
APP_ID= | |
WEBHOOK_SECRET=development | |
# Uncomment this to get verbose logging | |
# LOG_LEVEL=trace # or `info` to show less | |
# Go to https://smee.io/new set this to the URL that you are redirected to. | |
# WEBHOOK_PROXY_URL= |
function getAuthToken(interactive, cb) { | |
chrome.identity.getAuthToken({ | |
interactive: interactive, | |
// must use the exact same scopes used to submit the license or the token shits | |
scopes: | |
['https://www.googleapis.com/auth/userinfo.profile', | |
'https://www.googleapis.com/auth/userinfo.email', | |
'https://www.googleapis.com/auth/chromewebstore.readonly'] | |
}, |