This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://download.microsoft.com/download/7/3/3/733ad403-90b2-4064-a81e-01035a7fe13c/ms%20partition%20ii.pdf | |
using System.Collections.Immutable; | |
using System.Reflection; | |
using System.Reflection.Metadata; | |
using System.Reflection.PortableExecutable; | |
using System.Text; | |
foreach (string arg in args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
while IFS= read -r -d '' file; do | |
echo "$file" | |
jq --sort-keys . "$file" > "$file.normalized" | |
mv "$file.normalized" "$file" | |
done < <(find . -type f -iname '*.json' -print0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There's a bunch of environment variables that need to be set up for this to work correctly. | |
In particular, you need to set DOTNET_ROOT to point to your .NET installation. | |
If you are using Fedora's packages for .NET, it's all done for you, but you need to log | |
out and then back in after installing .NET packages. Here's an example: | |
``` | |
# Use container to simulate a fresh install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.fmf/version b/.fmf/version | |
new file mode 100644 | |
index 0000000..d00491f | |
--- /dev/null | |
+++ b/.fmf/version | |
@@ -0,0 +1 @@ | |
+1 | |
diff --git a/README.md b/README.md | |
index 76a7872..42d2203 100644 | |
--- a/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Check whether dotnet-dump, and its subcommands like `ps`, `collect` | |
# and `analyze` are working | |
if [ -f /etc/profile ]; then | |
source /etc/profile | |
fi | |
# Enable "unofficial strict mode" only after loading /etc/profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/runtime/src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json b/src/runtime/src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json | |
index aae2543ec5e..40e28a45297 100644 | |
--- a/src/runtime/src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json | |
+++ b/src/runtime/src/libraries/Microsoft.NETCore.Platforms/src/runtime.compatibility.json | |
@@ -19,18 +19,6 @@ | |
"any", | |
"base" | |
], | |
- "alpine-armv6": [ | |
- "alpine-armv6", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /home/omajid/fedora-git/dotnet6.0/dotnet6.0.spec 2022-11-10 17:36:53.768827846 -0500 | |
+++ dotnet7.0.spec 2022-11-11 08:52:14.076931655 -0500 | |
@@ -1,18 +1,4 @@ | |
-%bcond_with bootstrap | |
- | |
-# Avoid provides/requires from private libraries | |
-%global privlibs libhostfxr | |
-%global privlibs %{privlibs}|libclrjit | |
-%global privlibs %{privlibs}|libcoreclr | |
-%global privlibs %{privlibs}|libcoreclrtraceptprovider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ podman run -it ubuntu:22.04 [93/93] | |
Resolved "ubuntu" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf) | |
Trying to pull docker.io/library/ubuntu:22.04... | |
Getting image source signatures | |
Copying blob d19f32bd9e41 done | |
Copying config df5de72bdb done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
package=$1 | |
echo " # Alpine" | |
podman run -it -q alpine:3.13 /bin/sh -c "apk update -q; apk info $package" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ls | |
appsettings.Development.json appsettings.json killme.csproj obj Program.cs Properties Startup.cs | |
$ rm -rf obj | |
$ ~/local/dotnet-sdk-microsoft-3.1.105/dotnet restore | |
Restore completed in 95.39 ms for /home/omajid/temp/killme/killme.csproj. | |
$ rm -rf obj/ | |
$ ~/local/dotnet-sdk-microsoft-3.1.417/dotnet restore | |
Determining projects to restore... | |
Restored /home/omajid/temp/killme/killme.csproj (in 104 ms). |
NewerOlder