来自:http://blog.csdn.net/gzshun/article/details/8294305

找了好几个CodeBlocks的背景色,都不太如人意。感觉下面这个还不错,所以转来给大家分享(部分由修改):

Windows下面的配置:

codeblocks的配置文件是default.conf,在Windows系统下,该文件在C:\Documents and Settings\Administrator\Application Data\CodeBlocks

找到后用下面的代码代替其中的<colour_sets></colour_sets>内容即可,注意修改前请务必关闭CodeBlocks。

 <colour_sets>
<ACTIVE_COLOUR_SET>
<str>
<![CDATA[vim]]>
</str>
</ACTIVE_COLOUR_SET>
<ACTIVE_LANG>
<str>
<![CDATA[C/C++]]>
</str>
</ACTIVE_LANG>
<oblivion>
<NAME>
<str>
<![CDATA[oblivion]]>
</str>
</NAME>
<cc>
<style0>
<FORE>
<colour r="238" g="238" b="236" />
</FORE>
<BACK>
<colour r="46" g="52" b="54" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style0>
<style1>
<FORE>
<colour r="238" g="238" b="236" />
</FORE>
<BACK>
<colour r="46" g="52" b="54" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style1>
<style5>
<FORE>
<colour r="136" g="138" b="133" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style5>
<style6>
<FORE>
<colour r="136" g="138" b="133" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style6>
<style7>
<FORE>
<colour r="136" g="138" b="133" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style7>
<style8>
<FORE>
<colour r="136" g="138" b="133" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style8>
<style11>
<FORE>
<colour r="52" g="101" b="164" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style11>
<style12>
<FORE>
<colour r="52" g="101" b="164" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style12>
<style17>
<FORE>
<colour r="164" g="0" b="0" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword error (documentation)]]>
</str>
</NAME>
</style17>
<style18>
<FORE>
<colour r="164" g="0" b="0" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword error (documentation)]]>
</str>
</NAME>
</style18>
<style19>
<FORE>
<colour r="173" g="127" b="168" />
</FORE>
<BACK>
<colour r="46" g="52" b="54" />
</BACK>
<BOLD bool="1" />
<NAME>
<str>
<![CDATA[Number]]>
</str>
</NAME>
</style19>
<style21>
<FORE>
<colour r="233" g="185" b="110" />
</FORE>
<NAME>
<str>
<![CDATA[Keyword]]>
</str>
</NAME>
</style21>
<style23>
<FORE>
<colour r="78" g="154" b="6" />
</FORE>
<NAME>
<str>
<![CDATA[User keyword]]>
</str>
</NAME>
</style23>
<style27>
<FORE>
<colour r="185" g="49" b="0" />
</FORE>
<BACK>
<colour r="30" g="3" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style27>
<style28>
<FORE>
<colour r="185" g="49" b="0" />
</FORE>
<BACK>
<colour r="30" g="3" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style28>
<style31>
<FORE>
<colour r="245" g="121" b="0" />
</FORE>
<NAME>
<str>
<![CDATA[Character]]>
</str>
</NAME>
</style31>
<style33>
<FORE>
<colour r="211" g="215" b="207" />
</FORE>
<NAME>
<str>
<![CDATA[UUID]]>
</str>
</NAME>
</style33>
<style34>
<FORE>
<colour r="78" g="154" b="6" />
</FORE>
<NAME>
<str>
<![CDATA[Preprocessor]]>
</str>
</NAME>
</style34>
<style36>
<FORE>
<colour r="233" g="185" b="110" />
</FORE>
<NAME>
<str>
<![CDATA[Operator]]>
</str>
</NAME>
</style36>
<style38>
<BACK>
<colour r="23" g="32" b="24" />
</BACK>
<NAME>
<str>
<![CDATA[Selection]]>
</str>
</NAME>
</style38>
<style39>
<BACK>
<colour r="24" g="33" b="33" />
</BACK>
<NAME>
<str>
<![CDATA[Active line]]>
</str>
</NAME>
</style39>
<style40>
<BACK>
<colour r="114" g="159" b="207" />
</BACK>
<NAME>
<str>
<![CDATA[Matching brace highlight]]>
</str>
</NAME>
</style40>
<style41>
<FORE>
<colour r="238" g="238" b="236" />
</FORE>
<BACK>
<colour r="164" g="0" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[No matching brace highlight]]>
</str>
</NAME>
</style41>
<NAME bool="1">
<str>
<![CDATA[C/C++]]>
</str>
</NAME>
<editor>
<keywords>
<SET4>
<str>
<![CDATA[__cplusplus __GNUC__ __GNUG__]]>
</str>
</SET4>
</keywords>
</editor>
</cc>
</oblivion>
<desert>
<NAME>
<str>
<![CDATA[desert]]>
</str>
</NAME>
<cc>
<style0>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<BACK>
<colour r="43" g="43" b="43" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style0>
<style1>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<BACK>
<colour r="43" g="43" b="43" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style1>
<style5>
<FORE>
<colour r="135" g="206" b="235" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style5>
<style6>
<FORE>
<colour r="135" g="206" b="235" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style6>
<style7>
<FORE>
<colour r="135" g="206" b="235" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style7>
<style8>
<FORE>
<colour r="135" g="206" b="235" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style8>
<style11>
<FORE>
<colour r="105" g="105" b="105" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style11>
<style12>
<FORE>
<colour r="105" g="105" b="105" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style12>
<style19>
<FORE>
<colour r="255" g="160" b="160" />
</FORE>
<NAME>
<str>
<![CDATA[Number]]>
</str>
</NAME>
</style19>
<style21>
<FORE>
<colour r="189" g="183" b="107" />
</FORE>
<NAME>
<str>
<![CDATA[Keyword]]>
</str>
</NAME>
</style21>
<style23>
<FORE>
<colour r="255" g="128" b="64" />
</FORE>
<NAME>
<str>
<![CDATA[User keyword]]>
</str>
</NAME>
</style23>
<style27>
<FORE>
<colour r="255" g="160" b="160" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style27>
<style28>
<FORE>
<colour r="255" g="160" b="160" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style28>
<style31>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Character]]>
</str>
</NAME>
</style31>
<style33>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[UUID]]>
</str>
</NAME>
</style33>
<style34>
<FORE>
<colour r="205" g="92" b="92" />
</FORE>
<NAME>
<str>
<![CDATA[Preprocessor]]>
</str>
</NAME>
</style34>
<style36>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Operator]]>
</str>
</NAME>
</style36>
<style39>
<FORE>
<colour r="192" g="192" b="192" />
</FORE>
<BACK>
<colour r="255" g="0" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[Active line]]>
</str>
</NAME>
</style39>
<style40>
<BACK>
<colour r="128" g="128" b="192" />
</BACK>
<NAME>
<str>
<![CDATA[Matching brace highlight]]>
</str>
</NAME>
</style40>
<NAME>
<str>
<![CDATA[C/C++]]>
</str>
</NAME>
<editor>
<keywords />
</editor>
</cc>
</desert>
<ulipad>
<NAME>
<str>
<![CDATA[ulipad]]>
</str>
</NAME>
<cc>
<style0>
<FORE>
<colour r="141" g="176" b="211" />
</FORE>
<BACK>
<colour r="17" g="36" b="53" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style0>
<style1>
<FORE>
<colour r="141" g="176" b="211" />
</FORE>
<BACK>
<colour r="17" g="36" b="53" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style1>
<style5>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style5>
<style6>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style6>
<style7>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style7>
<style8>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style8>
<style11>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style11>
<style12>
<FORE>
<colour r="0" g="207" b="203" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style12>
<style15>
<FORE>
<colour r="111" g="66" b="66" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword (documentation)]]>
</str>
</NAME>
</style15>
<style16>
<FORE>
<colour r="111" g="66" b="66" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword (documentation)]]>
</str>
</NAME>
</style16>
<style17>
<FORE>
<colour r="0" g="0" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword error (documentation)]]>
</str>
</NAME>
</style17>
<style18>
<FORE>
<colour r="0" g="0" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment keyword error (documentation)]]>
</str>
</NAME>
</style18>
<style21>
<FORE>
<colour r="255" g="255" b="0" />
</FORE>
<NAME>
<str>
<![CDATA[Keyword]]>
</str>
</NAME>
</style21>
<style23>
<FORE>
<colour r="141" g="176" b="211" />
</FORE>
<NAME>
<str>
<![CDATA[User keyword]]>
</str>
</NAME>
</style23>
<style27>
<FORE>
<colour r="0" g="255" b="128" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style27>
<style28>
<FORE>
<colour r="0" g="255" b="128" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style28>
<style33>
<FORE>
<colour r="219" g="112" b="219" />
</FORE>
<NAME>
<str>
<![CDATA[UUID]]>
</str>
</NAME>
</style33>
<style34>
<FORE>
<colour r="128" g="128" b="128" />
</FORE>
<NAME>
<str>
<![CDATA[Preprocessor]]>
</str>
</NAME>
</style34>
<style36>
<FORE>
<colour r="240" g="128" b="79" />
</FORE>
<NAME>
<str>
<![CDATA[Operator]]>
</str>
</NAME>
</style36>
<style38>
<FORE>
<colour r="255" g="255" b="255" />
</FORE>
<BACK>
<colour r="46" g="159" b="39" />
</BACK>
<NAME>
<str>
<![CDATA[Selection]]>
</str>
</NAME>
</style38>
<style39>
<BACK>
<colour r="255" g="255" b="255" />
</BACK>
<NAME>
<str>
<![CDATA[Active line]]>
</str>
</NAME>
</style39>
<editor>
<keywords>
<SET4>
<str>
<![CDATA[__cplusplus __GNUC__ __GNUG__]]>
</str>
</SET4>
</keywords>
</editor>
<NAME>
<str>
<![CDATA[C/C++]]>
</str>
</NAME>
</cc>
</ulipad>
<default>
<NAME>
<str>
<![CDATA[default]]>
</str>
</NAME>
</default>
<vim>
<NAME>
<str>
<![CDATA[vim]]>
</str>
</NAME>
<cc>
<style0>
<FORE>
<colour r="170" g="170" b="170" />
</FORE>
<BACK>
<colour r="0" g="0" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style0>
<style1>
<FORE>
<colour r="170" g="170" b="170" />
</FORE>
<BACK>
<colour r="0" g="0" b="0" />
</BACK>
<NAME>
<str>
<![CDATA[Default]]>
</str>
</NAME>
</style1>
<style5>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style5>
<style6>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style6>
<style7>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style7>
<style8>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment (normal)]]>
</str>
</NAME>
</style8>
<style9>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment line (normal)]]>
</str>
</NAME>
</style9>
<style10>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Comment line (normal)]]>
</str>
</NAME>
</style10>
<style11>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style11>
<style12>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment (documentation)]]>
</str>
</NAME>
</style12>
<style13>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment line (documentation)]]>
</str>
</NAME>
</style13>
<style14>
<FORE>
<colour r="85" g="255" b="255" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Comment line (documentation)]]>
</str>
</NAME>
</style14>
<style19>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Number]]>
</str>
</NAME>
</style19>
<style20>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Number (inactive)]]>
</str>
</NAME>
</style20>
<style21>
<FORE>
<colour r="0" g="255" b="0" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[Keyword]]>
</str>
</NAME>
</style21>
<style23>
<FORE>
<colour r="225" g="160" b="0" />
</FORE>
<BOLD bool="0" />
<NAME>
<str>
<![CDATA[User keyword]]>
</str>
</NAME>
</style23>
<style24>
<FORE>
<colour r="160" g="160" b="160" />
</FORE>
<NAME>
<str>
<![CDATA[User keyword (inactive)]]>
</str>
</NAME>
</style24>
<style27>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style27>
<style28>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[String]]>
</str>
</NAME>
</style28>
<style29>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[String (inactive)]]>
</str>
</NAME>
</style29>
<style30>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[String (inactive)]]>
</str>
</NAME>
</style30>
<style31>
<FORE>
<colour r="255" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Character]]>
</str>
</NAME>
</style31>
<style34>
<FORE>
<colour r="85" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Preprocessor]]>
</str>
</NAME>
</style34>
<style35>
<FORE>
<colour r="85" g="85" b="255" />
</FORE>
<NAME>
<str>
<![CDATA[Preprocessor (inactive)]]>
</str>
</NAME>
</style35>
<style36>
<FORE>
<colour r="160" g="160" b="160" />
</FORE>
<NAME>
<str>
<![CDATA[Operator]]>
</str>
</NAME>
</style36>
<style37>
<FORE>
<colour r="170" g="170" b="170" />
</FORE>
<NAME>
<str>
<![CDATA[Operator (inactive)]]>
</str>
</NAME>
</style37>
<style38>
<FORE>
<colour r="0" g="0" b="0" />
</FORE>
<BACK>
<colour r="170" g="170" b="170" />
</BACK>
<NAME>
<str>
<![CDATA[Selection]]>
</str>
</NAME>
</style38>
<style40>
<FORE>
<colour r="255" g="0" b="0" />
</FORE>
<BACK>
<colour r="0" g="0" b="0" />
</BACK>
<ITALICS bool="1" />
<NAME>
<str>
<![CDATA[Matching brace highlight]]>
</str>
</NAME>
</style40>
<editor>
<keywords>
<SET4>
<str>
<![CDATA[__cplusplus __GNUC__ __GNUG__]]>
</str>
</SET4>
</keywords>
</editor>
<NAME>
<str>
<![CDATA[C/C++]]>
</str>
</NAME>
</cc>
</vim>
</colour_sets>

效果如下:

然后再进行一些后续设置(为了使光标显示):

依次Settings-Editor到如下界面:

width是值光标的宽度,colour是指光标的颜色,选择你喜欢自己的配置即可。

如果你想改变字体的大小,请进行如下设置:

依次Settings-Editor到如下界面:

选择最右边的Choose按钮,将进入字体设置界面,根据个人喜好设置即可。

CodeBlocks背景主题的设置的更多相关文章

  1. VS2017设置背景主题

    一.VS2017设置背景主题 1.下载并安装Color Theme Editor for Visual Studio 2017和MoeIDE (图中红圈中的两个插件,工具-扩展和更新-联机-右上角搜索 ...

  2. eclipse背景主题

    长时间对着电脑敲代码,眼睛受不了啊,果然程序员就没人权吗?之前咱给codeblocks背景换了颜色,去官网上粘粘代码然后替换一下就行了,这里不多说, 这里说的是给ecllipse换主题,按理说ecli ...

  3. android studio eclipse keymap theme 快捷键 主题风格设置

    android studio eclipse keymap theme 快捷键 主题风格设置 将Android Studio的快捷键设置与eclipse一致,使用习惯的快捷键才顺手.Mac系统下:进入 ...

  4. eclipse加上电脑全黑主题的设置(win10)

    eclipse加上电脑全黑主题的设置(win10) 前几天在找设置win10的边框颜色时,发现的这个高对比的功能,现在已经用了好几天了,自己感觉是真的好用,所有才分享出来,相比所谓网上的豆沙绿,果然感 ...

  5. Bootstrap css背景图片的设置

    一. 网页中添加图片的方式有两种 一种是:通过<img>标签直接插入到html中 另一种是:通过css背景属性添加 居中方法:水平居中的text-align:center 和 margin ...

  6. Android studio教程:[3]修改背景主题

    android studio开发环境的背景主题是可以更改的,现在都流行黑色背景,这样让软件显得更高端大气的,更加赏心悦目,但最主要的还是看起来更舒适更顺眼.下面就教大家如何更改背景主题. 工具/原料 ...

  7. Python爬虫之提取Bing搜索的背景图片并设置为Windows的电脑桌面

      鉴于现阶段国内的搜索引擎还用不上Google, 笔者会寻求Bing搜索来代替.在使用Bing的过程中,笔者发现Bing的背景图片真乃良心之作,十分赏心悦目,因此,笔者的脑海中萌生了一个念头:能否自 ...

  8. Ubuntu 18.04 Numix主题安装设置

    Ubuntu 18.04 Numix主题安装设置 一.首先安装Numix主题 展现效果如下图 1.安装numix sudo add-apt-repository ppa:numix/ppa 2.安装主 ...

  9. 第三百九十七节,Django+Xadmin打造上线标准的在线教育平台—其他插件使用说,主题本地化设置

    第三百九十七节,Django+Xadmin打造上线标准的在线教育平台—其他插件使用说,主题本地化设置 主题设置是在xadmin\plugins\themes.py这个文件 默认xadmin是通过下面这 ...

随机推荐

  1. SparkSQL On Yarn with Hive,操作和访问Hive表

    转载自:http://lxw1234.com/archives/2015/08/466.htm 本文将介绍以yarn-cluster模式运行SparkSQL应用程序,访问和操作Hive中的表,这个和在 ...

  2. IOS键盘的相关设置(UITextfield)

    一.键盘风格 UIKit框架支持8种风格键盘. typedef enum { UIKeyboardTypeDefault,                // 默认键盘:支持所有字符 UIKeyboa ...

  3. [原创] IIS7下顶级域名301跳转到WWW域名

    百度搜索了众多方法,居然没有一个全面的IIS7下301域名跳转能用的教程,最终自己研究出了个可以用的供大家参考.1.绑定域名01ruodian.cn www.01ruodian.cn到空间: 2.在I ...

  4. TestCase--搜索&查询模块

    一般地,电商网站的搜索模块都是一个搜索字段的输入框和一个搜索按钮组成 如下所示: 而电商网站的后台系统,如erp.wms等系统,一般都会有下方的查询模块 其中包括:时间选择框.下拉框.输入框等 如下所 ...

  5. Basler usb SDK安装在opencv采集图像

    近期,入手一台baslerUSB接口的CCD相机,但是貌似之前图像采集的编程无法调动其摄像头,在网上搜了一下,大家的说法就是安装它的SDK文件包,并且调用它内部函数编写代码.其实新版的Basle相机驱 ...

  6. ORA-00845: MEMORY_TARGET not supported on this system

    cd $ORACLE_HOME cd dbs cat init.ora cat spfilematedata.ora 查看MEMORY_TARGET设置的大小 修改系统,设置shm的大小大于MEMOR ...

  7. php头函数和浏览器缓存

    可以通过php头函数改变返回给浏览器的头信息 例: 代码中添加头: header("Cache-Control: max-age=31536000"); header(" ...

  8. StackExchange.Redis使用和封装小试

    StackExchange.Redis使用和封装小试 https://git.oschina.net/Ultralisk/ThorActor/blob/ThorActor/DBUtility/Redi ...

  9. 跨域请求之JSONP 二

    续上篇,加两个实用功能 1,增加data属性,请求参数2,增加scope属性,可以让回调函数在指定的上下文中执行 接口如下 1 2 3 4 5 6 Sjax.load(url, {     data  ...

  10. c++ string 转GUID及反转

    #include "stdafx.h" #include <string> #include <windows.h> using namespace std ...