Mysql Server挂掉了,重启总是失败,异常提示: Starting MySQL.The server quit without updating PID file (/[FAILED]l/mysql/data/VM_1232.pid). 查看日志文件后发现有这么一段[ERROR]。 [ERROR]InnoDB: Cannot allocate memory for the buffer pool. 先不说这段ERROR,这段error只是说明了为什么mys ...
阅读全文Ace Anchor BackgroundTokenizer Document EditSession Editor Range Scrollbar Search Selection TokenIterator Tokenizer UndoManager VirtualRenderer Ace API Reference Welcome to the Ace API Refe ...
阅读全文根据 https://github.com/nvm-sh/nvm 安装NVM时(Mac环境),安装完后执行nvm ls-remote返回N/A. (应该列出remote的nodejs版本信息)。 这是我的网络环境使用了proxy,设置代理后解决问题。 export http_proxy=http://proxyhost:port export https_proxy=http://proxyhost:port 这是我的case, 其他原因可以参考htt ...
阅读全文Between the quotation marks of export PS1=” “, you can add the following lines to customize your Terminal prompt: \d – Current date \t – Current time \h – Host name \# – Command number \u – User ...
阅读全文为了对CKEDITOR编辑控件有更多的了解,简单抓取了其产生的页面中定义的CSS。主要想看看如何更好的对其更改样式,从而做到真正的WYSWYG。 抓取的这部分可以分为三大块: CKEDITOR可编辑区对应的CSS: .cke_editable{cursor:text} .cke_editable img,.cke_editable input,.cke_editable textarea{cursor:default} CKEDITOR命令菜单对应的CSS。 ...
阅读全文1、按 delete 键,实现 Windows 键盘上退格键的功能,也就是删除光标之前的一个字符(默认); 2、按 fn+delete 键,删除光标之后的一个字符; 3、按 option+delete 键,删除光标之前的一个单词(英文有效) 4、按 command+delete 键,删除光标之前整行内容; 5、选中文件后按 command+delete,删除掉该文件; ...
阅读全文版权声明:本文为木偶人shaon原创文章,转载请注明原文地址,非常感谢。 https://blog.csdn.net/wh211212/article/details/53750366 getopt 与 getopts 都是 Bash 中用来获取与分析命令行参数的工具,常用在 Shell 脚本中被用来分析脚本参数。 两者的比较 (1)getopts 是 Shell 内建命令,getopt 是一个独立外部工具 (2)getopts 使用语法简单 ...
阅读全文dd --help 常用dd来创建大文件,如dd if=/dev/zero of=/mybigfile bs=128M count=0 seek=24 参数: 1. if=文件名:输入文件名,缺省为标准输入。即指定源文件。< if=input file > 2. of=文件名:输出文件名,缺省为标准输出。即指定目的文件。< of=output file > 3. ibs=bytes:一次读入bytes个字节,即指定一个块大小为by ...
阅读全文Weblogic class reference configuration: by default, class in classpath is used. weblogic.xml prefer-web-inf-classes weblogic-application.xml prefer-application-packages Performance tuning tools; jmap usage heapanayl ...
阅读全文Installing the Certificates to the Keystore If you receive a message that says "Certificate already exists in system-wide CA keystore under alias <...> Do you still want to add it to your own keystore? [no]:", select Yes. If succes ...
阅读全文Written on 2013/04/17 at 11:49 作者:NoahLu OAuth 2.0 实用指南 归档于网站建设5 条评论 接着昨天的内容 OAuth的其实今生 说一下OAuth 2.0的事,OAuth 2.0的草案原本在2010年就会定稿,由于存在分歧,又经过三年的不断变更,当时草案的首席编辑伊兰(昨天提到写博客喷OAuth 2.0的人)渐渐发现OAuth 2.0已经被改得烂透了:复杂不说还没用 ...
阅读全文skip-name-resolve skip-locking skip-innodb skip-bdb key_buffer = (1G内存推荐设置为256M,2G内存推荐设置为512M) wait_timeout = 3或者5 (2G内存推荐设置为5) max_connections = (如果访问量很大可以设置为512-1024,否则可以设置为384) memory_limit = (程序最多允许使用内存量, 2G内存建议设置为128M) post ...
阅读全文配置jenkins的一个简单的SVN的project,运行时build fail。 org.tmatesoft.svn.core.SVNException: svn: E204900: Error writing entries file for '/test/.jenkins/workspace/test' svn: E204900: Entry '' has inconsistent repository root and ur ...
阅读全文方法1: <input type=text style="border-style:none"> 方法2: 给input设置border:none;但在iE6下不行,还有边。应该将 border:none; 换成border:0; 这是ie6 的兼容性问题 或者<input type="text" name="sample" border="0"/> 方法3: ...
阅读全文课程名称 考试内容 A1 数学 1)概率论(30%); 2)数理统计(20%); 3)随机过程(20%); 4)应用统计(20%); 5)随机微积分(10%)。 A2 金融数学 1)复利数学 ...
阅读全文1、一般JS冲突解决办法 a.最容易出现的就是js的命名冲突 ①、变量名冲突 变量有全局变量和局部变量当全局变量变量和局部变量名称一致时,就会js冲突,由于变量传递数值或地址不同就会产生JavaScript错误,甚至死循环。 ②、方法名冲突 函数中有很多方法,不同的js之间可能函数名一样,这就使得程序执行时不知道改调用那个方法或者哪个方法执行后的结果,最终导致程序加载失败。 ③、函数名冲突 一般是命名导致JS冲突。解决方法主要是查找在加载的js中是否 ...
阅读全文有一个简单的需求就是如何使页面上的一个图片内容实现实时刷新; 什么意思呢?这样一个场景: 页面上有一个图片,src指向后台的一个图片链接,如名为test.jpg的图片。图片本身为后台实时产生更新的,如新浪股票信息走势图片。每一秒的图形都可能在变化。如何使页面实现这样的动态更新?简单的办法就是: var img = document.getElementById("test"); img['src'] = imgurl; 通过set ...
阅读全文( function(){ ...... } )( window ); 初次接触jQuery源代码时,它的结构就是如上。这是一个匿名函数被括起来,然后再在后面加一个括号,这个匿名函数就能立即运行起来!这样做有什么好处呢?为什么要这样写?这段代码究竟属不属于闭包呢? 函数声明(function 语句) 正常一个函数的声明和定义如下: function foo(){ ........ } ...
阅读全文http://www.blogjava.net/landon/archive/2013/11/27/406896.html ...
阅读全文window bat批处理文件中常常有setlocal和endlocal,那它们的作用是什么呢? microsoft官方文档解释是 Setlocal creates a local scope and endlocal terminates the local scope. Any changes made within the setlocal and endlocal scope are discarded, thereby leaving the original envi ...
阅读全文