[轉]只要懂jQuery 也能學會react js (react js入門篇 、2)
http://www.slideshare.net/JustinWu13/j-queryreact-js
很清楚
http://www.slideshare.net/JustinWu13/react-react-tutorial-2
很清楚
http://www.slideshare.net/JustinWu13/react-react-tutorial-2
[轉]測試有沒有唯一值
http://my.oschina.net/phpfunction/blog/65090
<?php
$a = array();
for($i=0; $i<16*16*16*2; $i++){
$a[$i] = uniqid();
}
$b = array_count_values($a);
$c = array_keys($b, 2);
if($c){
echo '<pre>';
print_r($c);
}
echo '<pre>';
print_r(array_count_values($a));
exit;
?>
[轉] .....
http://www.mobile01.com/topicdetail.php?f=291&t=4760575
morgan8639
2016-04-07 01:17 #6
我是曾經投入網賺領域超過八家..月報酬1~7%以上的失敗過來人和你說:
"不願意"
其實像這種吸金案都差不多,網路和實體差別也只是產品服務不同罷了。
原因不是負面思考,而是要用事實說話
要分兩部分:(知己知彼,百戰不怠)
知彼部分:
1.現在低利率,為啥你不和銀行貸款反而要加盟?
2.我怎麼知道你給我的2萬8是不是從本金裡拿給我的?
3.10萬1%、100萬給1.2%利率,200萬1.4%,什麼好東西還可以讓你這樣報酬定價的?還是你只是想快速籌錢?(傾向這一塊)
現在廣告都以網路行銷居多,實體行銷已經是弱勢,你拿什麼和FB廣告鬥?20元就能起家欸!
我比較傾向建商租地賣不出去,所以變相拿去做附屬建案吸金籌錢+增加房產價值這個論點
現在連饒河夜市店面都租不滿了..小小一個看板牆效率會高嗎?
政府部門他們熟嗎?不然怎麼防止下一位柯P把北車2F以上廣告牆都拆掉的類似政策呢?
不然怎麼能批准像基隆路信義路交叉口那個影片牆呢?
會不會哪一天政府搞你陰溝翻船呢?如果你和政府有關係..那你怎會和銀行沒關係又借不到錢想讓利呢?
老闆的品德怎麼樣呢?有經過驗證嗎?
資訊的落差就是財富的落差
這筆錢我們盡量不賺
第一題對方一定是無法解答的~銀行鑑價如果有關係絕對是借的到低利錢
第二題加上本金要扣3年一整個就更無言風險更大
第三題代表對方公司層級是業務思維..只是想找消費者罷了(不好意思,我經營傳直銷四年多只上總監,跟的是台灣前三名的個人營收領導人,看的人來來去去的多一聽數據大概知道背後狀態)
你要做投資以前 一定要先知道上一位買家的成本
然後要知道下一位買家是否願意用你願意賣出的價格買進
這個投資案才成立 沒有的話你就是消費者
買產品的消費者賺不到錢..至少可以欺騙自己得到健康
投資的消費者賺不到錢就......................
至於知己部分:
你資金規模只要不影響生活,就可以無限嘗試
投資可以先投基本額,確認回收本錢再重倉加碼都不遲
至少利於不敗
fb廣告行銷也是這樣..一開始先投入20~100$/天去測試市場
確定文案點擊率大於收入才會開始重倉加碼廣告費
你掌握這個邏輯做事都能有守有攻!
(這篇過幾天會刪除~~看到就是有緣^^)
gitlab ubuntu 15.10 TortoiseGit
1、virtualbox create vm
2core ram 2G hdd 20G
2、download ubuntu 15 server, best new version iso
3、install ubuntu,no need add any server.
4、change ip dhcp to static PS:new ubuntu eth0 maybe become to enp0s3 , don't warring.
sudo nano /etc/newwork/interfaces
5、change dns
sudo nano /etc/newwork/interfaces
6、try to connection Internet, if can conntiuum
7、Update system
sudo apt-get update
sudo apt-get upgrade
===========================
8、install gitlab
https://about.gitlab.com/downloads/#ubuntu1404
a、sudo apt-get install curl openssh-server ca-certificates postfix
URL:git@your_ip:root/your_project_name.git
2core ram 2G hdd 20G
2、download ubuntu 15 server, best new version iso
3、install ubuntu,no need add any server.
4、change ip dhcp to static PS:new ubuntu eth0 maybe become to enp0s3 , don't warring.
sudo nano /etc/newwork/interfaces
auto eth0/etc/init.d/networking restart
iface eth0 inet static
address 192.168.x.x #IP位址
netmask 255.255.255.0 #網路遮罩
gateway 192.168.x.x #預設閘道
5、change dns
sudo nano /etc/newwork/interfaces
dns-nameservers 8.8.8.8 8.8.4.4/etc/init.d/networking restart
6、try to connection Internet, if can conntiuum
7、Update system
sudo apt-get update
sudo apt-get upgrade
===========================
8、install gitlab
https://about.gitlab.com/downloads/#ubuntu1404
a、sudo apt-get install curl openssh-server ca-certificates postfix
postfix maybe ask some question:I choose internet like this... not important
b、 step 2
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get update
sudo apt-get upgrade
sudo apt-get upgrade
but get error, so
https://packages.gitlab.com/gitlab/gitlab-ce
curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/wheezy/gitlab-ce_8.3.6-ce.0_amd64.deb/download
dpkg -i gitlab-ce_8.3.6-ce.0_amd64.deb
c、finish install
sudo gitlab-ctl reconfigure
===========================
9、 use web broswer http://your_ip
account:root password:5iveL!fe
maybe can change same password.
10、create new project
user is root
Private
Private
then create
===========================
11、TortoiseGit for gitlab
a、Git for windows
https://git-scm.com/download/win
install
b、Download TortoiseGit and language packs
https://tortoisegit.org/download/
install
reboot windows
c、create Public and Private key
run tortoisegit -> PuTTYgen ->Generate then mouse move move move , let it finish.
.Public key
一、copy all to http://your_ip/profile/keys
add ssh key, put in key. Title is not import by yourself. Better is rsa-key-yyyymmdd.
二、do this step
http://sueboy.blogspot.tw/2016/04/gitlab-tortoiesgit-git-clone-server.html
.Private key : click Save private key button. save file. This file is very import.
d、On desktop right click, click git clone
putty (key):choose your Private key
now usually can get file. Success.
e、Success then right click on folder. TortoiseGit -> setting -> git
all->
name: by yourself
Email: by yourself
PS:by yourself is important. If you git push, this name and email, will in git.
===========================
Now Finish.
gitlab tortoiesgit git clone Server refused our key
This problem is root user, No Have .ssh folder
1、mkdir .ssh
2、chmod 700 .ssh
3、nano authorized_keys
copy gitlab ssh keys, put inside
4、chmod 600 authorized_keys
5、sudo service sshd restart
use tortoiesgit git clone, now usually no error msg :Server refused our key.
1、mkdir .ssh
2、chmod 700 .ssh
3、nano authorized_keys
copy gitlab ssh keys, put inside
4、chmod 600 authorized_keys
5、sudo service sshd restart
use tortoiesgit git clone, now usually no error msg :Server refused our key.
[轉]Download Crystal Reports For Visual Studio 2015
http://tektutorialshub.com/download-crystal-reports-for-visual-studio-2015/
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_16.exe
sap
https://scn.sap.com/docs/DOC-7824
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_16.exe
sap
https://scn.sap.com/docs/DOC-7824
[轉]Visual Studio程序打包软件——InstallShield(4)
http://blog.csdn.net/luoyouren/article/details/45953171
http://read01.com/78nNN.html
http://read01.com/78nNN.html
.NET Framework 4.6.1正式版完整離線安裝包
.NET Framework 4.6.1正式版完整離線安裝包
http://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe
https://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe
visual studio C# embed dll in .exe 打包dll到.exe firebird embedded
Loading Managed DLL Firebirdsql.DataFirebirdClient.dll is ok
Loading Unmanaged DLL fbembed.dll is not ok for embed
DEMO APPLICATION
Sure can run for
=====
http://www.codeproject.com/Articles/528178/Load-DLL-From-Embedded-Resource
1、want packget FirebirdSql.Data.FirebirdClient
tools -> NuGet manager - > manager NuGet
find FirebirdSql.Data.FirebirdClient install to project
2、reference -> FirebirdSql.Data.FirebirdClient.dll
a、copy local -> false
b、get full path [copy]
c、right click on Application1 -> add -> Existing item -> use b. path -> chooses file type dll -> find FirebirdSql.Data.FirebirdClient.dll add
f、click reference -> FirebirdSql.Data.FirebirdClient.dll
Build Action -> Embedded Resource
3、open program.css
a、add using System.Reflection;
b、in main() add
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
c、copy this all
private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
{
Assembly assembly = Assembly.GetExecutingAssembly();
//Project_Namespace.Package_Namespace.dll
//Project Namespace = TestProject
//Package Namesapce = Newtonsoft.Json
using (var stream = assembly.GetManifestResourceStream("FirebirdSql.Data.FirebirdClient.dll"))
{
byte[] buffer = new byte[stream.Length];
stream.Read(buffer, 0, buffer.Length);
stream.Flush();
stream.Close();
return Assembly.Load(buffer);
}
}
now run application for release, and see WindowsFormsApplication1\bin\Release
have .exe file, try to run.
======reference=====
http://ponyoth.hateblo.jp/entry/2015/07/28/072718
http://stackoverflow.com/questions/26179554/unable-to-access-embedded-firebird-database-server-with-net-client
http://www.sukitech.com/64/c-wpf-windows-form%EF%BC%8C%E5%B0%87dll%E5%8C%85%E9%80%B2exe%E5%9F%B7%E8%A1%8C%E6%AA%94%EF%BC%8C%E8%A3%BD%E4%BD%9C%E5%96%AE%E4%B8%80%E5%9F%B7%E8%A1%8C%E5%85%8D%E5%AE%89%E8%A3%9D%E6%87%89%E7%94%A8/
http://cyfangnotepad.blogspot.tw/2015/10/cnet-dllexe.html
https://support.microsoft.com/en-us/kb/319292#bookmark-5
Loading Unmanaged DLL fbembed.dll is not ok for embed
so easy way is not do embed.
DEMO APPLICATION
Sure can run for
=====
http://www.codeproject.com/Articles/528178/Load-DLL-From-Embedded-Resource
1、want packget FirebirdSql.Data.FirebirdClient
tools -> NuGet manager - > manager NuGet
find FirebirdSql.Data.FirebirdClient install to project
2、reference -> FirebirdSql.Data.FirebirdClient.dll
a、copy local -> false
b、get full path [copy]
c、right click on Application1 -> add -> Existing item -> use b. path -> chooses file type dll -> find FirebirdSql.Data.FirebirdClient.dll add
f、click reference -> FirebirdSql.Data.FirebirdClient.dll
Build Action -> Embedded Resource
3、open program.css
a、add using System.Reflection;
b、in main() add
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
c、copy this all
private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
{
Assembly assembly = Assembly.GetExecutingAssembly();
//Project_Namespace.Package_Namespace.dll
//Project Namespace = TestProject
//Package Namesapce = Newtonsoft.Json
using (var stream = assembly.GetManifestResourceStream("FirebirdSql.Data.FirebirdClient.dll"))
{
byte[] buffer = new byte[stream.Length];
stream.Read(buffer, 0, buffer.Length);
stream.Flush();
stream.Close();
return Assembly.Load(buffer);
}
}
now run application for release, and see WindowsFormsApplication1\bin\Release
have .exe file, try to run.
======reference=====
http://ponyoth.hateblo.jp/entry/2015/07/28/072718
http://stackoverflow.com/questions/26179554/unable-to-access-embedded-firebird-database-server-with-net-client
http://www.sukitech.com/64/c-wpf-windows-form%EF%BC%8C%E5%B0%87dll%E5%8C%85%E9%80%B2exe%E5%9F%B7%E8%A1%8C%E6%AA%94%EF%BC%8C%E8%A3%BD%E4%BD%9C%E5%96%AE%E4%B8%80%E5%9F%B7%E8%A1%8C%E5%85%8D%E5%AE%89%E8%A3%9D%E6%87%89%E7%94%A8/
http://cyfangnotepad.blogspot.tw/2015/10/cnet-dllexe.html
https://support.microsoft.com/en-us/kb/319292#bookmark-5
訂閱:
文章 (Atom)