What is that `Applications` folder in Windows 10 and how to get rid of it?

I discovered that most of the programs in Windows are no longer links to executables. They are located in unknown Applications folder without path.

enter the description of the image here

Is it possible to disable this function and return to executable links? If not, how is it possible to know the executable link of the icons in these folders?

If it is impossible, what is the name of the type of applications that are installed in this way so that I know it in advance and never install them?

[ Mythology & Folklore ] Open question: Why do Democrats want to get rid of the 2nd Amendment?

[Mythology and folklore] Open question: Why do Democrats want to get rid of the 2nd Amendment? .

[ Politics ] Open question: Why do liberals think weapons are the problem? Is this another tactic of the liberals to get rid of the Second Amendment?

[Politics] Open question: Why do liberals think weapons are the problem? Is this another tactic of the liberals to get rid of the Second Amendment? .

google play services – How to get rid of "The device is not certified"?

I wanted to ask if there is any solution to get rid of this "Uncertified Device" without / with root. I have flashed the Phusson GSI and then the GApps Micro, but the first error I get is that in the configuration screen, it stays in Check for updates no matter how much time I spend checking (Problem 1). The second problem is that I have sent the identification of the Android device (or whatever) used to certify the device, but if not. He still says he is not certified. I can fake it with Magisk, which is certified by an ummm module … I forgot your name (but it's not PlayStore Visa for sure) but I still can't use Google Play services on my device. Every time I use an application that requires it, an error appears indicating that "Google Play Services has problems …..". What can I do to solve this problem and use Google Play services? (I have Redmi S2 but the problem seems to be on all devices)

python: pd.concat gets rid of the multiple index when the axis is set to axis = 1

I am trying to concatenate four data frames with identical indexes but different columns of multiple indexes.

When i use:
df = pd.concat((df_wa, df_avg, df_sum, df_count), sort=False)

and then write to excel, the DataFrame prints the multiple index with the first index in the top row of Excel and the other index as the bottom row.

cash … fees … apr

WA … count … average

However, the axis must be set as axis = 1 so that the indices are not repeated for each new data frame. Then I use:

df = pd.concat((df_wa, df_avg, df_sum, df_count), axis=1, sort=False)

But then I lose the multiple index, since it becomes a tuple.

(free_cash_flow, WA) … (fees received, count) … (April, average)

I tried using levels, keys and unstacking without success. Any idea how to undo the index?

c # – ASP.NET web API Unity TransientLifetimeManager how to get rid of Dbcontext

I am using a work unit, generic repository and Unity as DI. My problem is that TransientLifetimeManager cannot get rid of Dbcontext, so I have to do it somehow. Could you check my code and help me? I couldn't find a way to get rid of him.

Here is my controller:

    namespace Game.Controllers
    {
        (System.Web.Http.RoutePrefix("api/v2/game"))
        public class GameController : ApiController
        {
            private readonly IGameServices _gameServices;


            #region Public Constructor

            /// 
            /// Public constructor to initialize game service instance
            /// 
            public GameController(IGameServices gameServices)
            {
                _gameServices = gameServices;
            }


            #endregion


            // POST: api/Game
            //(RequireHttps) For Prod Only

            (HttpPost, Route("purchase"))
            public async Task PurchaseGame(RequestDto game)
            {
                if (!ModelState.IsValid)
                {
                    return BadRequest(ModelState);
                }
                //Call Services
                var gameConfirmResponse = await _gameServices.GamePurchase(game);
                switch (gameConfirmResponse.StatusCode)
                {
                    case HttpStatusCode.NotFound:
                    {
                        return NotFound();
                    }
                    case HttpStatusCode.InternalServerError:
                    {
                        return InternalServerError();
                    }
                    case HttpStatusCode.OK:
                    {
                        if (gameConfirmResponse.Content == null)
                        {
                            return new System.Web.Http.Results.ResponseMessageResult(
                                Request.CreateErrorResponse((HttpStatusCode) 222, new HttpError("No Results Found")));
                        }

                        var responseStream = await gameConfirmResponse.Content.ReadAsStringAsync();

                        var resultResponse = JsonConvert.DeserializeObject(responseStream);
                        if (resultResponse.coupons == null)
                        {
                            return new System.Web.Http.Results.ResponseMessageResult(
                                Request.CreateErrorResponse((HttpStatusCode) 222,
                                    new HttpError("No Coupons Available for this Game")));
                        }

                        //Transform GameConfirmResponse into DTO for returning result
                        var config = new MapperConfiguration(cfg =>
                        {
                            cfg.CreateMap();
                            cfg.CreateMap();
                        });
                        var iMapper = config.CreateMapper();
                        var resultDto = iMapper.Map(resultResponse);
                        return Ok(resultDto);
                    }
                    case HttpStatusCode.Unauthorized:
                    {
                        return Unauthorized();
                    }
                    case HttpStatusCode.RequestTimeout:
                    {
                        return InternalServerError();
                    }
                }

                return Ok(gameConfirmResponse);
            }



            protected override void Dispose(bool disposing)
            {
                if (disposing)
                {
                    ???
                }
                base.Dispose(disposing);
            }
        }
    }

Here is my service:

namespace BusinessService
{
    public class GameServices : IGameServices
    {
        private readonly UnitOfWork _unitOfWork;

        /// 
        /// Public constructor.
        /// 
        public GameServices(UnitOfWork unitOfWork)
        {
            _unitOfWork = unitOfWork;
        }

        /// 
        /// Creates a product
        /// 
        /// 
        /// 
        public async Task GamePurchase(RequestDto requestDto)
        {
            HttpResponseMessage response = null;

            response = await CallGameNew(requestDto) ?? await CallRazerService(requestDto);

            return response;
        }



        private async Task CallRazerService(RequestDto requestDto)
        {
            HttpResponseMessage response = null;

            using (var scope = new TransactionScope(TransactionScopeAsyncFlowOption.Enabled))
            {



                #region Call Razer initiate/confirm

                //Call Razer for initiation
                response = await Utilities.CallRazer(gameRequest, "purchaseinitiation");

                //Read response
                var htmlResponse = await response.Content.ReadAsStringAsync();
                var gameResponse = JsonConvert.DeserializeObject(htmlResponse);

                //Adding initiation response into database
                _unitOfWork.GameResponseRepository.Insert(gameResponse);

                if (gameResponse.initiationResultCode == "00")
                {
                    gameRequestDto = iMapper.Map(gameRequest);
                    gameRequestDto.validatedToken = gameResponse.validatedToken;
                    //Create signature
                    var gameConfirmRequest = Utilities.CreateSignature(gameRequestDto, RequestType.Confirm);

                    //Transform DTO into GameRequest for calling Razer Initiate
                    var gameConfirmRequests = iMapper.Map(gameConfirmRequest);

                    //Add confirm request into database
                    _unitOfWork.GameConfirmRequestRepository.Insert(gameConfirmRequests);

                    //Call Razer for confirm
                    response = await Utilities.CallRazer(gameConfirmRequest, "purchaseconfirmation");

                    //Read response
                    htmlResponse = await response.Content.ReadAsStringAsync();
                    var gameConfirmResponse = JsonConvert.DeserializeObject(htmlResponse);

                    //Set service
                    gameConfirmResponse.service = "RAZER";
                    //Add confirm response into database
                    _unitOfWork.GameConfirmResponseRepository.Insert(gameConfirmResponse);
                }

                #endregion

                await _unitOfWork.SaveAsync();
                scope.Complete();
            }

            return response;
        }


        }

    }
}

Here is my work unit:

namespace DataModels
{
    public class UnitOfWork : IDisposable
    {
        private readonly GameContext _context;
        private readonly GenericRepository gameRequestRepository;


        public UnitOfWork(GameContext context)
        {
            _context = context;
        }

        public GenericRepository GameRepository
        {
            get
            {
                return this.gameRequestRepository ?? new GenericRepository(_context);
            }
        }


        public void Save()
        {
            _context.SaveChanges();
        }

        public async Task SaveAsync()
        {
            await _context.SaveChangesAsync();
        }

        private bool disposed = false;

        protected virtual void Dispose(bool disposing)
        {
            if (!this.disposed)
            {
                if (disposing)
                {
                    _context.Dispose();
                }
            }
            this.disposed = true;
        }

        public void Dispose()
        {
            Dispose(true);
            GC.SuppressFinalize(this);
        }
    }
}

Here is the Unity configuration:

namespace Game
{
    /// 
    /// Specifies the Unity configuration for the main container.
    /// 
    public static class UnityConfig
    {
        #region Unity Container
        private static Lazy container =
          new Lazy(() =>
          {
              var container = new UnityContainer();
              RegisterTypes(container);
              return container;
          });

        /// 
        /// Configured Unity Container.
        /// 
        public static IUnityContainer Container => container.Value;
        #endregion


        public static void RegisterTypes(IUnityContainer container)
        {
            // Default empty Time manager!
            container.RegisterType().RegisterType(new TransientLifetimeManager());
            container.RegisterType(new TransientLifetimeManager());

        }
    }
}

Adding available to the Service could solve the problem. What you think?

namespace BusinessService
{
    public class GameServices : IGameServices
    {
        private readonly UnitOfWork _unitOfWork;

        /// 
        /// Public constructor.
        /// 
        public GameServices(UnitOfWork unitOfWork)
        {
            _unitOfWork = unitOfWork;
        }


        /// 
        /// Creates a product
        /// 
        /// 
        /// 
        public async Task GamePurchase(RequestDto requestDto)
        {
            HttpResponseMessage response = null;

            response = await CallGameNew(requestDto) ?? await CallRazerService(requestDto);

            return response;
        }



        private async Task CallGameNew(RequestDto requestDto)
        {
            HttpResponseMessage response = null;
            using (var scope = new TransactionScope(TransactionScopeAsyncFlowOption.Enabled))
            {
                //Transform DTO into GameRequest for calling Game Initiate
                var config = new MapperConfiguration(cfg =>
                {
                    cfg.CreateMap();
                    cfg.CreateMap();
                    cfg.CreateMap();
                    cfg.CreateMap();
                    cfg.CreateMap();
                });
                var iMapper = config.CreateMapper();
                var gameRequest = iMapper.Map(requestDto);
                //Unique reference ID
                gameRequest.referenceId = Guid.NewGuid();

                var gameRequestDto = iMapper.Map(gameRequest);
                //Create signature
                gameRequest = Utilities.CreateSignature(gameRequestDto, RequestType.Initiate);

                //Set service
                gameRequest.service = "OUR";

                //Add initiation request into database
                _unitOfWork.GameRepository.Insert(gameRequest);

                //Query GameBank database
                var gameBankResult = await _unitOfWork.GameBankRepository.GetGamesAsync(g =>
                    g.productCode == requestDto.productCode && g.referenceId == Guid.Empty);


                if (gameBankResult.Count() >= requestDto.quantity)
                {
                    var k = requestDto.quantity - 1;
                    for (var i = k; i >= 0; --i)
                    {
                        gameBankResult(i).referenceId = gameRequest.referenceId;
                        gameBankResult(i).requestDateTime = DateTime.Now;
                        gameBankResult(i).responseDateTime = DateTime.Now;

                    }

                    //Update GameBank
                    _unitOfWork.GameBankRepository.Update(gameBankResult(k));

                    var gameBankConfirmResponse =
                        iMapper.Map, IList>(gameBankResult);


                    if (requestDto.quantity == 1)
                    {
                        gameBankConfirmResponse(k).purchaseStatusDate = DateTime.Now;

                        var resultResponse = JsonConvert.SerializeObject(gameBankConfirmResponse(k),
                            Formatting.Indented,
                            new JsonSerializerSettings()
                            {
                                ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore
                            });
                        response = new HttpResponseMessage
                        {
                            StatusCode = System.Net.HttpStatusCode.OK,
                            Content = new StringContent(resultResponse, System.Text.Encoding.UTF8, "application/json"),
                        };
                        //Set service
                        gameBankConfirmResponse(k).service = "OUR";
                        _unitOfWork.GameConfirmResponseRepository.Insert(gameBankConfirmResponse(k));
                    }
                    else if (requestDto.quantity > 1)
                    {
                        var gameResult = new GameConfirmResponse
                        {
                            coupons = new List()
                        };
                        var price = 0.0;
                        var quantity = 0;

                        foreach (var item in gameBankResult)
                        {
                            price = price + item.unitPrice;
                            quantity = quantity + 1;
                            foreach (var coupons in item.coupons)
                            {
                                var gameCouponResult = new Coupon()
                                {
                                    expiryDate = coupons.expiryDate,
                                    Pin = coupons.Pin,
                                    Serial = coupons.Serial
                                };
                                //Add coupon values
                                gameResult.coupons.Add(gameCouponResult);
                            }

                        }

                        //Set summed/counted values
                        gameResult.referenceId = gameBankResult(0).referenceId;
                        gameResult.productCode = gameBankResult(0).productCode;
                        gameResult.quantity = quantity;
                        gameResult.currency = gameBankResult(0).currency;
                        gameResult.unitPrice = gameBankResult(0).unitPrice;
                        gameResult.totalPrice = price;
                        gameResult.productDescription = gameBankResult(0).productDescription;
                        gameResult.purchaseStatusDate = DateTime.Now;
                        gameResult.totalPayablePrice = price;
                        //Set service
                        gameRequest.service = "OUR";

                        //var gameBankConfirmResponse = iMapper.Map(gameResult);
                        //Add confirm response into database
                        _unitOfWork.GameConfirmResponseRepository.Insert(gameResult);
                        var resultResponse = JsonConvert.SerializeObject(
                            gameResult, Formatting.Indented,
                            new JsonSerializerSettings()
                            {
                                ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore
                            });
                        response = new HttpResponseMessage
                        {
                            StatusCode = System.Net.HttpStatusCode.OK,
                            Content = new StringContent(
                                resultResponse, System.Text.Encoding.UTF8,
                                "application/json"),
                        };
                    }

                }

                await _unitOfWork.SaveAsync();

                scope.Complete();
            }

            return response;
        }


...

        public void Dispose()
        {
            _unitOfWork.Dispose();
        }

    }
}

Can I get rid of the search engine suggestion in the Firefox omnibar?

I would like to get rid of the suggestion when I write in the Firefox omnibar. I got rid of the suggestions for my non-default browsers, but it still appears with a blue bar that only repeats what I'm writing in the omnibar, plus a message that says "search with google".

Can I get rid of that box completely? I wonder if it is possible to edit the userChrome file.

Rush Limbaugh: Mueller was behind the coup to get rid of Donald Trump. True or false?

I don't think Mueller remembers who or what is behind … unless he says that in the report and then backs it up … maybe … if you can show him where he wrote It's … yes, it's fine … then he He will support you and send you to what you just recommended …

– And I could add that it was sad to see the man, who is clearly ill, who was posing as the media circus.

.

Get rid of xscreensaver in Lubuntu

When you log in to Lubuntu 19.04 you are using sddm, but when the computer is idle for too long and goes into inactivity, when I log in again it is using xscreensaver (which I cannot support the aspect). I installed gdm3 in an attempt to change both to a single interface, but all I did was replace sddm leaving xscreensaver as my login after inactivity. How can I replace xscreensaver in Lubuntu?

c # – How can I get rid of a dependency on a single branch?

I'm working on an API solution, divided into three projects:

  • API
  • Domain
  • DataAccessLayer

I have created an interface, in Domain draft, Customer repository, with only one method:

Domain.Customer GetCustomerById (int customerId)

The DataAccessLayer implements this interface with a FooCustomerRepository.

Foo is a DB provider specific to the application. Provides a .NET assembly, which is referenced in the DataAccessLayer project.

The API controller only uses the interface, which is injected through Unity:

ApiController.cs

    public class ApiController: Controller
{
Public ApiController
Domain.ICustomerRepository customerRepository)
{
...
}
}

UnityConfig.cs

Static public register RegisterTypes (container IUnityContainer)
{
container.RegisterType();
}

For it to work, I have to create a dependency for DataAccessLayer in my API project, and therefore to Foo mounting.

I was assigned an intern to work on this project. For bureaucratic reasons, I can not have Foo It was installed on your computer before a long time, but I would like you to work on the API project and be able to compile it.

A fake repository that returns fictitious data is available in the API project.

How I can get this?

I have thought about creating a new branch and eliminating anything that has to do with DataAccessLayer, including UnityConfig and the references, but it seems that it would be a nightmare to re-merge (as you can imagine, the real project is a bit more complex).

Is that the only way to go?