Home

macOS 键盘映射

macOS 键盘映射 CapsLock键没有什么用, 但是位置很好, 可以把该键改成其它键. 如Escape键 1. 去掉CapsLock系统功能 System Preferences -> Keyboard -> Modifier Keys 把CapsLock键设置成 no Action 2. 按键映射 1. 安装brew cask install karabiner-elements 2. simple modification 3. caps_lock to escape Reference

Read more

Linux 配置静态IP

Linux 配置静态IP 配置文件在/etc/sysconfig/network-scripts, 该目录下找到网卡对应的配置文件, ifcfg-enp2s0 BOOTPROTO=”dhcp” 动态IP BOOTPROTO=”static” 静态IP IPADDR=”192.168.3.30” GATEWAY=”192.168.3.1” NETMASK=”255.255.255.0” DNS1=”192.168.3.1” DNS2=”8.8.8.8” ZONE=”public” 使用路由器绑定IP 使用路由器提供的静态IP地址绑定功能 静态IP设置后, 需要手动设置DNS 静态IP设置后, DNS就不能自动获取了 Reference

Read more

macOS Finder 设置

macOS Finder 设置 1. 显示隐藏文件 早期的OS X(10.6~10.8): defaults write com.apple.Finder AppleShowAllFiles Yes && killall Finder //显示隐藏文件 defaults write com.apple.Finder AppleShowAllFiles No && killall Finder //不显示隐藏文件 OS X 10.9 Mavericks版本之后: defaults write com.apple.finder AppleShowAllFiles Yes && killall Finder //显示隐藏文件 def...

Read more

Svn ignore

Svn ignore 在项目根目录新建文件.svnignore,内容为要忽略的文件和文件夹 ViconCommunity.xcworkspace/* ViconCommunity.xcworkspace Podfile.lock Pods/* Pods ViconCommunity.xcodeproj/project.xcworkspace/xcuserdata ViconCommunity.xcodeproj/project.xcworkspace/xcuserdata/* .DS_Store .swp .git .git/ .gitignore README.en.md README.md 在终端执行添加忽略文件: svn...

Read more

Androidd 合并Manifest

Androidd 合并Manifest 官方文档 Merge multiple manifest files 1. 查看Minifast哪个位置冲突 ./gradlew assembleDebug –stacktrace -info uses-sdk conflict 方法一: 修改成功一样的版本 方法二: 使用`` Reference

Read more