Emeditor

授权码 whyida/DMAZM-WHY52-AX222-ZQJXN-79JXH

配置

自定义工具栏

右键工具栏 -> 勾选启用标签页
勾上查找工具栏

设置文件打开时默认编码

所有配置 -> 文件 -> 文件打开时的编码 UTF-8

保存文件时自动转为utf8

所有配置 -> 文件 -> 保存 -> 选择编码 UTF-8 并且取消BOM标记

设置制表符格式

所有配置 -> 常规 -> 制表符缩进 -> tab宽度等于4个空格

区分显示CR与LF

所有配置 -> 标记 -> 使用不同标记显示CR和LF

使中文字清晰显示

字体 -> 脚本 -> 选择非西欧语言

取消自动复制

编辑 -> 取消自动复制

可选项

拼写检查

右键菜单勾选Check Spelling

快捷键

搜索

Ctrl + F3 搜索选中
Alt + F3 取消搜索选中

查看

Ctrl + 1 不换行
Ctrl + 2 按字符换行
Ctrl + 3 按窗口换行
Ctrl + I 查看字符代码值

编辑

Alt + N 每行前端加上自动编号
Shift + F5 Inserts date and time

====== 自定义快捷键(所有配置 -> 键盘) ======

编辑|日期时间 F5 设置插入当前日期时间
编辑|删除行尾空白符 Ctrl + Shift + Delete 移除行尾空白符
编辑|大写 Ctrl + Shift + X 选择文本转为大写
编辑|小写 Ctrl + Shift + Y 选择文本转为小写

参考

https://emeditor.com/

http://www.emeditor.org/zh-cn/index.html

推荐:偷懒利器 EmEditor - 1-2-3 - 博客园
https://www.cnblogs.com/1-2-3/archive/2008/05/05/EmEditor-Introduction.html

EmEditor教程、EmEditor怎么配置详细图文教程_西西软件资讯
http://www.cr173.com/html/25305_1.html

EmEditor的两个妙用
http://www.cnblogs.com/xiehuiqi220/archive/2009/05/17/1458995.html

Total Commander

Shortcut

1
2
3
4
5
6
7
8
9
10
11
12
F3			预览文件
F7 新建文件夹

Shift + F4 创建文件
Shift + F6 重命名

Ctrl + R 刷新
Ctrl + Down 定位命令行
Ctrl + P 填充当前目录路径至地址栏

Alt + Shift + Enter 显示文件夹大小
Alt + Enter 文件夹属性

参考

https://shortcutworld.com/Total-Commander/win/Total-Commander_8_Shortcuts

Configuration

Display -> Sorting directories -> Like files

Misc

1
2
3
4
cm_CopyNamesToClip		F9
cm_CopySrcPathToClip
cm_CopyFullNamesToClip F10
cm_EditPath Ctrl+L

管理文件方式

本地存储

存放内容

访问频率不高,容量较大。

  • 视频文件:电影、网络视频
  • 备份文件:虚拟机镜像、软件安装包

技术实现

  • Windows 网络共享

服务器存储

存放内容

访问频率高。

  • 图片、音乐
  • 电子书、网页内容存档
  • 文件临时同步空间

技术实现

  • iCloud

屏幕

px, pt, dp

iOS’ design measures in pts, Androids in dp, and design for the web is done in px but what do they mean and what is the difference?

px (Pixels)

ppi (Pixels Per Inch)

pt (Points)

dp (Density-independent Pixels)

CSS pixel (logical pixel)

a CSS pixel (logical pixel) is exactly equal to a physical pixel when viewed on a screen with 96 pixels/inch.

参考

dip (Dots per inch)

1 inch = 2.54 cm

  • 一般显示器为96左右
    • Desktop 23″ 1920×1080 = 96
    • Laptop 14″ 1920×1080 = 157
    • MacBook Air 13.3″ 1440×900 = 128
  • 喷墨打印机 300 - 720
  • 激光打印机 600 - 2400

22.5英寸16:10显示器dpi:

参考

Papersize

  • A4 96dpi = 794 x 1123
  • A4 72dpi = 595 x 842

参考

Windows 中运行 Nginx

Version of nginx for Windows uses the native Win32 API (not the Cygwin emulation layer). Only the select() and poll() (1.15.9) connection processing methods are currently used, so high performance and scalability should not be expected. Due to this and some other known issues version of nginx for Windows is considered to be a beta version. At this time, it provides almost the same functionality as a UNIX version of nginx except for XSLT filter, image filter, GeoIP module, and embedded Perl language.

运行

1
start nginx

查看nginx进程

1
tasklist /fi "imagename eq nginx.exe"

异常排查

参考