https://youtu.be/dgxe15vCR7s
[轉]教你搭建你自己的“深度学习”机器
http://www.freebuf.com/articles/others-articles/104968.html
https://youtu.be/dgxe15vCR7s
https://cloud.google.com/products/machine-learning/
https://youtu.be/dgxe15vCR7s
M$ workflow foundation
https://dotblogs.com.tw/sophieq/archive/2012/07/04/73210.aspx
文件核准程序
公司購買程序
招聘程序
Visual 工作流程追蹤
暫停的執行個體管理
訂購狀態機器範例
Outlook 工作流程精靈範例
語音應用程式範例
終止追蹤服務範例
追蹤設定檔設計工具範例
工作流程監視器範例
工作流程反映公用程式範例
----------
.net 3.5
http://msdn.microsoft.com/zh-tw/library/ms741723(v=vs.90)
.net 4.0
http://msdn.microsoft.com/zh-tw/library/dd483375.aspx
WF4.5
http://msdn.microsoft.com/zh-tw/magazine/hh781025.aspx
http://msdn.microsoft.com/zh-tw/library/gg427656
文件核准程序
公司購買程序
招聘程序
Visual 工作流程追蹤
暫停的執行個體管理
訂購狀態機器範例
Outlook 工作流程精靈範例
語音應用程式範例
終止追蹤服務範例
追蹤設定檔設計工具範例
工作流程監視器範例
工作流程反映公用程式範例
----------
.net 3.5
http://msdn.microsoft.com/zh-tw/library/ms741723(v=vs.90)
http://msdn.microsoft.com/zh-tw/library/dd483375.aspx
asp.net + WF
Tracking教學
http://www.codeproject.com/Articles/103592/WF-4-Persistence-Tracking-and-Bookmarks-A-Practica
http://www.codeproject.com/Articles/103592/WF-4-Persistence-Tracking-and-Bookmarks-A-Practica
webcase
http://www.cloudcasts.net/ViewWebcast.aspx?webcastid=2521458133038050447
http://www.cloudcasts.net/ViewWebcast.aspx?webcastid=2521458133038050447
http://msdn.microsoft.com/zh-tw/magazine/hh781025.aspx
http://msdn.microsoft.com/zh-tw/library/gg427656
C# print preview multiple pages
http://www.codeproject.com/Tips/733680/Printing-and-Previewing-multiple-pages-in-Csharp
信用卡 收款手續費
豐掌櫃
收款: 手續費率 2.2%
提領:
提領帳號為「永豐帳戶」者:免費
提領帳號為「他行帳戶」者:25元
系統服務費 (月費):
當月累積代收金額超過5 萬元者,每月380 元
==============================
Paypal
收款: 手續費 2.4% ~ 3.9% ~5.4%
提領:
台灣當地銀行的美金帳戶 2.5%
==============================
Go2Pay
收款: 手續費 2.8%
提領:
一次15元 (其他條件超多...)
==============================
Pay2Go
收款: 手續費 2.8%
提領:
提領手續費 10元 (每個月可享有四次手續費免收優惠)
收款: 手續費率 2.2%
提領:
提領帳號為「永豐帳戶」者:免費
提領帳號為「他行帳戶」者:25元
系統服務費 (月費):
當月累積代收金額超過5 萬元者,每月380 元
==============================
Paypal
收款: 手續費 2.4% ~ 3.9% ~5.4%
提領:
台灣當地銀行的美金帳戶 2.5%
台幣 免費
==============================
歐付寶 Allpay
收款: 手續費 2.75% 行動支付2%
提領: 無
==============================
PayNow
收款: 手續費 2.5% ~ 3.5%
提領:
每次撥款帳務處理費新台幣30元由賣家支付
歐付寶 Allpay
收款: 手續費 2.75% 行動支付2%
提領: 無
==============================
PayNow
收款: 手續費 2.5% ~ 3.5%
提領:
每次撥款帳務處理費新台幣30元由賣家支付
==============================
第e支付
收款: 手續費 2% ~ 2.5%
提領:
進階會員、進階商務會員每次提領收費新台幣30元
第e支付
收款: 手續費 2% ~ 2.5%
提領:
進階會員、進階商務會員每次提領收費新台幣30元
==============================
Go2Pay
收款: 手續費 2.8%
提領:
==============================
Pay2Go
收款: 手續費 2.8%
提領:
提領手續費 10元 (每個月可享有四次手續費免收優惠)
prevent directory traversal attacks in php
http://www.bitrepository.com/prevent-directory-traversal-attacks-in-php-wordpress.html
freenas cifs slow
https://forums.freenas.org/index.php?threads/slow-transfer-speeds-via-cifs.39867/
https://forums.freenas.org/index.php?threads/cifs-directory-browsing-slow-try-this.27751/
---CIFS--Advance mode----Auxiliary Parameters:-------------
store dos attributes = no
map system = no
-----------------------------------------------------------------------
Jumbo Frame enable
-----------------------------------------------------------------------
In BSD the CFIS implementation is only single threaded
Nexenta and Solaris 11.3 is SMB 2.1.
Most feature rich is Solaris 11.3 as it includes real ZFS encryption, SMB 2.1, LZ4 compress and fast sequential resilvering
https://forums.freenas.org/index.php?threads/cifs-directory-browsing-slow-try-this.27751/
---CIFS--Advance mode----Auxiliary Parameters:-------------
store dos attributes = no
map system = no
-----------------------------------------------------------------------
Jumbo Frame enable
-----------------------------------------------------------------------
In BSD the CFIS implementation is only single threaded
-----------------------------------------------------------------------
Omni-OS + Napp-it for great iSCSI and CIFS performance
A multithreaded kernel based alternative to SAMBA is Solaris CIFS in Oracle Solaris, OmniOS or NexentaStor
OmniOS is currently SMB1Omni-OS + Napp-it for great iSCSI and CIFS performance
A multithreaded kernel based alternative to SAMBA is Solaris CIFS in Oracle Solaris, OmniOS or NexentaStor
Nexenta and Solaris 11.3 is SMB 2.1.
Most feature rich is Solaris 11.3 as it includes real ZFS encryption, SMB 2.1, LZ4 compress and fast sequential resilvering
-----------------------------------------------------------------------
store dos attributes = no
ea support = no
map archive = no
map hidden = no
map system = no
map readonly = no
2. (and 3.) was probably related to the old switch, which is now replaced. Even home PCs had short interruptions, which should be now gone (it seems so).
4. I deleted this share (wasn't necessary anymore), but didn't reset the permissions yet.
1. and 5. done.
Now I get speeds around 110-115MB/s.
But with another PC it is around 75MB/s writing to NAS and 95MB/s reading from NAS.
=====
ea support = no
store dos attributes = no
map archive = no
map hidden = no
map readonly = no
map system = no
1. Disables Samba from using EAs.
2. Tells Samba not to store the DOS attributes (any existing bits that are set are simply abandoned in place in the EAs).
3. Forces all 4 parameters to off/no/unchecked/disabled.
Note: The read-only bit I am mentioning, disabling, then forcing to off is not the standard read-only permissions users may be given to files or folders.
store dos attributes = no
ea support = no
map archive = no
map hidden = no
map system = no
map readonly = no
2. (and 3.) was probably related to the old switch, which is now replaced. Even home PCs had short interruptions, which should be now gone (it seems so).
4. I deleted this share (wasn't necessary anymore), but didn't reset the permissions yet.
1. and 5. done.
Now I get speeds around 110-115MB/s.

But with another PC it is around 75MB/s writing to NAS and 95MB/s reading from NAS.
=====
ea support = no
store dos attributes = no
map archive = no
map hidden = no
map readonly = no
map system = no
1. Disables Samba from using EAs.
2. Tells Samba not to store the DOS attributes (any existing bits that are set are simply abandoned in place in the EAs).
3. Forces all 4 parameters to off/no/unchecked/disabled.
Note: The read-only bit I am mentioning, disabling, then forcing to off is not the standard read-only permissions users may be given to files or folders.
[轉] solved use root Login CIFS(access is denied)
https://forums.freenas.org/index.php?threads/use-root-login-cifs-access-is-denied.21233/
I fixed the issue by changing root's password via the WebGUI. To do this:
1. Go to the "Accounts" page
2. Click on the "Users" tab
3. Locate and select the user "root"
4. Click on the "Modify" button located at the bottom of the page and a dialogue window will open
5. Enter a password, twice, and click on the Save? button located at the bottom of the dialogue window
I fixed the issue by changing root's password via the WebGUI. To do this:
1. Go to the "Accounts" page
2. Click on the "Users" tab
3. Locate and select the user "root"
4. Click on the "Modify" button located at the bottom of the page and a dialogue window will open
5. Enter a password, twice, and click on the Save? button located at the bottom of the dialogue window
xampp upgrade php for linux
1、backup
/opt/lamp/etc/extra/httpd-xampp.conf
or
/opt/lamp/etc/extra/ any conf be edited
/opt/lamp/etc/php.ini
/opt/lamp/etc/httpd.conf
any conf、ini or your edit file backup .
2、download xampp newst install sh then install again
3、Don't copy backup file overwrite old ini conf file
use note++ to compare different, then change or no change.
4、finish try to ./lamp restart
====================================
Maybe other way
You can see /opt/lampp/properties.ini
maybe use apt-get install php or mysql, then change this path, then restart......I Not Sure can or not.
/opt/lamp/etc/extra/httpd-xampp.conf
or
/opt/lamp/etc/extra/ any conf be edited
/opt/lamp/etc/php.ini
/opt/lamp/etc/httpd.conf
any conf、ini or your edit file backup .
2、download xampp newst install sh then install again
3、Don't copy backup file overwrite old ini conf file
use note++ to compare different, then change or no change.
4、finish try to ./lamp restart
====================================
Maybe other way
You can see /opt/lampp/properties.ini
maybe use apt-get install php or mysql, then change this path, then restart......I Not Sure can or not.
ConfuserEx 保護 C# windows form
https://yck1509.github.io/ConfuserEx/
http://confuser.codeplex.com/
=====
http://www.cnblogs.com/zhangzhi19861216/p/3937434.html
http://confuser.codeplex.com/
=====
http://www.cnblogs.com/zhangzhi19861216/p/3937434.html
Introduction to the Magento 1.x REST API
http://devdocs.magento.com/guides/m1x/api/rest/introduction.html
Magento 2 快到了~~ 有新的API方式
Magento 2 快到了~~ 有新的API方式
[轉]MINI TUTORIAL: CREATING SHOPPING CART RULES PROGRAMATICALLY
http://www.demacmedia.com/magento-commerce/mini-tutorial-creating-shopping-cart-rules-programatically/
[轉]Snippet PHP , how to add product in cart and create order in Magento via SOAP API v1
https://gist.github.com/roberto-butti/3509401
Visual Studio 2015 net 4.6.1 四捨六入五成雙 錯誤
最近再試,發現 Math.round() 又正確了....奇了! 116.55出來是116
==========
一般的說法是Math.round()
但實際上跑
decimal num = 116.55
Math.round(num)
結果是 117 這是錯的!!
所以
參考這個
https://windperson.wordpress.com/2013/02/21/c-%E5%B0%87%E5%B0%8F%E6%95%B8%E9%BB%9E%E5%BE%8C%E6%8C%87%E5%AE%9A%E4%BD%8D%E6%95%B8%E7%9A%84%E6%95%B8%E5%80%BC%E5%8E%BB%E6%8E%89%E7%9A%84%E6%96%B9%E6%B3%95/
改成
decimal GetFrag1(decimal input,int digit) //這個四捨六入五成雙才正確
{
if (digit < 0) { return Math.Floor(input); }
double pow = Math.Pow(10, digit);
decimal sign = input >= 0 ? 1 : -1;
return sign * Math.Floor(sign * input * (decimal)pow) / (decimal)pow;
}
GetFrag1(num, 0).ToString()
結果 116
==========
一般的說法是Math.round()
但實際上跑
decimal num = 116.55
Math.round(num)
結果是 117 這是錯的!!
所以
參考這個
https://windperson.wordpress.com/2013/02/21/c-%E5%B0%87%E5%B0%8F%E6%95%B8%E9%BB%9E%E5%BE%8C%E6%8C%87%E5%AE%9A%E4%BD%8D%E6%95%B8%E7%9A%84%E6%95%B8%E5%80%BC%E5%8E%BB%E6%8E%89%E7%9A%84%E6%96%B9%E6%B3%95/
改成
decimal GetFrag1(decimal input,int digit) //這個四捨六入五成雙才正確
{
if (digit < 0) { return Math.Floor(input); }
double pow = Math.Pow(10, digit);
decimal sign = input >= 0 ? 1 : -1;
return sign * Math.Floor(sign * input * (decimal)pow) / (decimal)pow;
}
GetFrag1(num, 0).ToString()
結果 116
[轉]vm安全性
http://www.mobile01.com/topicdetail.php?f=494&t=4790863
EluSiOn
請看 https://www.openssl.org/news/secadv/20160503.txt Severity: High. 2016/05/03 嚴重的 bug. 但是到了今天我伺服器上所有的 patch 都已經更新完畢了. 但是 Q & S 的 nas 的 patch 連影子都沒有.
所有的 debian/ubuntu/centos/freebsd 基本上都會在 5個工作天內完成 patch 提供更新, 但是不管是 Q牌或是S牌的更新是絕對超過 30天以上的.
再來就是 VM 有自己獨立的 file system. 其 file system 損會是不會傷害到 host 的資料. 但是 LXC/Docker 是允許跟 NAS host 共用資料夾, 這個時候, 就有機會讓針對於 host 共享的資料夾的資料造成毀損.
防火牆是使用 PFSense, 你的安全係數可以拉很高! 不管是 Deep packet inspection (DPI), Intrusion Detection System IDS 以及 Intrusion Prevention System 都有. 但是就要看你防火牆的 cpu 是否夠力了
pfsense 主體是 iptable, 但是搭配了其它的 package 後 (直接從 pfsense 裡面選擇安裝), 它就變成非常的強大. 安全防護的 package 如下
1. pfBlockerNG
2. snort IDS/IPS
3. Squid Proxy 可以搭配 clamav 掃毒任何所有的 http request.
但是上述這些服務都非常吃 cpu. 一定要時候夠有力的喲. intel atom 2558 等級以上的才可能考慮全開.
j1900 n3150 n3700 這些都不夠力
EluSiOn
請看 https://www.openssl.org/news/secadv/20160503.txt Severity: High. 2016/05/03 嚴重的 bug. 但是到了今天我伺服器上所有的 patch 都已經更新完畢了. 但是 Q & S 的 nas 的 patch 連影子都沒有.
所有的 debian/ubuntu/centos/freebsd 基本上都會在 5個工作天內完成 patch 提供更新, 但是不管是 Q牌或是S牌的更新是絕對超過 30天以上的.
1. pfBlockerNG
2. snort IDS/IPS
3. Squid Proxy 可以搭配 clamav 掃毒任何所有的 http request.
但是上述這些服務都非常吃 cpu. 一定要時候夠有力的喲. intel atom 2558 等級以上的才可能考慮全開.
j1900 n3150 n3700 這些都不夠力
[轉]减少HTTP请求之将图片转成二进制并生成Base64编码,可以在网页中通过url查看图片(大型网站优化技术)
http://www.cnblogs.com/it-cen/p/4624939.html
android crosswalk goback
MainActivity.java
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
if(event.getKeyCode() == KeyEvent.KEYCODE_BACK && event.getAction() != KeyEvent.ACTION_UP) { //按下有用,key up 無用
if (mXWalkView != null && mXWalkView.getNavigationHistory().canGoBack()) {
mXWalkView.getNavigationHistory().navigate(XWalkNavigationHistory.Direction.BACKWARD, 1);
return true;
}
}
return false;
}
訂閱:
文章 (Atom)