Skip to content

Instantly share code, notes, and snippets.


Fernando Tirolo Gomes tirolo

View GitHub Profile
tirolo /
Created May 26, 2016 05:56
Can someone link me to some facts about this API surface thing people were getting hot and bothered about earlier?

As per this comment:

As in:

Immo Landwerth ( OK, first let me outline the general approach. As Miguel mentioned on Twitter, our goal is bring back more APIs to .NET Core. The general direction is:

  1. We're committed to a 100% source and binary compatibility with the subset of mscorlib and friends that are also exposed in Xamarin.
  2. We'll try to keep our implementation as factored as possible, without compromising (1).
  3. We'll have type forwarders from mscorlib and friends to our implementations (CoreCLR and CoreRT).
  4. We'll continue to support PCLs (mscorlib based as well as System.Runtime based).
View lock-your-computer.ps1
$names = @("Scarlett Johansson", "Kim Kardashian West", "Megan Fox", "Eva Mendes", "Sofía Vergara", "Penélope Cruz", "Angelina Jolie", "Malin Akerman")
foreach ($name in $names)
start "$name&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjD3KCJv8rLAhXEtRQKHYVADrAQ_AUIBygB&biw=1440&bih=839"
$filePath = Join-Path $env:TEMP "lock-your-machine.txt"
Set-Content -Path $filePath -Value "LOCK YOUR COMPUTER!"