DNACore GitHub io
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
一个分享交流知识和技术的网站

macOS-zsh

zsh options https://zsh.sourceforge.io/Doc/Release/Options.html 查看内置命令帮助man zshbuiltins .zshrc文件1234567setopt no_nomatch# 兼容 .bash_profilesource ~/.bash_profile# 如果命令是一个目录的话,自动执行 cd 命令setopt AUTO_
2022-01-10
#macOS #zsh

macOS-NSFileHandle之stdout,stderr

参考:How can I output to STDERR with Swift? stderr: NSFileHandle.fileHandleWithStandardError()或者 123+ (void)logerr:(NSString *)msg{ fputs([msg cStringUsingEncoding:NSUTF8StringEncoding], stder
2022-01-10
#NSFileHandle #stdout #stderr #stdin

树莓派-关闭树莓派指示灯

方式一:执行下面的命令,可以立即更改led灯的设置,但是重启或关机后需要重新设置: 123456789echo 0 | sudo tee /sys/class/leds/led0/brightness # led0 绿灯 状态灯echo none | sudo tee /sys/class/leds/led0/triggerecho none | sudo tee /sys/class/le
2021-12-29
#树莓派

macOS-监视文件夹

[文件夹操作设置](/System/Library/CoreServices/Applications/Folder Actions Setup.app) https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutoma
2021-12-10
#macOS

macOS-禁用App Store的通知

macOS 上的 App Store 总是时不时会显示通知提示你又有App需要更新了。而且,系统设置里面的通知管理,并没有列出 App Store 这个程序。这样就没办法直接禁用通知了。 虽然不能直接禁用,但是可以把上次 App Store 发送通知的时间调整到一个未来很远的日期。。。 打开终端(Ternimal)执行下面的命令: 1defaults write com.apple.appstor
2021-11-30
#macOS #AppStore

Linux-Linux中的locale

Linux下的Locale详解 列出所有支持的公共位置串locale -a 命令显示一个位置键的具体设置locale -ck LC_MONETARY 其它Linux-Debian设置语言
2021-11-22
#Shell #Linux #locale

树莓派-树莓派控制台raspi-config

https://www.raspberrypi.com/documentation/computers/configuration.html#raspi-config
2021-11-12
#树莓派

树莓派-树莓派装机指南

一 系统下载安装树莓派-官方刷系统教程 二 启动系统前的配置 开启 ssh 连接配置树莓派-开启ssh连接 三 启动系统后的配置 树莓派基础设置树莓派-树莓派基础设置 四 编辑树莓派的 config.txt 文件树莓派-树莓派的BIOS-config-txt 五 安装常用的软件和软件包 流量监控 vnstat PT/BT 下载 transmission 树莓派文档树莓派 GPIO1
2021-11-12
#树莓派

树莓派-优化内存卡读写

使用 Linux 的 noatime,nodiratime 挂载选项 在Linux系统中,noatime和nodiratime是文件系统挂载选项,用于优化性能,特别是在涉及大量文件访问的场景中。 noatime 功能:noatime选项用于禁用对文件访问时间(access time)的更新。默认情况下,每次读取文件时,系统都会更新文件的访问时间戳,这会导致额外的写操作。 使用场景:适用于不需要
2021-11-08
#树莓派

Windows-更改WSL安装位置

https://vpraharsha3.medium.com/installing-wsl-distro-to-a-different-custom-location-30d101f04113 https://www.jianshu.com/p/daccc4f172fd https://docs.microsoft.com/en-us/windows/wsl/install-manual
2021-10-28
#Windows #WSL
1…89101112…21

搜索

Hexo Fluid