I'm not going to be maintaining this document anymore. I'm leaving it as-is since much of the FAQ section is still accurate and has yet to be incorporated into other resources.
Use CanI.RootMy.TV to find an exploit for your TV.
I'm not going to be maintaining this document anymore. I'm leaving it as-is since much of the FAQ section is still accurate and has yet to be incorporated into other resources.
Use CanI.RootMy.TV to find an exploit for your TV.
<!-- The following configuration should also work with Azure App Service --> | |
<configuration> | |
<system.web> | |
<!-- Disable X-AspNet-Version Header --> | |
<httpRuntime enableVersionHeader="false" /> | |
<!-- File upload size limit (KB), avoid DoS attack --> | |
<httpRuntime maxRequestLength="4096" /> | |
<!-- Disable debug & trace in Production --> | |
<compilation debug="false" /> | |
<trace enabled="false" /> |
$userPath = $env:USERPROFILE | |
$pathExclusions = New-Object System.Collections.ArrayList | |
$processExclusions = New-Object System.Collections.ArrayList | |
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
$pathExclusions.Add('C:\Windows\assembly') > $null | |
$pathExclusions.Add($userPath + '\Downloads\HeidiSQL_11.3_64_Portable') > $null | |
$pathExclusions.Add($userPath + '\.dotnet') > $null |
Have a repository on GitHub? Planning on making a repository on GitHub? This checklist is intended to introduce you to various features that may help you make the most of your GitHub repository with specific recommendations for C# repositories.
These are only suggestions.
They may not be appropriate for all repositories.
They are in no particular order.
Click each item to expand for more information.
# https://learn.microsoft.com/zh-tw/dotnet/framework/configure-apps/redirect-assembly-versions | |
<# | |
.Synopsis | |
Optimize assembly binding redirection in web.config or app.config | |
.EXAMPLE | |
. .\Optimize-AssemblyBinding.ps1; sort-binding -path .\web.config | |
. .\Optimize-AssemblyBinding.ps1; sort-binding -path .\web.config -whatIf | |
#> | |
function Optimize-AssemblyBinding(){ | |
Param ( |
$userPath = $env:USERPROFILE | |
$pathExclusions = New-Object System.Collections.ArrayList | |
$processExclusions = New-Object System.Collections.ArrayList | |
$pathExclusions.Add('C:\source\repos') > $null | |
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
$pathExclusions.Add('C:\Windows\assembly') > $null | |
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null | |
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio Services') > $null | |
$pathExclusions.Add($userPath + '\AppData\Local\GitCredentialManager') > $null |
# https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_profiles | |
# PowerShell < 6 on Windows: $Home\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 | |
# PowerShell >= 6 on Windows: $Home\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 | |
# PowerShell on Linux/macOS: ~/.config/powershell/Microsoft.PowerShell_profile.ps1 | |
# https://learn.microsoft.com/dotnet/core/tools/dotnet-environment-variables#dotnet_cli_ui_language | |
$env:DOTNET_CLI_UI_LANGUAGE = 'en-us' | |
# https://github.com/PowerShell/PSReadLine | |
if (Get-Command 'Set-PSReadlineKeyHandler' -ErrorAction SilentlyContinue) { |
# http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Default settings: | |
# A newline ending every file | |
# Use 4 spaces as indentation | |
[*] | |
charset = utf-8 |
using System.Collections.Generic; | |
using System.Net.Http.Headers; | |
using System.Text; | |
namespace System.Net.Http | |
{ | |
/// <summary> | |
/// alternative <see cref="FormUrlEncodedContent"/> implementation that support large context | |
/// to prevent <see cref="UriFormatException"/> Invalid URI: The Uri string is too long. error | |
/// </summary> |
#!/bin/sh | |
# Reset Parallels Desktop's trial and generate a casual email address to register a new user | |
rm /private/var/root/Library/Preferences/com.parallels.desktop.plist /Library/Preferences/Parallels/licenses.xml | |
jot -w pdu%[email protected] -r 1 |