這問題發生在用Unity輸出apk到android安裝
出現開頭畫面完就直接跳出來.....
似乎是因為我用crack的關係XD
因為輸出android要到pro才行
free版沒有所以我才去找crack = =
想不到卻因為這樣才一直輸出不了apk
害我卡超久.....shiiiiiiiiiiit...........
總之安裝unity進去register的時候選Pro Trial就可以了
這樣確實可以輸出apk了
總比crack後輸出出來只能看開頭畫面好...
reference
http://answers.unity3d.com/questions/221871/android-game-crashes-after-splash-screen.html
After some searching, it appears this message shows up when the Unity application file / .exe gets modified out of its expected version information, meaning you have patched Unity, I'm assuming, in an attempt to hack it.
Sorry, but no help for you there bud. Go buy a license.
PHP ~ phpQuery foreach example
$groups = pq('.type8 tr:gt(0)');
foreach($groups as $group){
$x = pq($group)->find('td:eq(1)')->text();
print $x.', ';
}
reference
http://stackoverflow.com/questions/5994022/phpquery-get-the-values-from-each-td
foreach($groups as $group){
$x = pq($group)->find('td:eq(1)')->text();
print $x.', ';
}
reference
http://stackoverflow.com/questions/5994022/phpquery-get-the-values-from-each-td
PHP ~ class.upload.php upload origin image when image lower than resize x,y
$handle -> image_x = 800;
$handle -> image_y = 800;
$handle -> image_ratio = true;
$handle -> image_resize = true;
$handle -> image_ratio_no_zoom_in = true;
$handle -> image_ratio_no_zoom_out = false;
reference
http://www.verot.net/php_class_upload_docs.htm
$handle -> image_y = 800;
$handle -> image_ratio = true;
$handle -> image_resize = true;
$handle -> image_ratio_no_zoom_in = true;
$handle -> image_ratio_no_zoom_out = false;
reference
http://www.verot.net/php_class_upload_docs.htm
jQuery ~ Datepicker change language
download js
http://logicss.googlecode.com/svn-history/r41/trunk/media/jquery/jquery.ui.i18n.all.min.js
$.datepicker.setDefaults($.datepicker.regional["zh-TW"])
http://logicss.googlecode.com/svn-history/r41/trunk/media/jquery/jquery.ui.i18n.all.min.js
$.datepicker.setDefaults($.datepicker.regional["zh-TW"])
Asus UX31A ~ 安裝windows7, USB 3.0 安裝windows7
用USB安裝windows7出現訊息
遺失必要的CD/DVD磁碟裝置驅動程式
一開始還以為是我的USB沒做好.......
找找找才發現不是......
經google找資訊
有可能是USB3.0的問題
也可能是windows 7 安裝程式找不到我的SSD
一開始覺得是usb3的問題
因為看到不少文章說改插2.0就好
問題我NB沒有2.0的孔......幹XD
source
http://hikari-solving.blogspot.tw/2012/03/usbwindows-7.html
-----------------------------------------------------------------------
第一種:
可能是你用了USB 3.0的接頭
這時候將隨身碟換一個USB 2.0的接頭插即可
第二種:
可能是作業系統在安裝過程沒有抓到硬碟
請檢查你的硬碟是SATAII or SATAIII,並且檢查你用的線、主機板上的孔有沒有插對
e.g. SATAIII的硬碟用了SATAII的線、SATAIII的硬碟插到SATAII的孔
若檢查無誤
到BIOS把硬碟模式改成IDE有可能可以解決
-----------------------------------------------------------------------
顯然第一種我不行XD
所以後來才覺得是第二種
可是又覺怪怪
之後才找到這篇文......
http://forums.mydigitallife.info/archive/index.php/t-32302.html
就是改boot.wim
把usb3.0的驅動程式塞進去
這樣win7就有usb3.0驅動程式就可以進去安裝
文章中有詳細作法
只是我usb3驅動程式是去asus抓的
http://tw.asus.com/Notebooks/Superior_Mobility/ASUS_ZENBOOK_UX31A/#download
我HCSwitch跟Win7都是放x86的驅動程式
放進去再把做好的boot.wim丟回source
在進去安裝就可以了
我的指令跟他有點不一樣.....因為檔名不同= =
dism /mount-wim /wimfile:boot.wim /index:2 /mountdir:mount
dism /image:mount /add-driver /driver:usb3\iusb3hub.inf
dism /image:mount /add-driver /driver:usb3\iusb3xhc.inf
dism /unmount-wim /mountdir:mount /commit
遺失必要的CD/DVD磁碟裝置驅動程式
一開始還以為是我的USB沒做好.......
找找找才發現不是......
經google找資訊
有可能是USB3.0的問題
也可能是windows 7 安裝程式找不到我的SSD
一開始覺得是usb3的問題
因為看到不少文章說改插2.0就好
問題我NB沒有2.0的孔......幹XD
source
http://hikari-solving.blogspot.tw/2012/03/usbwindows-7.html
-----------------------------------------------------------------------
第一種:
可能是你用了USB 3.0的接頭
這時候將隨身碟換一個USB 2.0的接頭插即可
第二種:
可能是作業系統在安裝過程沒有抓到硬碟
請檢查你的硬碟是SATAII or SATAIII,並且檢查你用的線、主機板上的孔有沒有插對
e.g. SATAIII的硬碟用了SATAII的線、SATAIII的硬碟插到SATAII的孔
若檢查無誤
到BIOS把硬碟模式改成IDE有可能可以解決
-----------------------------------------------------------------------
顯然第一種我不行XD
所以後來才覺得是第二種
可是又覺怪怪
之後才找到這篇文......
http://forums.mydigitallife.info/archive/index.php/t-32302.html
就是改boot.wim
把usb3.0的驅動程式塞進去
這樣win7就有usb3.0驅動程式就可以進去安裝
文章中有詳細作法
只是我usb3驅動程式是去asus抓的
http://tw.asus.com/Notebooks/Superior_Mobility/ASUS_ZENBOOK_UX31A/#download
我HCSwitch跟Win7都是放x86的驅動程式
放進去再把做好的boot.wim丟回source
在進去安裝就可以了
我的指令跟他有點不一樣.....因為檔名不同= =
dism /mount-wim /wimfile:boot.wim /index:2 /mountdir:mount
dism /image:mount /add-driver /driver:usb3\iusb3hub.inf
dism /image:mount /add-driver /driver:usb3\iusb3xhc.inf
dism /unmount-wim /mountdir:mount /commit
Aptana ~ import ftp project
Window -> Show View -> Remote
Add New FTP Site
reference
http://superuser.com/questions/289408/import-ftp-project-into-aptana
Add New FTP Site
reference
http://superuser.com/questions/289408/import-ftp-project-into-aptana
Javascript ~ format numbers as money
Number.prototype.formatMoney = function(c, d, t){
var n = this, c = isNaN(c = Math.abs(c)) ? 2 : c, d = d == undefined ? "," : d, t = t == undefined ? "." : t, s = n < 0 ? "-" : "", i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0;
return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : "");
};
(123456789.12345).formatMoney(2, '.', ',');
source
http://stackoverflow.com/questions/149055/how-can-i-format-numbers-as-money-in-javascript
var n = this, c = isNaN(c = Math.abs(c)) ? 2 : c, d = d == undefined ? "," : d, t = t == undefined ? "." : t, s = n < 0 ? "-" : "", i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0;
return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : "");
};
(123456789.12345).formatMoney(2, '.', ',');
source
http://stackoverflow.com/questions/149055/how-can-i-format-numbers-as-money-in-javascript
Yii ~ use CKEditor
到這裡下載ckeditor-integration
http://www.yiiframework.com/extension/ckeditor-integration/
解壓縮丟到extensions裡
然後下載ckeditor丟到root
http://ckeditor.com/download
像我就是丟到yii/xxxxx/底下
在View裡面使用ckeditor的sample code
$this -> widget('ext.ckeditor.CKEditorWidget', array("model" => new Event,
"attribute" => 'content',
"defaultValue" => $item['content'],
"config" => array("height" => "400px", "width" => "80%", "toolbar" => "Full")));
http://www.yiiframework.com/extension/ckeditor-integration/
解壓縮丟到extensions裡
然後下載ckeditor丟到root
http://ckeditor.com/download
像我就是丟到yii/xxxxx/底下
在View裡面使用ckeditor的sample code
$this -> widget('ext.ckeditor.CKEditorWidget', array("model" => new Event,
"attribute" => 'content',
"defaultValue" => $item['content'],
"config" => array("height" => "400px", "width" => "80%", "toolbar" => "Full")));
訂閱:
文章 (Atom)

