会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liansng
博客园
首页
新随笔
联系
订阅
管理
2022年12月3日
Google Chrome 自定义快捷键
摘要: 1. chrome应用商店下载插件 Shortkeys 2. 进入chrome扩展自定义快捷键功能页面: chrome://extensions/shortcuts。找到自己想要修改的快捷键,点击小铅笔完成修改,即可生效。
阅读全文
posted @ 2022-12-03 10:31 liansng
阅读(3287)
评论(0)
推荐(0)
2022年11月24日
idea terminal Ctrl + v 不能复制选中的内容 解决方法
摘要:
阅读全文
posted @ 2022-11-24 18:32 liansng
阅读(40)
评论(0)
推荐(0)
2020年1月2日
Linux 3306端口不通
摘要: vim /etc/sysconfig/iptables 增加配置行:-A INPUT –m state --state NEW –m tcp –p –dport 3306 –j ACCEPT 重启防火墙:systemctl restart iptables
阅读全文
posted @ 2020-01-02 16:02 liansng
阅读(2114)
评论(0)
推荐(0)
scp 两台linux机器间文件或目录传输
摘要: 使用SCP命令: scp [参数] [原路径] [目标路径] scp 本地用户名 @IP 地址 : 文件名 1 远程用户名 @IP 地址 : 文件名 2 示例: scp local_file remote_username@remote_ip:remote_folder 指定端口的示例: scp -
阅读全文
posted @ 2020-01-02 15:59 liansng
阅读(284)
评论(0)
推荐(0)
php.ini地址
摘要: 查看当前加载的配置文件 php --ini 查看web模式下php加载的配置文件 phpinfo();
阅读全文
posted @ 2020-01-02 15:56 liansng
阅读(139)
评论(0)
推荐(0)
git删除分支
摘要: 删除分支: git branch -d [branch_name] 忽略警告删除分支: git branch -D [branch_name] 批量删除分支: git branch | grep “steven_” | xargs git branch -d
阅读全文
posted @ 2020-01-02 15:54 liansng
阅读(207)
评论(0)
推荐(0)
Mac配置的环境变量不生效
摘要: Mac 每次都要执行source ~/.bash_profile 配置的环境变量才生效 自己在 ~/.bash_profile 中配置环境变量, 可是每次重启终端后配置的不生效.需要重新执行 : $source ~/.bash_profile 发现zsh加载的是 ~/.zshrc文件,而 ‘.zsh
阅读全文
posted @ 2020-01-02 15:53 liansng
阅读(2640)
评论(0)
推荐(0)
max file descriptors [65535] for elasticsearch process is too low
摘要: 解决办法: 切换到root用户修改 vim /etc/security/limits.conf # 在最后面追加下面内容 xx hard nofile 65536 xx soft nofile 65536 xx 是你启动某个服务的的用户名称
阅读全文
posted @ 2020-01-02 15:51 liansng
阅读(469)
评论(0)
推荐(0)
max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
摘要: 解决办法: sudo vim /etc/sysctl.conf 添加或者修改下面配置: vm.max_map_count=655360 执行命令: sysctl -p
阅读全文
posted @ 2020-01-02 15:50 liansng
阅读(832)
评论(0)
推荐(0)
代码优化原则
摘要: 减少网络接口请求,减少文件读取,减少数据库读取,尽量在内存中完成逻辑 因为:读写内存<<读写数据库<<读写磁盘<<读写网络数据
阅读全文
posted @ 2020-01-02 15:49 liansng
阅读(301)
评论(0)
推荐(0)
下一页
公告