Skip to content

Instantly share code, notes, and snippets.

Fix login issue in Visual Studio 2013 and 2015

After start Visual Studio 2013 and 2015 may have login problems with the following error:

The Online service is not available. Please try again later

The reason is that web server go.microsoft.com now supports only TLS1.2 protocol.

@Postrediori
Postrediori / Rebuild_Linux_initramfs.md
Last active March 18, 2026 20:16
Rebuild Grub and initramfs of Linux with chroot

Introduction

This guide describes process of re-generating initramfs of Linux installation using chroot (for example, using a Live USB). Such manpilations may be useful, for example, in case the system fails to boot after changing of disks, cryptsetup partitions, re-created partitions with changed UUIDs.

Tesed on:

  • Fedora 41 (Legacy BIOS & UEFI)
  • Ubuntu 24.04, 24.10 (UEFI)
@Postrediori
Postrediori / GitCheasheet.md
Last active March 14, 2025 15:27
Git Cheatsheet

Git Cheatsheet

Start rebase of all history including initial commit

git rebase -i --root

Change executable flag of files

@Postrediori
Postrediori / Get-VM-IP.ps1
Created March 7, 2025 22:05
Get IP address of a Hyper-V guest system
# Get VM IP address by name
# Examples:
# .\Get-VM-IP.ps1 -vm_name "Ubuntu 24.04 Server"
param([string]$vm_name = "Windows 10")
$mac = (get-vm -name $vm_name | select -ExpandProperty networkadapters| select -ExpandProperty macaddress) -replace "([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})", '$1-$2-$3-$4-$5-$6'
Get-NetNeighbor -LinkLayerAddress $mac | select -ExpandProperty IPAddress
@Postrediori
Postrediori / MSVS-Links.md
Last active April 4, 2026 10:40
MS Visual Studio Installers and ISO direct links
@Postrediori
Postrediori / BlenderHowTos.md
Last active July 11, 2024 06:39
Blender 3D How-Tos

Blender 3D Tips&Tricks

How to automate blender video sequencer

Adda sequence of images to video timeline:

import os

from bpy import context
@Postrediori
Postrediori / Abaqus-HowTos.md
Last active April 13, 2025 14:23
Simulia Abaqus How-Tos
@Postrediori
Postrediori / Mikrotik_K3565-Z.md
Last active January 6, 2025 14:52
MikroTik and Vodafone K3565-Z 3G USB modem

Introduction

Vodafone K3565-Z (ZTE K3565-Z) is listed in MikroTik wiki [1], but this page doesn't specify any settings.

Setup

1. Setup ppp-out1. Specify modem parameters in Advanced Mode:

  • Data Channel = 3
  • Info Channel = 3
@Postrediori
Postrediori / FixLinkEmbedsInDiscord.md
Last active October 26, 2025 21:02
Fix external embeds in Discord and other services