首页
关于
Search
1
在投射和录制时显示敏感信息写给TeamViewer,anydesk,向日葵
8,262 阅读
2
sublime 3155-3175 LICENSE
7,757 阅读
3
mysql存储过程&时间累加插入
7,639 阅读
4
永远不要相信浮点数结果精确到了最后一位,也永远不要比较两个浮点数是否相等。
4,439 阅读
5
mysql-workbench中duration fetch的含义
4,381 阅读
ubuntu
centos
sublime
php
mysql
JS
CSS
其他
chrome
redis
登录
Search
标签搜索
mysql
curl
grep
journalctl
rename
You can't specify target table
only_full_group_by
Sub-process
警示
dropbox
mtr
curl抓取重定向
floor
intval
ceil
round
pixmap
adwaita
date.utc
gmmktime
五好的Book
累计撰写
186
篇文章
累计收到
24
条评论
首页
栏目
ubuntu
centos
sublime
php
mysql
JS
CSS
其他
chrome
redis
页面
关于
搜索到
186
篇与
的结果
2018-11-30
让终端走socks代理比较靠谱的方法
export http_proxy="socks5://127.0.0.1:1080" export https_proxy="socks5://127.0.0.1:1080" 或者 export ALL_PROXY=socks5://127.0.0.1:1080 以上可能是搜索到比较多的结果,然而实践后没有用现在分享一个比较有用,经过实践确实有用而且使用的方法那就是安装 tsocks 这个软件sudo apt install tsocks sudo vi /etc/tsocks.conf 移动到最底部 修改为 server = 127.0.0.1 然后就可以需要用代理时 在命令前面加上 tsocks 即可比如:sudo tsocks apt update sudo tsocks apt upgrade 你可以试一下,看是否有用.
2018年11月30日
906 阅读
0 评论
0 点赞
2018-11-24
接受新事物gnome 现在已经可以替代unity
不过默认情况下(不安装gnome-shell扩展),还是不习惯,装了下面的扩展后,感觉已经可以很舒服的使用了,以下是我的扩展地址 :https://extensions.gnome.org/Coverflow Alt-Tab #切换程序更加拉风Dash to Dock #自定义设置dockEasyScreenCast #录屏功能Freon #硬件温度显示Gno-Menu #顶栏增加很有用快捷操作方式GSConnect #连接手机No Title Bar #最大化时干掉窗体的标题栏 美图OpenWeather #显示天气Screenshot Tool #截屏功能Sound Input & Output Device Chooser #声音输出选择最后来个整体视频sp.webm
2018年11月24日
4,026 阅读
2 评论
0 点赞
2018-11-16
清理binlog日志记录
mysql 长期运行下会产生很多日志记录,尤其是binlogroot@www:/var/lib/mysql# du -h * 4.0K auto.cnf 1.1G binlog.000016 1.1G binlog.000017 1.1G binlog.000018 1.1G binlog.000019 1.1G binlog.000020 1.1G binlog.000021 1.1G binlog.000022 1.1G binlog.000023 1.1G binlog.000024 1.1G binlog.000025 1.1G binlog.000026 1.1G binlog.000027 754M binlog.000028 4.0K binlog.000029 416M binlog.000030 4.0K binlog.index 以下方法来控制binlog的大小1.限制 binlog 日志文件存在时间 设置参数 expire_logs_days = 3; 只保留 3 天的日志文件 2.在mysql的shell里执行 reset master; 清空所有 binlog 文件 3.对于没有做主从的情况,直接在配置文件中注释log-bin=mysql-bin这个配置项 4.有主从配置的情况可以这样来操作 show slave status\G # 你首先要来 slave 上查看从库读 binlog 到了哪里 Master_Log_File: mysql-bin.000007 # 我们可以看到是 mysql-bin.000007 mysql> purge master logs to 'mysql-bin.000007'; # 我们可以在 master 中执行这条指令 , 将 binlog 文件删除至 mysql-bin.000007 前 mysql> purge master logs before '2018-11-16 00:00:00'; # 将 binlog 文件删除至此日期前
2018年11月16日
893 阅读
0 评论
0 点赞
2018-11-10
终端关闭后程序依然运行
nohup cmd & nohup: ignoring input and appending output to 'nohup.out'运行上面的命令后 会提示 当前目录下有一个 nohup.out的文件,保存追加输出的信息到该文件nohup 命令的解释用法:nohup 命令 [参数]... 或:nohup 选项 忽略挂起信号运行指定的命令。 --help 显示此帮助信息并退出 --version 显示版本信息并退出 If standard input is a terminal, redirect it from an unreadable file. If standard output is a terminal, append output to 'nohup.out' if possible, '$HOME/nohup.out' otherwise. If standard error is a terminal, redirect it to standard output. To save output to FILE, use 'nohup COMMAND > FILE'.
2018年11月10日
719 阅读
0 评论
0 点赞
2018-11-06
开启安卓手机网络调试功能
su setprop service.adb.tcp.port 5555 start adbd
2018年11月06日
837 阅读
0 评论
0 点赞
1
...
18
19
20
...
38