Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) | |
{ | |
var view = base.OnCreateView(inflater, container, savedInstanceState); | |
var recyclerView = view.FindViewById<RecyclerView>(Resource.Id.my_recycler_view); | |
if (recyclerView != null) | |
{ | |
recyclerView.HasFixedSize = true; | |
var layoutManager = new LinearLayoutManager(Activity); |
###Parsons: Journalism + Design ###Web Coding for Interactive Design October 14th, 2015
Interactive to inspire: Tanahashi, Y., UC Davis, StoryLines You can read their paper on the topic here.
using System; | |
using System.Collections.Concurrent; | |
using System.Reflection; | |
using System.Reflection.Emit; | |
internal class ILFieldBuilder | |
{ | |
private static readonly AssemblyBuilder AssemblyBuilder = | |
AssemblyBuilder.DefineDynamicAssembly( | |
new AssemblyName(nameof(ILFieldBuilder)), |
$ curl --help | |
Usage: curl [options...] <url> | |
--abstract-unix-socket <path> Connect via abstract Unix domain socket | |
--alt-svc <file name> Enable alt-svc with this cache file | |
--anyauth Pick any authentication method | |
-a, --append Append to target file when uploading | |
--basic Use HTTP Basic Authentication | |
--cacert <file> CA certificate to verify peer against | |
--capath <dir> CA directory to verify peer against | |
-E, --cert <certificate[:password]> Client certificate file and password |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using MyApp.AppServices.Configuration; | |
using MyApp.AppServices.EventBus.Command; | |
using MyApp.AppServices.Model.EventGrid; | |
using Framework.EventBus.Command; | |
using Framework.Model; |
make download resumable using c#
Resuming files is done by specifying the byte range of the file you would like to download using the Range HTTP header. This can be done in .NET with the HttpWebRequest.AddRange function.
For example:
The function using in Scaled-YOLOv4, please refer to Scaled-YOLOv4 repository.
Before start, the export script requires onnxsim
, you need to install it first :
$ pip install -q onnx-simplifier
In a ASP.NET Web application. You don't need mediator
Frankly it is not a Bad choice, no need to use a Mediator framework or make a Mediator Application just because everyone did.. Though, There are benefits in making a Mediator Application:
Read Part 1: MediatR vs MassTransit Mediator - Differences
The MassTransit Mediator implementation is more powerful than MediatR implementation, but also more complicate to use. Unit Testing a MassTransit Consumer is not a nice experience.
In this article I will propose some techniques to simplify the MassTransit Consumer and to make them look as straight forward as a MediatR handler.
We will study a very common use case (the most common use case which I can think of):