西维蜀黍

【macOS】远程控制

  ...


【OpenWrt】查看已连接设备

查看通过无线/有线连接的设备

Approach 1

$ cat /proc/net/arp
IP address       HW type     Flags       HW address            Mask     Device
192.168.0.1      0x1         0x2         **:95:**:5c:**:79     *        eth0.2
192.168.1.242    0x1         0x2         **:6c:**:77:**:40     *        br-lan
192.168.0.124    0x1         0x0         **:00:**:00:**:00     *        eth0.2
192.168.1.198    0x1         0x2         **:8d:**:5a:**:3c     *        br-lan
  • Flags标志可以表示是否在线状态,0x0表示离线,标志0x2表示在线
  • Device表示接口的名称
  ...


【Ubuntu】效率

Shutcut

Switch windows

  • Ctrl + `: Switch windows of an app directly
  • Super + `: Switch windows of an application

Move windows

  • Shift + Super + ←: Move the current window one monitor to the left.
  • Shift + Super + →: Move the current window one monitor to the right.
  • Shift + Super + ↑: Move window one monitor up
  • Shift + Super + ↓: Move window one monitor down
  • Shift + Super + Page Down: Move window one workspace down
  • Shift + Super + Page Up: Move window one workspace up

Windows

  • Alt+F4: Close window
  • Super+H: Hide window
  • Super+↑: Maximize window
  • Super+↓: Restore window
  • Super+←: View split on left
  • Super+→: View split on right
  • Alt + Enter: Toggle fullscreen mode

Switch workspace

  • Super+Page Up: move to the workspace shown above the current workspace in the workspace selector.
  • Super+Page Down: move to the workspace shown below the current workspace in the workspace selector.
  • Shift+Super+End: Move window to last workspace
  • Shift+Super+Home: Move window to workspace 1

Getting around the desktop

  • Alt+Esc: Switch between windows in the current workspace. Hold down Shift for reverse order.
  • Super+A: Show the list of applications.

Misc

  • Super+L: Lock the screen.
  • Super+V: Show the notification list. Press Super+V again or Esc to close.
  • Super + D: Show/Display desktop
  • ctrl + alt + T: open a new Terminal window

Common editing shortcuts

  • Ctrl+A: Select all text or items in a list.
  • Ctrl+X: Cut (remove) selected text or items and place it on the clipboard.
  • Ctrl+C: Copy selected text or items to the clipboard.
  • Ctrl+V: Paste the contents of the clipboard.
  • Ctrl+Z: Undo the last action.

Typing

  • Super+Space: Switch to next input source
  • Shift+Super+Space: Switch to previous input source

Accessibility

  • Ctrl + Alt + =: Increase text size
  • Ctrl + Alt + -: Decrease text size

Software

Daily

Software Market

  ...


【Windows】U盘安装 Windows Server

Build USB-stick

  ...


【Windows】WSL 管理

Restart Ubuntu

# PowerShell (admin)
Restart-Service LxssManager

# or CMD (admin)
net stop LxssManager
net start LxssManager
  ...


【Windows】操作 - 使用SMB

Windows 挂载SMB硬盘到本地

$ net use D: \\192.168.18.67\SWPool\SW\myBlogV2

In order to later disconnect the share, you would use

$ net use X: /delete
  ...


【Windows】效率

Software

Daily

  • sogou

  • chrome

  • winrar

  • Typora

  • spotify

  • ISO

    • balenaEtcher
    • UltraISO
    • Rufus
  • Teamviewer

  • f.lux

  • Resilio Sync

  • PDF -

  • PicPick

  • Office

  • 文件对比

  • VMware Workstation

  • 百度云

  • 调节亮度

  • DrawIO

  • WeChat

  • 有道

  • 旺旺

  • Zoom

  • WhatsApp

  • Firefox

  • Grammarly

  • PotPlayer

  • 屏幕亮度调节 - Twinkle Tray

  • 控制各个软件音量 - EarTrumpet

  • 调节低音 - FX Sound

  ...


【Windows】路由表

  ...


【Router】Padavan - 配置无线桥接(AP Bridge)/无线中继

Context

你的副路由器不需要连接将网线连接到WAN口,而是,副路由器通过连接到主路由器发射的WIFI信号,从而提供给连接到副路由器的设备连接到主路由器,从而能够连上互联网(通常来说)。

  ...


【Router】Padavan - 配置有线中继/桥接

Context

我的红米路由器只是一个AP,并不负责路由工作,网线连接到WAN口,由路由器发射的WIFI信号,从而提供给连接到路由器的设备连接互联网。

  ...