分类
Develop linux mysql Uncategorized 系统维护

Bash 下不能输入中文的问题

影响的可能不止bash,还可能连带mysql的console也不能输入中文并且在导入有中文的数据的时候报 &# […]

分类
Develop Site 系统维护

Memo for Nginx Configuration

Nginx is a widely used web service, another comparable […]

分类
Develop linux 系统维护

Release the disk space taken by deleted but open files in linux

In linux, disk spaces can be taken by files which are o […]

分类
Develop linux 系统维护

Linux find files with timestamp

Touch a tmp file with the timestamp as needed. $ touch […]

分类
Develop linux mysql 系统维护

Mysql backup and restore

Backup This is for selected database(s) backup: mysqldu […]

分类
Develop mysql 系统维护

Fix mysql slave replication without mysqldump

The problem. We have a double masters mysql settings as […]

分类
Develop 系统维护

Faster Dock in Mac OSX

This makes the animation faster defaults write com.appl […]

分类
Develop 系统维护

Remapkey by Microsoft

Official remapkey.exe by MS. To edit the hardware keys […]

分类
Develop 系统维护

Manage User Group in Mac

List all users dscl . list /users dscl . readall /users […]

分类
Develop 系统维护

Modify $PATH in Docker

Tried many methods but only this works: Use docker file […]

分类
Develop mysql 系统维护

Mysql Error: Table ‘performance_schema.session_variables’ doesn’t exist [Solved]

Got a mysql error: Table ‘performance_schema.session_va […]

分类
Develop 系统维护

SSH Timeout and Non-password Login

There are some inconveniences login via ssh. Timeout Th […]

分类
Develop 系统维护

Burn bootable ISO file into U-Disk in Mac OSX Yosemite

1 Open DiskUtil and format your u-disk with FAT format […]

分类
系统维护

Hide ‘Others’ on the login screen of Mac OS X

Run following command in Terminal: sudo defaults write […]

分类
Develop 系统维护

Config ssh access with apache

First, generate the ssh keys and the certificate. We us […]

分类
Develop linux 系统维护

Cron

Cron在Linux系统中用于计划任务。 举个例子 0 */2 * * * date >> /var/log/ […]

分类
Develop 系统维护

How to customize screen resolution in windows7 with ATI graphics card

Recently, I brought a Dell U2713HM display, with resolu […]

分类
Develop 系统维护

如何安装三分区Mac和Windows双操作系统

分区情况 我装好系统后分区是这样的: 1.EFI,200M,保留分区,这个不用管。 2.Windows系统分区 […]

分类
Develop 系统维护

Mac下修改终端提示符

环境变量PS1中存放的就是终端提示符的格式,可以通过这个命令来查看: echo $PS1 环境变量PS2是换行 […]

分类
Develop 系统维护

被路由器断开VPN连接

换了一个路由器之后,VPN就工作不正常了,连接vpn之后1、2秒,就报错说:“被通讯设备断开连接” 这让我怎么 […]

分类
Develop 系统维护

Solve Discuz Forum Error 114: Table ‘forum_thread’ is marked as crashed and autorepair failed

Just now, I reboot the server, and after that the Discu […]

分类
Develop 系统维护

Macbook Pro Retina 黑屏

昨天开始,用着用着MBPR就黑了,然后各种折腾,按电源键,开合屏幕。之后有时候点按之后5-6s,会一闪大概2s […]

分类
Develop 系统维护

当遇到了“文件目录损坏且无法读取”的时候怎么办?

今天备份文件的时候,把移动硬盘从路由器拔下来,插到台式机上,直接弹出一个对话框: “是否需要格式化硬盘” 下面 […]

分类
Develop 系统维护

windows7下有时候出现不能自动给移动设备分配盘符

这两天遇到诡异的问题,移动硬盘或者u盘插上之后,系统没有自动分配盘符,非得自己去磁盘管理里面手动分配。 今天百 […]

分类
Develop 系统维护

在windows7下用diskpart命令行工具将大容量分区格式化为exfat并且指定分配单元大小

警告!!! 最好别用exfat格式为硬盘分区,会丢分区的····(我已经丢了3次了,还好备份做得充分,现在用N […]