Skip to content

Instantly share code, notes, and snippets.

@trungvose
trungvose / nx-structure-angular-nestjs.md
Last active July 31, 2024 10:34
Nx workspace structure for NestJS and Angular

Nx

https://nx.dev/

Nx is a suite of powerful, extensible dev tools to help you architect, test, and build at any scale — integrating seamlessly with modern technologies and libraries while providing a robust CLI, caching, dependency management, and more.

It has first-class support for many frontend and backend technologies, so its documentation comes in multiple flavours.

Principles

@gwillem
gwillem / add-current-spotify-song-to-favorites.py
Last active September 16, 2021 00:48
Ubuntu: add current Spotify song to favorites (playlist)
#!/usr/bin/env python3
"""
gwillem@gmail.com
Read current playing track from D-BUS and add it to my favorites
playlist. Any previous instances of the same track on the playlist are removed.
I have mapped this script to the XF86Favorite key of my Microsoft Natural Keyboard.