Skip to content

Instantly share code, notes, and snippets.

View shibayan's full-sized avatar
🌀
Overworking

Tatsuro Shibamura shibayan

🌀
Overworking
View GitHub Profile
@weijuans-msft
weijuans-msft / FeaturesRemovedFromServerCoreContainer
Last active February 10, 2021 06:47
Features Removed from Windows Server Core Container base image starting with Insider Build 17074 (For Windows Server v1803 release)
Mar 12, 2018 update: due to issues found internally, we added back 2 features:
Printing-Client
Windows-Defender-Features
-------
In the recent blog we shared that we removed a number of features to further reduce the size of the Windows Server Core container base image.
https://techcommunity.microsoft.com/t5/containers/a-smaller-windows-server-core-container-with-better-application/ba-p/382412.
Below is that list of features we removed. Let us know if you have any concern or share your feedback with us how this has worked for you. Thanks.
@Geertvdc
Geertvdc / UploadUWPToHockeyapp.ps1
Created February 26, 2016 15:14
Powershell script to upload UWP .zip packages to hockeyapp for deployment
Param(
[string]$HockeyAppAppID,
[string]$HockeyAppApiToken
)
$zipFile = Get-Item *.zip | Select-Object -first 1
Write-Host "Zip file found to upload $($zipFile)"
$create_url = "https://rink.hockeyapp.net/api/2/apps/$HockeyAppAppID/app_versions/new"
@magnetikonline
magnetikonline / README.md
Last active June 7, 2023 20:57
AWS Elastic Beanstalk deploy user restricted IAM policy.

AWS Elastic Beanstalk deploy user restricted IAM policy

An IAM user policy document to give minimal rights for deploying an Elastic Beanstalk application.

Where:

  • REGION: AWS region.
  • ACCOUNT_ID: AWS account ID.
  • APPLICATION_NAME: Desired target Elastic Beanstalk application name(space).
  • IAM_INSTANCE_PROFILE_ROLE: The instance profile (IAM role) Elastic Beanstalk EC2 instaces will run under.
# TCP tune for TCP/IP port exhaustion.
#
# check current port range
# netsh int ipv4 show dynamicportrange tcp
#
function SetPropertyDWORD([string]$path, [string]$key, [string]$Value) {
$oldValue = "0x{0:X}" -f (Get-ItemProperty -path $path).$key
if($Value -eq $oldValue)
{