#编辑~/.xinitrc文件#export GTK_IM_MODULE=fcitx#export QT_IM_MODULE=fcitx#export XMODIFIERS="@im=fcitx"pacman -S fcitx-im fcitx-table-extra fcitx-sunpinyin...
分类:
其他好文 时间:
2014-07-22 22:55:17
阅读次数:
179
学习记录一下:具体看实际操作。使用cygwin 或者 git 进入shell脚本模式,进入你的项目文件夹:大概是在:D:\quick-cocos2d-x\bin\yourProject执行命令:../compile_scripts.sh -i scripts -m files -o my_scrip...
分类:
其他好文 时间:
2014-07-19 19:19:18
阅读次数:
337
苹果WWDC2014大会公布了许多关于iOS8的激动人心的更新,包括iCloudDrive、OSXYosemite与iOS8的协作、iBook共享机制、Quick Type预测输入、Swift编程语言、iOS8向上兼容等等亮点,本文重点从针对开发者的新功能API进行介绍。现在,开发者可以用苹果官方给...
分类:
移动开发 时间:
2014-07-19 00:01:42
阅读次数:
462
What would happen if we compile and run this code ?void main(){ // Option A. char str1[] = "example"; str1[1] = 'a'; // Option B. ...
分类:
其他好文 时间:
2014-07-18 23:24:50
阅读次数:
222
package com.example.test;import java.util.Date;import android.os.Bundle;import android.app.Activity;import android.view.Menu;import android.vi...
分类:
移动开发 时间:
2014-07-18 23:14:36
阅读次数:
181
quick-cocos2d-x 2.2.4
self.sprite = display.newSprite("bg.png")
self:addChild(self.sprite)
self.sprite:setTouchEnabled(true)
-- 设置触摸模式
-- self.sprite:setTouchMode(cc.TOUCH...
分类:
其他好文 时间:
2014-07-18 22:32:49
阅读次数:
257
前言本来想写CSharper 学Cocos2dx系列的。但是最近在了解许多跨平台游戏开发框架后 最终决定使用Quick-cocos2d-x+lua进行第一个游戏项目的开发。经过一天多的折腾 终于把开发环境搭建出来了,下面我们步入正题Quick-Cocos2d-X 什么是Quick-Cocos2d-....
分类:
其他好文 时间:
2014-07-18 21:04:33
阅读次数:
227
如何在相同的页面设置多个tinymce编辑器
This example shows how to setup multiple editors on the same page and with different configs.
用于多功能文本框,之前同页面只能用一个tinymce编辑器,百度谷歌没结果,所以整理下代码,以供参考:...
分类:
其他好文 时间:
2014-07-17 17:02:09
阅读次数:
298
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-07-17 14:03:41
阅读次数:
293
系统环境,Ubuntu14.04,输入法fcitx下搜狗输入法。解决方法如下:1.安装fcitxforQt5动态库sudoapt-getinstallfcitx-libs-qt52.向QtCreator开发环境安装fcitxforQt5支持进入/Qt5.3.1/Tools/QtCreator/bin/plugins/platforminputcontexts
目录发现官网提供的安装包仅仅有libibus..
分类:
其他好文 时间:
2014-07-17 10:26:53
阅读次数:
767