發表文章

目前顯示的是 9月, 2020的文章

怒海驚魂30

圖片
20200926 怒海驚魂30 日 ISBN 978-986-6095-10-8 那是上本驚夢的續集, 承接主角上漁船的故事. 一路睇, 一路令想起giggs channel傑斯, 說當年64, 恨不得你們社運人士自己著草, 因為人在外, 慢慢的就變得没有影響力, 政權的獨才可以繼續. 和 raga finance 羅博士說現在的香港, 一係走, 一係留低做狗, 慢慢的清洗你們香港人, 清洗到一個位, 習以為常. 所以當年越南華人就係咁, 越共恨不多把你們趕走, 那是中共政權, 當然唔會請救僑胞, 口裏說大家都係中國人, 口講口賠, DLLM. 中國人這個字, 都係好L 令人不快. 作者算是幸運, 有幾多人死左海上, 又有幾多人被海盜姦殺, 又有幾多人活活餓死, 人食人. 又有幾多可以去到自由的國家, 你想想, 那些來到香港的越南難民. 唉, 難民. 你越想越是可怕. 香港人成為難民, 那怎麼辦? 當然, 窮人先死, 到唔走唔得的地步, 有親人在海外, 是重要, 只是有一個地方可以投靠, 就好似作者咁. 現在, 在世界上, 也有好多難民, 無奈的係, 離開自己的土地, 可以去拿. 一個人還可以, 如果一家, 家有老小, 唉, 後果都係不能想像.  入面有好多廣東話的內容, 如果你睇番越南的歷史, 其實本身有族群係用廣東話, 所以作者文中也有很多丟拿媽.  最後,  一開始, 書就有一段話: 女問: 爸, 點解我地要去澳洲? 澳洲有幾遠?   爸: 澳洲好遠, 係邊我都唔知, 不過個到係一個讓人活得有尊嚴的地方 香港人, 加油. 

Andriod volley, request restful

圖片
******* volley localhost not work, because call simulator localhost, it need to change to use IIS and local IP 1. Add dependencies dependencies { implementation fileTree( dir : "libs" , include : [ "*.jar" ]) implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.1' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' implementation 'com.android.volley:volley:1.1.1' } 2. Test code public void sendMessage(View view){ //Test call api //https://localhost:44355/api/driversRestful/1 RequestQueue queue = Volley. newRequestQueue ( this ); // String url ="http://localhost:54066/api/driversRestful/1"; String url = "http://192.168.0.165:8080/api/driversRestful/1" ...

mysql .net core 3.0 entityframework

It works I use nuget to download 7.2.2 Scaffolding an Existing Database in EF Core Scaffolding a database produces an Entity Framework model from an existing database. The resulting entities are created and mapped to the tables in the specified database. This feature was introduced in MySQL Connector/NET 6.10.2-beta and 8.0.8-dmr; however, scaffolding is not supported with all versions of Connector/NET (see  Table 7.2, “Supported versions of Entity Framework Core” ). Note The  Design  package for scaffolding a database is part of the main package in EF Core 2.0 (or later) and no longer separate. If you are upgrading from EF Core 1.1 to EF Core 2.0 or 2.1, you must remove the  MySql.Data.EntityFrameworkCore.Design  package manually. NuGet packages have the ability to select the best target for a project, which means that NuGet will install the libraries related to that specific framework version. There are two different ways to scaffold an existing data...