How to delete all files from S3 Bucket by using command line

It is not obvious how to delete all files (including sub-folders) if you read AWS CLI S3 documentation. But there is a trick by using AWS S3 sync command cd ANY_EMPTY_FOLDER_ON_YOU_COMPUTER aws s3 sync . s3://YOUR-BUCKET-NAME –delete Be careful! This effectively will empty your AWS S3 Bucket completely. You can do the same for nestedContinue reading “How to delete all files from S3 Bucket by using command line”

AWS re:Invent Feature Request

Recently,  I went to AWS re:Invent 2018 for the second time. My first time was back in 2014 (when AWS Lambda was introduced). This time I decided to go to Las Vegas with my wife. So I did purchased a guest pass to AWS re:Play event. re:play itself was great. Highly recommend to attend itContinue reading “AWS re:Invent Feature Request”

AWS Lambda errors you don’t want to see

Just want to make a not for myself regarding the errors you might get in case of AWS outage or service degradation. It is what we got on June 22, 2017. We currently do not have sufficient capacity in the region you requested. { “errorMessage”: “We currently do not have sufficient capacity in the regionContinue reading “AWS Lambda errors you don’t want to see”

Microsoft Graph API: “Insufficient privileges to …” DELETE a Group

Recently, had a task to DELETE an Azure AD Group by using application client credentials. Custom application were registered in Azure AD. All possible permission were assigned to the application But the DELETE request failed anyway with the error below { “error”: { “code”: “Authorization_RequestDenied”, “message”: “Insufficient privileges to complete the operation.”, “innerError”: { “request-id”:Continue reading “Microsoft Graph API: “Insufficient privileges to …” DELETE a Group”

Silent IIS UrlRewrite, ARR and FARM provisioning by #PowerShell

Recently, I had the task to run several fitnesse instances in on the single AWS EC2 instance. The requirement was what each fitnesse instance should be accessible trough port 80 (HTTP). IIS as reverse proxy came to the rescue. But there were one more requirement – IIS Reverse Proxy configuration should be automated. Here >> konstantinvlasenko/IISContinue reading “Silent IIS UrlRewrite, ARR and FARM provisioning by #PowerShell”

Silent install IIS UrlRewrite and ARR by #PowerShell

Create-Item c:/msi -Type Directory Invoke-WebRequest ‘’ -OutFile c:/msi/WebPlatformInstaller_amd64_en-US.msi Start-Process ‘c:/msi/WebPlatformInstaller_amd64_en-US.msi’ ‘/qn’ -PassThru | Wait-Process cd ‘C:/Program Files/Microsoft/Web Platform Installer’; .\WebpiCmd.exe /Install /Products:’UrlRewrite2,ARRv3_0′ /AcceptEULA /Log:c:/msi/WebpiCmd.log

How to stream video from Raspberry Pi camera and watch it live

sudo modprobe bcm2835-v4l2 cvlc v4l2:///dev/video0 –v4l2-width 1920 –v4l2-height 1080 –v4l2-chroma h264 –sout ‘#standard{access=http,mux=ts,dst=}’ source:

Prepare your Amazon Linux for Sencha ExtJS 6.0 development

install unzip install java download ExtJS 6.0 GPL download SenchaCMD 6.0 unzip SenchaCMD unzip ExtJS 6.0 install SenchaCMD logout/login sudo yum install unzip sudo yum install java-1.7.0-openjdk curl -o curl -o unzip unzip ./ Apache proxy for sencha app watch sudo yum -y install httpd sudo service httpd startContinue reading “Prepare your Amazon Linux for Sencha ExtJS 6.0 development”

Howto register AWS SAML metadata in SimpleSAMLphp

There is the page Configuring a Relying Party and Adding Claims. It explains how to get AWS metadata Go to you SimpleSAMLphp Federation tab Click on XML to simpleSAMLphp metadata converter link Copy content of Paste it into Metadata parser window. Click Parse button. Copy Converted metadata content Paste into Noteapd Add Auth Procc Filter (mentioned at!topic/simplesamlphp/AgHEy-5vHdA) ‘authproc’ =>Continue reading “Howto register AWS SAML metadata in SimpleSAMLphp”