Syncing User IDs in Your Dev Containers
Introducing PubCrank.com
A Better Template for Your Frontend on Fly.io
Setting the Default Sound Source and Sink on Ubuntu
Installing Tmux plugins on Ubuntu
I learned about Tmux plugins this weekend and they are pretty awesome! However, I didn’t find the correct instructions for setting them up quickly in Ubuntu. Most of the directions I found centered around installing manaully from Github. Below I listed the instructions for Ubuntu/Debian installation.
See the list of plugins on Github.
Installation
sudo apt install tmux-plugin-manager
echo "run '/usr/share/tmux-plugin-manager/tpm'" >> ~/.tmux.conf
exit and start tmux again
Installing plugins
- Add new plugin to
~/.tmux.conf
withset -g @plugin '...'
- Example:
set -g @plugin 'tmux-plugins/tmux-yank'
- Example:
- Press
ctrl-b (or prefix)
+ I (capital i, as in Install) to fetch the plugin.
You’re good to go! The plugin was cloned to ~/.tmux/plugins/
dir and sourced.
Using Vue 3 with Parcel JS
Making GraphQL Queries in Python Like a Boss
Using Docker Compose for Development without Going Crazy
Using WeatherKit with Python
Apple bought out the Dark Sky weather company in 2020. They plan on shutting down the Darky Sky API and replacing it with the new WeatherKit service. The WeatherKit service is now in beta and can be used to retrieve weather forecasts and current conditions.
The Dark Sky API was extremely easy to use and provided excellent weather data. The WeatherKit API functions much the same as the Dark Sky API, however, the authorization is very different and some what more difficult. You still need to an API token like the previous API. However, now generating the token is more complex. Below is a gist that lays out how to use the API in Python with explanations of some aspects of the usage following.