Blog
Technical notes and oddities through the times. Also available via RSS.
2024
2023
2022
2021
- What is Babel?
- Git: Use
--color-words
for diff by default - AppleScript: Get connected VPN names from Tunnelblick
- Bash: Using
flock
to ensure parallel scripts perform an action only once browserslist
default values- Japt: Playing with primes
- Typescript
Array.filter(Boolean)
eslint-plugin-flowtype-errors
keeps spawning and killingflow
processes@testing-library/user-event
'stype()
is slow- Typescript: Allow any type except specific values
- Japt: Count overlapping substrings
- Annotating legacy jQuery plugins with Typescript
- Typescript generics in JSX
- Typescript 4.1: Template literal types, computed property names, and more
- Javascript: case sensitive string compare
- React & Typescript: Using
React.Children.toArray()
withReact.cloneElement()
- Bash: Using a default value with
$*
2020
- Javascript
Boolean.compare()
- Github Actions: cache
yarn install
osc
cheatsheet for OBS- Using AMD modules in Stack Overflow snippets
- VirtualBox network modes
- macOS: App sandboxing via
sandbox-exec
- Cypress:
cy.readFile()
vscy.fixture()
- macOS: Safely installing Microsoft Intune
- macOS: pip install M2Crypto
- macOS:
bsdcpio
vs GNUcpio
- Bash: Pipe command output to stdout and file
- VBoxManage: Start and stop headless VMs
- Echo into a file with root permissions
- macOS Catalina: VirtualBox crashes on Linux VM boot
- Git: Revert file to master
- macOS: Run script on startup
- Git: Autosign commits
- macOS: Switching between OpenVPN and NextDNS automatically
- App recommendation: Next Meeting
- Git: Keep file but ignore changes
- CentOS 7: redirect port 80 to port 8080
- Vue CLI: Debugging Jest unit tests with Chrome Node devtools
- Vetur: Using workspace snippets
ts-node-dev
binds to stdin via readline by default- Typescript: Async user-defined typeguards
- Adding Vuepress to a Vue CLI project with Typescript
- Typescript optional chaining and ESLint `no-unused-expressions`
- Jest: TypeError: Cannot read property 'default' of undefined
- Yup: Type 'StringSchema<string>' is not assignable to type 'Ref | Schema<Sample>'.