Sorting Subdirectories by Size
Sorting Subdirectories by Size
Sorting Subdirectories by Size
The article describe how to solve AttributeError in when using toktoken package.
In this article, I document the steps to enable audio playback on the Android Emulator and listen through Bluetooth devices on a Mac.
This document record my solution to using rclone to sync files from local machine to Google Driver failed issue when start the job from crontab.
This document shows how to self host AFFiNE
Generate structure without data with tree and python script.
Discover essential MacOS shortcuts to boost your productivity. From general commands and Finder navigation to window management and screenshots, this guide covers frequently used shortcuts and a few you might forget. Keep this handy for quick reference and streamline your MacOS experience.
Encountered issues with conversation title generation in ChatGPT Next Web after switching to GPT-4o? Learn how to resolve it by modifying the default model or using custom models, ensuring titles are generated correctly even without GPT-3.5 support.
Discover how to manage static assets in Ant Design Pro when using a Golang backend. Learn how updating the public path to /static/ can cause issues in development mode and how to resolve them by adjusting file references. Ensure your web app works seamlessly in both dev and release modes.
Managing multiple iOS app targets can be tricky, especially with localization. We faced an issue where renaming InfoPlist.strings disrupted app name localization. Discover how adhering to Xcode's conventions resolved this problem and ensured proper localization for different targets.
In our multi-flavored application, ensuring correct embedded data files for each build was challenging. We automated the data conversion script to run before building the app, preventing errors caused by manual oversight.
Encountered an issue with unsigned APKs? Our investigation revealed missing signingConfig in build.gradle.kts. By setting signingConfig directly within each product flavor, you can ensure your APKs are properly signed. Read on to see the solution and fix your build issues.
Makefile
In this installment of our Makefile series, we explore how to pass parameters to tasks, using the example of downloading JSON playlists from YouTube with youtube-dl. Learn how to enhance your Makefile to accept dynamic parameters, making your tasks more flexible and efficient.
Makefile
Learn how to run multiple commands within a subdirectory in a Makefile. By binding commands together using &&, you can ensure they execute in the same shell instance, allowing for more efficient task automation. Discover practical examples to enhance your Makefile usage.
Solutions
We use Storybook for Angular to document and test UI components. To simplify access for our team, I deployed Storybook on a server. Initially, I faced a build error but resolved it by using the command ./node_modules/.bin/ng run <pro>:build-storybook.
Solutions
Learn how to efficiently handle repetitive tasks in Makefiles by looping through API calls with parameter arrays. This guide demonstrates refactoring techniques to avoid command duplication and ensure smooth execution.
Ghost
Learn how to set up Ghost with Nginx as a reverse proxy and configure SSL. I faced issues with SSL redirects and theme previews, but resolved them by modifying Ghost's source code. Discover the problem and solution in this detailed guide.
vi
I often encounter a situation where I start editing a file as a normal user, only to realize that the file is read-only for my current user. Instead of closing the file and reopening it with elevated privileges, I prefer to save my changes directly. Here’s the method I
In our project, we have defined two dimensions: application (app) and store. For the app dimension, we have two instances: ‘app1’ and…
Today I find that one of my project consume more than 80G Project Storage, at first, I thought the project history consume this space, but…
There are many locations for the configuration files of systemd service, I want to know where are they and where to put my own…
Install percona server
Problem
Problem