MENU

各种各样的备忘录

March 28, 2019 • Read: 784 • 教程

记录一些偶尔需要用到的知识和自己觉得不错的软件/插件/网站,不定时更新

Java环境变量配置

#我的电脑---属性---高级---环境变量
JAVA_HOME--->JDK的安装路径
PATH--->文本框的起始位置添加 %JAVA_HOME%\bin;

Windows照片查看器

@echo off&cd\&color 0a&cls
reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f
reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpeg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f
reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".bmp" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f
reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".png" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f
reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".gif" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f
echo 请双击或右击图片,选择“照片查看器”即可
pause

Shadowsocks 一键安装脚本(四合一)

#一键安装 Shadowsocks-Python, ShadowsocksR, Shadowsocks-Go, Shadowsocks-libev 版(四选一)服务端
wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh
chmod +x shadowsocks-all.sh
./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log

Host文件

地址: C:\WINDOWS\system32\drivers\etc\hosts

默认内容:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

刷新: ipconfig /flushdns

目录树

#当前目录
tree /f >treefile.txt

软件

  • RaiDrive :将网盘挂载映射为电脑本地硬盘的免费工具
  • 1Password :最佳跨平台电脑手机账号密码管理工具软件
  • Snipaste :Win10 Store自带的免费截图工具
  • MathType :强大的数学公式编辑器
  • PicGo :免费开源的图片上传与管理工具

插件(chrome)

  • Tampermonkey :免费的浏览器扩展和最为流行的用户脚本管理器(需要代理)
  • Autofill :自动填充表单

    • 随机生成n位数字: {#n}
    • 随机生成n位字符串: {$n}
    • 递增: {1++}
    • 递减: {1000--}
    • 随机选取某个选项: {a|b|c|d}
    • 这样一种场景: 确认密码 文本框的值,必须等于 密码 文本框的值,可以通过填写 配置文件名称内容 的值来解决
  • IDM(internet download manager) :优秀的下载工具

网站

Last Modified: May 20, 2019
Archives QR Code Tip
QR Code for this page
Tipping QR Code
Leave a Comment

3 Comments
  1. https://www.baiduwp.com/
    pandownload网页版 可以下载 嘻嘻

    1. @绿帽子大学大一学长Server酱的通知失灵了,不过你真是个小机灵鬼#(鼓掌)

  2. bug_baba bug_baba

    我喊666@(太开心)