SHIFT-WIKI

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


cheatsheet

Cheat Sheet

BICEP

Bicep object vs array
param objectToTest object = {
  one: 'a'
  two: 'b'
  three: 'c'
}
param arrayToTest array = [
  'one'
  'two'
  'three'
]

Azure Portal

RBAC

  • At any resource you can see which RBAC roles apply to this specific resource and what the allowed actions are: After selecting the resource, go to IAM - Roles → You'll now notice the roles that apply. Now, for any role, click on Details → This will show you the allowed actions and switch between the control and data plane for any data actions (useful with for example storage accounts).

VSCode

Key Combinations

  • Comment / uncomment: ctrl + /
  • Word wrap: alt + z
  • toggle from editor to terminal: ctrl + `
  • toggle from terminal to editor: ctrl + 1
  • vertical cursor line: shift + alt + click

Replace (CTRL + H)

  • Tabs: ALT 009
  • Regex:
    • Search for title in string <h1>(.+?)<\/h1>
    • and replace to by using the $1: #### $1

Citrix

Citrix Health Check

I once implemented a health check based on this one.

Install software and updates on Citrix Server

  1. Log on to the citrix server with a local admin account
  2. Start a command prompt and type change user /install
  3. Perform the changes you want to make
cheatsheet.txt · Last modified: 2025/01/23 22:27 by 127.0.0.1