原创 --initialize specified but the data directory has files in it. Aborting

Mac用brew安裝 mysql 報錯 MacBook-Pro:mysql apple$ brew postinstall mysql ==> /usr/local/Cellar/mysql/5.7.12/bin/mysqld --in

原创 java.io.FileNotFoundException: http://www.xxxxx.net:8080/test/test/ 403錯誤

POST請求錯誤內容 java.io.FileNotFoundException: http://www.xxxxx.net:8080/test/test/ at libcore.net.http.HttpURLConnectionIm

原创 TexturePacker批處理python

TexturePacker版本 4.2.1 前言:因爲水平有限,錯誤再所難免,望指正, 大家如果有購買能力的話,希望購買TexturePacker正版,不要再用盜版了。好東西就應該支持。 1.安裝TexturePacker Command

原创 感謝Andreas Loew的TexturePacker license

如果有時間的話,想寫一篇關於TexturePacker的博文。 有大家有能力的話,還是支持正版TexturePacker。作者非常好。

原创 MySQL數據庫生成JavaBean

源地址:http://marsvaadin.iteye.com/blog/1465592 由於不想用正則表達式,發現另外的方法 修改代碼:/** * 通過 mysql的 show create table TABLE_NAME逆向生

原创 Parkour Box Privacy Policy

Privacy Policy built the Parkour Box app as an Ad Supported app. This SERVICE is provided by at no cost and is intended

原创 Feed Dog Privacy Policy

Privacy Policy lovehappy108 built the Feed Dog app as an Ad Supported app. This SERVICE is provided by lovehappy108 at

原创 Infinity Bath Privacy Policy

Privacy Policy lovehappy108 built the Infinity Bath app as an Ad Supported app. This SERVICE is provided by lovehappy10

原创 CCHTTPRequestAndroid() 與 curl處理方式不同的問題

查看代碼發現Android與CURL處理方工不一樣,android 通過200。如果不成功可以通過getErrorCode()來獲得。由於大部分用的getResponseStatusCode獲取並且curl處理上有出入。暫時考慮每一次請求

原创 cocos 一個描邊shader

參考帖子:http://blog.csdn.net/u011281572/article/details/44999609  優化了效率, shader: varying vec4 v_fragmentColor; // vertex s

原创 glBlendFunc();--混合

轉載地址:http://www.cnblogs.com/yujunyong/archive/2011/04/13/2015467.htmlglBlendFunc();--混合 OpenGL 會把源顏色和目標顏色各自取出,並乘以一個係數

原创 ios 崩潰日誌 符號化

1.準備測試代碼 在applicationDidFinishLaunching() 方法裏 調用 setPosffffff(nullptr);  這樣必定會出現崩潰,因爲 node爲空 去調用setPosition。 測

原创 錯誤1402 安裝程序無法打開註冊表項

卸載sql2005後 刪錯註冊表,重裝報錯 解決方法 1. 依次點擊開始,所有程序,附件,右鍵單擊命令提示符,選擇以管理員身份運行。  2. 複製或手動輸入下列命令, secedit /configure /cfg %windir%\

原创 cocos2dx 3.x getStringFromFile lua 讀取二進制文件

問題所在:爲什麼要用getStringFromFile 獲取的字符串,getDataFromFile沒有導出給lua,quick以前的HelpFunc:getFileData在3.10上暫時用不了,所以修改這個來處理,getStringF

原创 mac平臺下LuaJIT-2.1.0-beta2 編譯android i686-linux-android-clang: Command not found

今天更新luajit2.1beta2時,編譯android一直報錯。/Applications/Xcode.app/Contents/Develop