- Type: Design proposal
- Author: Viacheslav Makarov
- Status: Draft
Reduce the need in @UnsafeVariance. Allow covariant types to have non-private methods
with non-covariant signature. To protect class' covariance, out-project signatures
| function Get-ArgumentCompleter { | |
| <# | |
| .SYNOPSIS | |
| Get custom argument completers registered in the current session. | |
| .DESCRIPTION | |
| Get custom argument completers registered in the current session. | |
| By default Get-ArgumentCompleter lists all of the completers registered in the session. | |
| .EXAMPLE | |
| Get-ArgumentCompleter |
| Today I did a quick google search to see if any emulators had been written in Java. As it urns out there was a Sega Megadrive emulator called [jEnesis](http://www.workingdesign.de/projects/jenesis.php) that was written by Stephan Dittrich and released back in 2006. | |
| Most of the site is just dead links now and I wasn't able to find a working download there but I was able to track down a build of the project else where. Unfortunately however, the build I found was version 0.0.5 from May 2006 so it doesn't include the changes that went into the final v0.1.0 that was supposed to have been built in June 2006 (perhaps it was never made public). | |
| The jEnesis.jar that I downloaded depends on a very old [lwjgl](https://www.lwjgl.org/). The timestamp for the file was December 2005 which would make it [version 0.99](https://sourceforge.net/projects/java-game-lib/files/Official%20Releases/LWJGL%200.99/). | |
| This old lwjgl only supported 32-bit systems, so running `java -cp jEnesis.jar;lwjgl.jar jenesis.Main` would throw a |
| import android.content.Context | |
| import android.content.Intent | |
| import android.content.IntentFilter | |
| import androidx.lifecycle.Lifecycle.Event.ON_DESTROY | |
| import androidx.lifecycle.Lifecycle.Event.ON_START | |
| import androidx.lifecycle.LifecycleObserver | |
| import androidx.lifecycle.LifecycleOwner | |
| import androidx.lifecycle.OnLifecycleEvent | |
| import android.content.BroadcastReceiver as StockReceiver |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Reflection; | |
| using UnityEngine; | |
| public class BaseBehaviour : MonoBehaviour | |
| { | |
| protected virtual void OnEnable() | |
| { |
| /* | |
| * Copyright (C) 2018 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| Hi All! | |
| I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
| Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
| One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
| Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
| App Description: | |
| ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
| # To get file | |
| adb pull <PATH/TO/FILE/ON/DEVICE> | |
| # To push file | |
| adb push <PATH/TO/FILE> <PATH/TO/DESTINATION> | |
| # To get wifi MAC address | |
| adb shell cat /sys/class/net/wlan0/address | |
| # To get IP Address |
| import android.annotation.TargetApi; | |
| import android.content.ContentUris; | |
| import android.content.Context; | |
| import android.database.Cursor; | |
| import android.net.Uri; | |
| import android.os.Build; | |
| import android.os.Environment; | |
| import android.provider.DocumentsContract; | |
| import android.provider.MediaStore; | |
| import android.provider.OpenableColumns; |
| $here = Split-Path -Parent $MyInvocation.MyCommand.Path | |
| $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path) -replace '\.Tests\.', '.' | |
| . "$here\$sut" | |
| Describe "Compare-Hashtable" { | |
| Context "When both are empty" { | |
| $Left, $Right = @{}, @{} | |
| It "should return nothing" { | |
| Compare-Hashtable $Left $Right | Should BeNullOrEmpty |