ByteNote LogoByteNote

Navigation

  • Blog
  • 工具

    © 2025 ByteNote. All rights reserved.

    Mac alias 别名设置

    May 7, 20222 min read

    Mac alias 别名设置

    #alias for single command
    alias python=python3.7
    
    #alias for full path
    alias python='/Library/Frameworks/Python.framework/Version/3.7/bin/python3'
    
    #alias for command with options
    alias la='ls -la'
    

    相关文章

    docker-compose wait on other service before build

    To ensure a service in Docker Compose starts only after another service is fully operational, use `depends_on` with `healthcheck` to monitor readiness.

    WSL中后台运行Ollama

    在WSL中,可以使用`nohup`、`screen`或`tmux`工具来后台运行Ollama服务,并可通过特定命令检查其状态。

    Flutter GetX 简单状态管理器例子

    Flutter GetX 示例展示了如何使用自定义 `Controller` 类进行状态管理,通过 `GetBuilder` 更新视图,并在不同作用域中使用 `Get.find()` 访问 `Controller`。

    如何连接Microsoft todo 和苹果生态?

    要将Microsoft ToDo与苹果设备连接,需下载应用、登录Microsoft账户、添加并验证服务账户,然后可同步任务至日历。

    @Autowired注解实现自动化注入

    @Autowired注解用于自动化注入bean,默认通过类型查找,支持属性或set方法级别的声明,可结合@Qualifier通过指定value属性值精确查找bean。