Skip to content

Instantly share code, notes, and snippets.

Alexey Shcherbak centur

View GitHub Profile
View .wslconfig
centur / twittermute.txt
Created Jan 24, 2020 — forked from IanColdwater/twittermute.txt
Here are some terms to mute on Twitter to clean your timeline up a bit.
View twittermute.txt
Mute these words in your settings here:
centur /
Created Aug 9, 2019 — forked from evertrol/
Makefile cheat sheet

Makefile cheat sheet

Mostly geared towards GNU make

I've used ->| to indicate a tab character, as it's clearer to read than

  • Set a target, its dependencies and the commands to execute in order
target: [dependencies]
->| <shell command>

Keybase proof

I hereby claim:

  • I am centur on github.
  • I am centur ( on keybase.
  • I have a public key ASCBiZbOrDUSRJWjpJQB1iPeWcO7tYsFMit07kMV0cZTmAo

To claim this, I am signing this object:


centur Alexey Shcherbak

Keybase proof

I hereby claim:

  • I am centur on github.
  • I am centur ( on keybase.
  • I have a public key ASDHNnRhzGx-wTk79dbEYn4S1cnibpuQ3hDUY4FyU8cHoQo
centur / PowerShell
Last active May 3, 2019 — forked from jchandra74/PowerShell
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization
View PowerShell

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.

centur / gist:4aa7becf9e6eb37f6eb96252d27f87c3
Created Dec 6, 2017
Visual Studio and R# versions and details as per 7/12/2017
View gist:4aa7becf9e6eb37f6eb96252d27f87c3
========================================= VS info
Microsoft Visual Studio Community 2017
Version 15.5.0
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Community
centur / HardenSSL.ps1
Created Aug 7, 2017 — forked from SidShetye/HardenSSL.ps1
Script to harden SSL/TLS on Azure Cloud Service
View HardenSSL.ps1
# Call this from inside a startup task/batch file as shown in the next two lines (minus the '# ')
# PowerShell -ExecutionPolicy Unrestricted .\DisableSslV3.ps1 >> log-DisableSslV3.txt 2>&1
# EXIT /B 0
# Credits:
$nl = [Environment]::NewLine
$regkeys = @(
centur / gist:6d586252673a747ce5aade91f8b35731
Created Mar 20, 2017 — forked from siacomuzzi/gist:4fa48e32932473348fd2
[AUTH0] ASP.NET Web Api: accept a JWT signed with RS256 algorithm
View gist:6d586252673a747ce5aade91f8b35731

With Auth0, you can specify the algorithm used to sign your JWT tokens:

So in scenarios when you are signing JWTs with RSRS256 algorithm, you need to perform some changes in your ASP.NET Web Api in order to validate them properly.

NOTE: You can download your .cer file from https://{YOU} endpoint.


From app.UseJwtBearerAuthentication method, just replace SymmetricKeyIssuerSecurityTokenProvider with X509CertificateSecurityTokenProvider specifying your public signing key:

centur / reclaimWindows10.ps1
Created Jan 8, 2017 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via (different defaults)
View reclaimWindows10.ps1
# Win10 Initial Setup Script
# Author: Disassembler <>
# Version: 1.7, 2016-08-15
# dasm's script:
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
You can’t perform that action at this time.