Skip to content

Instantly share code, notes, and snippets.

View jozefizso's full-sized avatar
🏳️‍🌈

Jozef Izso jozefizso

🏳️‍🌈
  • Slido, Cisco Systems
  • Bratislava, Slovakia
View GitHub Profile
@jozefizso
jozefizso / DisableAllAddins.md
Last active June 1, 2024 16:08
PowerPoint Add-ins loading

Error Message

Not loaded. The user selected to disable macros.

Trust Center Setting

Trust Center > Add-ins

Disable all Application Add-ins (may impair functionality)

@jozefizso
jozefizso / uninstall_fusion.sh
Last active May 25, 2024 12:20 — forked from peterkelm/uninstall_fusion.sh
Script to completely uninstall VMWare Fusion 13
#!/usr/bin/env bash
# uninstall script for VMWare Fusion 13
# https://knowledge.broadcom.com/external/article/307074/how-to-uninstall-vmware-fusion-manually.html
# cleanup user files
rm -rf ~/Library/Application\ Support/VMware\ Fusion
rm -rf ~/Library/Caches/com.vmware.fusion
rm -rf ~/Library/Preferences/VMware\ Fusion
rm -rf ~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist
@jozefizso
jozefizso / aws-test.cmd
Last active March 1, 2024 13:09
Slido network connectivity test
::
:: Slido network connectivity test, AWS v2
::
:: (c) 2024 Cisco Systems, Inc. All rights reserved.
::
@echo off
setlocal
setlocal enableextensions enabledelayedexpansion
mkdir logs
traceroute badge.team
traceroute to badge.team (178.251.25.69), 64 hops max, 52 byte packets
1 aer01-hda1-access-gw1-vla160.cisco.com (144.254.221.18) 33.078 ms 27.884 ms 27.959 ms
2 aer01-mda2-sbb-gw2-por20.cisco.com (173.38.195.237) 30.680 ms
aer01-mda1-sbb-gw1-por20.cisco.com (173.38.195.229) 30.597 ms 28.225 ms
3 aer01-mda2-corp-gw2-por11.cisco.com (173.38.195.178) 31.651 ms 27.512 ms
aer01-mda2-corp-gw2-por10.cisco.com (173.38.195.170) 30.269 ms
4 aer01-mda1-dmzbb-gw1-vla777.cisco.com (173.38.208.139) 35.635 ms 33.566 ms 34.544 ms
5 aer01-mda1-cbb-gw1-be91-555.cisco.com (173.38.246.73) 36.925 ms 34.841 ms
aer01-mda2-cbb-gw2-be91-555.cisco.com (173.38.246.77) 36.591 ms
This file has been truncated, but you can view the full file.
2022-01-10 12:47:34,840 18000 [DEBUG] - XmlConfiguration is now operational
2022-01-10 12:47:34,856 18000 [INFO ] - ============================================================
2022-01-10 12:47:34,889 18000 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\config".
2022-01-10 12:47:34,956 18000 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\config\chocolatey.config"
with "C:\ProgramData\chocolatey\config\chocolatey.config.18000.update".
Backup placed at "C:\ProgramData\chocolatey\config\chocolatey.config.backup".
2022-01-10 12:47:34,956 18000 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\config\chocolatey.config.18000.update"
to "C:\ProgramData\chocolatey\config\chocolatey.config".
2022-01-10 12:47:34,956 18000 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.18000.update".
2022-01-10 12:47:34,956 18000 [INFO ] - 0.11.3
# escape=`
# Copyright 2023 Cisco Systems, Inc.
FROM mcr.microsoft.com/windows/servercore:ltsc2022
USER ContainerAdministrator
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
# Install Visual C++ Runtime
RUN Invoke-WebRequest "https://aka.ms/vs/17/release/vc_redist.x86.exe" -OutFile "vcredist_x86.exe"; `
@jozefizso
jozefizso / merge_compute_weights-382400.c
Created January 10, 2023 09:04
llvm-project #59909
This file has been truncated, but you can view the full file.
# 1 "<built-in>"
# 1 "/Users/jozef/Developer/cado-nfs/filter/merge_compute_weights.c"
#if 0 /* expanded by -frewrite-includes */
#include "cado.h"
#endif /* expanded by -frewrite-includes */
# 1 "/Users/jozef/Developer/cado-nfs/filter/merge_compute_weights.c"
# 1 "/Users/jozef/Developer/cado-nfs/cado.h" 1
/* Common header file for the CADO project
Copyright 2007-2015 Pierrick Gaudry, Alexander Kruppa, Emmanuel Thome, Paul Zimmermann
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5FA9CC46-E381-428D-9799-814B63FD8135}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>Excel371</RootNamespace>
<AssemblyName>Excel371</AssemblyName>
@jozefizso
jozefizso / codegen.cs
Created February 9, 2022 20:40
NetOffice code gen
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Xml;
using System.Xml.Linq;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
var srcDir = @"d:\dev\github\NetOfficeFw\Data2\src\";
var destDir = @"d:\dev\github\NetOfficeFw\docgen\out\";
@jozefizso
jozefizso / deploy-gitlab.yml
Last active April 11, 2021 19:25
TeamCity @ microk8s
#!/bin/bash
helm install gitlab gitlab/gitlab \
--set global.hosts.domain=golab.lan \
--set global.hosts.https=false \
--set certmanager-issuer.email=jozef.izso@gmail.com
# list public services
microk8s kubectl get ingress -lrelease=gitlab